Add tst-wcstod-round
[glibc.git] / ChangeLog
blobe91bd081185e1d6e6f4181717877ab7df00355bb
1 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3         * stdlib/tst-strtod-round-skeleton.c:
4         Refactored from tst-strtod-round.c.
6         (L_): New macro to apply literal modifier.
7         (FNPFX): New macro to select str or wcs prefix.
8         (CHAR): New macro to choose wchar_t or char.
9         (STRM): New macro to choose printf for tested character type.
11         (STRTO): New macro to choose appropriate string -> real function.
12         (FNPFXS): Stringitized version of FNPFX.
13         (STR): Support for above macro.
14         (STRX): Likewise.
16         (TEST): Update with above macros.
17         (test): Likewise.
18         (GEN_ONE_TEST): Likewise.
19         (test_in_one_mode): Likewise.
21         * stdlib/tst-strtod-round.c: New file.
22         * wcsmbs/tst-wcstod-round.c: New file.
24         * wcsmbs/Makefile: (tests): Add tst-wcstod-round
25         (tst-wcstod-round): Add libm depencency for fesetround.
27 2016-08-19  Zack Weinberg  <zackw@panix.com>
29         * debug/tst-chk1.c: Add tests for fortification of bcopy and bzero.
31 2016-08-18  Torvald Riegel  <triegel@redhat.com>
33         [BZ #20477]
34         * resolv/res_hconf.c (do_init): Use atomic access.
35         * resolv/res_hconf.h: Add comments.
36         * nscd/aicache.c (addhstaiX): Call _res_hconf_init unconditionally.
37         * nss/getXXbyYY_r.c (REENTRANT_NAME): Likewise.
38         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
40 2016-08-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
42         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
43         Use DIAG_*_NEEDS_COMMENT macro to get rid of array-bounds warning.
44         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
45         Likewise.
47 2016-08-18  Florian Weimer  <fweimer@redhat.com>
49         [BZ #16907]
50         * argp/argp.h: Switch to __BEGIN_DECLS and __END_DECLS.
51         (__THROW, __NTH, __attribute__, __restrict): Remove definitions.
52         * argp/argp-fmtstream.h: Add __BEGIN_DECLS and __END_DECLS.
53         (__attribute__): Remove definition.
55 2016-08-17  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
57         * sysdeps/ieee754/ldbl-128/e_asinl.c:
58         Remove unused sqrtl declaration.
60 2016-08-17  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
62         * math/Makefile: (gen-libm-templates.stmp): New rule.
63         (libm-calls): Move carg conj cimag and cabs into ...
64         (gen-libm-calls): New variable.
65         (generated): Inform Make objects from gen-libm-calls
66         may be generated.
68         * sysdeps/generic/math-type-macros.h: New file.
69         * sysdeps/generic/math-type-macros-float.h: Likewise.
70         * sysdeps/generic/math-type-macros-double.h: Likewise.
71         * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
72         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Likewise.
73         * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Likewise.
75         * math/cabs.c: Refactor into
76         * math/cabs_template.c: new file.
77         * math/cabsf.c: Removed.
78         * math/cabsl.c: Removed.
79         * sysdeps/ieee754/ldbl-opt/cabsf.c: Removed.
80         * sysdeps/ieee754/ldbl-opt/cabsl.c: Removed.
82         * math/carg.c: Refactor into
83         * math/carg_template.c: new file.
84         * math/cargf.c: Removed.
85         * math/cargl.c: Removed.
86         * sysdeps/ieee754/ldbl-opt/cargf.c: Removed.
87         * sysdeps/ieee754/ldbl-opt/cargl.c: Removed.
89         * math/conj.c: Refactor into
90         * math/conj_template.c: new file.
91         * math/conjf.c: Removed.
92         * math/conjl.c: Removed.
93         * sysdeps/ieee754/ldbl-opt/conjf.c: Removed.
94         * sysdeps/ieee754/ldbl-opt/conjl.c: Removed.
96         * math/cimag.c: Refactor into
97         * math/cimag_template.c: new file.
98         * math/cimagf.c: Removed.
99         * math/cimagl.c: Removed.
100         * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
101         * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
103         * math/cimag.c: Refactor into
104         * math/cimag_template.c: new file.
105         * math/cimagf.c: Removed.
106         * math/cimagl.c: Removed.
107         * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
108         * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
110 2016-08-17  Florian Weimer  <fweimer@redhat.com>
112         Reduce time to expected nptl/tst-once5 failure.
113         * nptl/tst-once5.cc (TIMEOUT): Define.
115 2016-08-17  Florian Weimer  <fweimer@redhat.com>
117         [BZ #20452]
118         Avoid additional copies of objects in libc.a in static libraries.
119         * sysdeps/ia64/nptl/Makefile (libpthread-shared-only-routines):
120         Add ptw-sysdep, ptw-sigblock, ptw-sigprocmask.
121         * sysdeps/mips/Makefile (librt-shared-only-routines): Add
122         rt-sysdep.
123         * sysdeps/mips/nptl/Makefile (libpthread-shared-only-routines):
124         Add nptl-sysdep.
125         * sysdeps/s390/nptl/Makefile (libpthread-shared-only-routines):
126         Add ptw-sysdep.
127         * sysdeps/unix/alpha/Makefile (librt-shared-only-routines): Add
128         rt-sysdep.
129         * sysdeps/unix/sysv/linux/alpha/Makefile
130         (libpthread-shared-only-routines): Add ptw-sysdep,
131         ptw-sigprocmask, ptw-rt_sigaction.
132         * sysdeps/unix/sysv/linux/ia64/Makefile
133         (librt-shared-only-routines): Add rt-sysdep.
134         * sysdeps/unix/sysv/linux/i386/Makefile
135         (libpthread-shared-only-routines): Add libc-do-syscall.
136         * sysdeps/unix/sysv/linux/microblaze/Makefile
137         (libpthread-shared-only-routines): Add sysdep.
138         * sysdeps/unix/sysv/linux/powerpc/Makefile
139         (librt-shared-only-routines): Add rt-sysdep.
140         (libpthread-shared-only-routines): Add sysdep.
141         * sysdeps/unix/sysv/linux/s390/Makefile
142         (librt-shared-only-routines): Add rt-sysdep.
143         * sysdeps/unix/sysv/linux/sparc/Makefile
144         (librt-shared-only-routines): Add rt-sysdep.
145         (libpthread-shared-only-routines): Add sysdep.
146         * sysdeps/unix/sysv/linux/tile/Makefile
147         (libpthread-shared-only-routines): Likewise.
149 2016-08-16  Joseph Myers  <joseph@codesourcery.com>
151         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_E):
152         Mask implicit bit out of unpacked value.
153         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_EP): Likewise.
154         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_E): Likewise.
155         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_EP): Likewise.
157         * sysdeps/sparc/fpu/fesetexcept.c: New file.
159         * sysdeps/sh/sh4/fpu/fesetexcept.c: New file.
161         * sysdeps/s390/fpu/fesetexcept.c: New file.
163         * sysdeps/powerpc/fpu/fesetexcept.c: New file.
164         * sysdeps/powerpc/nofpu/fesetexcept.c: Likewise.
165         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetexcept.c: Likewise.
167         * sysdeps/mips/fpu/fesetexcept.c: New file.
169         * sysdeps/m68k/fpu/fesetexcept.c: New file.
171         * sysdeps/ia64/fpu/fesetexcept.c: New file.
173         * sysdeps/hppa/fpu/fesetexcept.c: New file.
175         * sysdeps/arm/fesetexcept.c: New file.
177         * sysdeps/alpha/fpu/fesetexcept.c: New file.
179         * sysdeps/aarch64/fpu/fesetexcept.c: New file.
181         * math/fesetexcept.c: New file.
182         * sysdeps/i386/fpu/fesetexcept.c: Likewise.
183         * sysdeps/x86_64/fpu/fesetexcept.c: Likewise.
184         * math/fenv.h: Define
185         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
186         <bits/libc-header-start.h> instead of including <features.h>.
187         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetexcept): New function
188         declaration.
189         * manual/arith.texi (fesetexcept): Document function.
190         * math/Versions (fesetexcept): New libm symbol at version
191         GLIBC_2.25.
192         * math/Makefile (libm-support): Add fesetexcept.
193         (tests): Add test-fesetexcept and test-fesetexcept-traps.
194         * math/test-fesetexcept.c: New file.
195         * math/test-fesetexcept-traps.c: Likewise.
196         * sysdeps/nacl/libm.abilist: Update.
197         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
198         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
199         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
200         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
201         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
202         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
203         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
204         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
205         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
206         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
207         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
208         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
209         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
210         Likewise.
211         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
212         Likewise.
213         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
214         Likewise.
215         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
216         Likewise.
217         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
218         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
219         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
220         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
221         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
222         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
223         Likewise.
224         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
225         Likewise.
226         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
227         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
228         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
230 2016-08-16  Florian Weimer  <fweimer@redhat.com>
232         * nptl/tst-tls3.c (default_stack_size_in_mb, stack_size_in_mb):
233         New.
234         (do_test): Apply default_stack_size_in_mb if not set.
235         * nptl/tst-tls3-malloc.c (stack_size_in_mb): Override default.
237 2016-08-15  Andreas Schwab  <schwab@suse.de>
239         [BZ #20435]
240         CVE-2016-6323
241         * sysdeps/unix/sysv/linux/arm/setcontext.S (__startcontext): Mark
242         as .cantunwind.
244 2016-08-12  Joseph Myers  <joseph@codesourcery.com>
246         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Add
247         comment from fraiseexcpt.c.
249         * math/test-fexcept.c (feraiseexcept_exact): New function.
250         (test_set): Call feraiseexcept_exact instead of feraiseexcept.
251         (test_except): Likewise.
253 2016-08-10  Joseph Myers  <joseph@codesourcery.com>
255         [BZ #20455]
256         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Mask out
257         all FE_INVALID sub-exceptions from FPSCR when FE_INVALID specified
258         to be restored.
260         * math/test-fexcept-traps.c: New file.
261         * math/test-fexcept.c: Likewise.
262         * math/Makefile (tests): Add test-fexcept and test-fexcept-traps.
263         * sysdeps/generic/math-tests.h (EXCEPTION_SET_FORCES_TRAP): New
264         macro.
265         * sysdeps/powerpc/math-tests.h [!__NO_FPRS__]
266         (EXCEPTION_SET_FORCES_TRAP): Likewise.
268 2016-08-09  Torvald Riegel  <triegel@redhat.com>
270         * include/atomic.h (atomic_fetch_and_relaxed,
271         atomic_fetch_and_release, atomic_fetch_or_release,
272         atomic_fetch_xor_release): New.
274 2016-08-06  Christian Seiler  <christian@iwakd.de>
276         [BZ #20444]
277         * sysdeps/mach/hurd/recvmsg.c (__libc_recvmsg): Cope with aport being
278         MACH_PORT_NULL.
280 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
282         * math/s_fdim.c: Avoid alias renamed.
283         * math/s_fdimf.c: Likewise.
284         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
285         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
286         Add s_fdimf-vis3, s_fdim-vis3.
287         (CFLAGS-s_fdimf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
288         (CFLAGS-s_fdim-vis3.c): Likewise.
289         sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c: New file.
290         sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Likewise.
292 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
294         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
295         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
296         Remove s_fdimf-vis3, s_fdim-vis3.
297         * sysdeps/sparc/sparc32/fpu/s_fdim.S: Delete file.
298         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: Likewise.
299         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: Likewise.
300         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: Likewise.
301         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: Likewise.
302         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: Likewise.
303         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: Likewise.
304         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: Likewise.
305         * sysdeps/sparc/sparc64/fpu/s_fdim.S: Likewise.
306         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: Likewise.
308 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
310         * sysdeps/sparc/sparc32/sparcv9/Makefile (sysdep-CFLAGS): Add -mvis.
311         * sysdeps/sparc/sparc64/Makefile (sysdep-CFLAGS): New. Define to
312         -Wa,-Av9a -mvis.
314 2016-08-05  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
316         * math/gen-libm-test.pl (apply_lit): Rewrite to apply
317         LIT() to individual constants in simple expressions
318         after splitting on spaces.
319         (_apply_lit): Rename replaced version, and use it to
320         apply to what appears to be a token.
322         * math/libm-test.inc: Fix many, many issues with
323         spacing.
325 2016-08-05  Joseph Myers  <joseph@codesourcery.com>
327         * math/math.h: Move comment about <bits/mathdef.h> definitions
328         above inclusion of <bits/mathdef.h>.  Do not mention
329         FLT_EVAL_METHOD, INFINITY or DECIMAL_DIG in that comment.
331 2016-08-05  Torvald Riegel  <triegel@redhat.com>
333         * include/atomic.h (atomic_exchange_relaxed): New.
335 2016-08-04  Joseph Myers  <joseph@codesourcery.com>
337         * math/e_scalb.c: Do not include <fenv.h>.
338         (invalid_fn): Do calculation resulting in NaN instead of raising
339         FE_INVALID and returning a NaN explicitly.
340         * math/e_scalbf.c: Do not include <fenv.h>.
341         (invalid_fn): Do calculation resulting in NaN instead of raising
342         FE_INVALID and returning a NaN explicitly.
343         * math/e_scalbl.c: Do not include <fenv.h>.
344         (invalid_fn): Do calculation resulting in NaN instead of raising
345         FE_INVALID and returning a NaN explicitly.
347 2016-08-04  Carlos O'Donell  <carlos@redhat.com>
349         * po/de.po: Updated from Translation Project.
350         * po/fi.po: Likewise.
351         * po/sv.po: Likewise.
353 2016-08-04  Florian Weimer  <fweimer@redhat.com>
355         [BZ #20452]
356         Use sysdep.o from libc.a in static libraries.
357         * sysdeps/unix/sysv/linux/i386/Makefile
358         (libpthread-shared-only-routines): Add sysdep.
359         (librt-shared-only-routines): Likewise.
361 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
363         * math/tgmath.h (nextdown): Define if
364         [__GLIBC_USE (IEC_60559_BFP_EXT)], not if [__USE_GNU].
365         (nextup): Likewise.
367         * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_FUNCS_EXT): New
368         macro.
369         * include/features.h (__STDC_WANT_IEC_60559_FUNCS_EXT__):
370         Document.
371         * manual/creature.texi (__STDC_WANT_IEC_60559_FUNCS_EXT__):
372         Document macro.
373         * manual/math.texi (exp10): Document as ISO from TS 18661-4:2015.
374         (exp10f): Likewise.
375         (exp10l): Likewise.
376         * math/bits/mathcalls.h (exp10): Declare if
377         [__GLIBC_USE (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
379         * manual/arith.texi (nextup): Fix typo in last change.
381 2016-08-03  Zack Weinberg  <zackw@panix.com>
383         [BZ #19239]
384         * NEWS: Inclusion of <sys/sysmacros.h> by <sys/types.h> is deprecated.
385         * misc/sys/sysmacros.h: If __SYSMACROS_DEPRECATED_INCLUSION is defined,
386         define major, minor, and makedev to issue deprecation warnings on use.
387         If __SYSMACROS_DEPRECATED_INCLUSION is *not* defined, suppress
388         previously-activated deprecation warnings for these macros and prevent
389         subsequent inclusions of this header from having any effect.
390         * posix/sys/types.h: Define __SYSMACROS_DEPRECATED_INCLUSION before
391         including <sys/sysmacros.h>, and undefine it again afterward.
393 2016-08-03  Zack Weinberg  <zackw@panix.com>
395         * sysdeps/generic/sys/sysmacros.h: Delete file.
396         * sysdeps/unix/sysv/linux/makedev.c: Delete file.
397         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Move file ...
398         * bits/sysmacros.h: ... here; this encoding is now the generic
399         encoding.  Now defines only the following macros:
400         __SYSMACROS_DECLARE_MAJOR, __SYSMACROS_DEFINE_MAJOR,
401         __SYSMACROS_DECLARE_MINOR, __SYSMACROS_DEFINE_MINOR,
402         __SYSMACROS_DECLARE_MAKEDEV, __SYSMACROS_DEFINE_MAKEDEV.
404         * misc/sys/sysmacros.h, misc/makedev.c: New files that use
405         bits/sysmacros.h and the above new macros to generate the
406         public implementations of major, minor, and makedev.
407         * misc/tst-makedev.c: New test.
408         * include/sys/sysmacros.h: New wrapper.
410         * misc/Makefile (headers): Add sys/sysmacros.h, bits/sysmacros.h.
411         (routines): Add makedev.
412         (tests): Add tst-makedev.
413         * misc/Versions [GLIBC_2.25]: Add gnu_dev_major, gnu_dev_minor,
414         gnu_dev_makedev.
415         * posix/Makefile (headers): Remove sys/sysmacros.h.
416         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove makedev.
418         * sysdeps/arm/nacl/libc.abilist: Add GLIBC_2.25,
419         gnu_dev_major, gnu_dev_makedev, gnu_dev_minor.
420         * sysdeps/unix/sysv/linux/aarch64/libc.abilist
421         * sysdeps/unix/sysv/linux/alpha/libc.abilist
422         * sysdeps/unix/sysv/linux/arm/libc.abilist
423         * sysdeps/unix/sysv/linux/hppa/libc.abilist
424         * sysdeps/unix/sysv/linux/i386/libc.abilist
425         * sysdeps/unix/sysv/linux/ia64/libc.abilist
426         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
427         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist
428         * sysdeps/unix/sysv/linux/microblaze/libc.abilist
429         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
430         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
431         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
432         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
433         * sysdeps/unix/sysv/linux/nios2/libc.abilist
434         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
435         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
436         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
437         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
438         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist
439         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
440         * sysdeps/unix/sysv/linux/sh/libc.abilist
441         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
442         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
443         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
444         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
445         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist
446         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist
447         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist:
448         Add GLIBC_2.25.
450         * include/features.h (__glibc_clang_prereq): New macro.
451         * misc/sys/cdefs.h (__glibc_clang_has_extension)
452         (__attribute_deprecated_msg__): New macros.
454 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
456         * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_BFP_EXT): New
457         macro.
458         * include/features.h (__STDC_WANT_IEC_60559_BFP_EXT__): Document.
459         * manual/arith.texi (issignaling): Document as ISO from TS
460         18661-1:2014.
461         (nextup): Likewise.
462         (nextupf): Likewise.
463         (nextupl): Likewise.
464         (nextdown): Likewise.
465         (nextdownf): Likewise.
466         (nextdownl): Likewise.
467         * manual/creature.texi (__STDC_WANT_IEC_60559_BFP_EXT__): Document
468         macro.
469         * math/math.h: Define
470         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
471         <bits/libc-header-start.h> instead of including <features.h>.
472         (issignaling): Define if [__GLIBC_USE (IEC_60559_BFP_EXT)], not
473         [__USE_GNU].
474         * math/bits/mathcalls.h (nextdown): Declare if
475         [__GLIBC_USE (IEC_60559_BFP_EXT)], not [__USE_GNU].
476         (nextup): Likewise.
477         (__issignaling): Likewise.
479 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
481         * s_ccoshf.c (__ccoshf): Remove FE_INVALID
482         check, and remove __glibc_likely hint
483         from FP_INFINITE check.
484         * s_csinhf.c (__csinhf): Likewise.
486         * s_ccoshl.c (__ccoshl): Remove __glibc_likely
487         hint from FP_INFINITE check.
488         * s_csinhl.c (__csinhl): Likewise.
490 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
492         * math/Makefile (libm-calls): Insert F placeholder into
493         object names.  Move w_lgamma_compat* routines into
494         (libm-compat-calls): New variable.
495         (libm-compat-calls-ldouble-yes): New variable.
496         (calls): Insert F placeholder.
497         (generated): Redefine using new type-foreach macro call.
498         (routines): Likewise.
500         (types): New variable to hold a list of symbolic names
501         for each type supported by the target machine.
502         (libm-routines): Redefine using new types variable.
503         (type-foreach): macro to replace fooF with the
504         appropriately suffixed foo for each types.
506         (type-ldouble-suffix): New variable.
507         (type-ldouble-routines): Likewise.
508         (type-ldouble-yes): Likewise.
509         (type-double-suffix): Likewise.
510         (type-double-routines): Likewise.
511         (type-float-suffix): Likewise.
512         (type-float-routines): Likewise.
514         (dbl-only-routines): Remove.
515         (long-c-yes): Likewise.
516         (long-m-routines): Likewise.
517         (long-m-support): Likewise.
518         (long-m-yes): Likewise.
519         (test-longdouble-yes): Likewise.
521         (test-float.o): Simplify by increasing the scope of the
522         recipe which adds libm-test.stmp to the vector types.
523         (test-ifloat.o): Likewise.
524         (test-float-finite.o): Likewise.
525         (test-double.o): Likewise
526         (test-idouble.o): Likewise.
527         (test-double-finite.o): Likewise.
528         (test-ldouble.o): Likewise
529         (test-ildoubl.o): Likewise.
530         (test-ldouble-finite.o): Likewise.
532         (libm-tests): Redefine type tests using foreach and the
533         list of types in types.
535         (CPPFLAGS-test-ildoubl.c): Rename to
536         (CPPFLAGS-test-ildouble.c): New variable
538         * math/test-ildoubl.c: Rename to
539         * math/test-ildouble.c: New file.
541 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
543         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernal_tanl):
544         Use fabsl instead of fabs.
545         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl):
546         Likewise.
547         * sysdeps/ieee754/ldbl-128/s_atanl.c (__kernel_tanl):
548         Add long double suffix to constant to ensure proper
549         promotion to long double.
551 2016-08-03  Tom Tromey  <tom@tromey.com>
553         [BZ #20311]
554         * nptl_db/Makefile (headers): Add proc_service.h.
555         * nptl_db/proc_service.h: Add include guard.  Use
556         __BEGIN/__END_DECLS.
557         (ps_get_thread_area, ps_pstop, ps_pcontinue, ps_lstop)
558         (ps_lcontinue): Remove "const" from "struct ps_prochandle *"
559         arguments.
562 2016-08-03  Florian Weimer  <fweimer@redhat.com>
564         [BZ #17730]
565         Avoid using memalign for TCB allocations.
566         * elf/dl-tls.c (tcb_to_pointer_to_free_location): New.
567         (_dl_allocate_tls_storage): Use malloc and manual alignment.
568         Avoid alignment gap in the TLS_DTV_AT_TP case.
569         (_dl_deallocate_tls): Use tcb_to_pointer_to_free_location to
570         determine the pointer to free.
571         * nptl/tst-tls3-malloc.c: New test.
572         * nptl/Makefile (tests): Add it.
573         (tst-tls3-malloc): Link with libdl, libpthread.
574         (LDFLAGS-tst-tls3-malloc): Set.
575         (tst-tls3-malloc.out): Depend on DSO used in test.
577 2016-08-03  Florian Weimer  <fweimer@redhat.com>
579         [BZ #17730]
580         Avoid using memalign for TLS allocations.
581         * sysdeps/generic/dl-dtv.h (struct dtv_pointer): New.  Replaces
582         is_static member with to_free member.
583         (union dtv): Use struct dtv_pointer.
584         * csu/libc-tls.c (__libc_setup_tls): Set to_free member of struct
585         dtv_pointer instead of is_static.
586         * elf/dl-tls.c (_dl_allocate_tls_init): Likewise.
587         (_dl_deallocate_tls): Free to_free member of struct dtv_pointer
588         instead of val.
589         (allocate_dtv_entry): New function.
590         (allocate_and_init): Return struct dtv_pointer.  Call
591         allocate_dtv_entry instead of __libc_memalign.
592         (_dl_update_slotinfo): Free to_free member of struct dtv_pointer
593         instead of val.
594         (tls_get_addr_tail): Set to_free member of struct dtv_pointer
595         instead of is_static.  Adjust call to allocate_and_init.
596         * nptl/allocatestack.c (get_cached_stack): Free to_free member of
597         struct dtv_pointer instead of val.
599 2016-08-03  Florian Weimer  <fweimer@redhat.com>
601         * malloc/malloc.c (INTERNAL_SIZE_T, SIZE_SZ, MALLOC_ALIGNMENT)
602         (MALLOC_ALIGN_MASK): Move ...
603         * malloc/malloc-internal.h: ... to here.
604         * elf/dl-minimal.c (malloc): Allocate with MALLOC_ALIGNMENT.
606 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
608         * sysdeps/gnu/netinet/udp.h (UDP_ENCAP_GTP0): New macro.
609         (UDP_ENCAP_GTP1U): Likewise.
611         * sysdeps/unix/sysv/linux/bits/socket.h (PF_QIPCRTR): New macro.
612         (PF_MAX): Update value.
613         (AF_QIPCRTR): New macro.
615 2016-08-03  Aurelien Jarno  <aurelien@aurel32.net>
617         * sysdeps/ieee754/dbl-64/s_trunc.c: Avoid alias renamed.
618         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
619         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
620         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
621         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
622         Add s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
623         s_truncf-vis3, s_trunc-vis3.
624         (CFLAGS-s_ceilf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
625         (CFLAGS-s_ceil-vis3.c): Likewise.
626         (CFLAGS-s_floorf-vis3.c): Likewise.
627         (CFLAGS-s_floor-vis3.c): Likewise.
628         (CFLAGS-s_truncf-vis3.c): Likewise.
629         (CFLAGS-s_trunc-vis3.c): Likewise.
630         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.c: New file.
631         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
632         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.c: Likewise.
633         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
634         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.c: Likewise.
635         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
636         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.c: Likewise.
637         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
638         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.c: Likewise.
639         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
640         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.c: Likewise.
641         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
643 2016-08-02  David S. Miller  <davem@davemloft.net>
645         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
646         (__nearbyint_vis3): Don't check for sNaN before float register is
647         loaded with the incoming argument.
648         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
649         (__nearbyintf_vis3): Likewise.
650         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint):
651         Likewise.
652         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf):
653         Likewise.
655         * string/test-strncmp.c (do_test_limit): Make sure the test data
656         stream is aligned as required for the type "CHAR".
657         (do_test): Likewise.
659 2016-08-03  Aurelien Jarno  <aurelien@aurel32.net>
661         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Replace beqlr instructions
662         by beq instructions jumping to the end of the function.
663         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Add "11", "12", "cr0" to the
664         clobber list. Use "i" constraint instead of "X".
665         (ifunc_one): Add "12" to the clobber list. Use "i" constraint instead
666         of "X".
668 2016-08-02  Joseph Myers  <joseph@codesourcery.com>
670         * bits/libc-header-start.h: New file.
671         * Makefile (headers): Add bits/libc-header-start.h.
672         * include/features.h (__STDC_WANT_LIB_EXT2__): Document.
673         (__GLIBC_USE): New macro.
674         * libio/stdio.h: Define
675         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
676         <bits/libc-header-start.h> instead of including <features.h>.
677         (fmemopen): Declare also if [__GLIBC_USE (LIB_EXT2)].
678         (open_memstream): Likewise.
679         (vasprintf): Declare if [__GLIBC_USE (LIB_EXT2)], not [__USE_GNU].
680         (__asprintf): Likewise.
681         (asprintf): Likewise.
682         (__getdelim): Declare also if [__GLIBC_USE (LIB_EXT2)].
683         (getdelim): Likewise.
684         (getline): Likewise.
685         * string/string.h: Define
686         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
687         <bits/libc-header-start.h> instead of including <features.h>.
688         (strdup): Declare also if [__GLIBC_USE (LIB_EXT2)]
689         (strndup): Likewise.
690         * wcsmbs/wchar.h: Define
691         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
692         <bits/libc-header-start.h> instead of including <features.h>.
693         (open_wmemstream): Declare also if [__GLIBC_USE (LIB_EXT2)].
694         * manual/creature.texi (__STDC_WANT_LIB_EXT2__): Document macro.
696 2016-08-02  Florian Weimer  <fweimer@redhat.com>
698         Support linking against compatibility symbols, for use in tests.
699         * include/libc-symbols.h (symbol_version_reference): New macro.
700         (symbol_version): Use it.
701         * include/shlib-compat.h: Unconditionally include <abi-versions.h>.
702         (compat_symbol): Use compat_symbol_reference.
703         (compat_symbol_1, compat_symbol_2): Remove.
704         (compat_symbol_reference, compat_symbol_reference_1)
705         (compat_symbol_reference_2): New macro.  Use
706         symbol_version_reference.
708 2016-08-02  Florian Weimer  <fweimer@redhat.com>
710         [BZ #19469]
711         * malloc/Makefile (CPPFLAGS): Compile tests with
712         -DTEST_NO_MALLOPT.
713         * test-skeleton.c (main): Only call mallopt if !TEST_NO_MALLOPT.
715 2016-08-02  Andrew Senkevich  <andrew.senkevich@intel.com>
717         [BZ #20033]
718         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: Call
719         finite version.
720         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: Likewise.
721         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: Likewise.
722         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: Likewise.
723         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: Likewise.
724         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: Likewise.
725         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: Likewise.
726         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: Likewise.
727         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: Likewise.
728         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Likewise.
729         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: Likewise.
730         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: Likewise.
731         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: Likewise.
732         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: Likewise.
733         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: Likewise.
734         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: Likewise.
735         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: Likewise.
736         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: Likewise.
737         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: Likewise.
738         * sysdeps/x86_64/fpu/svml_d_log2_core.S: Likewise.
739         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: Likewise.
740         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: Likewise.
741         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: Likewise.
742         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: Likewise.
743         * math/libm-test.inc (pow_test_data): Exclude tests for qNaN
744         in zero power.
746 2016-08-02  Florian Weimer  <fweimer@redhat.com>
748         [BZ #20370]
749         * malloc/arena.c (get_free_list): Update comment.  Assert that
750         arenas on the free list have no attached threads.
751         (remove_from_free_list): New function.
752         (reused_arena): Call it.
754 2016-08-02  Aurelien Jarno  <aurelien@aurel32.net>
756         * sysdeps/alpha/fpu/s_ceil.c (__ceil): Add argument with itself
757         when it is a NaN.
758         [_IEEE_FP_INEXACT] Remove.
759         * sysdeps/alpha/fpu/s_ceilf.c (__ceilf): Likewise.
760         * sysdeps/alpha/fpu/s_floor.c (__floor): Add argument with itself
761         when it is a NaN.
762         [_IEEE_FP_INEXACT] Remove.
763         * sysdeps/alpha/fpu/s_floorf.c (__floorf): Likewise.
764         * sysdeps/alpha/fpu/s_rint.c (__rint): Add argument with itself
765         when it is a NaN.
766         * sysdeps/alpha/fpu/s_rintf.c (__rintf): Likewise.
767         * sysdeps/alpha/fpu/s_trunc.c (__trunc): Return the input value
768         when its absolute value is greater than 0x1.0p52.
769         [_IEEE_FP_INEXACT] Remove.
770         * sysdeps/alpha/fpu/s_truncf.c (__truncf): Return the input value
771         when its absolute value is greater than 0x1.0p23.
772         [_IEEE_FP_INEXACT] Remove.
774 2016-08-01  Carlos O'Donell  <carlos@redhat.com>
776         * version.h (RELEASE): Set to "development"
777         (VERSION): Set to 2.24.90.
778         * NEWS: Add 2.25 section.
780         * version.h (RELEASE): Set to "stable"
781         (VERSION): Set to 2.24.
782         * include/features.h (__GLIBC_MINOR__): Set to 24.
784         * NEWS: Add 2.24 fixed bugs.
785         * po/libc.pot: Regenerate.
787 2016-08-01  Aurelien Jarno  <aurelien@aurel32.net>
789         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
790         [$(subdir) = math] (libm-sysdep_routines): Remove.
791         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
792         Remove s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
793         s_truncf-vis3, s_trunc-vis3.
794         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
795         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: Delete
796         file.
797         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Likewise.
798         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Likewise.
799         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: Likewise.
800         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: Likewise.
801         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
802         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: Likewise.
803         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Likewise.
804         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
805         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: Likewise.
806         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: Likewise.
807         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: Likewise.
808         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: Likewise.
809         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: Likewise.
810         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: Likewise.
811         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: Likewise.
812         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
813         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
814         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
815         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: Likewise.
816         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: Likewise.
817         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: Likewise.
818         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: Likewise.
819         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
820         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
821         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: Likewise.
822         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
823         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
824         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: Likewise.
825         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
826         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
827         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: Likewise.
828         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
829         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
830         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: Likewise.
831         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: Likewise.
832         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: Likewise.
833         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: Likewise.
834         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
835         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
836         * sysdeps/sparc/sparc64/fpu/s_floor.S: Likewise.
837         * sysdeps/sparc/sparc64/fpu/s_floorf.S: Likewise.
838         * sysdeps/sparc/sparc64/fpu/s_trunc.S: Likewise.
839         * sysdeps/sparc/sparc64/fpu/s_truncf.S: Likewise.
841 2016-07-27  H.J. Lu  <hongjiu.lu@intel.com>
843         [BZ #20384]
844         * sysdeps/x86_64/fpu/Makefile (extra-test-objs): Add
845         test-double-libmvec-sincos-avx-main.o,
846         test-double-libmvec-sincos-avx2-main.o,
847         test-double-libmvec-sincos-main.o,
848         test-float-libmvec-sincosf-avx-main.o,
849         test-float-libmvec-sincosf-avx2-main.o and
850         test-float-libmvec-sincosf-main.o.
851         test-float-libmvec-sincosf-avx512-main.o.
852         ($(objpfx)test-double-libmvec-sincos): Also link with
853         $(objpfx)test-double-libmvec-sincos-main.o.
854         ($(objpfx)test-double-libmvec-sincos-avx): Also link with
855         $(objpfx)test-double-libmvec-sincos-avx-main.o.
856         ($(objpfx)test-double-libmvec-sincos-avx2): Also link with
857         $(objpfx)test-double-libmvec-sincos-avx2-main.o.
858         ($(objpfx)test-float-libmvec-sincosf): Also link with
859         $(objpfx)test-float-libmvec-sincosf-main.o.
860         ($(objpfx)test-float-libmvec-sincosf-avx): Also link with
861         $(objpfx)test-float-libmvec-sincosf-avx2-main.o.
862         [$(config-cflags-avx512) == yes] (extra-test-objs): Add
863         test-double-libmvec-sincos-avx512-main.o and
864         ($(objpfx)test-double-libmvec-sincos-avx512): Also link with
865         $(objpfx)test-double-libmvec-sincos-avx512-main.o.
866         ($(objpfx)test-float-libmvec-sincosf-avx512): Also link with
867         $(objpfx)test-float-libmvec-sincosf-avx512-main.o.
868         (CFLAGS-test-double-libmvec-sincos.c): Removed.
869         (CFLAGS-test-float-libmvec-sincosf.c): Likewise.
870         (CFLAGS-test-double-libmvec-sincos-main.c): New.
871         (CFLAGS-test-double-libmvec-sincos-avx-main.c): Likewise.
872         (CFLAGS-test-double-libmvec-sincos-avx2-main.c): Likewise.
873         (CFLAGS-test-float-libmvec-sincosf-main.c): Likewise.
874         (CFLAGS-test-float-libmvec-sincosf-avx-main.c): Likewise.
875         (CFLAGS-test-float-libmvec-sincosf-avx2-main.c): Likewise.
876         (CFLAGS-test-float-libmvec-sincosf-avx512-main.c): Likewise.
877         (CFLAGS-test-double-libmvec-sincos-avx.c): Set to -DREQUIRE_AVX.
878         (CFLAGS-test-float-libmvec-sincosf-avx.c ): Likewise.
879         (CFLAGS-test-double-libmvec-sincos-avx2.c): Set to
880         -DREQUIRE_AVX2.
881         (CFLAGS-test-float-libmvec-sincosf-avx2.c ): Likewise.
882         (CFLAGS-test-double-libmvec-sincos-avx512.c): Set to
883         -DREQUIRE_AVX512F.
884         (CFLAGS-test-float-libmvec-sincosf-avx512.c): Likewise.
885         * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Rewritten.
886         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
887         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx-main.c: New
888         file.
889         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2-main.c:
890         Likewise.
891         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512-main.c:
892         Likewise.
893         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-main.c:
894         Likewise.
895         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx-main.c:
896         Likewise.
897         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2-main.c:
898         Likewise.
899         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512-main.c:
900         Likewise.
901         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-main.c:
902         Likewise.
904 2016-07-27  Chung-Lin Tang  <cltang@codesourcery.com>
906         * sysdeps/unix/sysv/linux/nios2/localplt.data (__eqsf2): Remove.
908 2016-07-21  Gustavo Romero  <gromero@linux.vnet.ibm.com>
910         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Fix missing verb
911         and typo in a comment about AT_HWCAP entry.
913 2016-07-21  Szabolcs Nagy  <szabolcs.nagy@arm.com>
915         * sysdeps/aarch64/libm-test-ulps: Updated.
917 2016-07-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
919         * sysdeps/s390/s390-32/memcpy.S (memcpy): Eliminate the usage
920         of r13 as it is not restored in mvcle case.
922 2016-07-19  Mike Frysinger  <vapier@gentoo.org>
924         * sysdeps/unix/sysv/linux/microblaze/sysdep.h (inline_syscall0):
925         Rename "ret" to "__ret".
926         (inline_syscall1, inline_syscall2, inline_syscall3, inline_syscall4,
927         inline_syscall5, inline_syscall6): Likewise.
929 2016-07-19   Will Newton  <will.newton@gmail.com>
931         * elf/elf.h (R_METAG_REL8, R_METAG_REL16, R_METAG_TLS_GD
932         R_METAG_TLS_LDM, R_METAG_TLS_LDO_HI16, R_METAG_TLS_LDO_LO16,
933         R_METAG_TLS_LDO, R_METAG_TLS_IE, R_METAG_TLS_IENONPIC,
934         R_METAG_TLS_IENONPIC_HI16, R_METAG_TLS_IENONPIC_LO16,
935         R_METAG_TLS_LE, R_METAG_TLS_LE_HI16, R_METAG_TLS_LE_LO16): New.
937 2016-07-18  H.J. Lu  <hongjiu.lu@intel.com>
939         * sysdeps/i386/Makefile (rtld-CFLAGS): New.
940         [subdir == elf] (CFLAGS-.os): Replace -mno-sse -mno-mmx
941         -mfpmath=387 with $(rtld-CFLAGS).
942         [subdir != elf] (CFLAGS-.os): Compile rtld-*.os with
943         $(rtld-CFLAGS).
945 2016-07-18   Ross Burton  <ross.burton@intel.com>
946              Khem Raj  <raj.khem@gmail.com>
948         * elf/elf.h (R_METAG_HIADDR16, R_METAG_LOADDR16,
949         R_METAG_ADDR32, R_METAG_NONE, R_METAG_RELBRANCH,
950         R_METAG_GETSETOFF, R_METAG_REG32OP1, R_METAG_REG32OP2,
951         R_METAG_REG32OP3, R_METAG_REG16OP1, R_METAG_REG16OP2,
952         R_METAG_REG16OP3, R_METAG_REG32OP4, R_METAG_HIOG,
953         R_METAG_LOOG, R_METAG_GNU_VTINHERIT, R_METAG_GNU_VTENTRY,
954         R_METAG_HI16_GOTOFF, R_METAG_LO16_GOTOFF,
955         R_METAG_GETSET_GOTOFF, R_METAG_GETSET_GOT, R_METAG_HI16_GOTPC,
956         R_METAG_LO16_GOTPC, R_METAG_HI16_PLT, R_METAG_LO16_PLT,
957         R_METAG_RELBRANCH_PLT, R_METAG_GOTOFF, R_METAG_PLT,
958         R_METAG_COPY, R_METAG_JMP_SLOT, R_METAG_RELATIVE,
959         R_METAG_GLOB_DAT, R_METAG_TLS_TPOFF, R_METAG_TLS_DTPMOD,
960         R_METAG_TLS_DTPOFF): New.
962 2016-07-18  Siddhesh Poyarekar  <siddhesh@sourceware.org>
963             Matt Clay  <mclay@lycos.com>
965         [BZ #20357]
966         * sysdeps/ieee754/dbl-64/s_sin.c (sloww): Fix up condition
967         to call __mpsin/__mpcos and to negate values.
968         * math/auto-libm-test-in: Add test.
969         * math/auto-libm-test-out: Regenerate.
971 2016-07-18  Zack Weinberg  <zackw@panix.com>
973         * grp/Makefile: Don't install the internal header grp-merge.h.
975 2016-07-18  Szabolcs Nagy  <szabolcs.nagy@arm.com>
977         * sysdeps/aarch64/libm-test-ulps: Regenerated.
979 2016-07-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
981         * bits/termios.h (TABDLY): Change macro to include TAB3 bit too.
983 2016-07-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
985         [BZ #15368]
986         * sysdeps/unix/sysv/linux/nptl-signals.h
987         (__nptl_clear_internal_signals): New function.
988         (__libc_signal_block_all): Likewise.
989         (__libc_signal_block_app): Likewise.
990         (__libc_signal_restore_set): Likewise.
991         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Use Linux raise.c
992         implementation.
993         * sysdeps/unix/sysv/linux/raise.c (raise): Reimplement to not use
994         the cached pid/tid value in pthread structure.
996 2016-07-13  H.J. Lu  <hongjiu.lu@intel.com>
998         [BZ #20347]
999         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
1001 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
1003         [BZ #20348]
1004         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add pread64,
1005         preadv64, pwrite64 and pwritev64.
1007 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
1009         [BZ #20350]
1010         * posix/tst-preadwrite.c: Renamed to ...
1011         * posix/tst-preadwrite-common.c: This.
1012         (PREAD): Removed.
1013         (PWRITE): Likewise.
1014         (STRINGIFY): Likewise.
1015         (STRINGIFY2): Likewise.
1016         (do_prepare): Make it static and remove function arguments.
1017         (do_test): Likewise.
1018         (PREPARE): Updated.
1019         (TEST_FUNCTION): New.
1020         (name): Make it static.
1021         (fd): Likewise.
1022         (do_prepare): Use create_temp_file.
1023         (do_test): Renamed to ...
1024         (do_test_with_offset): This.  Make it static and accept offset.
1025         Properly check return value of PWRITE and PREAD.  Return bytes
1026         read.  Don't close fd nor unlink name.
1027         * posix/tst-preadwrite.c: Rewrite.
1028         * posix/tst-preadwrite64.c: Likewise.
1030 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
1032         [BZ #20309]
1033         * configure.ac (have-mtls-dialect-gnu2): Set to yes if
1034         -mtls-dialect=gnu2 works.
1035         * configure: Regenerated.
1036         * elf/Makefile [have-mtls-dialect-gnu2 = yes]
1037         (tests): Add tst-gnu2-tls1.
1038         (modules-names): Add tst-gnu2-tls1mod.
1039         ($(objpfx)tst-gnu2-tls1): New.
1040         (tst-gnu2-tls1mod.so-no-z-defs): Likewise.
1041         (CFLAGS-tst-gnu2-tls1mod.c): Likewise.
1042         * elf/tst-gnu2-tls1.c: New file.
1043         * elf/tst-gnu2-tls1mod.c: Likewise.
1044         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Add 8
1045         bytes for push in the PLT entry to align the stack.
1047 2016-07-11  H.J. Lu  <hongjiu.lu@intel.com>
1049         [BZ #20349]
1050         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (LO_HI_LONG): New.
1052 2016-07-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
1054         [BZ #18707]
1055         * sysdeps/aarch64/Makefile (CFLAGS-mcount.c): Add -mgeneral-regs-only.
1056         * sysdeps/aarch64/sysdep.h (CALL_MCOUNT): Save argument registers.
1058 2016-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1060         * sysdeps/unix/sysv/linux/sysdep.h
1061         [__WORDSIZE == 64 || __ASSUME_WORDSIZE64_ILP32] (LO_HI_LONG): Remove
1062         guards.
1063         * misc/tst-preadvwritev-common.c: New file.
1064         * misc/tst-preadvwritev.c: Use tst-preadvwritev-common.c.
1065         * misc/tst-preadvwritev64.c: Use tst-preadwritev-common.c and add
1066         a check for files larger than 2GB.
1068         * sysdeps/unix/sysv/linux/mips/kernel-features.h
1069         (__ASSUME_OFF_DIFF_OFF64): Remove define.
1070         * sysdeps/unix/sysv/linux/pread.c
1071         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread): Replace by
1072         __OFF_T_MATCHES_OFF64_T.
1073         * sysdeps/unix/sysv/linux/pread64.c
1074         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread64): Likewise.
1075         * sysdeps/unix/sysv/linux/preadv.c
1076         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Likewise.
1077         * sysdeps/unix/sysv/linux/preadv64.c
1078         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv64): Likewise.
1079         * sysdeps/unix/sysv/linux/pwrite.c
1080         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite): Likewise.
1081         * sysdeps/unix/sysv/linux/pwrite64.c
1082         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite64): Likewise.
1083         * sysdeps/unix/sysv/linux/pwritev.c
1084         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Likewise.
1085         * sysdeps/unix/sysv/linux/pwritev64.c
1086         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev64): Likewise.
1088 2016-07-08  Chris Metcalf  <cmetcalf@mellanox.com>
1090         * sysdeps/unix/sysv/linux/tile/kernel-features.h
1091         (__ASSUME_ALIGNED_REGISTER_PAIRS): Only define if !_LP64.
1093 2016-07-08  Aurelien Jarno  <aurelien@aurel32.net>
1095         * bits/in.h (__USE_KERNEL_IPV6_DEFS): Define to 0.
1097 2016-07-08  Aurelien Jarno  <aurelien@aurel32.net>
1099         [BZ #20240]
1100         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
1101         (CFLAGS-s_modf-ppc32.c): New variable.
1102         (CFLAGS-s_modff-ppc32.c): Likewise.
1103         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
1104         (CFLAGS-s_modf-ppc64.c): Likewise.
1105         (CFLAGS-s_modff-ppc64.c): Likewise.
1107 2016-07-07  Andreas Schwab  <schwab@suse.de>
1109         [BZ #20263]
1110         * nptl/tst-robust10.c: New test.
1111         * nptl/Makefile (tests): Add tst-robust10.
1113 2016-07-07  Jiyoung Yun  <t2wish@gmail.com>
1115         [BZ #20263]
1116         * nptl/lowlevelrobustlock.c: Implement ETIMEDOUT logic.
1118 2016-07-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
1120         * sysdeps/s390/linkmap.h (struct link_map_machine):
1121         Remove member gotplt and add member jmprel.
1122         * sysdeps/s390/s390-32/dl-machine.h
1123         (elf_machine_runtime_setup): Setup member jmprel with DT_JMPREL
1124         instead of gotplt with &got[3].
1125         (elf_machine_lazy_rel): Calculate address with reloc and jmprel.
1126         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
1128 2016-07-06  John David Anglin  <danglin@gcc.gnu.org>
1130         * sysdeps/hppa/fpu/libm-test-ulps: Regenerate.
1132 2016-07-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1134         * libio/iofopncook.c (_IO_cookie_read, _IO_cookie_write,
1135         _IO_cookie_seek, _IO_cookie_close, _IO_old_cookie_seek)
1136         [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
1137         (set_callbacks) [!PTR_MANGLE]: Do not call PTR_MANGLE.
1138         * libio/vtables.c (_IO_vtable_check)
1139         [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
1140         * libio/libioP.h (IO_set_accept_foreign_vtables)
1141         [!PTR_MANGLE]: Do not call PTR_MANGLE.
1143 2016-07-05  H.J. Lu  <hongjiu.lu@intel.com>
1145         [BZ #20314]
1146         * Makeconfig (CXXFLAGS): Prepend -I$(common-objpfx).
1147         * Makerules (before-compile): Add $(common-objpfx)cstdlib and
1148         $(common-objpfx)cmath.
1149         ($(common-objpfx)cstdlib): New target.
1150         ($(common-objpfx)cmath): Likewise.
1152 2016-07-05  Chris Metcalf  <cmetcalf@mellanox.com>
1154         * malloc/tst-malloc-thread-fail.c (TIMEOUT): Bump up to 30s.
1156 2016-07-05  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
1158         [BZ #20327]
1159         * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Mask bits that
1160         are not part of the string.
1162 2016-07-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1164         * nptl/tst-cancel4-common.c (do_test): Add temporary fifo creation.
1165         * nptl/tst-cancel4-common.h (fifoname): New variable.
1166         (fifofd): Likewise.
1167         (cl_fifo): New function.
1168         * nptl/tst-cancel4.c (tf_sigpause): Replace SIGCANCEL usage by
1169         SIGINT.
1170         (tf_open): Add early cancel test.
1172 2016-07-04  Andreas Schwab  <schwab@linux-m68k.org>
1174         * sysdeps/m68k/Makefile (CFLAGS-mcount.c): Define.
1176 2016-07-01  Maciej W. Rozycki  <macro@imgtec.com>
1178         * sysdeps/generic/ldsodefs.h
1179         (dl_symbol_visibility_binds_local_p): New inline function.
1180         * elf/dl-addr.c (determine_info): Treat hidden and internal
1181         symbols as local.
1182         * elf/dl-lookup.c (do_lookup_x): Likewise.
1183         * elf/dl-reloc.c (RESOLVE_MAP): Likewise.
1185 2016-07-01  Aurelien Jarno  <aurelien@aurel32.net>
1187         * sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint): Trigger an
1188         invalid exception for a sNaN input.
1189         * sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
1190         * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
1191         (__nearbyint_vis3): Likewise
1192         * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
1193         (__nearbyintf_vis3): Likewise
1194         * sparc/sparc64/fpu/s_nearbyint.S (__nearbyint): Likewise.
1195         * sparc/sparc64/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
1196         * sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S (__nearbyint_vis3):
1197         Likewise.
1198         * sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S (__nearbyintf_vis3):
1199         Likewise.
1201 2016-07-01  H.J. Lu  <hongjiu.lu@intel.com>
1203         [BZ #20139]
1204         * config.h.in (HAVE_AVX512_ASM_SUPPORT): Renamed to ...
1205         (HAVE_AVX512DQ_ASM_SUPPORT): This.
1206         * sysdeps/x86_64/configure.ac: Require assembler from binutils
1207         2.24 or above.
1208         (HAVE_AVX512_ASM_SUPPORT): Removed.
1209         (HAVE_AVX512DQ_ASM_SUPPORT): New.
1210         * sysdeps/x86_64/configure: Regenerated.
1211         * sysdeps/x86_64/dl-trampoline.S: Make HAVE_AVX512_ASM_SUPPORT
1212         check unconditional.
1213         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
1214         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
1215         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
1216         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
1217         Likewise.
1218         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
1219         Likewise.
1220         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
1221         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
1222         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
1223         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
1224         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
1225         Likewise.
1226         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
1227         Likewise.
1228         * sysdeps/x86_64/multiarch/memset.S: Likewise.
1229         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
1230         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Check
1231         HAVE_AVX512DQ_ASM_SUPPORT instead of HAVE_AVX512_ASM_SUPPORT.
1232         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S:
1233         Likewise.
1234         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S:
1235         Likewise.
1236         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S:
1237         Likewise.
1238         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S:
1239         Likewise.
1240         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.:
1241         Likewise.
1242         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S:
1243         Likewise.
1244         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S:
1245         Likewise.
1246         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S:
1247         Likewise.
1248         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S:
1249         Likewise.
1250         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx51:
1251         Likewise.
1252         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S:
1253         Likewise.
1255 2016-07-01  Andrew Senkevich  <andrew.senkevich@intel.com>
1257         [BZ #20024]
1258         * sysdeps/x86/fpu/test-math-vector-sincos.h: New.
1259         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Fixed ABI
1260         of this implementation of vector function.
1261         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
1262         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
1263         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
1264         Likewise.
1265         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
1266         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
1267         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: Likewise.
1268         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: Likewise.
1269         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: Likewise.
1270         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Likewise.
1271         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
1272         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S: Likewise.
1273         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S: Likewise.
1274         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S: Likewise.
1275         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Use another wrapper
1276         for testing vector sincos with fixed ABI.
1277         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
1278         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
1279         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
1280         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
1281         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
1282         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
1283         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
1284         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx.c: New test.
1285         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2.c: Likewise.
1286         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512.c: Likewise.
1287         * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Likewise.
1288         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx.c: Likewise.
1289         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2.c: Likewise.
1290         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512.c: Likewise.
1291         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
1292         * sysdeps/x86_64/fpu/Makefile: Added new tests.
1294 2016-06-30  Aurelien Jarno  <aurelien@aurel32.net>
1296         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Add _Qp_cmp.
1298 2016-06-30  Anton Blanchard  <anton@samba.org>
1300         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
1301         [$(subdir) = math] (libm-sysdep_routines): Add s_sinf-power8 and
1302         s_sinf-ppc64.
1303         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: New file.
1304         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
1305         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Likewise.
1306         * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
1308 2016-06-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
1310         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1311         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
1312         [$(subdir) = math] (libm-sysdep_routines): Add e_expf-power8 and
1313         e_expf-ppc64.
1314         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: New file.
1315         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Likewise.
1316         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c: Likewise.
1317         * sysdeps/powerpc/powerpc64/power8/fpu/e_expf.S: Likewise.
1319 2016-06-30  John David Anglin  <danglin@gcc.gnu.org>
1321         [BZ #20277]
1322         * sysdeps/hppa/start.S (_start): Correct loading of global pointer
1323         when SHARED is defined.
1325 2016-06-30  H.J. Lu  <hongjiu.lu@intel.com>
1327         * sysdeps/x86/cpu-features.h (bit_arch_Prefer_ERMS): New.
1328         (index_arch_Prefer_ERMS): Likewise.
1329         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Return
1330         __memcpy_erms for Prefer_ERMS.
1331         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
1332         (__memmove_erms): Enabled for libc.a.
1333         * ysdeps/x86_64/multiarch/memmove.S (__libc_memmove): Return
1334         __memmove_erms or Prefer_ERMS.
1335         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Return
1336         __mempcpy_erms for Prefer_ERMS.
1337         * sysdeps/x86_64/multiarch/memset.S (memset): Return
1338         __memset_erms for Prefer_ERMS.
1340 2016-06-30  Andreas Schwab  <schwab@suse.de>
1342         [BZ #20262]
1343         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn): Return
1344         NSS_STATUS_SUCCESS when done.  Return NSS_STATUS_TRYAGAIN when out
1345         of memory.
1347 2016-06-29  H.J. Lu  <hongjiu.lu@intel.com>
1349         [BZ #18645]
1350         * nptl/Makefile (extra-test-objs): Add tst-cleanupx4aux.o.
1351         (test-extras): Add tst-cleanupx4aux.
1352         (CFLAGS-tst-cleanupx4aux.c): New.  Set to -fexceptions.
1353         ($(objpfx)tst-cleanupx4): Replace tst-cleanup4aux.o with
1354         tst-cleanupx4aux.o.
1355         * nptl/tst-cleanupx4aux.c: New file.
1357 2016-06-30  Aurelien Jarno  <aurelien@aurel32.net>
1359         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
1361 2016-06-29  Andreas Schwab  <schwab@suse.de>
1363         [BZ #20260]
1364         * sysdeps/x86/bits/string.h (__strncat_g) [!__i686__]: Compute the
1365         address before the beginning of the string as an integer to avoid
1366         array-bounds warning.
1368 2016-06-28  Richard Henderson  <rth@redhat.com>
1370         * elf/elf.h (EM_BPF): New.
1371         (EM_NUM): Update.
1372         (R_BPF_NONE, R_BPF_MAP_FD): New.
1374         * elf/elf.h (EM_IAMCU, EM_SPU, EM_PDP10, EM_PDP11, EM_ARC_COMPACT,
1375         EM_VIDEOCORE, EM_TMM_GPP, EM_NS32K, EM_TPC, EM_SNP1K, EM_ST200,
1376         EM_IP2K, EM_MAX, EM_CR, EM_F2MC16, EM_MSP430, EM_BLACKFIN, EM_SE_C33,
1377         EM_SEP, EM_ARCA, EM_UNICORE, EM_EXCESS, EM_DXP, EM_ALTERA_NIOS2,
1378         EM_CRX, EM_XGATE, EM_C166, EM_M16C, EM_DSPIC30F, EM_CE, EM_M32C,
1379         EM_TSK3000, EM_RS08, EM_SHARC, EM_ECOG2, EM_SCORE7, EM_DSP24,
1380         EM_VIDEOCORE3, EM_LATTICEMICO32, EM_SE_C17, EM_TI_C6000, EM_TI_C2000,
1381         EM_TI_C5500, EM_TI_ARP32, EM_TI_PRU, EM_MMDSP_PLUS, EM_CYPRESS_M8C,
1382         EM_R32C, EM_TRIMEDIA, EM_QDSP6, EM_8051, EM_STXP7X, EM_NDS32,
1383         EM_ECOG1X, EM_MAXQ30, EM_XIMO16, EM_MANIK, EM_CRAYNV2, EM_RX,
1384         EM_METAG, EM_MCST_ELBRUS, EM_ECOG16, EM_CR16, EM_ETPU, EM_SLE9X,
1385         EM_L10M, EM_K10M, EM_AVR32, EM_STM8, EM_TILE64, EM_CUDA,
1386         EM_CLOUDSHIELD, EM_COREA_1ST, EM_COREA_2ND, EM_ARC_COMPACT2,
1387         EM_OPEN8, EM_RL78, EM_VIDEOCORE5, EM_78KOR, EM_56800EX, EM_BA1,
1388         EM_BA2, EM_XCORE, EM_MCHP_PIC, EM_KM32, EM_KMX32, EM_EMX16, EM_EMX8,
1389         EM_KVARC, EM_CDP, EM_COGE, EM_COOL, EM_NORC, EM_CSR_KALIMBA, EM_Z80,
1390         EM_VISIUM, EM_FT32, EM_MOXIE, EM_AMDGPU, EM_RISCV, EM_BPF): New.
1391         (EM_NUM): Update.
1393 2016-06-28  Stefan Liebler  <stli@linux.vnet.ibm.com>
1395         [BZ #18960]
1396         * locale/localeinfo.h (_NL_CURRENT_DEFINE):
1397         Set _nl_current_LC_CATEGORY_used to two instead of one.
1399 2016-06-27  Aurelien Jarno  <aurelien@aurel32.net>
1401         * sysdeps/mips/tst-mode-switch-1.c (main): Converted to ...
1402         (do_test): ... this.
1403         (TEST_FUNCTION): New macro.
1404          Include test-skeleton.c.
1405         * sysdeps/mips/tst-mode-switch-2.c (main): Likewise.
1406         * sysdeps/mips/tst-mode-switch-3.c (main): Likewise.
1408 2016-06-27  Joseph Myers  <joseph@codesourcery.com>
1410         [BZ #15479]
1411         * sysdeps/i386/fpu/s_trunc.S (__trunc): Save and restore
1412         floating-point environment rather than just control word.
1413         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
1414         * sysdeps/i386/fpu/s_truncl.S (__truncl): Save and restore
1415         floating-point environment, with "invalid" exceptions merged in,
1416         rather than just control word.
1417         * sysdeps/x86_64/fpu/s_truncl.S (__truncl): Likewise.
1418         * math/libm-test.inc (trunc_test_data): Do not allow spurious
1419         "inexact" exceptions.
1421         [BZ #15479]
1422         * sysdeps/i386/fpu/s_floor.S (__floor): Save and restore
1423         floating-point environment rather than just control word.
1424         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
1425         * sysdeps/i386/fpu/s_floorl.S (__floorl): Save and restore
1426         floating-point environment, with "invalid" exceptions merged in,
1427         rather than just control word.
1428         * sysdeps/x86_64/fpu/s_floorl.S (__floorl): Likewise.
1429         * math/libm-test.inc (floor_test_data): Do not allow spurious
1430         "inexact" exceptions.
1432         [BZ #15479]
1433         * sysdeps/i386/fpu/s_ceil.S (__ceil): Save and restore
1434         floating-point environment rather than just control word.
1435         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
1436         * sysdeps/i386/fpu/s_ceill.S (__ceill): Save and restore
1437         floating-point environment, with "invalid" exceptions merged in,
1438         rather than just control word.
1439         * sysdeps/x86_64/fpu/s_ceill.S (__ceill): Likewise.
1440         * math/libm-test.inc (ceil_test_data): Do not allow spurious
1441         "inexact" exceptions.
1443 2016-06-21  Aurelien Jarno  <aurelien@aurel32.net>
1445         * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Rename into
1446         __libc_vfork.
1447         (__vfork) [IS_IN (libc)]: Remove alias.
1448         (__libc_vfork) [IS_IN (libc)]: Define as an alias.
1449         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
1450         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
1452 2016-06-24  Torvald Riegel  <triegel@redhat.com>
1454         * nscd/cache.c (cache_add): Use new C11-like atomic operation instead
1455         of atomic_compare_and_exchange_bool_rel.
1456         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
1457         * include/atomic.h (atomic_compare_and_exchange_bool_rel,
1458         catomic_compare_and_exchange_bool_rel): Remove.
1459         * sysdeps/aarch64/atomic-machine.h
1460         (atomic_compare_and_exchange_bool_rel): Likewise.
1461         * sysdeps/alpha/atomic-machine.h
1462         (atomic_compare_and_exchange_bool_rel): Likewise.
1463         * sysdeps/arm/atomic-machine.h
1464         (atomic_compare_and_exchange_bool_rel): Likewise.
1465         * sysdeps/mips/atomic-machine.h
1466         (atomic_compare_and_exchange_bool_rel): Likewise.
1467         * sysdeps/microblaze/atomic-machine.h
1468         ( __arch_compare_and_exchange_bool_8_rel,
1469         __arch_compare_and_exchange_bool_16_rel): Likewise.
1470         * sysdeps/powerpc/atomic-machine.h
1471         ( __arch_compare_and_exchange_bool_8_rel,
1472         __arch_compare_and_exchange_bool_16_rel): Likewise.
1473         * sysdeps/powerpc/powerpc32/atomic-machine.h
1474         ( __arch_compare_and_exchange_bool_32_rel,
1475         __arch_compare_and_exchange_bool_64_rel): Likewise.
1476         * sysdeps/powerpc/powerpc64/atomic-machine.h
1477         ( __arch_compare_and_exchange_bool_32_rel,
1478         __arch_compare_and_exchange_bool_64_rel): Likewise.
1479         * sysdeps/tile/atomic-machine.h
1480         (atomic_compare_and_exchange_bool_rel): Likewise.
1482 2016-06-23  Joseph Myers  <joseph@codesourcery.com>
1484         [BZ #20296]
1485         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Add arguments
1486         when either argument is a NaN.
1487         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
1488         * math/libm-test.inc (scalb_test_data): Add sNaN tests.
1490         * math/libm-test.inc (snan_value_ld): New macro.
1491         (isgreater_test_data): Add sNaN tests.
1492         (isgreaterequal_test_data): Likewise.
1493         (isless_test_data): Likewise.
1494         (islessequal_test_data): Likewise.
1495         (islessgreater_test_data): Likewise.
1496         (isunordered_test_data): Likewise.
1497         (nextafter_test_data): Likewise.
1498         (nexttoward_test_data): Likewise.
1499         (remainder_test_data): Likewise.
1500         (remquo_test_data): Likewise.
1501         (significand_test_data): Likewise.
1502         * math/gen-libm-test.pl (%beautify): Add snan_value_ld.
1504 2016-06-23  Siddhesh Poyarekar  <siddhesh@sourceware.org>
1506         * posix/getconf.c: Define ALL_ENVIRONMENTS_DEFINED if all
1507         environment macros are defined.
1508         (main): Avoid execve if ALL_ENVIRONMENTS_DEFINED is defined.
1510 2016-06-23  Florian Weimer  <fweimer@redhat.com>
1512         [BZ #20191]
1513         Implement vtable verification in libio.
1514         * Makerules (shlib.lds): Place __libc_IO_vtables section.
1515         * debug/obprintf_chk.c (_IO_obstack_jumps): Define as vtable.
1516         * debug/vdprintf_chk.c (__vdprintf_chk): Call
1517         _IO_new_file_init_internal instead of _IO_file_init.
1518         * debug/vsnprintf_chk.c (_IO_strn_jumps): Define as vtable.
1519         * debug/vsprintf_chk.c (_IO_str_chk_jumps): Likewise.
1520         * libio/Makefile (routines): Add vtables.
1521         * libio/libioP.h (_IO_JUMPS_FUNC): Call IO_validate_vtable.
1522         (_IO_init): Remove, not for internal use.
1523         (_IO_init_internal): Declare, internal replacement for _IO_init.
1524         (_IO_file_init): Remove, not for internal use.
1525         (_IO_new_file_init): Remove, not for internal use.
1526         (_IO_new_file_init_internal): Declare, internal replacement for
1527         _IO_new_file_init.
1528         (_IO_old_file_init): Remove, not for internal use.
1529         (_IO_old_file_init_internal): Declare, internal replacement for
1530         _IO_old_file_init.
1531         (_IO_str_init_static, _IO_str_init_readonly): Remove, not for
1532         internal use.
1533         (__libc_IO_vtables, IO_accept_foreign_vtables, _IO_vtable_check):
1534         Declare.
1535         (libio_vtable): New macro.
1536         (IO_set_accept_foreign_vtables, _IO_validate_vtable): New inline
1537         functions.
1538         * libio/fileops.c (_IO_new_file_init_internal): Rename from
1539         _IO_new_file_init.
1540         (_IO_new_file_init): New externally visible wrapper which disables
1541         vtable verification.
1542         (_IO_file_jumps, _IO_file_jumps_mmap, _IO_file_jumps_maybe_mmap):
1543         Define as vtables.
1544         * libio/genops.c (_IO_init_internal): Rename from _IO_init.
1545         (_IO_init): New externally visible wrapper which disables
1546         vtable verification.
1547         * libio/iofdopen.c (_IO_new_fdopen): Call
1548         _IO_new_file_init_internal instead of _IO_file_init.  Adjust
1549         comment.
1550         * libio/iofopen.c (__fopen_internal): Call
1551         _IO_new_file_init_internal instead of _IO_file_init.
1552         * libio/iofopncook.c (_IO_cookie_jumps, _IO_old_cookie_jumps):
1553         Define as vtables.
1554         (_IO_cookie_init): Call _IO_init_internal instead of _IO_init,
1555         _IO_new_file_init_internal instead of _IO_file_init.
1556         * libio/iopopen.c (_IO_new_popen): Likewise.
1557         (_IO_proc_jumps): Define as vtable.
1558         * libio/iovdprintf.c (_IO_vdprintf): Call
1559         _IO_new_file_init_internal instead of _IO_file_init.
1560         * libio/memstream.c (_IO_mem_jumps): Define as vtable.
1561         (__open_memstream): Call _IO_init_internal instead of _IO_init.
1562         * libio/obprintf.c (_IO_obstack_jumps): Define as vtable.
1563         * libio/oldfileops.c (_IO_old_file_init_internal): Rename from
1564         _IO_old_file_init.
1565         (_IO_old_file_init): New externally visible wrapper which disables
1566         vtable verification.
1567         (_IO_old_file_jumps): Define as vtable.
1568         * libio/oldiofdopen.c (_IO_old_fdopen): Call
1569         _IO_old_file_init_internal instead of _IO_old_file_init.
1570         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
1571         * libio/oldiopopen.c (_IO_old_popen): Likewise.
1572         (_IO_old_proc_jumps): Define as vtable.
1573         * libio/strops.c (_IO_str_jumps, _IO_strn_jumps, _IO_wstrn_jumps):
1574         Define as vtables.
1575         * libio/vtables.c: New file.
1576         * libio/wfileops.c (_IO_wfile_jumps, _IO_wfile_jumps_mmap)
1577         (_IO_wfile_jumps_maybe_mmap): Define as vtables.
1578         * libio/wmemstream.c (_IO_wmem_jumps): Define as vtable.
1579         * libio/wstrops.c (_IO_wstr_jumps): Likewise.
1580         * stdio-common/vfprintf.c (_IO_helper_jumps): Likewise.
1581         * stdlib/strfmon_l.c (__vstrfmon_l): Call _IO_init_internal
1582         instead of _IO_init.
1584 2016-06-23  Florian Weimer  <fweimer@redhat.com>
1586         * test-skeleton.c (xrealloc): Support deallocation with n == 0.
1588 2016-06-23  Florian Weimer  <fweimer@redhat.com>
1590         * test-skeleton.c (xmalloc, xcalloc, xrealloc): Mark as
1591         potentially unused.
1593 2016-06-22  Florian Weimer  <fweimer@redhat.com>
1595         * test-skeleton.c (write_message): New function.
1596         * malloc/tst-mallocfork2.c (write_message): Remove.
1597         * debug/tst-longjmp_chk2.c (write_indented): New function.
1598         (write_message): Remove.
1599         (stackoverflow_handler): Call write_indented.
1601 2016-06-22  Joseph Myers  <joseph@codesourcery.com>
1603         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Do not mask
1604         "inexact" exceptions after fnstenv.
1605         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
1606         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
1607         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
1609 2015-06-22  Zack Weinberg  <zackw@panix.com>
1611         * sysdeps/generic/bits/hwcap.h: Moved to ...
1612         * bits/hwcap.h: Here.
1614 2016-06-22  Wilco Dijkstra  <wdijkstr@arm.com>
1616         * sysdeps/aarch64/memcpy.S (memcpy):
1617         Further tuning for performance.
1619 2016-06-21  Florian Weimer  <fweimer@redhat.com>
1621         [BZ #20284]
1622         * malloc/arena.c (reused_arena): Do not return NULL if we start
1623         out with a non-corrupted arena.
1625 2016-06-21 Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1627         * misc/Makefile (tests): Add tst-preadvwritev and tst-preadvwritev64.
1628         * misc/tst-preadvwritev.c: New file.
1629         * misc/tst-preadvwritev64.c: Likewise.
1630         * sysdeps/unix/sysv/linux/preadv.c (preadv): Remove SYSCALL_LL{64}
1631         usage.
1632         * sysdeps/unix/sysv/linux/preadv64.c (preadv64): Likewise.
1633         * sysdeps/unix/sysv/linux/pwritev.c (pwritev): Likewise.
1634         * sysdeps/unix/sysv/linux/pwritev64.c (pwritev64): Likewise.
1635         * sysdeps/unix/sysv/linux/sysdep.h (LO_HI_LONG): New macro.
1637 2016-06-20  Andrew Senkevich  <andrew.senkevich@intel.com>
1639         [BZ #19654]
1640         * sysdeps/x86_64/fpu/Makefile: Added new tests.
1641         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-main.c: New.
1642         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-mod.c: Likewise.
1643         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx.c: Likewise.
1644         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-main.c: Likewise.
1645         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-mod.c: Likewise.
1646         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2.c: Likewise.
1647         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-main.c: Likewise.
1648         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-mod.c: Likewise.
1649         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512.c: Likewise.
1650         * sysdeps/x86_64/fpu/test-double-libmvec-alias-main.c: Likewise.
1651         * sysdeps/x86_64/fpu/test-double-libmvec-alias-mod.c: Likewise.
1652         * sysdeps/x86_64/fpu/test-double-libmvec-alias.c: Likewise.
1653         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-main.c: Likewise.
1654         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-mod.c: Likewise.
1655         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx.c: Likewise.
1656         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-main.c: Likewise.
1657         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-mod.c: Likewise.
1658         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2.c: Likewise.
1659         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-main.c: Likewise.
1660         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-mod.c: Likewise.
1661         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512.c: Likewise.
1662         * sysdeps/x86_64/fpu/test-float-libmvec-alias-main.c: Likewise.
1663         * sysdeps/x86_64/fpu/test-float-libmvec-alias-mod.c: Likewise.
1664         * sysdeps/x86_64/fpu/test-float-libmvec-alias.c: Likewise.
1665         * sysdeps/x86_64/fpu/test-libmvec-alias-mod.c: Likewise.
1667 2016-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
1669         * sysdeps/aarch64/rawmemchr.S (__rawmemchr): New file.
1670         * sysdeps/aarch64/strlen.S (__strlen): Change to __strlen to avoid PLT.
1672 2016-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
1674         * sysdeps/aarch64/memcpy.S (memcpy):
1675         Rewrite of optimized memcpy and memmove.
1676         * sysdeps/aarch64/memmove.S (memmove): Remove
1677         memmove code (merged into memcpy.S).
1679 2016-06-20  Florian Weimer  <fweimer@redhat.com>
1681         Consolidate machine-agnostic DTV definitions in <dl-dtv.h>.
1682         * sysdeps/generic/dl-dtv.h: New file.
1683         * sysdeps/aarch64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
1684         * sysdeps/aarch64/nptl/tls.h: Include <dl-dtv.h>.
1685         (dtv_t): Remove.
1686         * sysdeps/alpha/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
1687         * sysdeps/alpha/nptl/tls.h: Include <dl-dtv.h>.
1688         (dtv_t): Remove.
1689         * sysdeps/arm/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
1690         * sysdeps/arm/nptl/tls.h: Include <dl-dtv.h>.
1691         (dtv_t): Remove.
1692         * sysdeps/hppa/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
1693         * sysdeps/hppa/nptl/tls.h: Include <dl-dtv.h>.
1694         (dtv_t): Remove.
1695         * sysdeps/i386/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
1696         * sysdeps/i386/nptl/tls.h: Include <dl-dtv.h>.
1697         (dtv_t): Remove.
1698         * sysdeps/ia64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
1699         * sysdeps/ia64/nptl/tls.h: Include <dl-dtv.h>.
1700         (dtv_t): Remove.
1701         * sysdeps/m68k/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
1702         * sysdeps/m68k/nptl/tls.h: Include <dl-dtv.h>.
1703         (dtv_t): Remove.
1704         * sysdeps/mach/hurd/i386/tls.h: Include <dl-dtv.h>.
1705         (dtv_t): Remove.
1706         * sysdeps/microblaze/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
1707         * sysdeps/microblaze/nptl/tls.h: Include <dl-dtv.h>.
1708         (dtv_t): Remove.
1709         * sysdeps/mips/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
1710         * sysdeps/mips/nptl/tls.h: Include <dl-dtv.h>.
1711         (dtv_t): Remove.
1712         * sysdeps/nios2/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
1713         * sysdeps/nios2/nptl/tls.h: Include <dl-dtv.h>.
1714         (dtv_t): Remove.
1715         * sysdeps/powerpc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
1716         * sysdeps/powerpc/nptl/tls.h: Include <dl-dtv.h>.
1717         (dtv_t): Remove.
1718         * sysdeps/s390/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
1719         * sysdeps/s390/nptl/tls.h: Include <dl-dtv.h>.
1720         (dtv_t): Remove.
1721         * sysdeps/sh/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
1722         * sysdeps/sh/nptl/tls.h: Include <dl-dtv.h>.
1723         (dtv_t): Remove.
1724         * sysdeps/sparc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
1725         * sysdeps/sparc/nptl/tls.h: Include <dl-dtv.h>.
1726         (dtv_t): Remove.
1727         * sysdeps/x86_64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
1728         * sysdeps/x86_64/nptl/tls.h: Include <dl-dtv.h>.
1729         (dtv_t): Remove.
1731 2016-06-20  Florian Weimer  <fweimer@redhat.com>
1733         Revert symbol poisoning of  __malloc_initialize_hook.
1734         * include/stdc-predef.h (__malloc_initialize_hook): Remove
1735         poisoning.
1736         * malloc/Makefile: Remove un-poisoning.
1737         * malloc/arena.c (ptmalloc_init): Use __malloc_initialize_hook
1738         instead of old__malloc_initialize_hook.
1739         * malloc/malloc-hooks.h: Likewise.
1740         * malloc/malloc.c: Likewise.
1741         * malloc/mcheck-init.c: Likewise.
1743 2016-06-19  Carlos O'Donell  <carlos@redhat.com>
1745         * sysdeps/unix/sysv/linux/times.c (__times): Expand comments.
1747 2016-06-18  Aurelien Jarno  <aurelien@aurel32.net>
1749         * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Conditionalize
1750         hidden_def, weak_alias and strong_alias on [IS_IN (libc)].
1751         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
1752         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
1754 2016-06-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
1756         * NEWS: Mention addition of nextup and nextdown.
1757         * manual/arith.texi: Document nextup and nextdown.
1758         * manual/libm-err-tab.pl: Add nextup and nextdown.
1759         * math/Makefile (libm-calls): Add s_nextdown and s_nextup.
1760         * math/Versions (libm): Add GLIBC_2.24.
1761         * math/bits/mathcalls.h: Add nextup and nextdown declaration.
1762         * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
1763         Add new test.
1764         (nextafter_test_data) [TEST_COND_binary32]: Likewise.
1765         (nextafter_test_data) [TEST_COND_m68k96]: Likewise.
1766         (nextafter_test_data) [TEST_COND_binary64]: Likewise.
1767         (nextafter_test_data) [TEST_COND_binary128]: Likewise.
1768         (nextup_test_data): Likewise.
1769         (nextdown_test_data): Likewise.
1770         * math/s_nextdown.c: New file.
1771         * math/s_nextdownf.c: Likewise.
1772         * math/s_nextdownl.c: Likewise.
1773         * math/test-tgmath.c F(compile_test)): Add nextup and nextdown tests.
1774         F(nextup): New function.
1775         F(nextdown): Likewise.
1776         * math/tgmath.h: Add nextup and nextdown.
1777         * sysdeps/ieee754/flt-32/s_nextupf.c: New file.
1778         * sysdeps/ieee754/dbl-64/s_nextup.c: Likewise.
1779         * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
1780         * sysdeps/ieee754/ldbl-128ibm/s_nextupl.c: Likewise.
1781         * sysdeps/ieee754/ldbl-96/s_nextupl.c: Likewise.
1782         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls):
1783         Add nextup and nextdown.
1784         (CFLAGS-nldbl-nextup.c): New variable.
1785         (CFLAGS-nldbl-nextdown.c): Likewise.
1786         * sysdeps/ieee754/ldbl-opt/nldbl-nextdown.c: New file.
1787         * sysdeps/ieee754/ldbl-opt/nldbl-nextup.c: Likewise.
1788         * sysdeps/nacl/libm.abilist: Update.
1789         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
1790         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
1791         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
1792         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
1793         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
1794         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
1795         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
1796         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
1797         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
1798         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
1799         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
1800         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
1801         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
1802         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
1803         Likewise.
1804         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
1805         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
1806         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
1807         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
1808         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
1809         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
1810         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
1811         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Likewise.
1812         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: Likewise.
1813         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
1814         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
1815         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: Likewise.
1816         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
1818 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
1820         * manual/pattern.texi: Fix typos & grammar errors.
1822 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
1824         * manual/search.texi: Fix typos & grammar errors.
1826 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
1828         * manual/message.texi: Fix typos & grammar errors.
1830 2016-06-16  Mike Frysinger  <vapier@gentoo.org>
1832         * manual/contrib.texi: Fix spelling typos.
1833         * manual/crypt.texi: Likewise.
1834         * manual/filesys.texi: Likewise.
1835         * manual/locale.texi: Likewise.
1836         * manual/message.texi: Likewise.
1837         * manual/nss.texi: Likewise.
1838         * manual/string.texi: Likewise.
1840 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
1842         * manual/locale.texi: Fix typos & grammar errors.
1844 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
1846         * manual/charset.texi: Fix typos & grammar errors.
1848 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
1850         * manual/string.texi: Fix typos.
1852 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
1854         * manual/ctype.texi: Fix typos.
1856 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
1858         * manual/memory.texi: Fix various typos & grammar errors.
1860 2016-06-14  Joseph Myers  <joseph@codesourcery.com>
1862         [BZ #20255]
1863         * sysdeps/i386/fpu/s_fdim.c: New file.  Based on math/s_fdim.c.
1864         * math/libm-test.inc (fdim_test_data): Add another test.
1866         [BZ #6796]
1867         [BZ #20255]
1868         [BZ #20256]
1869         * math/s_fdim.c: Include <math_private.h>.
1870         (__fdim): Use math_narrow_eval on result.
1871         * math/s_fdimf.c: Include <math_private.h>.
1872         (__fdimf): Use math_narrow_eval on result.
1873         * sysdeps/i386/fpu/s_fdim.S: Remove file.
1874         * sysdeps/i386/fpu/s_fdimf.S: Likewise.
1875         * sysdeps/i386/fpu/s_fdiml.S: Likewise.
1876         * sysdeps/i386/i686/fpu/s_fdim.S: Likewise.
1877         * sysdeps/i386/i686/fpu/s_fdimf.S: Likewise.
1878         * sysdeps/i386/i686/fpu/s_fdiml.S: Likewise.
1879         * sysdeps/powerpc/fpu/s_fdim.c: Likewise.
1880         * sysdeps/powerpc/fpu/s_fdimf.c: Likewise.
1881         * sysdeps/powerpc/powerpc32/fpu/s_fdim.c: Likewise.
1882         * sysdeps/powerpc/powerpc64/fpu/s_fdim.c: Likewise.
1883         * sysdeps/x86_64/fpu/s_fdiml.S: Likewise.
1884         * math/libm-test.inc (fdim_test_data): Expect errno setting on
1885         overflow.  Add sNaN tests.
1887         * math/s_fdim.c (__fdim): Use islessequal and isinf instead of
1888         fpclassify.
1889         * math/s_fdimf.c (__fdimf): Likewise.
1890         * math/s_fdiml.c (__fdiml): Likewise.
1892 2016-06-14  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
1894         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
1895         (sysdep_routines): Add P8 and PPC64 strcasecmp/strncasecmp targets.
1896         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
1897         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
1898         ifunc'ed strcasecmp/strncasecmp.
1899         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S:
1900         [EALIGN]: Removed.
1901         [END]: Likewise.
1902         [__strcasecmp]: Define instead of the above to control symbol name.
1903         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Add IFUNC selector
1904         for __strcasecmp_power8.
1905         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Add IFUNC selector
1906         for __strncasecmp_power8.
1907         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: New File.
1908         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-ppc64.c: Likewise.
1909         * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
1910         * sysdeps/powerpc/powerpc64/multiarch/strncase-ppc64.c: Likewise.
1911         * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Likewise.
1912         * sysdeps/powerpc/powerpc64/power8/strncase.S: Likewise.
1914 2016-06-13  Joseph Myers  <joseph@codesourcery.com>
1916         [BZ #20252]
1917         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Add both
1918         arguments when second argument is a NaN.
1919         * math/libm-test.inc (atan2_test_data): Add sNaN tests and more
1920         qNaN tests.
1922         * math/libm-test.inc (cimag_test_data): Add sNaN tests.
1923         (conj_test_data): Likewise.
1924         (copysign_test_data): Likewise.
1925         (creal_test_data): Likewise.
1926         (fma_test_data): Likewise.
1927         (fmod_test_data): Likewise.
1929         [BZ #20250]
1930         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Add non-finite input to
1931         itself.
1932         * sysdeps/ieee754/dbl-64/s_frexp.c (__frexp): Add non-finite or
1933         zero input to itself.
1934         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp):
1935         Likewise.
1936         * sysdeps/ieee754/flt-32/s_frexpf.c (__frexpf): Likewise.
1937         * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
1938         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
1939         * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
1940         * math/libm-test.inc (frexp_test_data): Add sNaN tests.
1942 2016-06-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1944         * nptl/Makefile (test): Add tst-cancel4_1 and tst-cancel4_2.
1945         * nptl/tst-cancel4-common.c: New file.
1946         * nptl/tst-cancel4-common.h: Likewise.
1947         * nptl/tst-cancel4.c: Move common definitions to
1948         tst-cancel4-common.{c,h} file.
1949         * nptl/tst-cancel4_1.c: New test.
1950         * nptl/tst-cancel4_2.c: New test.
1952 2016-06-13  Florian Weimer  <fweimer@redhat.com>
1954         [BZ #20248]
1955         * debug/tst-longjmp_chk2.c (pass): Use volatile sig_atomic_t.
1956         (write_message): New function.
1957         (stackoverflow_handler): Call it instead of printf, to avoid
1958         excessive stack usage by printf.
1959         (do_test): Restore SIGSEGV, SIGBUS default handlers.
1961 2016-06-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1963         * nptl/pthread_mutex_init.c [__ASSUME_FUTEX_LOCK_PI]
1964         (prio_inherit_missing): Remove define.
1965         * sysdeps/unix/sysv/linux/arm/kernel-features.h
1966         (__ASSUME_FUTEX_LOCK_PI): Likewise.
1967         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FUTEX_LOCK_PI):
1968         Likewise.
1969         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
1970         (__ASSUME_FUTEX_LOCK_PI): Likewise.
1971         * sysdeps/unix/sysv/linux/mips/kernel-features.h
1972         (__ASSUME_FUTEX_LOCK_PI): Likewise.
1973         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
1974         (__ASSUME_FUTEX_LOCK_PI): Likewise.
1976 2016-06-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
1978         [BZ #19670]
1979         [BZ #19672]
1981         * io/test-lfs.c (do_prepare): Use xmalloc.
1982         * io/tst-fcntl.c (do_prepare): Likewise.
1983         * libio/tst-fopenloc.c (do_bz17916): Likewise.
1984         * libio/tst-mmap2-eofsync.c (do_prepare): Likewise.
1985         * login/tst-utmp.c (do_prepare): Likewise.
1986         * posix/tst-exec.c (do_prepare): Likewise.
1987         * posix/tst-pathconf.c (prepare): Likewise.
1988         * posix/tst-spawn.c (do_prepare): Likewise.
1989         * posix/tst-truncate.c (do_prepare): Likewise.
1990         * rt/tst-aio.c (do_prepare): Likewise.
1991         * rt/tst-aio64.c (do_prepare): Likewise.
1993 2016-06-11  Florian Weimer  <fweimer@redhat.com>
1995         [BZ #20237]
1996         * nss/nss_db/db-XXX.c (set*ent): Reset entidx to NULL.
1997         (get*ent): Set entidx to NULL during initialization.  If entidx is
1998         NULL, start iteration from the beginning.
2000 2016-06-11  Florian Weimer  <fweimer@redhat.com>
2002         * malloc/malloc.c (musable): Return correct size for dumped fake
2003         mmapped chunk.
2005 2016-06-11  Florian Weimer  <fweimer@redhat.com>
2007         [BZ #20222]
2008         * libio/iofopncook.c (_IO_cookie_read): Demangle callback pointer.
2009         (_IO_cookie_write): Likewise.
2010         (_IO_cookie_seek): Likewise.
2011         (_IO_cookie_close): Likewise.
2012         (_IO_old_cookie_seek): Likewise.
2013         (set_callbacks): New function.
2014         (_IO_cookie_init): Call set_callbacks to copy callbacks.
2016 2016-06-11  Marko Myllynen  <myllynen@redhat.com>
2018         * locale/programs/localedef.c (oldstyle_tables): Remove.
2019         * locale/programs/localedef.h (oldstyle_tables): Likewise.
2021 2016-06-10  Joseph Myers  <joseph@codesourcery.com>
2023         [BZ #20240]
2024         * math/Makefile (CFLAGS-s_modf.c): New variable.
2025         (CFLAGS-s_modff.c): Likewise.
2026         (CFLAGS-s_modfl.c): Likewise.
2027         * math/libm-test.inc (modf_test_data): Add sNaN tests.
2029 2016-06-09  Carlos O'Donell  <carlos@redhat.com>
2031         [BZ #20215]
2032         * misc/sys/cdefs.h [__GNUC_PREREQ (3,2)]: Undef __always_inline first.
2033         [!__GNUC_PREREQ (3,2)]: Likewise.
2035 2016-06-10  Adhemerval Zanela  <adhemerval.zanella@linaro.org>
2037         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Add xfail-.
2038         (msghdr.msg_controllen): Likewise.
2039         (cmsghdr.cmsg_len): Likewise.
2040         * nptl/Makefile (libpthread-routines): Remove ptw-oldrecvmsg and
2041         ptw-oldsendmsg.
2042         (CFLAGS-oldrecvmsg.c): Remove rule.
2043         (CFLAGS-oldsendmsg.c): Likewise.
2044         (CFLAGS-recvmsg.c): Add rule.
2045         (CFLAGS-sendmsg.c): Likewise.
2046         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove
2047         oldrecvmsg, oldsendmsg, oldrecvmmsg, oldsendmmsg.
2048         (CFLAGS-recvmsg.c): Remove rule.
2049         (CFLAGS-sendmsg.c): Likewise.
2050         (CFLAGS-oldrecvmsg.c): Likewise.
2051         (CFLAGS-oldsendmsg.c): Likewise.
2052         (CFLAGS-recvmmsg.c): Likewise.
2053         * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Revert
2054         to kernel defined interfaces.
2055         (msghdr.msg_controllen): Likewise.
2056         (cmsghdr.cmsg_len): Likewise.
2057         (msghdr.__glibc_reserved1): Remove member.
2058         (msghdr.__glibc_reserved2): Likewise.
2059         (cmsghdr.__glibc_reserved1): Likewise.
2060         * sysdeps/unix/sysv/linux/oldrecvmmsg.c: Remove file.
2061         * sysdeps/unix/sysv/linux/oldrecvmsg.c: Likewise.
2062         * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
2063         * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
2064         * sysdeps/unix/sysv/linux/recvmmsg.c: Revert back to previous
2065         version.
2066         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
2067         * sysdeps/unix/sysv/linux/sendmmsg.c: Likewise.
2068         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
2069         * sysdeps/unix/sysv/linux/aarch64/Versions [libc] (GLIBC_2.24):
2070         Remove recvmsg and sendmsg.
2071         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24):
2072         Likewise.
2073         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
2074         Likewise.
2075         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
2076         * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
2077         * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
2078         Likewise.
2079         * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
2080         Likewise.
2081         * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions
2082         [libc] (GLIBC_2.24): Likewise.
2083         * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
2084         Likewise.
2085         * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
2086         Likewise.
2087         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
2088         [libc] (GLIBC_2.24): Likewise.
2089         * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
2090         Likewise.
2091         * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
2092         Likewise.
2093         * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
2094         * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
2095         Likewise.
2096         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
2097         Likewise.
2098         * sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
2099         Likewise.
2100         * sysdeps/unix/sysv/linux/x86_64/Versions [libc] (GLIBC_2.24):
2101         Likewise.
2102         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions: Remove file
2103         * sysdeps/unix/sysv/linux/x86_64/64/Versions: Likewise.
2104         * sysdeps/unix/sysv/linux/mips/mips64/n64/Versions: Likewise.
2105         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Remove new 2.24
2106         version for {recv,send,recm,sendm}msg.
2107         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
2108         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
2109         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
2110         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
2111         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
2112         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
2113         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
2114         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
2115         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
2116         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
2117         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
2118         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
2119         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
2120         Likewise.
2121         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
2122         Likewise.
2123         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
2124         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
2125         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
2126         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
2127         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
2128         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
2129         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
2130         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
2131         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
2132         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
2133         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
2134         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
2135         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
2137 2016-06-10  Florian Weimer  <fweimer@redhat.com>
2139         [BZ #19564]
2140         Remove __malloc_initialize_hook from the API.
2141         * malloc/malloc.h (__malloc_initialize_hook): Remove.
2142         * include/stdc-predef.h (__malloc_initialize_hook): Poison with
2143         #pragma GCC poison.
2144         * malloc/malloc-hooks.h: New file.
2145         * malloc/arena.c (ptmalloc_init): Use old__malloc_initialize_hook.
2146         * malloc/malloc.c (HAVE_MALLOC_INIT_HOOK): New.
2147         (old__malloc_initialize_hook): Rename from
2148         __malloc_initialize_hook to evade poisoning.  Turn into compat
2149         symbol.
2150         * malloc/mcheck-init.c (old__malloc_initialize_hook): Rename from
2151         __malloc_initialize_hook.
2152         * malloc/Makefile (poisoned_apis, unpoisoned_api_defines): New.
2153         (mallo.c, mcheck-init.c): Compile with unpoisoned symbol.
2154         * manual/memory.texi (Hooks for Malloc): Remove
2155         __malloc_initialize_hook.  Adjust hook example.
2157 2016-06-09  Joseph Myers  <joseph@codesourcery.com>
2159         [BZ #20235]
2160         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Add NaN input to
2161         itself.
2162         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Likewise.
2163         * math/libm-test.inc (log2_test_data): Add sNaN tests.
2165         [BZ #20234]
2166         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Add positive
2167         infinity or NaN input to itself.
2169         [BZ #20233]
2170         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Add NaN input
2171         to itself.
2173         [BZ #20232]
2174         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Add NaN input to
2175         itself.
2177 2016-06-09  H.J. Lu  <hongjiu.lu@intel.com>
2179         * sysdeps/x86_64/start.S (_start): Always indirect branch to
2180         __libc_start_main via GOT.
2182 2016-06-09  H.J. Lu  <hongjiu.lu@intel.com>
2184         * sysdeps/x86_64/memcopy.h: New file.
2185         * sysdeps/x86_64/wordcopy.c: Likewise.
2187 2016-06-09  Florian Weimer  <fweimer@redhat.com>
2189         Prevent GCC 6 <cstdlib> from including /usr/include/stdlib.h.
2190         * stdlib/tst-quick_exit.cc: Include <stdlib.h> instead of
2191         <cstdlib>.
2192         (optimization_barrier): New.
2193         (do_test): Use it.  Call quick_exit in the global namespace.
2194         * stdlib/tst-thread-quick_exit.cc: Include <stdlib.h>, <pthread.h>
2195         instead of <cstdlib>, <thread>.
2196         (optimization_barrier): New.
2197         (non_main_thread): Adjust declaration.  Call optimization_barrier.
2198         Call quick_exit in the global namespace.
2199         (do_test): Call optimization_barrier.  Use pthread_create,
2200         pthread_join instead of std::thread.
2202 2016-06-09  Andreas Schwab  <schwab@suse.de>
2204         [BZ #19755]
2205         * nscd/pwdcache.c (cache_addpw): Lock prune_run_lock while adding
2206         new entries in auto-propagate mode.
2207         * nscd/grpcache.c (cache_addgr): Likewise.
2209 2016-06-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
2211         * test-skeleton.c (oom_error, xmalloc, xcalloc, xrealloc):
2212         New functions.
2213         (add_temp_file): Use them.
2215 2016-06-09  Samuel Thibault  <samuel.thibault@ens-lyon.org
2217         * mach/mach/mach_traps.h (mach_print): Add syscall declaration.
2219 2016-06-08  Joseph Myers  <joseph@codesourcery.com>
2221         [BZ #20229]
2222         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Add NaN input to itself.
2223         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Likewise.
2224         * math/libm-test.inc (log1p_test_data): Add sNaN tests.
2226         [BZ #20228]
2227         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Add NaN input to
2228         itself.
2229         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Likewise.
2230         * math/libm-test.inc (log10_test_data): Add sNaN tests.
2232         [BZ #20227]
2233         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Add NaN input to
2234         itself.
2235         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
2236         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
2237         * math/libm-test.inc (log_test_data): Add sNaN tests.
2239         [BZ #20226]
2240         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Add NaN argument to
2241         itself.
2242         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
2243         * math/libm-test.inc (exp_test_data): Add sNaN tests.
2244         (exp10_test_data): Likewise.
2245         (expm1_test_data): Likewise.
2247         [BZ #20225]
2248         * math/s_ldexp.c (__ldexp): Add non-finite or zero argument to
2249         itself.
2250         * math/s_ldexpf.c (__ldexpf): Likewise.
2251         * math/s_ldexpl.c (__ldexpl): Likewise.
2252         * math/w_scalbln.c (__w_scalbln): Likewise.
2253         * math/w_scalblnf.c (__w_scalblnf): Likewise.
2254         * math/w_scalblnl.c (__w_scalblnl): Likewise.
2255         * math/libm-test.inc (scalbn_test_data): Add sNaN tests.
2256         (scalbln_test_data): Likewise.
2258         [BZ #20224]
2259         * sysdeps/i386/fpu/s_cbrtl.S (__cbrtl): Add non-finite or zero
2260         argument to itself.
2261         * math/libm-test.inc (cbrt_test_data): Add sNaN tests.
2263 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
2265         [BZ #19776]
2266         * sysdeps/x86_64/memcpy.S: Make it dummy.
2267         * sysdeps/x86_64/mempcpy.S: Likewise.
2268         * sysdeps/x86_64/memmove.S: New file.
2269         * sysdeps/x86_64/memmove_chk.S: Likewise.
2270         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
2271         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
2272         * sysdeps/x86_64/memmove.c: Removed.
2273         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
2274         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
2275         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: Likewise.
2276         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
2277         Likewise.
2278         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
2279         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
2280         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
2281         memcpy-sse2-unaligned, memmove-avx-unaligned,
2282         memcpy-avx-unaligned and memmove-sse2-unaligned-erms.
2283         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
2284         (__libc_ifunc_impl_list): Replace
2285         __memmove_chk_avx512_unaligned_2 with
2286         __memmove_chk_avx512_unaligned.  Remove
2287         __memmove_chk_avx_unaligned_2.  Replace
2288         __memmove_chk_sse2_unaligned_2 with
2289         __memmove_chk_sse2_unaligned.  Remove __memmove_chk_sse2 and
2290         __memmove_avx_unaligned_2.  Replace __memmove_avx512_unaligned_2
2291         with __memmove_avx512_unaligned.  Replace
2292         __memmove_sse2_unaligned_2 with __memmove_sse2_unaligned.
2293         Remove __memmove_sse2.  Replace __memcpy_chk_avx512_unaligned_2
2294         with __memcpy_chk_avx512_unaligned.  Remove
2295         __memcpy_chk_avx_unaligned_2.  Replace
2296         __memcpy_chk_sse2_unaligned_2 with __memcpy_chk_sse2_unaligned.
2297         Remove __memcpy_chk_sse2.  Remove __memcpy_avx_unaligned_2.
2298         Replace __memcpy_avx512_unaligned_2 with
2299         __memcpy_avx512_unaligned.  Remove __memcpy_sse2_unaligned_2
2300         and __memcpy_sse2.  Replace __mempcpy_chk_avx512_unaligned_2
2301         with __mempcpy_chk_avx512_unaligned.  Remove
2302         __mempcpy_chk_avx_unaligned_2.  Replace
2303         __mempcpy_chk_sse2_unaligned_2 with
2304         __mempcpy_chk_sse2_unaligned.  Remove __mempcpy_chk_sse2.
2305         Replace __mempcpy_avx512_unaligned_2 with
2306         __mempcpy_avx512_unaligned.  Remove __mempcpy_avx_unaligned_2.
2307         Replace __mempcpy_sse2_unaligned_2 with
2308         __mempcpy_sse2_unaligned.  Remove __mempcpy_sse2.
2309         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Support
2310         __memcpy_avx512_unaligned_erms and __memcpy_avx512_unaligned.
2311         Use __memcpy_avx_unaligned_erms and __memcpy_sse2_unaligned_erms
2312         if processor has ERMS.  Default to __memcpy_sse2_unaligned.
2313         (ENTRY): Removed.
2314         (END): Likewise.
2315         (ENTRY_CHK): Likewise.
2316         (libc_hidden_builtin_def): Likewise.
2317         Don't include ../memcpy.S.
2318         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Support
2319         __memcpy_chk_avx512_unaligned_erms and
2320         __memcpy_chk_avx512_unaligned.  Use
2321         __memcpy_chk_avx_unaligned_erms and
2322         __memcpy_chk_sse2_unaligned_erms if if processor has ERMS.
2323         Default to __memcpy_chk_sse2_unaligned.
2324         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
2325         Change function suffix from unaligned_2 to unaligned.
2326         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Support
2327         __mempcpy_avx512_unaligned_erms and __mempcpy_avx512_unaligned.
2328         Use __mempcpy_avx_unaligned_erms and __mempcpy_sse2_unaligned_erms
2329         if processor has ERMS.  Default to __mempcpy_sse2_unaligned.
2330         (ENTRY): Removed.
2331         (END): Likewise.
2332         (ENTRY_CHK): Likewise.
2333         (libc_hidden_builtin_def): Likewise.
2334         Don't include ../mempcpy.S.
2335         (mempcpy): New.  Add a weak alias.
2336         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Support
2337         __mempcpy_chk_avx512_unaligned_erms and
2338         __mempcpy_chk_avx512_unaligned.  Use
2339         __mempcpy_chk_avx_unaligned_erms and
2340         __mempcpy_chk_sse2_unaligned_erms if if processor has ERMS.
2341         Default to __mempcpy_chk_sse2_unaligned.
2343 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
2345         [BZ #19881]
2346         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Folded
2347         into ...
2348         * sysdeps/x86_64/memset.S: This.
2349         (__bzero): Removed.
2350         (__memset_tail): Likewise.
2351         (__memset_chk): Likewise.
2352         (memset): Likewise.
2353         (MEMSET_CHK_SYMBOL): New. Define only if MEMSET_SYMBOL isn't
2354         defined.
2355         (MEMSET_SYMBOL): Define only if MEMSET_SYMBOL isn't defined.
2356         * sysdeps/x86_64/multiarch/memset-avx2.S: Removed.
2357         (__memset_zero_constant_len_parameter): Check SHARED instead of
2358         PIC.
2359         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
2360         memset-avx2 and memset-sse2-unaligned-erms.
2361         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
2362         (__libc_ifunc_impl_list): Remove __memset_chk_sse2,
2363         __memset_chk_avx2, __memset_sse2 and __memset_avx2_unaligned.
2364         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
2365         (__bzero): Enabled.
2366         * sysdeps/x86_64/multiarch/memset.S (memset): Replace
2367         __memset_sse2 and __memset_avx2 with __memset_sse2_unaligned
2368         and __memset_avx2_unaligned.  Use __memset_sse2_unaligned_erms
2369         or __memset_avx2_unaligned_erms if processor has ERMS.  Support
2370         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
2371         (memset): Removed.
2372         (__memset_chk): Likewise.
2373         (MEMSET_SYMBOL): New.
2374         (libc_hidden_builtin_def): Replace __memset_sse2 with
2375         __memset_sse2_unaligned.
2376         * sysdeps/x86_64/multiarch/memset_chk.S (__memset_chk): Replace
2377         __memset_chk_sse2 and __memset_chk_avx2 with
2378         __memset_chk_sse2_unaligned and __memset_chk_avx2_unaligned_erms.
2379         Use __memset_chk_sse2_unaligned_erms or
2380         __memset_chk_avx2_unaligned_erms if processor has ERMS.  Support
2381         __memset_chk_avx512_unaligned_erms and
2382         __memset_chk_avx512_unaligned.
2384 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2386         * math/gen-auto-libm-test.c (fp_format_desc): remove
2387         suffix member.
2388         (output_generic_value): Remove usage of suffix member,
2389         and the resulting unuse of the fp_format argument.
2390         (output_for_one_input_case): Remove unused fp_format
2391         parameter.
2393         * math/auto-libm-test-out: Regenerate.
2395         * math/libm-test.inc (TEST_COND_ldbl_128ibm): replace
2396         usage with TEST_COND_ibm128.
2397         (TEST_COND_flt_32): Remove.
2398         (TEST_COND_dbl_64): Remove.
2399         (TEST_COND_ldbl_96_intel): Remove.
2400         (TEST_COND_ldbl_96_m68k): Remove.
2401         (TEST_COND_ldbl_128): Remove.
2403 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2405         * auto-libm-test-in:
2406         Replace flt-32 usage with binary32.
2407         Replace dbl-64 usage with binary64.
2408         Replace ldbl-intel-96 usage with intel96.
2409         Replace ldbl-m68k-96 usage with m68k96.
2410         Replace ldbl-128ibm usage with ibm128.
2411         Replace ldbl-128 usage with binary128.
2413         * auto-libm-test-out: Regenerate.
2415 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2417         * math/gen-libm-test.pl (all_floats_pfx): New lookup table.
2418         (parse_ulps): Dynamically generate type name matching
2419         string from all_floats.
2420         (get_ulps): Generate the ulps as an array instead.
2421         (output_ulps): Dynamically compose the type based
2422         on the number of supported formats, and print
2423         the indices as type specific helper macros.
2425         * math/libm-test.inc: Remove comment about CHOOSE.
2426         (ulp_data): Generate the type in libm-test-ulps.h.
2427         (ULP_IDX): New macro.
2428         (find_ulps): Update usage of max_ulp.
2430         * math/test-double-vlen2.h (CHOOSE): Remove.
2431         * math/test-double-vlen4.h (CHOOSE): Likewise.
2432         * math/test-double-vlen8.h (CHOOSE): Likewise.
2433         * math/test-float.c (CHOOSE): Likewise.
2434         * math/test-float-finite.c (CHOOSE): Likewise.
2435         * math/test-double.c (CHOOSE): Likewise.
2436         * math/test-double-finite.c (CHOOSE): Likewise.
2437         * math/test-idouble.c (CHOOSE): Likewise.
2438         * math/test-ifloat.c (CHOOSE): Likewise.
2439         * math/test-ildoubl.c (CHOOSE): Likewise.
2440         * math/test-ldouble-finite.c (CHOOSE): Likewise.
2441         * math/test-ldouble.c (CHOOSE): Likewise.
2443         * math/test-float.h (TEST_FLOAT): Remove.
2444         * math/test-double.h (TEST_DOUBLE): Likewise.
2445         * math/test-ldouble.h (TEST_LDOUBLE): Likewise.
2447 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2449         * math/gen-libm-test.pl: (apply_lit): New subroutine.
2450         (parse_args): Strip C suffix from floating point literals
2451         typed with 'f' and wrap them with LIT().
2453         * math/libm-tests.inc (RUN_TEST_LOOP_fj_f): New macro.
2454         (test_ff_f_data_nexttoward): Rename to
2455         (test_fj_f_data): New struct.
2456         (nexttoward_test_data): Relabel tests as
2457         TEST_fj_f instead of TEST_ff_f.
2459 2016-06-08  Florian Weimer  <fweimer@redhat.com>
2461         Emacs bug 23726.
2462         * malloc/malloc.c (dumped_main_arena_start): Update comment.
2463         (__libc_realloc): Correct size computation for dumped fake mmapped
2464         chunks.
2466 2016-06-07  Joseph Myers  <joseph@codesourcery.com>
2468         [BZ #20219]
2469         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): Add NaN argument
2470         to itself.
2471         * math/libm-test.inc (atanh_test_data): Add sNaN tests.
2473         [BZ #20218]
2474         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Add non-finite argument
2475         to itself.
2476         * math/libm-test.inc (asinh_test_data): Add sNaN tests.
2478 2016-06-07  H.J. Lu  <hongjiu.lu@intel.com>
2480         [BZ #20195]
2481         * sysdeps/x86/cpu-features.c (get_common_indeces): Move FMA4
2482         check to ...
2483         (init_cpu_features): Here.
2485 2016-06-07  Carlos O'Donell  <carlos@redhat.com>
2487         [BZ #20214]
2488         * sysdeps/unix/sysv/linux/bits/in.h
2489         [defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
2490          || defined _LINUX_IN6_H || defined _IPV6_H] (__USE_KERNEL_IPV6_DEFS):
2491         Define to 1.
2492         [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
2493          || defined _LINUX_IN6_H || defined _IPV6_H)] (__USE_KERNEL_IPV6_DEFS):
2494         Define to 0.
2495         [!__USE_KERNEL_IPV6_DEFS] (IPV6_ADD_MEMBERSHIP): Define.
2496         [!__USE_KERNEL_IPV6_DEFS] (IPV6_DROP_MEMBERSHIP): Define.
2498 2016-06-06  Carlos O'Donell  <carlos@redhat.com>
2500         [BZ #20198]
2501         * stdlib/Makefile (tests): Add tst-quick_exit, and
2502         tst-thread-quick_exit.
2503         [ifeq ($(have-cxx-thread_local),yes)]
2504         (CFLAGS-tst-quick_exit.o): Use -stdc=c++11.
2505         (CFLAGS-tst-thread-quick_exit.o): Likewise.
2506         (LDLIBS-tst-quick_exit): Use -lstdc++ for C++ program.
2507         (LDLIBS-tst-thread-quick_exit): Likewise.
2508         [ifneq ($(have-cxx-thread_local),yes)]
2509         (tests-unsupported): Add tst-quick_exit, and tst-thread-quick_exit.
2510         * stdlib/exit.c (__run_exit_handlers): Add run_dtors argument.
2511         If run_dtors is true call __call_tls_dtors.
2512         (exit): Call __run_exit_handlers with run_dtors set to true.
2513         * stdlib/exit.h: Add run_dtors argument to __run_exit_handlers
2514         definition.
2515         * stdlib/quick_exit.c (quick_exit): Remove function.
2516         (__new_quick_exit): New function.
2517         [SHLIB_COMPAT(libc, GLIBC_2_10, GLIBC_2_24)] (__old_quick_exit): New
2518         function.
2519         * stdlib/tst-quick_exit.cc: New file.
2520         * stdlib/tst-thread-quick_exit.cc: New file.
2521         * stdlib/Versions: Add quick_exit@GLIBC_2.24.
2522         * sysdeps/arm/nacl/libc.abilist: Add 'GLIBC_2.24 quick_exit F'.
2523         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise
2524         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise
2525         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise
2526         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise
2527         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise
2528         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise
2529         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise
2530         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise
2531         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise
2532         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise
2533         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise
2534         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise
2535         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise
2536         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
2537         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise
2538         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise
2539         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise
2540         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise
2541         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise
2542         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise
2543         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise
2544         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise
2545         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise
2546         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise
2547         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise
2548         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise
2549         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise
2550         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise
2552 2016-06-06  H.J. Lu  <hongjiu.lu@intel.com>
2554         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Fix
2555         a typo in comments.
2557 2016-06-06  Joseph Myers  <joseph@codesourcery.com>
2559         [BZ #20213]
2560         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Add NaN
2561         argument to itself.
2562         * math/libm-test.inc (asin_test_data): Add sNaN tests.
2564 2016-06-06  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2566         * misc/Makefile (CFLAGS-pwritev.c): New variable: add cancellation
2567         required flags.
2568         (CFLAGS-pwritev64.c): Likewise.
2569         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Remove file.
2570         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
2571         * sysdeps/unix/sysv/linux/mips/mips64/n64/pwritev64.c: Likewise.
2572         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
2573         * sysdeps/unix/sysv/linux/wordsize-64/pwritev64.: Likwise.
2574         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (pwritev): Remove
2575         syscall from auto-generation.
2576         * sysdeps/unix/sysv/linux/pwritev.c: Rewrite implementation.
2577         [WORDSIZE == 64] (pwritev64): Remove macro.
2578         [!PWRITEV] (PWRITEV): Likewise.
2579         [!PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
2580         [!PWRITEV] (PWRITE): Likewise.
2581         [!PWRITEV] (OFF_T): Likewise.
2582         [!__ASSUME_PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
2583         (LO_HI_LONG): Remove macro.
2584         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Add function.
2585         * sysdeps/unix/sysv/linux/pwritev64.c: Rewrite implementation.
2586         (PWRITEV): Remove macro.
2587         (PWRITEV_REPLACEMENTE): Likewise.
2588         (PWRITE): Likewise.
2589         (OFF_T): Likewise.
2590         (pwritev64): New function.
2591         * nptl/tst-cancel4.c (tf_writev): Add test.
2593         * misc/Makefile (CFLAGS-preadv.c): New variable: add cancellation
2594         required flags.
2595         (CFLAGS-preadv64.c): Likewise.
2596         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Remove file.
2597         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
2598         * sysdeps/unix/sysv/linux/mips/mips64/n64/preadv64.c: Likewise.
2599         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: Likewise.
2600         * sysdeps/unix/sysv/linux/wordsize-64/preadv64.: Likwise.
2601         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (preadv): Remove
2602         syscall from auto-generation.
2603         * sysdeps/unix/sysv/linux/preadv.c: Rewrite implementation.
2604         [WORDSIZE == 64] (preadv64): Remove macro.
2605         [!PREADV] (PREADV): Likewise.
2606         [!PREADV] (PREADV_REPLACEMENT): Likewise.
2607         [!PREADV] (PREAD): Likewise.
2608         [!PREADV] (OFF_T): Likewise.
2609         [!__ASSUME_PREADV] (PREADV_REPLACEMENT): Likewise.
2610         (LO_HI_LONG): Remove macro.
2611         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Add function.
2612         * sysdeps/unix/sysv/linux/preadv64.c: Rewrite implementation.
2613         (PREADV): Remove macro.
2614         (PREADV_REPLACEMENTE): Likewise.
2615         (PREAD): Likewise.
2616         (OFF_T): Likewise.
2617         (preadv64): New function.
2618         * nptl/tst-cancel4.c (tf_preadv): Add test.
2620 2016-06-06  Joseph Myers  <joseph@codesourcery.com>
2622         [BZ #20212]
2623         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_acos): Add NaN
2624         argument to itself.
2625         * math/libm-test.inc (acos_test_data): Add sNaN tests.
2627 2016-06-06  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
2629         * sysdeps/powerpc/powerpc64/power8/strcasestr.S (__strcasestr):
2630         New symbol defined as libc_hidden_def.
2631         (strcasestr): Became a weak alias to __strcasestr.
2632         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Handle memset calls
2633         according to multi-arch support.  Move __stpncpy hidden
2634         definition from here to...
2635         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: ...here.  Add
2636         symbol stpncpy.
2637         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Undefine
2638         libc_hidden_builtin_def.
2639         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Specify which
2640         memset symbol to use when multi-arch support is available.
2642 2016-06-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
2644         * dlfcn/tst-rec-dlopen.c: Include string.h.
2646 2016-06-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
2648         * manual/install.texi: Remove mention of --without-tls
2649         * INSTALL: Regenerate.
2651 2016-06-05  Florian Weimer  <fweimer@redhat.com>
2653         * dlfcn/tst-rec-dlopen.c (custom_malloc_hook, old_malloc_hook):
2654         Remove.
2655         (call_function, interposed_malloc_called): New variables.
2656         (malloc): New function.
2657         (do_test): Do not change malloc hooks.  Initialize malloc.  Set
2658         and clear call_function as needed.
2660 2016-06-04  Andreas Schwab  <schwab@linux-m68k.org>
2662         * include/wchar.h (__wmemset): Use __typeof.
2664 2016-06-03  Carlos O'Donell  <carlos@redhat.com>
2666         * include/wchar.h (__wmemset): Declare function without typeof.
2668 2016-06-03  Joseph Myers  <joseph@codesourcery.com>
2670         [BZ #20205]
2671         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Do not adjust
2672         exponent when incrementing negative subnormal with low mantissa
2673         word zero.
2674         * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
2675         Add another test.
2677 2016-06-03  Florian Weimer  <fweimer@redhat.com>
2679         * libio/wstrops.c (_IO_wstr_overflow, enlarge_userbuf): Use
2680         __wmemset instead of wmemset.
2682 2016-06-02  Carlos O'Donell  <carlos@redhat.com>
2684         * sysdeps/unix/sysv/linux/bits/in.h [defined _UAPI_LINUX_IN6_H ||
2685         defined _UAPI_IPV6_H]: Define __USE_KERNEL_IPV6_DEFS to 1.
2686         [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H)]: Define
2687         __USE_KERNEL_IPV6_DEFS to 0.
2688         * inet/netinet/in.h: Use '#if !__USE_KERNEL_IPV6_DEFS'.
2689         Update comment.
2691 2016-06-01  Florian Weimer  <fweimer@redhat.com>
2693         [BZ #19861]
2694         Do not use IFUNC resolver with potentially unrelocated symbol.
2695         * nptl/pt-fork.c [HAVE_IFUNC]: Remove.
2696         (DEFINE_FORK): Remove macro and inline definition.
2697         (fork_alias): Renamed from fork_ifunc.
2698         (__fork_alias): Renamed from __fork_ifunc.
2700 2016-05-30  Paul Pluzhnikov  <ppluzhnikov@google.com>
2702         [BZ 19653]
2703         * inet/if_index.c (__protocol_available): Delete #if 0'd code.
2704         * inet/ruserpass.c (ruserpass): Delete #if 0'd code.
2706 2016-05-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2708         * scripts/check-local-headers.sh (exclude): Add hurd/ihash.h, and
2709         include .*-.*/ in addition to .*-.*-.*/ (i.e. i386-gnu in addition to
2710         i386-linux-gnu).
2711         * sysdeps/mach/hurd/configure.ac (libc_cv_ld_gnu_indirect_function):
2712         Set to no.
2713         * sysdeps/mach/hurd/configure: Refresh.
2715 2016-05-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2717         [BZ #20178]
2718         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call _exit
2719         on failure instead of exit.
2721 2016-05-30  Roland McGrath  <roland@hack.frob.com>
2723         [BZ #3629]
2724         * manual/string.texi (Copying Strings and Arrays): stpcpy is part
2725         of POSIX.1-2008.
2727 2016-05-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2729         * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk) [PIC]:
2730           Use PLT entry for calling _hurd_self_sigstate.
2732 2016-05-27  H.J. Lu  <hongjiu.lu@intel.com>
2734         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Count number of
2735         available logical processors with SMT level type sharing L2
2736         cache for Intel processors.
2738 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
2740         [BZ #20160]
2741         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Add NaN
2742         argument to itself before returning the result.
2743         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
2744         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
2745         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
2746         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
2747         Likewise.
2748         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
2749         Likewise.
2750         * sysdeps/powerpc/powerpc64/fpu/s_rint.S (__rint): Likewise.
2751         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S (__rintf): Likewise.
2752         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
2753         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
2754         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
2755         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
2757         [BZ #20160]
2758         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Add NaN
2759         argument to itself before returning the result.
2760         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
2761         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
2762         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
2763         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint):
2764         Likewise.
2765         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
2766         Likewise.
2767         * sysdeps/powerpc/powerpc32/fpu/s_rint.S (__rint): Likewise.
2768         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S (__rintf): Likewise.
2769         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Likewise.
2770         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
2771         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
2772         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
2774 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2776         * libm-test.inc: Replace usage of M_El with
2777         (lit_e): New macro.
2779 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2781         * libm-test.inc: Replace usage of M_PI_4l with
2782         (lit_pi_4_d): New macro.
2784 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2786         * libm-test.inc: Replace usage of M_PIl with
2787         (lit_pi): New macro.
2789 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2791         * libm-test.inc: Replace usage of M_PI2l with
2792         (lit_pi_2_d): New macro.
2794         * math/test-double.h (LITM): New macro.
2795         * math/test-float.h (LITM): Likewise.
2796         * math/test-ldouble.h (LITM): Likewise.
2798 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2800         * libm-test.inc (M_PI_34l): Rename to
2801         (lit_pi_3_m_4_d): New Macro.
2802         (M_PI_34_LOG10El): Rename to
2803         (lit_pi_3_m_4_ln10_m_d): New Macro.
2804         (M_PI2_LOG10El): Rename to
2805         (lit_pi_2_ln10_m_d):  New Macro.
2806         (M_PI4_LOG10El): Rename to
2807         (lit_pi_4_ln10_m_d):  New Macro.
2808         (M_PI_LOG10El): Rename to
2809         (lit_pi_ln10_d):  New Macro.
2811 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
2813         [BZ #20157]
2814         * sysdeps/powerpc/powerpc32/fpu/s_fabsl.S (__fabsl): Use fsel to
2815         determine whether to negate low half if [_ARCH_PPCGR], and integer
2816         comparison otherwise.
2817         * sysdeps/powerpc/powerpc64/fpu/s_fabsl.S (__fabsl): Use fsel to
2818         determine whether to negate low half.
2820         * math/libm-test.inc (NO_TEST_INLINE_FLOAT): Remove macro.
2821         (NO_TEST_INLINE_DOUBLE): Likewise.
2822         (TEST_COND_x86_64): Likewise.
2823         (TEST_COND_x86): Likewise.
2824         (M_PI_6l): Likewise.
2826 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2828         * math/libm-test.inc:
2829         (TEST_FLOAT): Change usage to TEST_COND_binary32.
2830         (TEST_DOUBLE): Change usage to TEST_COND_binary64.
2831         (TEST_LDOUBLE): Update usage to evaluate as true if
2832         the guarded tests match the property being tested.
2833         (LDBL_MAX_EXP): Change to MAX_EXP.
2834         (LDBL_MIN_EXP): Change to MIN_EXP.
2835         (LDBL_MANT_DIG): Change to MANT_DIG, except for
2836         nexttoward tests.
2838 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2840         * math/libm-test.inc:
2841         (TYPE_DECIMAL_DIG): Redefine using type supplied PREFIX macro.
2842         (TYPE_MIN): Likewise.
2843         (TYPE_TRUE_MIN): Likewise.
2844         (TYPE_MAX): Likewise.
2845         (MIN_EXP): Likewise.
2846         (MAX_EXP): Likewise.
2847         (MANT_DIG): Likewise.
2849         (FSTR_MAX): New macro.
2850         (__CONCATX): Likewise.
2851         (QTYPE_STR): Likewise.
2852         (TEST_COND_binary32): Likewise.
2853         (TEST_COND_binary64): Likewise.
2854         (TEST_COND_binary128): Likewise.
2855         (TEST_COND_ibm128): Likewise.
2856         (TEST_COND_intel96): Likewise.
2857         (TEST_COND_m68k96): Likewise.
2859         (TEST_COND_flt_32): Redefine as equivalent format test macro.
2860         (TEST_COND_dbl_64): Likewise.
2861         (TEST_COND_ldbl_96_intel): Likewise.
2862         (TEST_COND_ldbl_96_m68k): Likewise.
2863         (TEST_COND_ldbl_128): Likewise.
2864         (TEST_COND_ldbl_128ibm): Likewise.
2866         (plus_zero): Redefine using LIT macro.
2867         (minus_zero): Likewise.
2868         (plus_infty): Redefine as (INF).
2869         (minux_infty): Redefine as (-INF).
2870         (max_value): Redefine as TYPE_MAX.
2871         (min_value): Redefine as TYPE_MIN.
2872         (min_subnorm_value): Redefine as TYPE_TRUE_MIN.
2874         (print_float): Refactor to use snprintf to convert FLOAT values
2875         to string. This brings it closer to dropin replacement of strtof
2876         for the TS 18661 defined types.
2877         (update_stats): Likewise.
2878         (print_complex_function_ulps): Likewise.
2879         (print_max_error): Likewise.
2880         (print_complex_max_error): Likewise.
2881         (check_float_internal): Likewise.
2883         * math/test-float.h (PREFIX): New macro.
2884         (LIT): Likewise.
2885         (TYPE_STR): Likewise.
2886         (FTOSTR): Likewise.
2888         * math/test-double.h (PREFIX): New macro.
2889         (LIT): Likewise.
2890         (TYPE_STR): Likewise.
2891         (FTOSTR): Likewise.
2893         * math/test-ldouble.h (PREFIX): New macro.
2894         (LIT): Likewise.
2895         (TYPE_STR): Likewise.
2896         (FTOSTR): Likewise.
2898 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
2900         [BZ #20156]
2901         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Add high part
2902         to itself when zero or not finite.
2903         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Likewise.
2904         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
2905         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Likewise.
2906         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
2908 2016-05-26  Joseph Myers  <joseph@codesourcery.com>
2910         [BZ #20153]
2911         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Return
2912         x * x + x for infinities and NaNs.
2914         [BZ #20151]
2915         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Add NaN
2916         argument to itself before returning result.
2917         (__ieee754_y0l): Likewise.
2918         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
2919         (__ieee754_y1l).
2921         * math/libm-test.inc (acosh_test_data): Add sNaN tests.
2922         (atan_test_data): Likewise.
2923         (ceil_test_data): Likewise.
2924         (cos_test_data): Likewise.
2925         (cosh_test_data): Likewise.
2926         (erf_test_data): Likewise.
2927         (exp2_test_data): Likewise.
2928         (fabs_test_data): Likewise.
2929         (floor_test_data): Likewise.
2930         (ilogb_test_data): Likewise.
2931         (j0_test_data): Likewise.
2932         (j1_test_data): Likewise.
2933         (jn_test_data): Likewise.
2934         (lgamma_test_data): Likewise.
2935         (lrint_test_data): Likewise.
2936         (llrint_test_data): Likewise.
2937         (logb_test_data): Likewise.
2938         (lround_test_data): Likewise.
2939         (llround_test_data): Likewise.
2940         (nearbyint_test_data): Likewise.
2941         (rint_test_data): Likewise.
2942         (round_test_data): Likewise.
2943         (sin_test_data): Likewise.
2944         (sincos_test_data): Likewise.
2945         (sinh_test_data): Likewise.
2946         (sqrt_test_data): Likewise.
2947         (tan_test_data): Likewise.
2948         (tanh_test_data): Likewise.
2949         (tgamma_test_data): Likewise.
2950         (trunc_test_data): Likewise.
2951         (y0_test_data): Likewise.
2952         (y1_test_data): Likewise.
2953         (yn_test_data): Likewise.
2955         * math/libm-test.inc: Update comment about NaN testing.
2956         (TEST_SNAN): New macro.
2957         (snan_value): Likewise.
2958         (enable_test): Disable tests of sNaNs when SNAN_TESTS fails.
2959         (fpclassify_test_data): Add sNaN tests.
2960         (isfinite_test_data): Likewise.
2961         (isinf_test_data): Likewise.
2962         (isnan_test_data): Likewise.
2963         (isnormal_test_data): Likewise.
2964         (issignaling_test_data): Likewise.
2965         (signbit_test_data): Likewise.
2966         * math/gen-libm-test.pl (%beautify): Add snan_value.
2967         (show_exceptions): Add argument $test_snan.
2968         (parse_args): Handle snan_value as non-finite.  Update call to
2969         show_exceptions.
2970         * math/Makefile (libm-test-no-inline-cflags): Add
2971         -fsignaling-nans.
2973 2016-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2975         * nptl/Makefile (CFLAGS-oldrecvfrom.c): Remove rule.
2976         (CFLAGS-oldsendmsg.c): Add rule.
2977         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
2978         Correct recvmsg symbol name.
2979         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24):
2980         Likewise.
2982 2016-05-25  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2984         * sysdeps/unix/sysv/linux/Makefile
2985         [$(subdir) = socket] (sysdep_routines): Add oldrecvmmsg and
2986         oldsendmmsg.
2987         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add recvmmsg and
2988         sendmmsg.
2989         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
2990         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
2991         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
2992         * sysdeps/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
2993         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
2994         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
2995         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
2996         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
2997         Likewise.
2998         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
2999         * sysdeps/unix/sysv/linux/oldrecvmmsg.c: New file.
3000         * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
3001         * sysdeps/unix/sysv/linux/recvmmsg.c (__recvmmsg): Adjust msghdr
3002         iovlen and controllen fields to adjust to POSIX specification.
3003         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
3005         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Remove xfail-
3006         and change to correct expected type.
3007         (msghdr.msg_controllen): Likewise.
3008         (cmsghdr.cmsg_len): Likewise.
3009         * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Fix
3010         expected POSIX assumption about the size.
3011         (msghdr.msg_controllen): Likewise.
3012         (msghdr.__glibc_reserved1): Likewise.
3013         (msghdr.__glibc_reserved2): Likewise.
3014         (cmsghdr.cmsg_len): Likewise.
3015         (cmsghdr.__glibc_reserved1): Likewise.
3016         * nptl/Makefile (libpthread-routines): Remove ptw-recvmsg and ptw-sendmsg.
3017         Add ptw-oldrecvmsg and ptw-oldsendmsg.
3018         (CFLAGS-sendmsg.c): Remove rule.
3019         (CFLAGS-recvmsg.c): Likewise.
3020         (CFLAGS-oldsendmsg.c): Add rule.
3021         (CFLAGS-oldrecvmsg.c): Likewise.
3022         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24): Add
3023         recvmsg and sendmsg.
3024         * sysdeps/unix/sysv/linux/aarch64/Version [libc] (GLIBC_2.24):
3025         Likewise.
3026         * sysdeps/unix/sysv/linux/arm/Versions [libc] (GLIBC_2.24): Likewise.
3027         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24): Likewise.
3028         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
3029         * sysdeps/unix/sysv/linux/ia64/Versions [libc] (GLIBC_2.24): Likewise.
3030         * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
3031         * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
3032         Likewise.
3033         * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
3034         Likewise.
3035         * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions [libc] (GLIBC_2.24):
3036         Likewise.
3037         * sysdeps/unix/sysv/linux/mips/mips64/Versions [libc] (GLIBC_2.24):
3038         Likewise.
3039         * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
3040         Likewise.
3041         * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
3042         Likewise.
3043         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions [libc]
3044         (GLIBC_2.24): Likewise.
3045         * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
3046         Likewise.
3047         * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
3048         Likewise.
3049         * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
3050         * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
3051         Likewise.
3052         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
3053         Likewise.
3054         ( sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
3055         Likewise.
3056         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions [libc]
3057         (GLIBC_2.24): Likewise.
3058         ( sysdeps/unix/sysv/linux/x86_64/64/Versions [libc] (GLIBC_2.24):
3059         Likewise.
3060         * sysdeps/unix/sysv/linux/x84_64/Versions [libc] (GLIBC_2.24):
3061         Likewise.
3062         * sysdeps/unix/sysv/linux/Makefile
3063         [$(subdir) = socket)] (sysdep_headers): Add oldrecvmsg and oldsendmsg.
3064         (CFLAGS-sendmsg.c): Add rule.
3065         (CFLAGS-recvmsg.c): Likewise.
3066         (CFLAGS-oldsendmsg.c): Likewise.
3067         (CFLAGS-oldrecvmsg.c): Likewise.
3068         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Fix msghdr
3069         initialization.
3070         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
3071         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
3072         * sysdeps/unix/sysv/linux/oldrecvmsg.c: New file.
3073         * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
3074         * sysdeps/unix/sysv/linux/recvmsg.c (__libc_recvmsg): Adjust msghdr
3075         iovlen and controllen fields to adjust to POSIX specification.
3076         * sysdeps/unix/sysv/linux/sendmsg.c (__libc_sendmsg): Likewise.
3077         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: New version and
3078         added recvmsg and sendmsg.
3079         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
3080         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
3081         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
3082         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
3083         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
3084         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
3085         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
3086         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
3087         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
3088         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
3089         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
3090         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
3091         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
3092         Likewise.
3093         * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
3094         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
3095         * sysdepe/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
3096         Likewise.
3097         Likewise.
3098         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
3099         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
3100         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
3101         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
3102         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
3103         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
3104         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
3105         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
3106         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
3107         Likewise.
3108         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
3109         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
3111         * sysdeps/unix/sysv/linux/alpha/syscalls.list (recvmsg): Remove
3112         from auto-generation.
3113         (sendmsg): Likewise.
3114         * sysdeps/unix/sysv/linux/arm/syscalls.list (recvmsg): Likewise.
3115         (sendmsg): Likewise.
3116         * sysdeps/unix/sysv/linux/generic/syscalls.list (recvmsg): Likewise.
3117         (sendmsg): Likewise.
3118         * sysdeps/unix/sysv/linux/hppa/syscalls.list (recvmsg): Likewise.
3119         (sendmsg): Likewise.
3120         * sysdeps/unix/sysv/linux/ia64/syscalls.list (recvmsg): Likewise.
3121         (sendmsg): Likewise.
3122         * sysdeps/unix/sysv/linux/mips/syscalls.list (recvmsg): Likewise.
3123         (sendmsg): Likewise.
3124         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (recvmsg):
3125         Likewise.
3126         (sendmsg): Likewise.
3127         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (recvmsg): Likewise.
3128         (sendmsg): Likewise.
3129         * sysdeps/unix/sysv/linux/i386/kernel-features.h
3130         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
3131         Remove.
3132         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
3133         Likewise.
3134         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
3135         Undefine.
3136         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
3137         Likewise.
3138         * sysdeps/unix/sysv/linux/kernel-features.h
3139         (__ASSUME_SENDMSG_SYSCALL): Define.
3140         (__ASSUME_RECVMSG_SYSCALL): Likewise.
3141         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
3142         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
3143         Remove.
3144         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
3145         Likewise.
3146         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
3147         Undefine.
3148         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
3149         Likewise.
3150         * sysdeps/unix/sysv/linux/s390/kernel-features.h
3151         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
3152         Remove.
3153         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
3154         Likewise.
3155         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
3156         Undefine.
3157         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
3158         Likewise.
3159         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3160         (__ASSUME_SENDMSG_SYSCALL): Undefine.
3161         (__ASSUME_RECVMSG_SYSCALL): Likewise.
3162         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
3163         (__ASSUME_SENDMSG_SYSCALL): Likewise.
3164         (__ASSUME_RECVMSG_SYSCALL): Likewise.
3165         * sysdeps/unix/sysv/linux/sh/kernel-features.h
3166         (__ASSUME_SENDMSG_SYSCALL): Likewise.
3167         (__ASSUME_RECVMSG_SYSCALL): Likewise.
3169 2016-05-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3171         * stdlib/gen-tst-strtod-round.c: Add backslash to
3172         compile command in comment.
3173         (printfp): Remove the literal suffix, and define an infinite
3174         value as INF to avoid expansion clash with INFINITY.
3175         (round_str): Remove the literal suffix.
3176         (round_for_all): Likewise, remove the now duplicate ldbl-64
3177         entry, and remove some magic constants.
3179         * stdlib/tst-strtod-round.c: (TEST): Redefine to reduce
3180         duplication.  Remove duplicate dbl-64 and ldbl-64 entries.
3181         (ROUNDING_TESTS_long_double): Define as 0 for ibm128.
3182         (_CONCAT): New macro.
3183         (CONCAT): Likewise.
3184         (CHOOSE_ld): Likewise.
3185         (CHOOSE_f): Likewise.
3186         (CHOOSE_d): Likewise.
3187         (FTYPE_MEMBER): Likewise.
3188         (BOOL_MEMBER): Likewise.
3189         (STRUCT_FOREACH_FLOAT_FTYPE): Likewise.
3190         (STRUCT_FOREACH_FLOAT_BOOL): Likewise.
3191         (_XNTRY): Likewise.
3192         (XNTRY): Likewise.
3193         (_ENTRY): Likewise.
3194         (ENTRY): Likewise.
3195         (test_exactness): Generate members via macro.
3196         (test_results): Likewise.
3197         (test): Update members.
3198         (TEST): Redefine using new macros.
3199         (INF): New macro.
3200         (fetestmodes): New structure.
3201         (do_test): Refactor to be type generic.
3202         (test_in_one_mode): Refactor duplicate code into
3203         (GEN_ONE_TEST): New macro.
3205         * stdlib/tst-strtod-round-data.h: Regenerate.
3207         * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH):
3208         Extend to pass additional arbitrary parameters to
3209         generators.
3211 2016-05-25  Joseph Myers  <joseph@codesourcery.com>
3213         [BZ #15479]
3214         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Move save of
3215         floating-point state after first floating-point operation on
3216         input.  Restore full floating-point state instead of just rounding
3217         mode.
3218         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
3219         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
3220         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
3221         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
3222         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
3224         [BZ #15479]
3225         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Move save of
3226         floating-point state after first floating-point operation on
3227         input.  Restore full floating-point state instead of just rounding
3228         mode.
3229         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
3230         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
3231         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
3232         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
3233         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
3235 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
3237         [BZ #19727]
3238         * iconvdata/utf-16.c (BODY): Report an error if first word is not a
3239         valid high surrogate.
3240         * iconvdata/utf-32.c (BODY): Report an error if the value is in range
3241         of an utf16 surrogate.
3242         * iconv/gconv_simple.c (BODY): Likewise.
3243         * iconvdata/bug-iconv12.c: New file.
3244         * iconvdata/Makefile (tests): Add bug-iconv12.
3246 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
3248         [BZ #19726]
3249         * iconv/gconv_simple.c (ucs4le_internal_loop): Update inptrp and
3250         outptrp in case of an illegal input.
3251         * iconv/tst-iconv6.c: New file.
3252         * iconv/Makefile (tests): Add tst-iconv6.
3254 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
3256         * sysdeps/s390/utf16-utf32-z9.c: Disable cu42 instruction and report
3257         an error in case of a value in range of an utf16 low surrogate.
3259 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
3261         * sysdeps/s390/utf8-utf32-z9.c: Disable cu41 instruction and report
3262         an error in case of a value in range of an utf16 low surrogate.
3264 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
3266         * sysdeps/s390/s390-64/Makefile (iconvdata-subdirectory):
3267         Move to ...
3268         * sysdeps/s390/Makefile: ... here.
3269         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Move to ...
3270         * sysdeps/s390/iso-8859-1_cp037_z900.c: ... here.
3271         (BRANCH_ON_COUNT): New define.
3272         (TR_LOOP): Use BRANCH_ON_COUNT instead of brctg.
3273         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Move to ...
3274         * sysdeps/s390/utf16-utf32-z9.c: ... here and adjust to
3275         run on s390-32, too.
3276         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Move to ...
3277         * sysdeps/s390/utf8-utf16-z9.c: ... here and adjust to
3278         run on s390-32, too.
3279         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Move to ...
3280         * sysdeps/s390/utf8-utf32-z9.c: ... here and adjust to
3281         run on s390-32, too.
3283 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
3285         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Use ifunc to select c,
3286         etf3eh or new vector loop-variant.
3288 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
3290         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Use ifunc to select c,
3291         etf3eh or new vector loop-variant.
3293 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
3295         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Use ifunc to select c, etf3eh
3296         or new vector loop-variant.
3298 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
3300         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c (TROO_LOOP):
3301         Rename to TR_LOOP and usage of tr instead of troo instruction.
3303 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
3305         * sysdeps/s390/multiarch/gconv_simple.c: New File.
3306         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add gconv_simple.
3308 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
3310         * sysdeps/s390/multiarch/8bit-generic.c: New File.
3311         * sysdeps/s390/multiarch/gen-8bit.sh: New File.
3312         * sysdeps/s390/multiarch/Makefile (generate-8bit-table):
3313         New override define.
3314         * sysdeps/s390/multiarch/iconv/skeleton.c: Likewise.
3316 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
3318         * config.h.in (HAVE_S390_VX_GCC_SUPPORT): New macro undefine.
3319         * sysdeps/s390/configure.ac: Add test for S390 vector register
3320         support in gcc.
3321         * sysdeps/s390/configure: Regenerated.
3323 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
3325         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules):
3326         Install file from $(objpfx)gconv-modules.
3327         ($(objpfx)gconv-modules): Concatenate architecture specific file
3328         in variable sysdeps-gconv-modules and gconv-modules in src dir.
3329         * sysdeps/s390/gconv-modules: New file.
3330         * sysdeps/s390/s390-64/Makefile: ($(inst_gconvdir)/gconv-modules):
3331         Deleted.
3332         ($(objpfx)gconv-modules-s390): Deleted.
3333         (sysdeps-gconv-modules): New variable.
3335 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
3337         [BZ #15479]
3338         * sysdeps/x86_64/fpu/multiarch/s_ceil.S (__ceil_sse41): Set bit 3
3339         of immediate operand to rounding instruction.
3340         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S (__ceilf_sse41):
3341         Likewise.
3342         * sysdeps/x86_64/fpu/multiarch/s_floor.S (__floor_sse41):
3343         Likewise.
3344         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf_sse41):
3345         Likewise.
3347 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3349         * math/libm-test.inc (MIN_EXP): Directly define as
3350         (DBL|LDBL|FLT)_MIN_EXP and fixup usage.
3352 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3354         * math/libm-test.inc (MANT_DIG): Directly define as
3355         (DBL|LDBL|FLT)_MANT_DIG and fixup usage.
3357 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3359         * stdlib/gen-tst-strtod-round.c (main):
3360           Change usage to more closely match the generated
3361           output.  Add usage and compilation instructions.
3362           (string_to_fp): Add and use FILE* parameter as
3363           output target.
3364           (print_fp): Likewise.
3365           (round_str): Likewise.
3366           (round_for_all): Likewise.
3367         * stdlib/tst-strtod-round.c (tests): Move into
3368         * stdlib/tst-strtod-round-data.h: New file.
3370 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
3372         [BZ #15479]
3373         * sysdeps/ieee754/dbl-64/s_round.c (huge): Remove variable.
3374         (__round): Do not force "inexact" exception.
3375         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (huge): Remove
3376         variable.
3377         (__round): Do not force "inexact" exception.
3378         * sysdeps/ieee754/flt-32/s_roundf.c (huge): Remove variable.
3379         (__roundf): Do not force "inexact" exception.
3380         * sysdeps/ieee754/ldbl-128/s_roundl.c (huge): Remove variable.
3381         (__roundl): Do not force "inexact" exception.
3382         * sysdeps/ieee754/ldbl-96/s_roundl.c (huge): Remove variable.
3383         (__roundl): Do not force "inexact" exception.
3384         * math/libm-test.inc (round_test_data): Do not allow spurious
3385         "inexact" exceptions.
3387         [BZ #15479]
3388         * sysdeps/ieee754/dbl-64/s_floor.c: Do not mention "inexact"
3389         exception in comment.
3390         (huge): Remove variable.
3391         (__floor): Do not force "inexact" exception.
3392         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Do not mention
3393         "inexact" exception in comment.
3394         (huge): Remove variable.
3395         (__floor): Do not force "inexact" exception.
3396         * sysdeps/ieee754/flt-32/s_floorf.c: Do not mention "inexact"
3397         exception in comment.
3398         (huge): Remove variable.
3399         (__floorf): Do not force "inexact" exception.
3400         * sysdeps/ieee754/ldbl-128/s_floorl.c: Do not mention "inexact"
3401         exception in comment.
3402         (huge): Remove variable.
3403         (__floorl): Do not force "inexact" exception.
3405         [BZ #15479]
3406         * sysdeps/ieee754/dbl-64/s_ceil.c: Do not mention "inexact"
3407         exception in comment.
3408         (huge): Remove variable.
3409         (__ceil): Do not force "inexact" exception.
3410         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Do not mention
3411         "inexact" exception in comment.
3412         (huge): Remove variable.
3413         (__ceil): Do not force "inexact" exception.
3414         * sysdeps/ieee754/flt-32/s_ceilf.c (huge): Remove variable.
3415         (__ceilf): Do not force "inexact" exception.
3416         * sysdeps/ieee754/ldbl-128/s_ceill.c: Do not mention "inexact"
3417         exception in comment.
3418         (huge): Remove variable.
3419         (__ceill): Do not force "inexact" exception.
3421 2016-05-24  H.J. Lu  <hongjiu.lu@intel.com>
3423         * config.h.in (BIND_NOW): New.
3424         * configure.ac (BIND_NOW): New.  Defined for --enable-bind-now.
3425         * configure: Regenerated.
3426         * sysdeps/x86_64/sysdep.h (JUMPTARGET)[BIND_NOW]: Defined to
3427         indirect branch via the GOT slot.
3429 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
3431         [BZ #19765]
3432         * sysdeps/s390/mempcpy.S: New File.
3433         * sysdeps/s390/multiarch/mempcpy.c: Likewise.
3434         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add mempcpy.
3435         * sysdeps/s390/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
3436         Add mempcpy variants.
3437         * sysdeps/s390/s390-32/memcpy.S: Add mempcpy entry point.
3438         (memcpy): Adjust to be usable from mempcpy entry point.
3439         (__memcpy_mvcle): Likewise.
3440         * sysdeps/s390/s390-64/memcpy.S: Likewise.
3441         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add entry points
3442         ____mempcpy_z196, ____mempcpy_z10 and add __GI_ symbols for mempcpy.
3443         (__memcpy_z196): Adjust to be usable from mempcpy entry point.
3444         (__memcpy_z10): Likewise.
3445         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
3447 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
3449         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_libc_ifunc):
3450         Remove __GI_ symbol.
3451         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Add __GI_memcmp symbol.
3452         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Likewise.
3453         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add __GI_memcpy symbol.
3454         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
3455         * sysdeps/s390/s390-32/multiarch/memset-s390.S: Add __GI_memset symbol.
3456         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Likewise.
3458 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
3460         * sysdeps/s390/s390-64/memcpy.S (memcpy):
3461         Use cghi instead of chi to compare 64bit value.
3463 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
3465         * sysdeps/s390/s390-32/memcpy.S (memcpy):
3466         Jump to 1MB check before executing mvc-loop.
3468 2016-05-24  Florian Weimer  <fweimer@redhat.com>
3470         [BZ #6527]
3471         * malloc/malloc.c (MALLOC_ALIGNMENT): Use correct alignment
3472         unconditionally.
3473         * malloc/hooks.c (MALLOC_STATE_VERSION): Increase state version.
3475 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3477         * stdlib/tst-strtod6.c (do_test): Use new type generic
3478         invocation of the test function.
3479         (test): Refactor into ...
3480         (TEST_STRTOD): New macro base function.
3482 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3484         * stdlib/bug-strtod2.c (do_test): Refactor strtod usage into ...
3485         (TEST_STRTOD): New macro.
3486         (TEST_FUNCTION): Redefine to use STRTOD_TEST_FOREACH
3488 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3490         * stdlib/tst-strtod6.c (do_test): Use new type generic
3491         invocation of the test function.
3492         (test): Refactor into ...
3493         (TEST_STRTOD): New macro base function.
3495 2016-05-23  Florian Weimer  <fweimer@redhat.com>
3497         CVE-2016-4429
3498         [BZ #20112]
3499         * sunrpc/clnt_udp.c (clntudp_call): Use malloc/free for the error
3500         payload.
3502 2016-05-23  Florian Weimer  <fweimer@redhat.com>
3504         [BZ #20111]
3505         * bits/sockaddr.h (_SS_SIZE): Define.
3506         * bits/socket.h (_SS_SIZE): Remove.
3507         (_SS_PADSIZE): Adjust to account for all padding.
3508         (struct sockaddr_storage): Update comment.  Avoid implicit
3509         padding.
3510         * sysdeps/mach/hurd/bits/socket.h (_SS_SIZE): Remove.
3511         (_SS_PADSIZE): Adjust to account for all padding.
3512         (struct sockaddr_storage): Update comment.  Avoid implicit
3513         padding.
3514         * sysdeps/unix/bsd/bits/sockaddr.h (_SS_SIZE): Define.
3515         * sysdeps/unix/sysv/linux/bits/socket.h (_SS_SIZE): Remove.
3516         (_SS_PADSIZE): Adjust to account for all padding.
3517         (struct sockaddr_storage): Update comment.  Avoid implicit
3518         padding.
3519         * sysdeps/unix/sysv/linux/m68k/bits/sockaddr.h: New file.
3520         __SS_SIZE is 126 in this version.
3521         * inet/tst-sockaddr.c: New file.
3522         * inet/Makefile (tests): Add tst-sockaddr.c
3523         (tst-sockaddr.c): Compile with non-strict aliasing.
3525 2016-05-23  Joseph Myers  <joseph@codesourcery.com>
3527         * conform/data/limits.h-data (CHARCLASS_NAME_MAX): Also expect for
3528         [XPG3 || XPG4].
3529         (NL_ARGMAX): Also expect for [XPG3].
3530         (NL_LANGMAX): Likewise.
3531         (NL_MSGMAX): Likewise.
3532         (NL_NMAX): Likewise.
3533         (NL_SETMAX): Likewise.
3534         (NL_TEXTMAX): Likewise.
3535         (NZERO): Likewise.
3536         (TMP_MAX): Likewise.
3537         * conform/Makefile (test-xfail-XPG3/limits.h/conform): Remove
3538         variable.
3540         * sysdeps/unix/sysv/linux/bits/socket.h (PF_KCM): New macro.
3541         (PF_MAX): Update value.
3542         (AF_KCM): New macro.
3543         (SOL_NETBEUI): Likewise.
3544         (SOL_LLC): Likewise.
3545         (SOL_DCCP): Likewise.
3546         (SOL_NETLINK): Likewise.
3547         (SOL_TIPC): Likewise.
3548         (SOL_RXRPC): Likewise.
3549         (SOL_PPPOL2TP): Likewise.
3550         (SOL_BLUETOOTH): Likewise.
3551         (SOL_PNPIPE): Likewise.
3552         (SOL_RDS): Likewise.
3553         (SOL_IUCV): Likewise.
3554         (SOL_CAIF): Likewise.
3555         (SOL_ALG): Likewise.
3556         (SOL_NFC): Likewise.
3557         (SOL_KCM): Likewise.
3558         (MSG_BATCH): New enum value and macro.
3560 2016-05-20  H.J. Lu  <hongjiu.lu@intel.com>
3562         [BZ #18185]
3563         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Don't limit threads
3564         sharing L2 cache to 2 for Knights Landing.
3566 2016-05-20  Joseph Myers  <joseph@codesourcery.com>
3568         * conform/data/ftw.h-data (struct FTW): Do not expect for [XPG3].
3569         (FTW_DP): Do not expect for [XPG3 || XPG4].
3570         (FTW_SL): Do not expect for [XPG3].
3571         (FTW_SLN): Likewise.
3572         (FTW_PHYS): Likewise.
3573         (FTW_MOUNT): Likewise.
3574         (FTW_DEPTH): Likewise.
3575         (FTW_CHDIR): Likewise.
3576         (nftw): Likewise.
3577         * conform/Makefile (test-xfail-XPG3/ftw.h/conform): Remove
3578         variable.
3580 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
3582         * manual/errno.texi: Fix various typos & grammar errors.
3584 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
3586         * manual/intro.texi: Fix duplicated typo.
3588 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
3590         [BZ #13304]
3591         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Include <fenv.h>,
3592         <float.h>, <math_private.h> and <stdlib.h>.
3593         (add_split): New function.
3594         (mul_split): Likewise.
3595         (ext_val): New typedef.
3596         (store_ext_val): New function.
3597         (mul_ext_val): New function.
3598         (compare): New function.
3599         (add_split_ext): New function.
3600         (__fmal): After checking for Inf, NaN and zero, compute result as
3601         an exact sum of scaled double values in round-to-nearest before
3602         adding those up and adjusting for other rounding modes.
3603         * math/auto-libm-test-in: Remove xfail-rounding:ldbl-128ibm from
3604         tests of fma.
3605         * math/auto-libm-test-out: Regenerated.
3607 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
3609         [BZ #20119]
3610         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Correct Intel
3611         processor level type mask for CPUID with EAX == 11.
3613 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
3615         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Skip counting
3616         logical threads if the HTT bit is 0.
3617         * sysdeps/x86/cpu-features.h (bit_cpu_HTT): New.
3618         (index_cpu_HTT): Likewise.
3619         (reg_HTT): Likewise.
3621 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
3623         [BZ #20115]
3624         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S (__memset):
3625         Remove alignments on jump targets.
3627 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
3629         * conform/data/pwd.h-data (endpwent): Do not expect for [XPG3].
3630         (getpwent): Likewise.
3631         (setpwent): Likewise.
3632         * conform/Makefile (test-xfail-XPG3/pwd.h/conform): Remove
3633         variable.
3635         * conform/data/search.h-data (insque): Do not expect for [XPG3].
3636         (remque): Likewise.
3637         * conform/Makefile (test-xfail-XPG3/search.h/conform): Remove
3638         variable.
3640 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
3642         * math/libm-test.inc: Update comment not to refer to signs of NaNs
3643         not being tested.
3645 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
3647         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
3648         (__condvar_cleanup2): Remove JUMPTARGET from  _Unwind_Resume
3649         call.
3650         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
3651         (__condvar_cleanup1): Likewise.
3653 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
3655         * sysdeps/unix/sysv/linux/x86_64/cancellation.S (PTHREAD_UNWIND):
3656         New
3657         (__pthread_unwind): Renamed to ...
3658         (PTHREAD_UNWIND): This.
3659         (__pthread_enable_asynccancel): Replace
3660         JUMPTARGET(__pthread_unwind) with PTHREAD_UNWIND.
3662 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
3664         * sysdeps/unix/sysv/linux/bits/sched.h [__USE_GNU]
3665         (CLONE_NEWCGROUP): New macro.
3667         * sysdeps/unix/sysv/linux/sys/quota.h [_LINUX_QUOTA_VERSION >= 2]
3668         (Q_GETNEXTQUOTA): New macro.
3670 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
3672         [BZ #19907]
3673         * benchtests/bench-memcpy.c (do_one_test): Clear the destination
3674         buffer updated by the previous run.
3675         * string/test-memcpy.c (do_one_test): Likewise.
3676         * benchtests/bench-memmove.c (do_one_test): Add a comment.
3677         * string/test-memmove.c (do_one_test): Likewise.
3679 2016-05-17  Joseph Myers  <joseph@codesourcery.com>
3681         [BZ #20094]
3682         * stdlib/stdlib.h (grantpt): Declare if [__USE_XOPEN_EXTENDED],
3683         not [__USE_XOPEN].
3684         (unlockpt): Likewise.
3685         (ptsname): Likewise.
3686         * conform/Makefile (test-xfail-XPG3/stdlib.h/conform): Remove
3687         variable.
3689         [BZ #20076]
3690         * io/sys/stat.h (S_IFSOCK): Define for [__USE_XOPEN_EXTENDED]
3691         instead of [__USE_UNIX98].
3692         (S_ISSOCK): Likewise.
3693         * conform/Makefile (test-xfail-XPG4/sys/stat.h/conform): Remove
3694         variable.
3696         [BZ #20074]
3697         * stdlib/stdlib.h (rand_r): Declare if [__USE_POSIX199506], not if
3698         [__USE_POSIX].
3699         * conform/Makefile (test-xfail-XPG4/stdlib.h/conform): Remove
3700         variable.
3702         [BZ #20051]
3703         * posix/unistd.h [__USE_XOPEN_EXTENDED && !__USE_UNIX98]
3704         (ttyslot): Do not declare.
3705         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && !__USE_XOPEN2K]
3706         (ttyslot): New prototype.
3707         * conform/Makefile (test-xfail-XPG4/unistd.h/conform): Remove
3708         variable.
3709         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
3711 2016-05-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
3713         * nptl/tst-cancel17.c (do_test): Wait for finishing aio_read(&a).
3715 2016-05-13  Florian Weimer  <fweimer@redhat.com>
3717         Fix race condition in tst-mallocfork2, use fewer resources.
3718         * malloc/tst-mallocfork2.c (sigusr1_handler): Do not send SIGSTOP
3719         to current process group.
3720         (signal_sender): Yield in the non-sleeping case.
3722 2016-05-13  Joseph Myers  <joseph@codesourcery.com>
3724         * conform/data/stdlib.h-data (a64l): Do not expect for [XPG3].
3725         (ecvt): Likewise.
3726         (fcvt): Likewise.
3727         (gcvt): Likewise.
3728         (getsubopt): Likewise.
3729         (grantpt): Likewise.
3730         (initstate): Likewise.
3731         (l64a): Likewise.
3732         (mktemp): Likewise.
3733         (mkstemp): Likewise.
3734         (ptsname): Likewise.
3735         (random): Likewise.
3736         (realpath): Likewise.
3737         (setstate): Likewise.
3738         (srandom): Likewise.
3739         (ttyslot): Likewise.
3740         (unlockpt): Likewise.
3741         (valloc): Likewise.
3743         * conform/data/string.h-data (strdup): Do not expect for [XPG3].
3744         * conform/Makefile (test-xfail-XPG3/string.h/conform): Remove
3745         variable.
3747 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
3749         [BZ #20072]
3750         * sysdeps/i386/dl-machine.h (dl_platform_init): Call
3751         init_cpu_features only if SHARED is defined.
3752         * sysdeps/x86_64/dl-machine.h (dl_platform_init): Likewise.
3754 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
3756         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Check and support
3757         non-inclusive caches on Intel processors.
3759 2016-05-13  Florian Weimer  <fweimer@redhat.com>
3761         * malloc/malloc.c (dumped_main_arena_start)
3762         (dumped_main_arena_end): New variables.
3763         (DUMPED_MAIN_ARENA_CHUNK): New macro.
3764         (do_check_chunk): Skip dumped fake mmapped chunks.
3765         (munmap_chunk): Likewise.
3766         (__libc_free): Do not adjust statistics for fake mmapped chunks.
3767         (__libc_realloc): Adjust hardening check.  Always copy dumped fake
3768         mmapped chunks.
3769         * malloc/hooks.c (__malloc_set_state): Do not update main_arena.
3770         Mark dumped chunks as using mmap.  Update dumped_main_arena_start
3771         and dumped_main_arena_end to cover the dumped heap.
3773 2016-05-12  Joseph Myers  <joseph@codesourcery.com>
3775         * conform/data/time.h-data (getdate_err): Do not expect for
3776         [XPG3].
3777         (getdate): Likewise.
3778         * conform/Makefile (test-xfail-XPG3/time.h/conform): Remove
3779         variable.
3781         * conform/data/unistd.h-data (F_LOCK): Do not expect for [XPG3].
3782         (F_ULOCK): Likewise.
3783         (F_TEST): Likewise.
3784         (F_TLOCK): Likewise.
3785         (useconds_t): Likewise.
3786         (intptr_t): Do not expect for [XPG3] or [XPG4].
3787         (brk): Do not expect for [XPG3]
3788         (fchown): Likewise.
3789         (fchdir): Likewise.
3790         (ftruncate): Likewise.
3791         (getdtablesize): Likewise.
3792         (gethostid): Likewise.
3793         (getpagesize): Likewise.
3794         (getpgid): Likewise.
3795         (getsid): Likewise.
3796         (getwd): Likewise.
3797         (lchown): Likewise.
3798         (lockf): Likewise.
3799         (readlink): Likewise.
3800         (sbrk): Likewise.
3801         (setpgrp): Likewise.
3802         (setregid): Likewise.
3803         (setreuid): Likewise.
3804         (symlink): Likewise.
3805         (sync): Likewise.
3806         (truncate): Likewise.
3807         (ualarm): Likewise.
3808         (usleep): Likewise.
3809         (vfork): Likewise.
3810         * conform/Makefile (test-xfail-XPG3/unistd.h/conform): Remove
3811         variable.
3813         [BZ #20054]
3814         * posix/unistd.h (gethostname): Declare if [__USE_XOPEN_EXTENDED],
3815         not [__USE_UNIX98].
3816         * conform/data/unistd.h-data (gethostname): Do not expect for
3817         [XPG3].
3819         * conform/data/fcntl.h-data [!POSIX] (S_IFMT): Do not expect.
3820         [!POSIX] (S_IFBLK): Likewise.
3821         [!POSIX] (S_IFCHR): Likewise.
3822         [!POSIX] (S_IFIFO): Likewise.
3823         [!POSIX] (S_IFREG): Likewise.
3824         [!POSIX] (S_IFDIR): Likewise.
3825         [!POSIX] (S_IFLNK): Likewise.
3826         [!POSIX] (S_IFSOCK): Likewise.
3827         * conform/Makefile (test-xfail-XPG3/fcntl.h/conform): Remove
3828         variable.
3829         (test-xfail-XPG4/fcntl.h/conform): Likewise.
3831 2016-05-12  Wilco Dijkstra  <wdijkstr@arm.com>
3833         * sysdeps/aarch64/memset.S (__memset):
3834         Rewrite of optimized memset.
3836 2016-05-12  Florian Weimer  <fweimer@redhat.com>
3838         [BZ #19703]
3839         Partially async-signal-safe fork for single-threaded processes.
3840         * sysdeps/nptl/fork.c (__libc_fork): Introduce multiple_threads
3841         variable.  Do not acquire and reset/release malloc and libio locks
3842         in single-threaded processes.
3843         * malloc/tst-mallocfork2.c: New file.
3844         * malloc/Makefile (tests): Add it.
3846 2016-05-12  Florian Weimer  <fweimer@redhat.com>
3848         * sysdeps/posix/getaddrinfo.c (gaih_inet_serv): Add tmpbuf
3849         argument.  Use scratch buffer instead of extend_alloca.
3850         (gethosts): Use scratch buffer instead of extend_alloca.
3851         (gaih_inet): Add tmpbuf argument.  Use scratch buffer instead of
3852         extend_alloca.
3853         (getaddrinfo): Allocate scratch buffer and pass it to gaih_inet.
3855 2016-05-11  Joseph Myers  <joseph@codesourcery.com>
3857         [BZ #20055]
3858         * termios/termios.h (pid_t): Define for [__USE_XOPEN_EXTENDED]
3859         instead of [__USE_UNIX98].
3860         (tcgetsid): Declare for [__USE_XOPEN_EXTENDED] instead of
3861         [__USE_UNIX98].
3862         * conform/data/termios.h-data (tcgetsid): Do not expect for
3863         [XPG3].
3864         * conform/Makefile (test-xfail-XPG3/termios.h/conform): Remove
3865         variable.
3866         (test-xfail-XPG4/termios.h/conform): Likewise.
3868 2016-05-11  Florian Weimer  <fweimer@redhat.com>
3870         Do not use mcheck in localedef.
3871         * locale/programs/localedef.c (turn_on_mcheck)
3872         (__malloc_initialize_hook): Remove.
3874 2016-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
3876         * sysdeps/s390/s390-32/Makefile (pic-ccflag): Remove.
3877         * sysdeps/s390/s390-64/Makefile: Likewise.
3879 2016-05-11  H.J. Lu  <hongjiu.lu@intel.com>
3881         * sysdeps/i386/i686/multiarch/Makefile (gen-as-const-headers):
3882         Remove ifunc-defines.sym.
3883         * sysdeps/x86_64/multiarch/Makefile (gen-as-const-headers):
3884         Likewise.
3885         * sysdeps/i386/i686/multiarch/ifunc-defines.sym: Removed.
3886         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
3887         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Likewise.
3888         * sysdeps/x86/Makefile (gen-as-const-headers): Remove
3889         rtld-global-offsets.sym.
3890         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Merged with ...
3891         * sysdeps/x86/cpu-features-offsets.sym: This.
3892         * sysdeps/x86/cpu-features.h: Include <cpu-features-offsets.h>
3893         instead of <ifunc-defines.h> and <rtld-global-offsets.h>.
3895 2016-05-10  Joseph Myers  <joseph@codesourcery.com>
3897         [BZ #20073]
3898         * io/sys/stat.h (fchmod): Declare for
3899         [__USE_POSIX199309 || __USE_XOPEN_EXTENDED], not [__USE_POSIX].
3900         * conform/Makefile (test-xfail-XPG3/sys/stat.h/conform): Remove
3901         variable.
3903         * conform/data/sys/stat.h-data [XPG3] (S_IFLNK): Do not expect.
3904         [XPG3] (S_IFSOCK): Likewise.
3905         [XPG3] (S_ISVTX): Likewise.
3906         [XPG3] (S_ISLNK): Likewise.
3907         [XPG3] (S_ISSOCK): Likewise.
3908         [XPG3] (fchmod): Likewise.
3909         [XPG3] (lstat): Likewise.
3910         [XPG3] (mknod): Likewise.
3912         * conform/data/sys/stat.h-data (st_blksize): Do not expect for
3913         [XPG3].  Expect type long and XFAIL for [XPG4].
3914         (st_blocks): Likewise.
3916         [BZ #20044]
3917         * posix/unistd.h [__USE_UNIX98 && !__USE_XOPEN2K]
3918         (pthread_atfork): New prototype.
3919         * conform/Makefile (test-xfail-UNIX98/unistd.h/conform): Remove
3920         variable.
3922         [BZ #20043]
3923         * posix/unistd.h [__USE_XOPEN && !__USE_XOPEN2K] (cuserid): New
3924         prototype.
3926 2016-05-10  Florian Weimer  <fweimer@redhat.com>
3928         [BZ #20017]
3929         * resolv/res_debug.c (p_secstodate): Call __gmtime_r instead of
3930         gmtime.
3932 2016-05-10  Florian Weimer  <fweimer@redhat.com>
3934         [BZ #19994]
3935         * sysdeps/posix/getaddrinfo.c (gethosts): Restore RES_USE_INET6
3936         flag in _res.options.
3938 2016-05-09  Joseph Myers  <joseph@codesourcery.com>
3940         * conform/data/sys/types.h-data (blkcnt_t): Do not expect for
3941         [XPG3 || XPG4].
3942         (blksize_t): Likewise.
3943         (clockid_t): Likewise.
3944         * conform/Makefile (test-xfail-XPG3/sys/types.h/conform): Remove
3945         variable.
3946         (test-xfail-XPG4/sys/types.h/conform): Likewise.
3948 2016-05-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
3950         * sysdeps/unix/sysv/linux/s390/init-first.c:
3951         Add VDSO_SYMBOL(getcpu).
3952         (_libc_vdso_platform_setup): Initialize VDSO_SYMBOL(getcpu).
3953         * sysdeps/unix/sysv/linux/s390/libc-vdso.h:
3954         Add VDSO_SYMBOL(getcpu).
3955         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h:
3956         New define HAVE_GETCPU_VSYSCALL.
3957         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
3959 2016-05-08  H.J. Lu  <hongjiu.lu@intel.com>
3961         * sysdeps/i386/cacheinfo.c: Include <sysdeps/x86/cacheinfo.c>
3962         instead of <sysdeps/x86_64/cacheinfo.c>.
3963         * sysdeps/x86_64/cacheinfo.c: Moved to ...
3964         * sysdeps/x86/cacheinfo.c: Here.
3966 2016-05-04  Florian Weimer  <fweimer@redhat.com>
3968         * malloc/malloc-internal.h: Adjust header file guard.
3970 2016-05-04  Florian Weimer  <fweimer@redhat.com>
3972         [BZ #19787]
3973         * inet/getnameinfo.c (check_sprintf_result): New function.
3974         (CHECKED_SNPRINTF): New macro.
3975         (gni_host_inet_numeric): Use CHECKED_SNPRINTF to write the scope
3976         to the host buffer.
3977         (gni_host_local): Use checked_copy to copy the host name.
3978         (gni_serv_inet): Use CHECKED_SNPRINTF to write the service name.
3979         (gni_serv_local): Use checked_copy to copy the service name.
3980         (getnameinfo): Remove unnecessary truncation of result buffers.
3982 2016-05-04  Florian Weimer  <fweimer@redhat.com>
3984         * inet/getnameinfo.c (gni_host_inet_numeric): Return EAI_OVERFLOW
3985         in case of inet_ntop failure.
3987 2016-05-04  Florian Weimer  <fweimer@redhat.com>
3989         * inet/getnameinfo.c (gni_host_inet_name): Use temporaries to
3990         avoid long lines.
3991         (gni_host_inet_numeric): Likewise.  Reduce scope of local
3992         variables.
3993         (gni_host_inet, gni_host_local): Add comment.
3994         (gni_host): Add comment.  Use temporary to avoid long lines.
3996 2016-05-04  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
3998         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Fix use of condition
3999         registers specifiers where general purpose registers specifiers should
4000         have been used.
4002 2016-05-04  Florian Weimer  <fweimer@redhat.com>
4004         [BZ #19779]
4005         CVE-2016-1234
4006         Avoid copying names of directory entries.
4007         * posix/glob.c (DIRENT_MUST_BE, DIRENT_MIGHT_BE_SYMLINK)
4008         (DIRENT_MIGHT_BE_DIR, CONVERT_D_INO, CONVERT_D_TYPE)
4009         (CONVERT_DIRENT_DIRENT64, REAL_DIR_ENTRY): Remove macros.
4010         (struct readdir_result): New type.
4011         (D_TYPE_TO_RESULT, D_INO_TO_RESULT, READDIR_RESULT_INITIALIZER)
4012         (GL_READDIR): New macros.
4013         (readdir_result_might_be_symlink, readdir_result_might_be_dir)
4014         (convert_dirent, convert_dirent64): New functions.
4015         (glob_in_dir): Use struct readdir_result.  Call convert_dirent or
4016         convert_dirent64.  Adjust references to the readdir result.
4017         * sysdeps/unix/sysv/linux/i386/glob64.c:
4018         (convert_dirent, GL_READDIR): Redefine for second file inclusion.
4019         * posix/bug-glob2.c (LONG_NAME): Define.
4020         (filesystem): Add LONG_NAME.
4021         (my_DIR): Increase the size of room_for_dirent.
4023 2016-05-03  Joseph Myers  <joseph@codesourcery.com>
4025         [BZ #20041]
4026         * misc/sys/select.h (__need_timespec): Only define if
4027         [__USE_XOPEN2K].
4028         * conform/Makefile (test-xfail-XPG4/sys/time.h/conform): Remove
4029         variable.
4030         (test-xfail-XPG4/utmpx.h/conform): Likewise.
4031         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
4032         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
4034 2016-05-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4035             Segher Boessenkool  <segher@gcc.gnu.org>
4037         [BZ #20004]
4038         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S:
4039         (__novec_swapcontext): Add missing load.
4041 2016-05-02  Joseph Myers  <joseph@codesourcery.com>
4043         [BZ #20023]
4044         * io/fcntl.h [__USE_XOPEN && !__USE_XOPEN2K8]: Do not include
4045         <time.h>.
4046         * conform/Makefile (test-xfail-UNIX98/fcntl.h/conform): Remove
4047         variable.
4048         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
4050 2016-05-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4052         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone): Fix
4053         flags CLONE_VM compare.
4055 2016-05-02  Florian Weimer  <fweimer@redhat.com>
4057         [BZ #20031]
4058         * hesiod/hesiod.c (get_txt_records): Return error if TXT record is
4059         completely empty.
4061 2016-05-02  Florian Weimer  <fweimer@redhat.com>
4063         [BZ #19573]
4064         * hesiod/Makefile (libnss_hesiod-routines): Remove hesiod-init.
4065         * hesiod/nss_hesiod/hesiod-init.c: Remove file.
4066         * hesiod/nss_hesiod/nss_hesiod.h: Likewise.
4067         * hesiod/hesiod.h (__hesiod_res_get, __hesiod_res_set): Remove.
4068         (hesiod_init, hesiod_end, hesiod_to_bind, hesiod_resolve)
4069         (hesiod_free_list): Mark as hidden.
4070         * hesiod/hesiod_p (struct hesiod_p): Remove res, free_res,
4071         res_set, res_get.
4072         * hesiod/hesiod.c: Remove unnecessary forward declarations.
4073         (init, __hesiod_res_get, __hesiod_res_set): Remove.
4074         (hesiod_init): Remove obsolete res_ninit call.
4075         (hesiod_end): Do not free resolver state.  Do not invoke callback.
4076         (hesiod_bind): Do not call init.
4077         (get_txt_records): Use res_mkquery, res_send instead of
4078         res_nmkquery, res_nsend.
4079         * hesiod/nss_hesiod/hesiod-grp.c (lookup): Call hesiod_init
4080         instead of _nss_hesiod_init.
4081         (_nss_hesiod_initgroups_dyn): Likewise.
4082         * hesiod/nss_hesiod/hesiod-proto.c (lookup): Likewise.
4083         * hesiod/nss_hesiod/hesiod-pwd.c (lookup): Likewise.
4084         * hesiod/nss_hesiod/hesiod-service.c (lookup): Likewise.
4086 2016-05-02  Florian Weimer  <fweimer@redhat.com>
4088         * hesiod/hesiod_p.h (DEF_RHS): Remove.
4089         * hesiod/hesiod.c (hesiod_init): Remove code for handling DEF_RHS.
4091 2016-05-02  Florian Weimer  <fweimer@redhat.com>
4093         * hesiod/hesiod.h: Remove RCS keyword.
4094         * hesiod/hesiod_p.h: Likewise.
4096         * hesiod/hesiod.c: Likewise.
4098 2016-05-01  Arnas Udovičius  <arnas.udovicius@gmail.com>
4100         [BZ #12450]
4101         * locale/iso-639.def: Add Samogitian/sgs.
4103 2016-04-30  Andreas Schwab  <schwab@linux-m68k.org>
4105         * sysdeps/m68k/Makefile (CFLAGS-gmon-start.c): Define.
4107         * sysdeps/unix/sysv/linux/m68k/clone.S: Localize labels.
4109 2016-04-29  Stephen Gallagher  <sgallagh@redhat.com>
4110             Carlos O'Donell  <carlos@redhat.com>
4112         [BZ #19072]
4113         * grp/Makefile (headers): Add grp-merge.h
4114         (routines): Add grp-merge.
4115         * grp/getgrgid_r.c: Include grp-merge.h.
4116         (DEEPCOPY_FN): Define.
4117         (MERGE_FN): Define.
4118         * grp/getgrname_r.c: Include grp-merge.h.
4119         (DEEPCOPY_FN): Define.
4120         (MERGE_FN): Define.
4121         * grp/grp-merge.c: New file.
4122         * grp/grp-merge.h: New file.
4123         * include/grp-merge.h: New file.
4124         * grp/Versions: Define __merge_grp@GLIBC_PRIVATE, and
4125         __copy_grp@GLIBC_PRIVATE.
4126         * manual/nss.texi (Actions in the NSS configuration): Describe
4127         return, continue, and merge.
4128         * nscd/getgrgid_r.c: Include grp/grp-merge.h.
4129         (DEEPCOPY_FN): Define.
4130         (MERGE_FN): Define.
4131         * nscd/getgrnam_r.c: Include grp/grp-merge.h.
4132         (DEEPCOPY_FN): Define.
4133         (MERGE_FN): Define.
4134         * nss/getXXbyYY_r.c [!DEEPCOPY_FN]: Define __copy_einval.
4135         [!MERGE_FN]: Define __merge_einval.
4136         (CHECK_MERGE): Define.
4137         (REENTRANT_NAME): Process merge if do_merge is true.
4138         * nss/getnssent_r.c (__nss_setent): Process NSS_ACTION_MERGE.
4139         (__nss_getent_r): Likewise.
4140         * nss/nsswitch.c (nss_parse_service_list): Likewise.
4141         * nss/nsswitch.h (lookup_actions): Define NSS_ACTION_MERGE.
4143 2016-04-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4145         [BZ #20012]
4146         * libio/fmemopen.c (fmemopen_read): Use buffer maximum position, not
4147         length to calculate the buffer to read.
4148         (fmemopen_write): Set the buffer position based on bytes written.
4149         (fmemopen_seek): Return EINVAL for invalid whence modes.
4151         [BZ #19957]
4152         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nptl] (test): Remove
4153         tst-getpid2.
4154         (test): Add tst-clone2.
4155         * sysdeps/unix/sysv/linux/tst-clone2.c: New file.
4156         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Do not change
4157         pid/tid fields for CLONE_VM.
4158         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
4159         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
4160         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
4161         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise,
4162         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
4163         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
4164         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
4165         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
4166         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
4167         Likewise.
4168         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
4169         Likewise.
4170         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
4171         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
4172         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
4173         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
4174         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
4175         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
4176         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
4177         * sysdeps/unix/sysv/linux/tst-getpid2.c: Remove file.
4179 2016-04-29  Florian Weimer  <fweimer@redhat.com>
4181         [BZ #19642]
4182         * inet/getnameinfo.c (gni_host_inet_name, gni_host_inet_numeric)
4183         (gni_host_inet, gni_host_local, gni_host, gni_serv_inet)
4184         (gni_serv_local, gni_serv): New functions extracted from
4185         getnameinfo.
4186         (getnameinfo): Call gni_host and gni_serv to perform the
4187         processing.  Always free scratch buffer.
4189 2016-04-29  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
4191         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Call memset to pad the
4192         remaining bytes in the dest string, with zeros.
4194 2016-04-29  Florian Weimer  <fweimer@redhat.com>
4196         [BZ #20010]
4197         CVE-2016-3706
4198         * sysdeps/posix/getaddrinfo.c
4199         (convert_hostent_to_gaih_addrtuple): New function.
4200         (gethosts): Call convert_hostent_to_gaih_addrtuple.
4201         (gaih_inet): Use convert_hostent_to_gaih_addrtuple to convert
4202         AF_INET data.
4204 2016-04-29  Florian Weimer  <fweimer@redhat.com>
4206         glob: Simplify and document the interface for the GLOB_ALTDIRFUNC
4207         callback function gl_readdir.
4208         * posix/glob.c (NAMELEN, CONVERT_D_NAMLEN): Remove.
4209         (CONVERT_DIRENT_DIRENT64): Use strcpy instead of memcpy.
4210         (glob_in_dir): Remove len.  Use strdup instead of malloc and
4211         memcpy to copy the name.
4212         * manual/pattern.texi (Calling Glob): Document requirements for
4213         implementations of the gl_readdir callback function.
4214         * manual/examples/mkdirent.c: New example.
4215         * posix/bug-glob2.c (my_readdir): Set d_ino to 1 unconditionally,
4216         per the manual guidance.
4217         * posix/tst-gnuglob.c (my_readdir): Likewise.
4219 2016-04-28  Joseph Myers  <joseph@codesourcery.com>
4221         [BZ #20014]
4222         * libio/stdio.h (getc_unlocked): Declare if [__USE_POSIX199506],
4223         not [__USE_POSIX].
4224         (getchar_unlocked): Likewise.
4225         (putc_unlocked): Likewise.
4226         (putchar_unlocked): Likewise.
4227         (flockfile): Likewise.
4228         (ftrylockfile): Likewise.
4229         (funlockfile): Likewise.
4230         * conform/Makefile (test-xfail-XPG3/stdio.h/conform): Remove
4231         variable.
4232         (test-xfail-XPG4/stdio.h/conform): Likewise.
4234         * conform/data/langinfo.h-data [XPG3 || XPG4 || UNIX98] (YESSTR):
4235         Expect constant.
4236         [XPG3 || XPG4 || UNIX98] (NOSTR): Likewise.
4237         * conform/Makefile (test-xfail-XPG3/langinfo.h/conform): Remove
4238         variable.
4239         (test-xfail-XPG4/langinfo.h/conform): Likewise.
4240         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
4242         * libio/stdio.h (off_t): Also define if [__USE_UNIX98].
4243         [__USE_LARGEFILE64] (off64_t): Likewise.
4244         * conform/Makefile (test-xfail-UNIX98/stdio.h/conform): Remove
4245         variable.
4247 2016-04-28  Florian Weimer  <fweimer@redhat.com>
4249         * inet/getnameinfo.c (getnameinfo): Do not preserve errno.
4251 2016-04-28  Florian Weimer  <fweimer@redhat.com>
4253         * resolv/inet_addr.c: Reindent preprocessor conditionals.
4254         * resolv/res_init.c: Likewise.
4255         * resolv/res_mkquery.c: Likewise.
4257 2016-04-28  Florian Weimer  <fweimer@redhat.com>
4259         * resolv/res_init.c (isascii): Do not define.  Use definition in
4260         <ctype.h>.
4261         * resolv/gethnamaddr.c: Remove USE_OPTIONS_H conditional.
4262         (LOG_AUTH): Remove.
4263         (SPRINTF): Remove, adjust caller.
4264         (MULTI_PTRS_ARE_ALIASES): Remove, always defined.
4266 2016-04-28  Florian Weimer  <fweimer@redhat.com>
4268         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Remove
4269         SUNSECURITY conditional.
4270         * resolv/gethnamaddr.c (gethostbyaddr): Likewise.
4272 2016-04-28  Florian Weimer  <fweimer@redhat.com>
4274         * resolv/arpa/nameser.h: Include <sys/types.h> unconditionally.
4275         * resolv/gethnamaddr.c: Use include files from conf/portability.h.
4276         Remove BSD-related preprocessor conditionals.
4277         * conf/portability.h: Remove.
4279 2016-04-28  Florian Weimer  <fweimer@redhat.com>
4281         * resolv/resolv.h: Remove __BIND_NOSTATIC conditional.
4282         * resolv/res_data.c: Likewise.
4284 2016-04-28  Florian Weimer  <fweimer@redhat.com>
4286         * resolv/res_comp.c: Remove code conditional on __ultrix__.
4287         * resolv/res_data.c: Remove code conditional on ultrix.
4289 2016-04-28  Florian Weimer  <fweimer@redhat.com>
4291         * resolv/res_init.c (RFC1535): Do not define.  Remove
4292         RFC1535 preprocessor conditionals.
4293         * resolv/README: Update.  Do not claim strict RFC 1535 compliance
4294         because there configuration options which make the resolver
4295         behavior different.
4297 2016-04-28  Florian Weimer  <fweimer@redhat.com>
4299         * resolv/gethnamaddr.c (RESOLVSORT): Do not define.  Remove
4300         RESOLVSORT preprocessor conditionals.
4301         * resolv/nss_dns/dns-host.c: Likewise.
4302         * resolv/res_init.c: Likewise.
4304 2016-04-28  Florian Weimer  <fweimer@redhat.com>
4306         * resolv/res_data.c: Remove code conditional on BIND_UPDATE.  It
4307         is never defined.
4309 2016-04-28  Florian Weimer  <fweimer@redhat.com>
4311         * inet/inet_lnaof.c: Remove SCSS keyword.
4312         * inet/inet_mkadr.c: Likewise.
4313         * inet/inet_net.c: Likewise.
4314         * inet/inet_netof.c: Likewise.
4315         * inet/rcmd.c: Likewise.
4316         * inet/rexec.c: Likewise.
4317         * inet/ruserpass.c: Likewise.
4319 2016-04-28  Florian Weimer  <fweimer@redhat.com>
4321         * resolv/inet_addr.c: Remove _LIBC conditionals.
4322         * resolv/res_data.c: Likewise.
4323         * resolv/res_init.c: Likewise.
4324         * resolv/res_mkquery.c: Likewise.
4325         * resolv/res_libc.c: Update comment.
4326         * resolv/README: Update.
4328 2016-04-28  Florian Weimer  <fweimer@redhat.com>
4330         * resolv/gethnamaddr.c: Remove SCSS keyword.
4331         * resolv/herror.c: Likewise.
4332         * resolv/inet_addr.c: Likewise.
4333         * resolv/inet_net_ntop.c: Likewise.
4334         * resolv/inet_net_pton.c: Likewise.
4335         * resolv/inet_neta.c: Likewise.
4336         * resolv/inet_ntop.c: Likewise.
4337         * resolv/inet_pton.c: Likewise.
4338         * resolv/ns_date.c: Remove RCS keyword.
4339         * resolv/ns_name.c: Likewise.
4340         * resolv/ns_netint.c: Likewise.
4341         * resolv/ns_parse.c: Likewise.
4342         * resolv/ns_print.c: Likewise.
4343         * resolv/ns_samedomain.c: Likewise.
4344         * resolv/ns_ttl.c: Likewise.
4345         * resolv/nsap_addr.c: Likewise.
4346         * resolv/res_comp.c: Remove SCSS and RCS keyword.
4347         * resolv/res_data.c: Remove RCS keyword.
4348         * resolv/res_debug.c: Remove SCSS and RCS keyword.
4349         * resolv/res_init.c: Likewise.
4350         * resolv/res_mkquery.c: Likewise.
4351         * resolv/res_query.c: Likewise.
4352         * resolv/res_send.c: Likewise.
4354 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
4356         * conform/data/stdio.h-data (fdopen): Expect also for
4357         [XPG3 || XPG4].
4359         * conform/data/stdio.h-data (flockfile): Also expect for [UNIX98].
4360         (fseeko): Likewise.
4361         (ftello): Likewise.
4362         (ftrylockfile): Likewise.
4363         (funlockfile): Likewise.
4364         (getc_unlocked): Likewise.
4365         (getchar_unlocked): Likewise.
4366         (putc_unlocked): Likewise.
4367         (putchar_unlocked): Likewise.
4369 2016-04-27  Florian Weimer  <fweimer@redhat.com>
4371         [BZ #19868]
4372         * resolv/nss_dns/dns-network.c (getanswer_r): Implement additional
4373         DNS packet syntax checks (which were not needed before).  Skip
4374         over non-PTR records.
4376 2016-04-27  Florian Weimer  <fweimer@redhat.com>
4378         * resolv/nss_dns/dns-network.c (offsetof): Remove macro
4379         definition.  Include <stddef.h> instead.
4381 2016-04-27  Florian Weimer  <fweimer@redhat.com>
4383         [BZ #19831]
4384         * resolv/nss_dns/dns-host.c (rrtype_to_rdata_length): New
4385         function.
4386         (getanswer_r): Check RDATA length against RRTYPE and QTYPE.
4387         (gaih_getanswer_slice): Check RDATA length against RRTYPE.
4389 2016-04-27  Florian Weimer  <fweimer@redhat.com>
4391         [BZ #19862]
4392         * resolv/nss_dns/dns-host.c (AskedForGot): Remove.
4393         (getanswer_r): Do not call syslog.
4394         (gaih_getanswer_slice): Likewise.
4395         * resolv/gethnamaddr.c (AskedForGot): Remove.
4396         (getanswer): Do not call syslog.
4397         (gethostbyaddr): Likewise.
4399 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
4401         * conform/data/signal.h-data (union sigval): Expect also if
4402         [XOPEN2K].
4403         (struct sigevent): Likewise.
4404         (SIGEV_NONE): Likewise.
4405         (SIGEV_SIGNAL): Likewise.
4406         (SIGEV_THREAD): Likewise.
4407         (SIGRTMIN): Likewise.
4408         (SIGRTMAX): Likewise.
4409         * conform/Makefile (test-xfail-XOPEN2K/aio.h/conform): Remove
4410         variable.
4411         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
4413 2016-04-27  Florian Weimer  <fweimer@redhat.com>
4415         [BZ #19830]
4416         * resolv/nss_dns/dns-host.c (getanswer_r): Check RDATA length.
4417         (gaih_getanswer_slice): Likewise.
4418         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Likewise.
4419         Also check for availability of RR metadata.
4421 2016-04-27  Florian Weimer  <fweimer@redhat.com>
4423         [BZ #19825]
4424         * resolv/res_send.c (send_vc): Remove early *resplen2
4425         initialization.  Set *resplen2 on socket error.  Call
4426         close_and_return_error for other errors.
4428 2016-04-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
4430         * sysdeps/unix/sysv/linux/netiucv/iucv.h
4431         (SOL_IUCV, SO_IPRMDATA_MSG, SO_MSGLIMIT, SO_MSGSIZE)
4432         (SCM_IUCV_TRGCLS): New define.
4434 2016-04-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4436         [BZ #20005]
4437         * libio/fmemopen.c (fmemopen_write): Update internal position after
4438         write.
4439         * stdio-common/Makefile (tests): Add tst-fmemopen4.c.
4440         * stdio-common/tst-fmemopen4.c: New file..
4442 2016-04-26  Joseph Myers  <joseph@codesourcery.com>
4444         [BZ #19996]
4445         * locale/langinfo.h (nl_langinfo_l): Declare if [__USE_XOPEN2K8],
4446         not [__USE_XOPEN2K].
4447         * conform/Makefile (test-xfail-XOPEN2K/langinfo.h/conform): Remove
4448         variable.
4450         * conform/data/stdarg.h-data [XOPEN2K] (va_copy): Require macro.
4451         * conform/Makefile (test-xfail-XOPEN2K/stdarg.h/conform): Remove
4452         variable.
4454         * libio/stdio.h (off_t): Define if [__USE_XOPEN2K], not
4455         [__USE_XOPEN2K8].
4456         [__USE_LARGEFILE64] (off64_t): Likewise.
4457         * conform/Makefile (test-xfail-XOPEN2K/stdio.h/conform): Remove
4458         variable.
4460 2016-04-25  Joseph Myers  <joseph@codesourcery.com>
4462         [BZ #19989]
4463         * libio/stdio.h (cuserid): Do not declare if
4464         [__USE_XOPEN2K && !__USE_GNU].
4465         * conform/Makefile (test-xfail-XOPEN2K8/stdio.h/conform): Remove
4466         variable.
4468 2016-04-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4470         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
4471         (sysdep_routines): Add P8 and PPC64 strcspn targets.
4472         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
4473         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
4474         ifunc'ed strcspn.
4475         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
4476         [EALIGN]: Removed.
4477         [END]: Likewise
4478         [STRSPN]: Define instead of the above to control symbol name.
4479         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S:
4480         New file.
4481         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c:
4482         Likewise.
4483         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c:
4484         Likewise.
4485         * sysdeps/powerpc/powerpc64/power8/strcspn.S:
4486         Likewise.
4487         * sysdeps/powerpc/powerpc64/power8/strspn.S:
4488         [INITIAL_MASK]: New macro.
4489         [STRCSPN]: Likewise.
4490         [UPDATE_MASK]: Likewise.
4491         [USE_AS_STRCSPN]: Lisewise.
4493 2016-04-25  Florian Weimer  <fweimer@redhat.com>
4495         [BZ #19931]
4496         * stdio-common/tst-vfprintf-width-prec.c: New file.
4497         * stdio-common/Makefile (tests): Add tst-vfprintf-width-prec.
4498         (tests-special): Add tst-vfprintf-width-prec-mem.out.
4499         (generated): Add mtrace-related files.
4500         (tst-vfprintf-width-prec-ENV): Set MALLOC_TRACE.
4501         (tst-%-mem.out): New pattern rule, replaces
4502         tst-printf-bz18872-mem.out.
4503         * stdio-common/vfprintf.c (vfprintf): When handling a precision
4504         specifier, deallocate any previously allocated work buffer.
4506 2016-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
4508         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__startcontext):
4509         Add nop before __startcontext, add explaining comments.
4511 2016-04-25  Samuel thibault  <samuel.thibault@ens-lyon.org>
4513         RFC2292 macros were obsoleted by RFC3542, and should not be exposed
4514         any more. Notably since IPV6_PKTINFO has been reintroduced with a
4515         completely different API.
4517         * bits/in.h (IPV6_PKTINFO): Rename to IPV6_2292PKTINFO.
4518         (IPV6_HOPOPTS): Rename to IPV6_2292HOPOPTS.
4519         (IPV6_DSTOPTS): Rename to IPV6_2292DSTOPTS.
4520         (IPV6_RTHDR): Rename to IPV6_2292RTHDR.
4521         (IPV6_PKTOPTIONS): Rename to IPV6_2292PKTOPTIONS.
4522         (IPV6_HOPLIMIT): Rename to IPV6_2292HOPLIMIT.
4523         (IPV6_RECVPKTINFO, IPV6_PKTINFO, IPV6_RECVHOPLIMIT, IPV6_HOPLIMIT,
4524         IPV6_RECVHOPOPTS, IPV6_HOPOPTS, IPV6_RTHDRDSTOPTS, IPV6_RECVRTHDR,
4525         IPV6_RTHDR, IPV6_RECVDSTOPTS, IPV6_DSTOPTS, IPV6_RECVPATHMTU,
4526         IPV6_PATHMTU, IPV6_DONTFRAG): New macros.
4528 2016-04-23  H.J. Lu  <hongjiu.lu@intel.com>
4530         * elf/dl-minimal.c (__libc_memalign): Mmap one extra page.
4532 2016-04-23  Mike Frysinger  <vapier@gentoo.org>
4534         * locale/programs/ld-time.c (time_finish): Set week_1stweek to 7
4535         when it is the default of 0.
4537 2016-04-22  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
4539         * sysdeps/powerpc/locale-defines.sym:  Add new macros.
4540         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
4541         (sysdep_routines): Add new strcasestr targets.
4542         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
4543         (__libc_ifunc_impl_list): Likewise.
4544         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: New file.
4545         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-ppc64.c: New file.
4546         * sysdeps/powerpc/powerpc64/multiarch/strcasestr.c: New file.
4547         * sysdeps/powerpc/powerpc64/power8/Makefile:
4548         New file to add strcasestr-ppc64 to sysdep_routines.
4549         * sysdeps/powerpc/powerpc64/power8/strcasestr-ppc64.c: New file.
4550         * sysdeps/powerpc/powerpc64/power8/strcasestr.S: New file.
4552 2016-04-20  Siddhesh Poyarekar  <sid@reserved-bit.com>
4554         * benchtests/Makefile (wcsmbs-benchset): Include only for
4555         native builds and runs.
4556         (LOCALES): Likewise.
4557         (bench-build): Build timing-type here instead of the bench
4558         target.  Generate locale only for native builds.
4559         * benchtests/README: Add note for cross-building.
4561         * benchtests/Makefile (bench-clean): Clean up extra-objs.
4563         * benchtests/README: Update README to include instructions on
4564         using bench-build.
4566         * Makefile.in (bench-build): New target.
4567         * Rules (PHONY): Add bench-build target.
4568         * benchtests/Makefile (bench): Depend on bench-build.
4569         (bench-build): New target.
4571 2016-04-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4573         * sysdeps/mach/hurd/profil.c (update_waiter): Initialize
4574         profil_reply_port.
4575         (profile_waiter): Do not initialize profil_reply_port.
4576         * sysdeps/mach/hurd/profil.c (__profile_frequency): Return tick
4577         frequency instead of tick length in us.
4579 2016-04-18  Wilco Dijkstra  <wdijkstr@arm.com>
4581         [BZ #18712]
4582         * string/string-inlines.c (__STRING2_COPY_TYPE): Add, moved from string2.h.
4583         (__old_mempcpy_small): Likewise.
4584         (__old_strcpy_small): Likewise.
4585         (__old_stpcpy_small): Likewise.
4586         (__old_strpbrk_c2): Fix compat symbol name.
4587         (__old_strpbrk_c3): Likewise.
4588         * string/bits/string2.h (__STRING2_COPY_TYPE): Remove.
4589         (__mempcpy_small): Remove.
4590         (__strcpy_small): Remove.
4591         (__stpcpy_small): Remove.
4593 2016-04-16  Robin van der Vliet <info@robinvandervliet.com>
4595         [BZ #19400]
4596         * locale/iso-639.def: Add the Talossan/tzl language.
4598 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
4600         [BZ #16983]
4601         * locale/programs/ld-address.c (address_finish): Update postal_fmt
4602         comment.  Add "ln" to strchr check on postal_fmt.
4604 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
4606         * locale/programs/ld-telephone.c (telephone_finish): Add %t to the
4607         default tel_int_fmt.  Add "Cet" to strchr check on tel_int_fmt and
4608         tel_dom_fmt.
4610 2016-04-15  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
4612         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
4613         (sysdep_routines): Added __strlen_power8.
4614         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Added
4615         __strlen_power8 entry.
4616         * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: New file.
4617         Implementation for POWER8.
4618         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Added IFUNC selector
4619         for __strlen_power8.
4620         * sysdeps/powerpc/powerpc64/power8/strlen.S: New file.
4621         Implementation for POWER8.
4623 2016-04-15  Mike Frysinger  <vapier@gentoo.org>
4625         * locale/iso-4217.def: Add SSP and change ZMK to ZMW.
4627 2016-04-15   H.J. Lu  <hongjiu.lu@intel.com>
4629         * sysdeps/x86/cpu-features.c (init_cpu_features): Detect Intel
4630         Goldmont and Airmont processors.
4632 2016-04-15  Wilco Dijkstra  <wdijkstr@arm.com>
4634         * string/string.h: Use __GNUC_PREREQ(3,4) for bits/string2.h.
4635         * string/bits/string2.h (__STRING2_SMALL_GET16): Remove.
4636         (__STRING2_SMALL_GET32): Remove.
4637         (memset): Remove.
4638         (__memset_1): Remove.
4639         (__memset_gc): Remove.
4640         (__mempcpy): Remove.
4641         (mempcpy): Remove.
4642         (__mempcpy_args): Remove.
4643         (strchr): Remove.
4644         (strcpy): Remove.
4645         (strcpy_args): Remove.
4646         (__stpcpy_args): Remove.
4647         (__strcmp_cc): Remove.
4648         (__strcmp_gc): Remove.
4649         (strstr): Remove.
4651 2016-04-15  Yvan Roux  <yvan.roux@linaro.org>
4653         * stdlib/setenv.c (unsetenv): Fix ambiguous 'else'.
4654         * nis/nis_call.c (nis_server_cache_add): Likewise.
4656 2016-04-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4658         * sysdeps/unix/sysv/linux/sysdep.h: Include kernel-features.h.
4660 2016-04-14  Florian Weimer  <fweimer@redhat.com>
4662         * malloc/arena.c (__malloc_fork_lock_parent)
4663         (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Add
4664         internal_function attribute.
4666 2016-04-14  Stefan Liebler  <stli@linux.vnet.ibm.com>
4668         * stdio-common/printf_fp.c (__printf_fp_l):
4669         Rename ___printf_fp_l to __printf_fp_l and
4670         remove strong alias. Use libc_hidden_def instead
4671         of ldbl_hidden_def macro.
4673 2016-04-14  Florian Weimer  <fweimer@redhat.com>
4675         Remove malloc hooks from fork handler.  They are no longer needed
4676         because malloc runs right before fork, and no malloc calls from
4677         other fork handlers are not possible anymore.
4678         * malloc/malloc.c (malloc_atfork, free_atfork): Remove
4679         declarations.
4680         * malloc/arena.c (save_malloc_hook, save_free_hook, save_arena)
4681         (ATFORK_ARENA_PTR, malloc_atfork, free_atfork)
4682         (atfork_recursive_cntr): Remove.
4683         (__malloc_fork_lock_parent): Do not override malloc hooks and
4684         thread_arena.
4685         (__malloc_fork_unlock_parent): Do not restore malloc hooks and
4686         thread_arena.
4687         (__malloc_fork_unlock_child): Do not restore malloc hooks.  Use
4688         thread_arena instead of save_arena.
4690 2016-04-14  Florian Weimer  <fweimer@redhat.com>
4692         * sysdeps/nptl/malloc-machine.h (ATFORK_MEM, __dso_handle)
4693         (thread_atfork, thread_atfork_static): Remove.
4694         * sysdeps/mach/hurd/malloc-machine.h:
4695         (thread_atfork, thread_atfork_static): Remove.
4697 2016-04-14  Florian Weimer  <fweimer@redhat.com>
4699         [BZ #19431]
4700         Run the malloc fork handler as late as possible to avoid deadlocks.
4701         * malloc/malloc-internal.h: New file.
4702         * malloc/malloc.c: Include it.
4703         * malloc/arena.c (ATFORK_MEM): Remove.
4704         (__malloc_fork_lock_parent): Rename from ptmalloc_lock_all.
4705         Update comment.
4706         (__malloc_fork_unlock_parent): Rename from ptmalloc_unlock_all.
4707         (__malloc_fork_unlock_child): Rename from ptmalloc_unlock_all2.
4708         Remove outdated comment.
4709         (ptmalloc_init): Do not call thread_atfork.  Remove
4710         thread_atfork_static.
4711         * malloc/tst-malloc-fork-deadlock.c: New file.
4712         * Makefile (tests): Add tst-malloc-fork-deadlock.
4713         (tst-malloc-fork-deadlock): Link against libpthread.
4714         * manual/memory.texi (Aligned Memory Blocks): Update safety
4715         annotation comments.
4716         * sysdeps/nptl/fork.c (__libc_fork): Call
4717         __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
4718         __malloc_fork_unlock_child.
4719         * sysdeps/mach/hurd/fork.c (__fork): Likewise.
4721 2016-04-14  Florian Weimer  <fweimer@redhat.com>
4723         [BZ #19613]
4724         Remove union wait.
4725         * bits/waitstatus.h (union wait, w_termsig, w_coredump, w_retcode)
4726         (w_stopsig, w_stopval): Remove.
4727         * include/sys/wait.h (__wait, __wait3, __wait4): Use int * for the
4728         stat_loc argument.
4729         * posix/sys/wait.h (__WAIT_INT, __WAIT_STATUS)
4730         (__WAIT_STATUS_DEFN): Remove.
4731         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
4732         (WIFSTOPPED, WIFCONTINUED, WCOREDUMP): Remove __WAIT_INT.
4733         (wait, wait3, wait4): Use int * for the stat_loc argument.
4734         * posix/wait.c (__wait): Likewise.
4735         * posix/wait3.c (__wait3): Likewise.
4736         * posix/wait4.c (__wait4): Likewise.
4737         * stdlib/stdlib.h (__WAIT_INT, __WAIT_STATUS)
4738         (__WAIT_STATUS_DEFN): Remove.
4739         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
4740         (WIFSTOPPED, WIFCONTINUED): Remove __WAIT_INT.
4741         * sysdeps/mach/hurd/wait4.c (__wait4): Use int * for the stat_loc
4742         argument.
4743         * sysdeps/posix/wait.c (__libc_wait): Likewise.
4744         * sysdeps/posix/wait3.c (__wait3): Likewise.
4745         * sysdeps/unix/bsd/wait.c (__libc_wait): Likewise.
4746         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
4747         * sysdeps/unix/bsd/waitpid.c (__waitpid): Remove cast.
4748         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Use int * for the
4749         stat_loc argument.
4750         * manual/process.texi (BSD Wait Functions): Remove union wait.
4752 2016-04-13  Andreas Schwab  <schwab@suse.de>
4754         * elf/Makefile (extra-test-objs): Add tst-tlsalign-vars.o.
4755         (test-extras): Add tst-tlsalign-vars.
4756         * math/Makefile: Wrap long lines.
4757         (libm-vec-test-wrappers): Define.
4758         (test-extras): Add $(libm-vec-test-wrappers).
4759         (extra-test-objs): Add $(libm-vec-test-wrappers) objects.
4760         * nss/Makefile (extra-test-objs): Add nss_test1.os.
4761         * stdlib/Makefile (extra-test-objs): Add $(modules-names) objects.
4762         * sysdeps/x86_64/Makefile (test-extras): Add tst-quadmod1pie
4763         tst-quadmod2pie tst-audit4-aux tst-audit10-aux.
4764         (extra-test-objs): Add corresponding objects.
4766 2016-04-12   H.J. Lu  <hongjiu.lu@intel.com>
4768         [BZ #19928]
4769         * sysdeps/x86_64/cacheinfo.c (__x86_shared_non_temporal_threshold):
4770         New.
4771         (init_cacheinfo): Set __x86_shared_non_temporal_threshold to 6
4772         times of shared cache size.
4773         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S
4774         (VMOVNT): New.
4775         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S
4776         (VMOVNT): Likewise.
4777         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
4778         (VMOVNT): Likewise.
4779         (VMOVU): Changed to movups for smaller code sizes.
4780         (VMOVA): Changed to movaps for smaller code sizes.
4781         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Update
4782         comments.
4783         (PREFETCH): New.
4784         (PREFETCH_SIZE): Likewise.
4785         (PREFETCHED_LOAD_SIZE): Likewise.
4786         (PREFETCH_ONE_SET): Likewise.
4787         Rewrite to use forward and backward loops, which move 4 vector
4788         registers at a time, to support overlapping addresses and use
4789         non temporal store if size is above the threshold and there is
4790         no overlap between destination and source.
4792 2016-04-12  Alex Smith  <alex.smith@imgtec.com>
4794         * sysdeps/unix/sysv/linux/mips/Makefile (sysdep_routines):
4795         Include dl-vdso.
4796         * sysdeps/unix/sysv/linux/mips/Versions: Add
4797         __vdso_clock_gettime.
4798         * sysdeps/unix/sysv/linux/mips/init-first.c: New file.
4799         * sysdeps/unix/sysv/linux/mips/libc-vdso.h: New file.
4800         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h:
4801         (INTERNAL_VSYSCALL_CALL): Define to be compatible with MIPS
4802         definitions of INTERNAL_SYSCALL_{ERROR_P,ERRNO}.
4803         (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
4804         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
4805         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
4806         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
4808 2016-04-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4810         * sysdeps/unix/sysv/linux/arm/pwrite.c: Remove file.
4811         * sysdeps/unix/sysv/linux/arm/pwrite64.c: Likewise.
4812         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
4813         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
4814         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
4815         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
4816         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
4817         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
4818         * sysdeps/unix/sysv/linux/wordsize-64/pwrite64.c: Likewise.
4819         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (prite): Remove
4820         syscalls generation.
4821         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
4822         [__NR_pwrite64] (__NR_write): Remove define.
4823         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
4824         [__NR_pwrite64] (__NR_write): Remove define.
4825         * sysdeps/unix/sysv/linux/pwrite.c [__NR_pwrite64] (__NR_pwrite):
4826         Remove define.
4827         (__libc_pwrite): Use SYSCALL_LL macro on offset argument.
4828         * sysdeps/unix/sysv/linux/pwrite64.c [__NR_pwrite64] (__NR_pwrite):
4829         Remove define.
4830         (__libc_pwrite64): Use SYSCALL_LL64 macro on offset argument.
4831         * sysdeps/unix/sysv/linux/sh/pwrite.c: Rewrite using default
4832         Linux implementation as base.
4833         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
4835         * sysdeps/unix/sysv/linux/arm/pread.c: Remove file.
4836         * sysdeps/unix/sysv/linux/arm/pread64.c: Likewise.
4837         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
4838         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
4839         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise,
4840         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
4841         * sysdeps/unix/sysv/linux/wordsize-64/pread64.c: Likewise.
4842         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (pread): Remove
4843         syscall generation.
4844         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
4845         [__NR_pread64] (__NR_pread): Remove define.
4846         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
4847         [__NR_pread64] (__NR_pread): Likewise.
4848         * sysdeps/unix/sysv/linux/pread.c [__NR_pread64] (__NR_pread): Remove
4849         define.
4850         (__libc_pread): Use SYSCALL_LL macro on offset argument.
4851         * sysdeps/unix/sysv/linux/pread64.c [__NR_pread64] (__NR_pread):
4852         Remove define.
4853         (__libc_pread64): Use SYSCALL_LL64 macro on offset argument.
4854         * sysdeps/unix/sysv/linux/sh/pread.c: Rewrite using default
4855         Linux implementation as base.
4856         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
4857         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
4858         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
4860         * sysdeps/unix/sysv/linux/generic/sysdep.h (__ALIGNMENT_ARG): Move
4861         definition.
4862         (__ALIGNMENT_COUNT): Likewise.
4863         * sysdeps/unix/sysv/linux/sysdep.h (__ALIGNMENT_ARG): To here.
4864         (__ALIGNMENT_COUNT): Likewise.
4865         (SYSCALL_LL): New define.
4866         (SYSCALL_LL64): Likewise.
4867         * sysdeps/unix/sysv/linux/mips/kernel-features.h:
4868         [_MIPS_SIM == _ABIO32] (__ASSUME_WORDSIZE64_ILP32): Define.
4869         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h:
4870         [ILP32] (__ASUME_WORDSIZE64_ILP32): Likewise.
4872         * sysdeps/unix/sysv/linux/arm/kernel-features.h
4873         (__ASSUME_ALIGNED_REGISTER_PAIRS): Define.
4874         * sysdeps/unix/sysv/linux/mips/kernel-features.h
4875         [_MIPS_SIM == _ABIO32] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
4876         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
4877         [!__powerpc64__] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
4879 2016-04-11  Florian Weimer  <fweimer@redhat.com>
4881         [BZ #19865]
4882         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Restore
4883         original buffer before retry.
4885 2016-04-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4887         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro)
4888         [!HAVE_AUX_VECTOR]: Do not define _dl_auxv field.
4889         * misc/getauxval.c (__getauxval) [!HAVE_AUX_VECTOR]: Do not go through
4890         GLRO(dl_auxv) list.
4891         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_VECTOR): Define before
4892         including <ldsodefs.h>.
4893         * sysdeps/nacl/ldsodefs.h (HAVE_AUX_VECTOR): Likewise.
4895 2016-04-09  Nick Alcock  <nick.alcock@oracle.com>
4897         * elf/rtld-Rules (rtld-compile-command.c): Add $(rtld-CFLAGS).
4898         * scripts/sysd-rules.awk: Substitute in $(CFLAGS) as well as
4899         $(CPPFLAGS).
4901 2016-04-09  Khem Raj  <raj.khem@gmail.com>
4903         [BZ #17950]
4904         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os):
4905         Add -mfpmath=387.
4907 2016-04-09  Mike Frysinger  <vapier@gentoo.org>
4909         * sysdeps/i386/configure.ac: Change == to = when calling test.
4910         * sysdeps/x86_64/configure.ac: Likewise.
4911         * sysdeps/i386/configure: Regenerated.
4912         * sysdeps/x86_64/configure: Likewise.
4914 2016-04-08  Mike Frysinger  <vapier@gentoo.org>
4916         [BZ #16137]
4917         * benchtests/Makefile (LOCALES): Change iw_IL to he_IL.
4918         * benchtests/bench-strcoll.c (input_files): Likewise.
4919         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
4920         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Rename to ...
4921         * benchtests/strcoll-inputs/lorem_ipsum#he_IL.UTF-8: ... here.
4923 2016-04-08  Joseph Myers  <joseph@codesourcery.com>
4925         [BZ #19929]
4926         * include/bits/xopen_lim.h (NL_NMAX): Do not define if
4927         [__USE_XOPEN2K8 && !__USE_GNU].
4928         * conform/Makefile (test-xfail-XOPEN2K8/limits.h/conform): Remove
4929         variable.
4931         [BZ #19925]
4932         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (XCASE): Do not
4933         define if [!__USE_MISC && __USE_XOPEN2K].
4934         * sysdeps/unix/sysv/linux/bits/termios.h (XCASE): Likewise.
4935         * sysdeps/unix/sysv/linux/mips/bits/termios.h (XCASE): Likewise.
4936         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (XCASE):
4937         Likewise.
4938         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (XCASE): Likewise.
4939         * conform/Makefile (test-xfail-XOPEN2K/termios.h/conform): Remove
4940         variable.
4941         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
4943 2016-04-07  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4945         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
4946         (sysdep_routines): Add new strspn targets.
4947         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
4948         (__libc_ifunc_impl_list): Add strspn.
4949         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
4950         New file.
4951         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c:
4952         Likewise.
4953         * sysdeps/powerpc/powerpc64/multiarch/strspn.c:
4954         Likewise.
4955         * sysdeps/powerpc/powerpc64/power8/strspn.S:
4956         Likewise.
4958 2016-04-07  Florian Weimer  <fweimer@redhat.com>
4960         * misc/hsearch_r.c: Include <limits.h>.
4962 2016-04-07  Florian Weimer  <fweimer@redhat.com>
4964         * malloc/scratch_buffer_set_array_size.c: Include <limits.h>.
4966 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
4968         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
4969         (MEMCPY_SYMBOL): New.
4970         (MEMPCPY_SYMBOL): Likewise.
4971         (MEMMOVE_CHK_SYMBOL): Likewise.
4972         Replace MEMMOVE_SYMBOL with MEMMOVE_CHK_SYMBOL on __mempcpy_chk
4973         symbols.  Replace MEMMOVE_SYMBOL with MEMPCPY_SYMBOL on
4974         __mempcpy symbols.  Provide alias for __memcpy_chk in libc.a.
4975         Provide alias for memcpy in libc.a and ld.so.
4977 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
4979         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
4980         (MEMSET_CHK_SYMBOL): New.  Define if not defined.
4981         (__bzero): Check VEC_SIZE == 16 instead of USE_MULTIARCH.
4982         Disabled fro now.
4983         Replace MEMSET_SYMBOL with MEMSET_CHK_SYMBOL on __memset_chk
4984         symbols.  Properly check USE_MULTIARCH on __memset symbols.
4986 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
4988         * benchtests/Makefile (string-benchset): Add memcpy-large,
4989         memmove-large and memset-large.
4990         * benchtests/bench-memcpy-large.c: New file.
4991         * benchtests/bench-memmove-large.c: Likewise.
4992         * benchtests/bench-memmove-large.c: Likewise.
4993         * benchtests/bench-string.h (TIMEOUT): Don't redefine.
4995 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
4997         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Force
4998         32-bit displacement to avoid long nop between instructions.
5000 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
5002         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Add
5003         a comment on VMOVU and VMOVA.
5005 2016-04-04  Florian Weimer  <fweimer@redhat.com>
5007         [BZ #19633]
5008         Use specified locale for number formatting in strfmon_l.
5009         * locale/localeinfo.h (__nl_lookup, _nl_lookup_wstr)
5010         (__nl_lookup_word): New inline functions.
5011         * include/printf.h (__print_fp_l): Declare.
5012         * stdio-common/printf_fp.c (___printf_fp_l): Renamed from
5013         ___printf_fp.  Add locale argument.  Replace _NL_CURRENT with
5014         _nl_lookup and _NL_CURRENT_WORD with _nl_lookup_word.
5015         (___printf_fp): New function.
5016         * stdlib/strfmon_l.c (__printf_fp): Remove declaration.
5017         (__vstrfmon_l): Call __printf_fp_l instead of printf_fp.
5018         * stdlib/tst-strfmon_l.c (do_test): New test.
5019         * stdlib/Makefile (tests): Add kt.
5020         (LOCALES): Build additional locales.
5021         (tst-strfmon_l.out): Require locales.
5023 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
5025         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: Skip
5026         if not in libc.
5027         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
5028         Likewise.
5029         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S:
5030         Likewise.
5031         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
5032         Likewise.
5034 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
5036         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
5037         (__mempcpy_erms, __memmove_erms): Moved before __mempcpy_chk
5038         with unaligned_erms.
5039         (__memmove_erms): Skip if source == destination.
5040         (__memmove_unaligned_erms): Don't check source == destination
5041         first.
5043 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
5045         * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
5046         bit_arch_Fast_Copy_Backward for Intel Core proessors.
5048 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5050         * string/strcspn.c (strcspn): Use PTR_ALIGN_DOWN.
5051         * string/strspn.c (strspn): Likewise.
5053 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
5055         * benchtests/bench-memset.c (do_test): Support 64-byte
5056         alignment.
5057         (test_main): Test 64-byte alignment.
5059 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
5061         * benchtests/bench-memmove.c (test_main): Test 64-byte
5062         alignment.
5064 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
5066         * benchtests/bench-memcpy.c (test_main): Test 64-byte alignment.
5068 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5070         * sysdeps/powerpc/powerpc64/strcspn.S: Remove file.
5071         * sysdeps/powerpc/powerpc64/strpbrk.S: Remove file.
5072         * sysdeps/powerpc/powerpc64/strspn.S: Remove file.
5074         * string/strpbrk.c (strpbrk): Rewrite function.
5075         * string/bits/string2.h (strpbrk): Use __builtin_strpbrk.
5076         (__strpbrk_c2): Likewise.
5077         (__strpbrk_c3): Likewise.
5078         * string/string-inlines.c
5079         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c2):
5080         Likewise.
5081         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c3):
5082         Likewise.
5084         * string/strspn.c (strcspn): Rewrite function.
5085         * string/bits/string2.h (strspn): Use __builtin_strcspn.
5086         (__strspn_c1): Remove inline function.
5087         (__strspn_c2): Likewise.
5088         (__strspn_c3): Likewise.
5089         * string/string-inlines.c
5090         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c1): Add
5091         compatibility symbol.
5092         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c2):
5093         Likewise.
5094         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c3):
5095         Likewise.
5096         * string/string-inlines.c: Include generic version.
5098 2016-04-01  Wilco Dijkstra  <wdijkstr@arm.com>
5099             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5101         * string/Version (libc): Add GLIBC_2.24.
5102         * string/strcspn.c (strcspn): Rewrite function.
5103         * string/bits/string2.h (strcspn): Use __builtin_strcspn.
5104         (__strcspn_c1): Remove inline function.
5105         (__strcspn_c2): Likewise.
5106         (__strcspn_c3): Likewise.
5107         * string/string-inline.c
5108         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c1): Add
5109         compatibility symbol.
5110         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c2):
5111         Likewise.
5112         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c3):
5113         Likewise.
5114         * sysdeps/i386/string-inlines.c: Include generic string-inlines.c.
5116 2016-04-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
5118         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
5119         Use ahi instead of aghi to adjust stack pointer.
5121 2016-03-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5123         [BZ #19853]
5124         * stdio-common/tst-sprintf3.c [TEST_N]: Refactor
5125         TEST to take significant digits as second parameter.
5126         [TEST]: Redefine in terms of TEST_N taking 30
5127         significant digits.
5128         (do_test): Add test case to demonstrate precision
5129         failure in the ldbl-128ibm printf.
5130         * sysdeps/ieee754/ldbl-128ibm/ldbl2pm.c:
5131         (__mpn_extract_long_double): Carry 7 extra intermediate
5132         bits of precision to aide computing difference when
5133         signs differ.
5135 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
5137         [BZ #19881]
5138         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
5139         memset-sse2-unaligned-erms, memset-avx2-unaligned-erms and
5140         memset-avx512-unaligned-erms.
5141         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
5142         (__libc_ifunc_impl_list): Test __memset_chk_sse2_unaligned,
5143         __memset_chk_sse2_unaligned_erms, __memset_chk_avx2_unaligned,
5144         __memset_chk_avx2_unaligned_erms, __memset_chk_avx512_unaligned,
5145         __memset_chk_avx512_unaligned_erms, __memset_sse2_unaligned,
5146         __memset_sse2_unaligned_erms, __memset_erms,
5147         __memset_avx2_unaligned, __memset_avx2_unaligned_erms,
5148         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
5149         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S: New
5150         file.
5151         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
5152         Likewise.
5153         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S:
5154         Likewise.
5155         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S:
5156         Likewise.
5158 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
5160         [BZ #19776]
5161         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
5162         memmove-sse2-unaligned-erms, memmove-avx-unaligned-erms and
5163         memmove-avx512-unaligned-erms.
5164         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
5165         (__libc_ifunc_impl_list): Test
5166         __memmove_chk_avx512_unaligned_2,
5167         __memmove_chk_avx512_unaligned_erms,
5168         __memmove_chk_avx_unaligned_2, __memmove_chk_avx_unaligned_erms,
5169         __memmove_chk_sse2_unaligned_2,
5170         __memmove_chk_sse2_unaligned_erms, __memmove_avx_unaligned_2,
5171         __memmove_avx_unaligned_erms, __memmove_avx512_unaligned_2,
5172         __memmove_avx512_unaligned_erms, __memmove_erms,
5173         __memmove_sse2_unaligned_2, __memmove_sse2_unaligned_erms,
5174         __memcpy_chk_avx512_unaligned_2,
5175         __memcpy_chk_avx512_unaligned_erms,
5176         __memcpy_chk_avx_unaligned_2, __memcpy_chk_avx_unaligned_erms,
5177         __memcpy_chk_sse2_unaligned_2, __memcpy_chk_sse2_unaligned_erms,
5178         __memcpy_avx_unaligned_2, __memcpy_avx_unaligned_erms,
5179         __memcpy_avx512_unaligned_2, __memcpy_avx512_unaligned_erms,
5180         __memcpy_sse2_unaligned_2, __memcpy_sse2_unaligned_erms,
5181         __memcpy_erms, __mempcpy_chk_avx512_unaligned_2,
5182         __mempcpy_chk_avx512_unaligned_erms,
5183         __mempcpy_chk_avx_unaligned_2, __mempcpy_chk_avx_unaligned_erms,
5184         __mempcpy_chk_sse2_unaligned_2, __mempcpy_chk_sse2_unaligned_erms,
5185         __mempcpy_avx512_unaligned_2, __mempcpy_avx512_unaligned_erms,
5186         __mempcpy_avx_unaligned_2, __mempcpy_avx_unaligned_erms,
5187         __mempcpy_sse2_unaligned_2, __mempcpy_sse2_unaligned_erms and
5188         __mempcpy_erms.
5189         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: New
5190         file.
5191         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
5192         Likwise.
5193         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
5194         Likwise.
5195         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
5196         Likwise.
5198 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
5200         * sysdeps/s390/bits/link.h: (La_s390_vr) New typedef.
5201         (La_s390_32_regs): Append vector register lr_v24-lr_v31.
5202         (La_s390_64_regs): Likewise.
5203         (La_s390_32_retval): Append vector register lrv_v24.
5204         (La_s390_64_retval): Likeweise.
5205         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
5206         Handle extended structs La_s390_32_regs and La_s390_32_retval.
5207         * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
5208         Handle extended structs La_s390_64_regs and La_s390_64_retval.
5210 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
5212         [BZ #19916]
5213         * sysdeps/s390/s390-32/dl-trampoline.S: Include dl-trampoline.h twice
5214         to create a non-vector/vector version for _dl_runtime_resolve and
5215         _dl_runtime_profile. Move implementation to ...
5216         * sysdeps/s390/s390-32/dl-trampoline.h: ... here.
5217         (_dl_runtime_resolve) Save and restore fpr/vrs.
5218         (_dl_runtime_profile) Save and restore vrs and fix some issues
5219         if _dl_call_pltexit is called.
5220         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup):
5221         Choose the correct resolver function if running on a machine with vx.
5222         * sysdeps/s390/s390-64/dl-trampoline.S: Include dl-trampoline.h twice
5223         to create a non-vector/vector version for _dl_runtime_resolve and
5224         _dl_runtime_profile. Move implementation to ...
5225         * sysdeps/s390/s390-64/dl-trampoline.h: ... here.
5226         (_dl_runtime_resolve) Save and restore fpr/vrs.
5227         (_dl_runtime_profile) Save and restore vrs and fix some issues
5228         * sysdeps/s390/s390-64/dl-machine.h: (elf_machine_runtime_setup):
5229         Choose the correct resolver function if running on a machine with vx.
5231 2016-03-31  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5233         * elf/tst-dlsym-error.c: Include <string.h> for strchrnul.
5235 2016-03-31  Florian Weimer  <fweimer@redhat.com>
5237         [BZ #19509]
5238         * elf/dl-lookup.c (_dl_lookup_symbol_x): Report error even if
5239         skip_map != NULL.
5240         * elf/tst-dlsym-error.c: New file.
5241         * elf/Makefile (tests): Add tst-dlsym-error.
5242         (tst-dlsym-error): Link against libdl.
5244 2016-03-29  Joseph Myers  <joseph@codesourcery.com>
5246         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5247         (__ASSUME_FUTIMESAT): Remove macro.
5248         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: Remove file.
5250 2016-03-29  Florian Weimer  <fweimer@redhat.com>
5252         [BZ #19879]
5253         CVE-2016-3075
5254         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Do not
5255         copy name.
5257 2016-03-29  Florian Weimer  <fweimer@redhat.com>
5259         [BZ #19837]
5260         * nss/nss_db/db-XXX.c (_nss_db_getENTNAME_r): Propagate ERANGE
5261         error if parse_line fails.
5263 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
5265         * sysdeps/x86/cpu-features.h (bit_cpu_ERMS): New.
5266         (index_cpu_ERMS): Likewise.
5267         (reg_ERMS): Likewise.
5269 2016-03-28  Aurelien Jarno  <aurelien@aurel32.net>
5271         * sysdeps/unix/sysv/linux/sys/personality.h (UNAME26, FDPIC_FUNCPTRS,
5272         PER_LINUX_FDPIC): Add.
5274 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
5276         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
5277         memcpy-avx512-no-vzeroupper.
5278         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: Renamed
5279         to ...
5280         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: This.
5281         (MEMCPY): Don't define.
5282         (MEMCPY_CHK): Likewise.
5283         (MEMPCPY): Likewise.
5284         (MEMPCPY_CHK): Likewise.
5285         (MEMPCPY_CHK): Renamed to ...
5286         (__mempcpy_chk_avx512_no_vzeroupper): This.
5287         (MEMPCPY_CHK): Renamed to ...
5288         (__mempcpy_chk_avx512_no_vzeroupper): This.
5289         (MEMCPY_CHK): Renamed to ...
5290         (__memmove_chk_avx512_no_vzeroupper): This.
5291         (MEMCPY): Renamed to ...
5292         (__memmove_avx512_no_vzeroupper): This.
5293         (__memcpy_avx512_no_vzeroupper): New alias.
5294         (__memcpy_chk_avx512_no_vzeroupper): Likewise.
5296 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
5298         [BZ #18858]
5299         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
5300         mempcpy-ssse3, mempcpy-ssse3-back, mempcpy-avx-unaligned
5301         and mempcpy-avx512-no-vzeroupper.
5302         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMPCPY_CHK):
5303         New.
5304         (MEMPCPY): Likewise.
5305         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S
5306         (MEMPCPY_CHK): New.
5307         (MEMPCPY): Likewise.
5308         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S (MEMPCPY_CHK): New.
5309         (MEMPCPY): Likewise.
5310         * sysdeps/x86_64/multiarch/memcpy-ssse3.S (MEMPCPY_CHK): New.
5311         (MEMPCPY): Likewise.
5312         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: Removed.
5313         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S:
5314         Likewise.
5315         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: Likewise.
5316         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: Likewise.
5318 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
5319              Amit Pawar  <Amit.Pawar@amd.com>
5321         [BZ #19583]
5322         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
5323         Fast_Unaligned_Copy with Fast_Unaligned_Load for Intel
5324         processors.  Set Fast_Copy_Backward for AMD Excavator
5325         processors.
5326         * sysdeps/x86/cpu-features.h (bit_arch_Fast_Unaligned_Copy):
5327         New.
5328         (index_arch_Fast_Unaligned_Copy): Likewise.
5329         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check
5330         Fast_Unaligned_Copy instead of Fast_Unaligned_Load.
5332 2016-03-25  Florian Weimer  <fweimer@redhat.com>
5334         [BZ #19791]
5335         * resolv/res_send.c (close_and_return_error): New function.
5336         (send_dg): Initialize *resplen2 after reopen failure.  Call
5337         close_and_return_error for error returns.  On error paths without
5338         __res_iclose, initialze *resplen2 explicitly.  Update comment for
5339         successful return.
5341 2016-03-25  Florian Weimer  <fweimer@redhat.com>
5343         [BZ# 19860]
5344         * sysdeps/x86_64/tst-audit10.c (avx512_enabled): Always return
5345         zero if the compiler does not provide the AVX512F bit.
5347 2016-03-24  Joseph Myers  <joseph@codesourcery.com>
5349         [BZ #19848]
5350         * sysdeps/i386/fpu/e_powl.S (p3): Rename to p2 and change value
5351         from 8 to 4.
5352         (__ieee754_powl): Compare integer exponent against 4 not 8.
5353         * sysdeps/x86_64/fpu/e_powl.S (p3): Rename to p2 and change value
5354         from 8 to 4.
5355         (__ieee754_powl): Compare integer exponent against 4 not 8.
5356         * math/auto-libm-test-in: Add more tests of pow.
5357         * math/auto-libm-test-out: Regenerated.
5358         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
5359         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5361 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
5363         * sysdeps/unix/sysv/linux/futimens.c (futimens) [__NR_utimensat]:
5364         Make code unconditional.
5365         [!__NR_utimensat]: Remove conditional code.
5366         * sysdeps/unix/sysv/linux/lutimes.c (lutimes) [__NR_utimensat]:
5367         Make code unconditional.
5368         [!__NR_utimensat]: Remove conditional code.
5369         * sysdeps/unix/sysv/linux/utimensat.c (utimensat) [__NR_utimensat]:
5370         Make code unconditional.
5371         [!__NR_utimensat]: Remove conditional code.
5373 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
5375         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64) [__NR_openat]:
5376         Make code unconditional.
5378 2016-03-23  Nick Alcock  <nick.alcock@oracle.com>
5380         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Reload
5381         call-clobbered %eax on retry path.
5382         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
5384 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
5386         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMCPY):
5387         Don't set %rcx twice before "rep movsb".
5389 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
5391         [BZ #19583]
5392         * sysdeps/x86/cpu-features.c (get_common_indeces): Remove
5393         inline.  Check family before setting family, model and
5394         extended_model.  Set AVX, AVX2, AVX512, FMA and FMA4 usable
5395         bits here.
5396         (init_cpu_features): Replace HAS_CPU_FEATURE and
5397         HAS_ARCH_FEATURE with CPU_FEATURES_CPU_P and
5398         CPU_FEATURES_ARCH_P.  Set index_arch_AVX_Fast_Unaligned_Load
5399         for Intel processors with usable AVX2.  Call get_common_indeces
5400         for other processors with family == NULL.
5401         * sysdeps/x86/cpu-features.h (CPU_FEATURES_CPU_P): New macro.
5402         (CPU_FEATURES_ARCH_P): Likewise.
5403         (HAS_CPU_FEATURE): Use CPU_FEATURES_CPU_P.
5404         (HAS_ARCH_FEATURE): Use CPU_FEATURES_ARCH_P.
5406 2016-03-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5408         * malloc/Makefile ($(objpfx)tst-malloc-backtrace,
5409         $(objpfx)tst-malloc-thread-exit, $(objpfx)tst-malloc-thread-fail): Use
5410         $(shared-thread-library) instead of hardcoding the path to libpthread.
5412 2016-03-22  Joseph Myers  <joseph@codesourcery.com>
5414         * sysdeps/unix/sysv/linux/kernel-features.h
5415         (__ASSUME_GETDENTS64_SYSCALL): Remove macro.
5416         * sysdeps/unix/sysv/linux/getdents.c
5417         [!__ASSUME_GETDENTS64_SYSCALL]: Remove conditional code.
5418         [!have_no_getdents64_defined]: Likewise.
5419         (__GETDENTS): Remove __have_no_getdents64 conditional.
5421 2016-03-21  Joseph Myers  <joseph@codesourcery.com>
5423         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SIGNALFD4):
5424         Remove macro.
5425         * sysdeps/unix/sysv/linux/signalfd.c: Do not include
5426         <kernel-features.h>.
5427         (signalfd) [__NR_signalfd4]: Make code unconditional.
5428         (signalfd) [!__ASSUME_SIGNALFD4]: Remove conditional code.
5430 2016-03-21  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5432         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix implict checks
5433         style.
5435 2016-03-21  H.J. Lu  <hongjiu.lu@intel.com>
5437         * sysdeps/unix/sysv/linux/x86_64/cancellation.S
5438         (__pthread_enable_asynccancel): Use JUMPTARGET to call
5439         __pthread_unwind.
5440         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
5441         (__condvar_cleanup2): Use JUMPTARGET to call _Unwind_Resume.
5442         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
5443         (__condvar_cleanup1): Likewise.
5445 2016-03-21  Dylan Alex Simon  <dylan-sourceware@dylex.net>
5447         [BZ #19822]
5448         * math/Makefile ($(inst_libdir)/libm.so): Write output to $@.tmp and
5449         move it to the final $@ location.
5451 2016-03-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5453         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix invalid memory
5454         access where posix_spawn success and pid argument is null.
5455         * posix/tst-spawn.c (do_test): Add posix_spawn null pid argument for
5456         success case.
5458 2016-03-20  Samuel Thibault  <samuel.thibault@ens-lyon.org>:
5460         * sysdeps/mach/hurd/i386/c++-types.data: New file.
5462         * sysdeps/mach/hurd/libc-lock.h (_IO_lock_inexpensive): Define to 1.
5464         * sysdeps/generic/dl-fcntl.h: New file, adds attribute_hidden to __open
5465         and __fcntl.
5466         * sysdeps/mach/hurd/dl-fcntl.h: New file, adds attribute_hidden to
5467         __fcntl only.
5468         * include/fcntl.h [IS_IN (rtld)]: Include <dl-fcntl.h> instead of
5469         adding attribute_hidden to __open and __fcntl.
5471         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Strip
5472         "-include $(common-objpfx)libc-modules.h" from CPPFLAGS, and do not
5473         depend on libc-modules.h,
5474         * mach/Makefile ($(objpfx)mach-syscalls.mk): Depend on libc-modules.h.
5476 2016-03-17  Joseph Myers  <joseph@codesourcery.com>
5478         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EVENTFD2):
5479         Remove macro.
5480         * sysdeps/unix/sysv/linux/eventfd.c: Remove file.
5481         * sysdeps/unix/sysv/linux/syscalls.list (eventfd): New syscall
5482         entry.
5484         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FALLOCATE):
5485         Remove macro.
5486         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Do not
5487         include <kernel-features.h>.
5488         [!__ASSUME_FALLOCATE]: Remove conditional code.
5489         (posix_fallocate) [__NR_fallocate]: Make code unconditional.
5491 2016-03-16  H.J. Lu  <hongjiu.lu@intel.com>
5493         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S
5494         (_ZGVbN2v_cos_sse4): Use JUMPTARGET to call cos.
5495         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S
5496         (_ZGVdN4v_cos_avx2): Likewise.
5497         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S
5498         (_ZGVdN4v_cos): Likewise.
5499         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S
5500         (_ZGVbN2v_exp_sse4): Use JUMPTARGET to call exp.
5501         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S
5502         (_ZGVdN4v_exp_avx2): Likewise.
5503         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S
5504         (_ZGVdN4v_exp): Likewise.
5505         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S
5506         (_ZGVbN2v_log_sse4): Use JUMPTARGET to call log.
5507         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S
5508         (_ZGVdN4v_log_avx2): Likewise.
5509         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S
5510         (_ZGVdN4v_log): Likewise.
5511         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S
5512         (_ZGVbN2vv_pow_sse4): Use JUMPTARGET to call pow.
5513         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S
5514         (_ZGVdN4vv_pow_avx2): Likewise.
5515         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S
5516         (_ZGVdN4vv_pow): Likewise.
5517         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S
5518         (_ZGVbN2v_sin_sse4): Use JUMPTARGET to call sin.
5519         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S
5520         (_ZGVdN4v_sin_avx2): Likewise.
5521         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S
5522         (_ZGVdN4v_sin): Likewise.
5523         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S
5524         (_ZGVbN2vvv_sincos_sse4): Use JUMPTARGET to call sin and cos.
5525         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S
5526         (_ZGVdN4vvv_sincos_avx2): Likewise.
5527         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S
5528         (_ZGVdN4vvv_sincos): Likewise.
5529         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S
5530         (_ZGVdN8v_cosf): Use JUMPTARGET to call cosf.
5531         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S
5532         (_ZGVbN4v_cosf_sse4): Likewise.
5533         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S
5534         (_ZGVdN8v_cosf_avx2): Likewise.
5535         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S
5536         (_ZGVdN8v_expf): Use JUMPTARGET to call expf.
5537         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S
5538         (_ZGVbN4v_expf_sse4): Likewise.
5539         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S
5540         (_ZGVdN8v_expf_avx2): Likewise.
5541         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S
5542         (_ZGVdN8v_logf): Use JUMPTARGET to call logf.
5543         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S
5544         (_ZGVbN4v_logf_sse4): Likewise.
5545         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S
5546         (_ZGVdN8v_logf_avx2): Likewise.
5547         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S
5548         (_ZGVdN8vv_powf): Use JUMPTARGET to call powf.
5549         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S
5550         (_ZGVbN4vv_powf_sse4): Likewise.
5551         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S
5552         (_ZGVdN8vv_powf_avx2): Likewise.
5553         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
5554         (_ZGVdN8vv_powf): Use JUMPTARGET to call sinf and cosf.
5555         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
5556         (_ZGVbN4vvv_sincosf_sse4): Likewise.
5557         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
5558         (_ZGVdN8vvv_sincosf_avx2): Likewise.
5559         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S
5560         (_ZGVdN8v_sinf): Use JUMPTARGET to call sinf.
5561         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S
5562         (_ZGVbN4v_sinf_sse4): Likewise.
5563         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S
5564         (_ZGVdN8v_sinf_avx2): Likewise.
5565         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h (WRAPPER_IMPL_SSE2):
5566         Use JUMPTARGET to call callee.
5567         (WRAPPER_IMPL_SSE2_ff): Likewise.
5568         (WRAPPER_IMPL_SSE2_fFF): Likewise.
5569         (WRAPPER_IMPL_AVX): Likewise.
5570         (WRAPPER_IMPL_AVX_ff): Likewise.
5571         (WRAPPER_IMPL_AVX_fFF): Likewise.
5572         (WRAPPER_IMPL_AVX512): Likewise.
5573         (WRAPPER_IMPL_AVX512_ff): Likewise.
5574         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h (WRAPPER_IMPL_SSE2):
5575         Likewise.
5576         (WRAPPER_IMPL_SSE2_ff): Likewise.
5577         (WRAPPER_IMPL_SSE2_fFF): Likewise.
5578         (WRAPPER_IMPL_AVX): Likewise.
5579         (WRAPPER_IMPL_AVX_ff): Likewise.
5580         (WRAPPER_IMPL_AVX_fFF): Likewise.
5581         (WRAPPER_IMPL_AVX512): Likewise.
5582         (WRAPPER_IMPL_AVX512_ff): Likewise.
5583         (WRAPPER_IMPL_AVX512_fFF): Likewise.
5585 2016-03-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5587         * sysdeps/mach/hurd/openat.c (__openat): Add missing ellipsis.
5588         * resolv/gai_sigqueue.c (__gai_sigqueue): Add missing internal_function
5589         qualifier.
5590         * /rt/aio_sigqueue.c (__aio_sigqueue): Add missing attribute_hidden
5591         internal_function qualifiers.
5593 2016-03-15  Carlos O'Donell <carlos@redhat.com>
5595         * catgets/tst-catgets.c (do_bz17905): Mark result unused.
5596         * dlfcn/bug-dl-leaf-lib.c (check_val_fini): Mark ret unused.
5597         * math/atest-exp.c (exp_mpn): Mark chk unused.
5598         * math/atest-exp2.c (exp_mpn): Likwise.
5599         * sysdeps/arm/dl-machine.h (elf_machine_rela): Mark td unused.
5600         * sysdeps/i386/i686/dl-hash.h: Mark _dl_elf_hash unused.
5602 2016-03-15  Joseph Myers  <joseph@codesourcery.com>
5604         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PPOLL):
5605         Remove macro.
5606         * sysdeps/unix/sysv/linux/ppoll.c: Do not include
5607         <kernel-features.h>.
5608         [__NR_ppoll]: Make code unconditional.
5609         [!__ASSUME_PPOLL]: Remove conditional code.
5611         * sysdeps/unix/sysv/linux/kernel-features.h
5612         (__ASSUME_ACCEPT4_SYSCALL): Define unconditionally.
5613         (__ASSUME_ACCEPT4): Likewise.
5614         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
5615         Define.
5616         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG):
5617         Likewise.
5618         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
5619         Likewise.
5620         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG):
5621         Likewise.
5622         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: Remove file.
5623         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: Likewise.
5624         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
5625         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
5626         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
5627         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
5628         * sysdeps/unix/sysv/linux/arm/kernel-features.h
5629         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
5630         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
5631         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
5632         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
5633         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
5634         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
5635         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
5636         * sysdeps/unix/sysv/linux/i386/kernel-features.h
5637         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
5638         Likewise.
5639         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
5640         Likewise.
5641         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
5642         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
5643         0x040300].
5644         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
5645         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
5646         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
5647         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
5648         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
5649         0x030300].
5650         [__LINUX_KERNEL_VERSION < 0x030300] (__ASSUME_ACCEPT4): Undefine.
5651         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
5652         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
5653         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
5654         0x040300].
5655         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
5656         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
5657         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5658         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
5659         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
5660         (__ASSUME_SENDMMSG_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
5661         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
5662         0x030300].
5663         * sysdeps/unix/sysv/linux/mips/kernel-features.h
5664         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
5665         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
5666         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
5667         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
5668         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
5669         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
5670         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
5671         * sysdeps/unix/sysv/linux/s390/kernel-features.h
5672         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
5673         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
5674         0x040300].
5675         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
5676         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
5677         * sysdeps/unix/sysv/linux/sh/kernel-features.h
5678         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
5679         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
5680         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
5681         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
5682         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
5683         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
5684         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
5685         * sysdeps/unix/sysv/linux/tile/kernel-features.h
5686         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
5687         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
5688         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
5689         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h
5690         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
5691         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
5692         Likewise.
5693         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
5694         Likewise.
5696 2016-03-15  Andreas Schwab  <schwab@suse.de>
5698         [BZ #19257]
5699         * resolv/res_init.c (__res_iclose): Use statp->nscount instead of
5700         statp->_u._ext.nscount as loop count.
5702 2016-03-14  Andreas Schwab  <schwab@linux-m68k.org>
5704         * math/test-signgam-finite-c99.c: Also #undef
5705         __LIBC_INTERNAL_MATH_INLINES.
5706         * math/test-signgam-main.c: Likewise.
5708 2016-03-14  Joseph Myers  <joseph@codesourcery.com>
5710         * bits/mman-linux.h [__USE_MISC] (MADV_FREE): New macro.
5711         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
5712         (MADV_FREE): Likewise.
5713         * sysdeps/unix/sysv/linux/bits/in.h (IPV6_HDRINCL): Likewise.
5714         * sysdeps/unix/sysv/linux/sys/epoll.h (enum EPOLL_EVENTS): Add
5715         EPOLLEXCLUSIVE.
5717 2016-03-14  Carlos O'Donell  <carlos@redhat.com>
5719         * timezone/README: Remove mention of checktab.awk. Mention wiki
5720         SharedSourceFiles.
5722 2016-03-13  Samuel Thibault  <samuel.thibault@ens-lyon.org
5724         * sysdeps/posix/waitid.c (OUR_WAITID): Test against WSTOPPED instead of
5725         WUNTRACED.
5727 2016-03-11  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
5729         * malloc/malloc.c (malloc_consolidate): Replace 0 by NULL in
5730         order to match the type of p when calling atomic_exchange_acq().
5732 2016-03-11  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
5734         * sysdeps/powerpc/powerpc32/power4/memcmp.S (memcmp): Rearrange
5735         cfi_offset calls.
5736         * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
5737         * sysdeps/powerpc/powerpc32/power7/memcmp.S (memcmp): Likewise.
5738         * sysdeps/powerpc/powerpc64/power4/memcmp.S (memcmp): Likewise.
5739         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Likewise.
5740         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Likewise.
5742 2016-03-10  Carlos O'Donell  <carlos@redhat.com>
5744         * timezone/checktab.awk: Removed.
5746 2016-03-10  Joseph Myers  <joseph@codesourcery.com>
5748         * manual/math.texi (Errors in Math Functions): Document relaxed
5749         accuracy goals for IBM long double.
5750         * math/libm-test.inc (test_exceptions): Always allow spurious
5751         "underflow" and "inexact" exceptions for IBM long double.
5753 2016-03-10  H.J. Lu  <hongjiu.lu@intel.com>
5755         [BZ #19762]
5756         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
5757         (EXTRA_LD_ENVVARS): Add _arch_ to index_*/bit_*.
5758         * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
5759         * sysdeps/x86/cpu-features.h (bit_*): Renamed to ...
5760         (bit_arch_*): This for feature array.
5761         (bit_*): Renamed to ...
5762         (bit_cpu_*): This for cpu array.
5763         (index_*): Renamed to ...
5764         (index_arch_*): This for feature array.
5765         (index_*): Renamed to ...
5766         (index_cpu_*): This for cpu array.
5767         [__ASSEMBLER__] (HAS_FEATURE): Add and use field.
5768         [__ASSEMBLER__] (HAS_CPU_FEATURE)): Pass cpu to HAS_FEATURE.
5769         [__ASSEMBLER__] (HAS_ARCH_FEATURE)): Pass arch to HAS_FEATURE.
5770         [!__ASSEMBLER__] (HAS_CPU_FEATURE): Replace index_##name and
5771         bit_##name with index_cpu_##name and bit_cpu_##name.
5772         [!__ASSEMBLER__] (HAS_ARCH_FEATURE): Replace index_##name and
5773         bit_##name with index_arch_##name and bit_arch_##name.
5775 2016-03-09  Aurelien Jarno  <aurelien@aurel32.net>
5777         [BZ #19792]
5778         * sysdeps/unix/sysv/linux/mips/makecontext.S (__makecontext):
5779         Terminate FDE before return label.
5781 2016-03-09  Joseph Myers  <joseph@codesourcery.com>
5783         [BZ #19790]
5784         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c [USE_AS_NEARBYINTL]
5785         (rintl): Define as macro.
5786         [USE_AS_NEARBYINTL] (__rintl): Likewise.
5787         (__rintl) [USE_AS_NEARBYINTL]: Use SET_RESTORE_ROUND_NOEX instead
5788         of fesetround.  Ensure results are evaluated before end of scope.
5789         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Define
5790         USE_AS_NEARBYINTL and include s_rintl.c.
5791         * sysdeps/powerpc/fpu/fenv_private.h (libc_feholdsetround_ppc):
5792         Disable exception traps in new environment.
5793         (libc_feholdsetround_ppc_ctx): Likewise.
5795 2016-03-08  Roland McGrath  <roland@hack.frob.com>
5797         * sysdeps/x86_64/tst-audit10.c: #include <cpu-features.h>.
5798         * sysdeps/x86_64/tst-audit10-aux.c: Move audit_test extern decl ...
5799         (tst_audit10_aux) [__AVX512F__]: ... here.
5801 2016-03-08  Aurelien Jarno  <aurelien@aurel32.net>
5803         * include/sys/auxv.h: New file.
5805 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
5807         [BZ #19759]
5808         * sysdeps/x86/bits/string.h (_HAVE_STRING_ARCH_mempcpy): New.
5810 2016-03-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
5812         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Remove use of %s
5813         operand modifier.
5814         (feclearexcept): Likewise.
5816 2016-03-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
5818         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Updated
5819         to reflect the entire 32-bit HWCAP.
5820         * sysdeps/powerpc/dl-procinfo.h: Code cleanup.
5821         (_DL_HWCAP_FIRST): Removed.  Replaced by 0 accordingly.
5823 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
5825         [BZ #19783]
5826         * benchtests/Makefile (run-bench): Replace $(rtld-prefix) with
5827         $(test-via-rtld-prefix).
5828         ($(binaries-bench)): Replace $(+link) with $(+link-tests).
5830 2016-03-08  Florian Weimer  <fweimer@redhat.com>
5832         * sunrpc/key_call.c (key_call_keyenvoy): Use int status instead of
5833         union wait.  Report any non-zero exit status as error.
5835 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5837         * posix/tst-execvpe5.c (do_test): Fix fix test invocation when
5838         configured with --enable-hardcoded-path-in-tests.
5840 2016-03-08  Joseph Myers  <joseph@codesourcery.com>
5842         [BZ #19677]
5843         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
5844         (__ieee754_remainderl): Put zero low parts in canonical form.
5845         * sysdeps/ieee754/ldbl-128ibm/test-fmodrem-ldbl-128ibm.c: New
5846         file.  Based on
5847         sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c.
5848         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: Replace
5849         with wrapper round test-fmodrem-ldbl-128ibm.c.
5850         * sysdeps/ieee754/ldbl-128ibm/test-remainderl-ldbl-128ibm.c: New
5851         file.
5852         * sysdeps/ieee754/ldbl-128ibm/test-remquol-ldbl-128ibm.c:
5853         Likewise.
5854         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
5855         test-remainderl-ldbl-128ibm and test-remquol-ldbl-128ibm.
5857 2016-03-07  Florian Weimer  <fweimer@redhat.com>
5859         [BZ #19610]
5860         * elf/ldconfig.c (opt_link): Update comment.
5861         (options): Update help string for option -X.
5862         (search_dir): Unlink stale symbolic link only if updating symbolic
5863         links.
5864         * elf/tst-ldconfig-X.sh: New file.
5865         * elf/Makefile (tests-special): Add tst-ldconfig-X.out.
5866         (tst-ldconfig-X.out): New rule to run tst-ldconfig-X.sh.
5868 2016-03-07  Andreas Schwab  <schwab@suse.de>
5870         * iconv/gconv_builtin.h ("=ascii->INTERNAL"): Correct min/max
5871         needed arguments.
5873 2016-03-07  Hongjiu Zhang  <noctuorare@gmail.com>
5875         [BZ #15333]
5876         * elf/sln.c (makesymlink): Change struct stat to stat64, and lstat
5877         to lstat64.
5879 2016-03-07  Florian Weimer  <fweimer@redhat.com>
5881         * libio/filedoalloc.c (isatty): Remove.
5882         (local_isatty): Add comment.  Call __isatty directly.
5883         (_IO_file_doallocate): Update comment.  Assume _LIBC.
5884         * libio/wfiledoalloc.c (isatty): Remove.
5885         (_IO_wfile_doallocate): Update comment.
5887 2016-03-07  Florian Weimer  <fweimer@redhat.com>
5889         [BZ #19269]
5890         * sysdeps/x86_64/Makefile (tst-audit4): Depend on
5891         tst-audit4-aux.o.
5892         (tst-audit10): Depend on tst-audit10-aux.o.
5893         (CFLAGS-tst-audit4-aux.c): Compile with AVX enabled.
5894         (CFLAGS-tst-audit10-aux.c): Compile with AVX512 enabled.
5895         * sysdeps/x86_64/tst-audit4.c (do_test): Call tst_audit4_aux
5896         instead of inline AVX code.
5897         * sysdeps/x86_64/tst-audit10.c (do_test): Call tst_audit10_aux
5898         instead of inline AVX512 code.
5899         * sysdeps/x86_64/tst-audit4-aux.c: New file
5900         * sysdeps/x86_64/tst-audit10-aux.c: New file
5902         [BZ #19648]
5903         * test-skeleton.c (main): Do not set RLIMIT_DATA.
5905 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5907         [BZ #14750]
5908         [BZ #10354]
5909         [BZ #18433]
5910         * include/sched.h (__clone): Add hidden prototype.
5911         (__clone2): Likewise.
5912         * include/unistd.h (__dup): Likewise.
5913         * posix/Makefile (tests): Add tst-spawn2.
5914         * posix/tst-spawn2.c: New file.
5915         * sysdeps/posix/dup.c (__dup): Add hidden definition.
5916         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Likewise.
5917         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
5918         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
5919         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
5920         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
5921         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise.
5922         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
5923         * sysdeps/unix/sysv/linux/microblaze/clone.S (__clone): Likewise.
5924         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
5925         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
5926         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
5927         Likewise.
5928         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
5929         Likewise.
5930         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
5931         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
5932         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
5933         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
5934         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
5935         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
5936         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
5937         * sysdeps/unix/sysv/linux/nptl-signals.h
5938         (____nptl_is_internal_signal): New function.
5939         * sysdeps/unix/sysv/linux/spawni.c: New file.
5941         * posix/execvpe.c (__execvpe): Remove dynamic allocation.
5942         * posix/Makefile (tests): Add tst-execvpe{1,2,3,4,5,6}.
5943         * posix/tst-execvp1.c (do_test): Use a macro to call execvp.
5944         * posix/tst-execvp2.c (do_test): Likewise.
5945         * posix/tst-execvp3.c (do_test): Likewise.
5946         * posix/tst-execvp4.c (do_test): Likewise.
5947         * posix/tst-execvpe1.c: New file.
5948         * posix/tst-execvpe2.c: Likewise.
5949         * posix/tst-execvpe3.c: Likewise.
5950         * posix/tst-execvpe4.c: Likewise.
5951         * posix/tst-execvpe5.c: Likewise.
5952         * posix/tst-execvpe6.c: Likewise.
5954         [BZ #19534]
5955         * posix/execl.c (execl): Remove dynamic memory allocation.
5956         * posix/execle.c (execle): Likewise.
5957         * posix/execlp.c (execlp): Likewise.
5959 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
5961         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S:
5962         Replace .text with .text.avx512.
5963         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
5964         Likewise.
5966 2016-03-07  Aurelien Jarno  <aurelien@aurel32.net>
5968         * sysdeps/generic/libnsl.abilist: New file.
5969         * sysdeps/generic/libutil.abilist: New file.
5971 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
5973         [BZ #19762]
5974         * sysdeps/i386/i686/multiarch/bcopy.S (bcopy): Use
5975         HAS_ARCH_FEATURE with Fast_Rep_String.
5976         * sysdeps/i386/i686/multiarch/bzero.S (__bzero): Likewise.
5977         * sysdeps/i386/i686/multiarch/memcpy.S (memcpy): Likewise.
5978         * sysdeps/i386/i686/multiarch/memcpy_chk.S (__memcpy_chk):
5979         Likewise.
5980         * sysdeps/i386/i686/multiarch/memmove_chk.S (__memmove_chk):
5981         Likewise.
5982         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy): Likewise.
5983         * sysdeps/i386/i686/multiarch/mempcpy_chk.S (__mempcpy_chk):
5984         Likewise.
5985         * sysdeps/i386/i686/multiarch/memset.S (memset): Likewise.
5986         * sysdeps/i386/i686/multiarch/memset_chk.S (__memset_chk):
5987         Likewise.
5989 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
5991         [BZ #19745]
5992         * sysdeps/x86_64/crti.S (_init): Replace PREINIT_FUNCTION@PLT
5993         with *%rax in call.
5995 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
5997         [BZ #19745]
5998         * sysdeps/x86_64/start.S (_start): Replace __libc_start_main@PLT
5999         with *__libc_start_main@GOTPCREL(%rip) in call.
6001 2016-03-04  Roland McGrath  <roland@hack.frob.com>
6003         * Makefile (tests-special): Add $(objpfx)c++-types-check.out only
6004         inside conditional for nonempty $(CXX).
6006         * math/Makefile (tests): Add test-math-isinff only if $(CXX) is
6007         nonempty.
6009         * Makefile ($(objpfx)c++-types-check.out): Fix conditionalization
6010         to test for empty $(CXX) rather than $(CXX) of "no".
6012 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
6014         * sysdeps/x86_64/Makefile (sysdep_noprof): Add comments.
6016 2016-03-04  Amit Pawar  <Amit.Pawar@amd.com>
6017             H.J. Lu  <hongjiu.lu@intel.com>
6019         [BZ #18880]
6020         * sysdeps/x86_64/multiarch/memcpy.S: Check Fast_Unaligned_Load,
6021         instead of Slow_BSF, and also check for Fast_Copy_Backward to
6022         enable __memcpy_ssse3_back.
6024 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
6026         [BZ #19758]
6027         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
6028         (EXTRA_LD_ENVVARS): Or in bit_Prefer_MAP_32BIT_EXEC.
6030 2016-03-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
6032         [BZ #19490]
6033         * sysdeps/x86_64/_mcount.S (_mcount): Add unwind descriptor.
6034         (__fentry__): Likewise.
6036 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
6038         * gmon/Makefile (noprof): Add $(sysdep_noprof).
6039         * sysdeps/x86_64/Makefile (sysdep_noprof): Add _mcount.
6041 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
6043         * sysdeps/x86_64/_mcount.S (C_LABEL(_mcount)): Call
6044         __mcount_internal directly.
6045         (C_LABEL(__fentry__)): Likewise.
6046         * sysdeps/x86_64/setjmp.S __sigsetjmp): Call __sigjmp_save
6047         directly.
6049 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
6051         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
6052         (__start_context): Call __setcontext directly.
6054 2016-02-26  Joseph Myers  <joseph@codesourcery.com>
6056         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
6057         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
6058         [__LINUX_KERNEL_VERSION >= 0x030200]: Likewise.
6059         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
6060         * sysdeps/unix/sysv/linux/arm/kernel-features.h
6061         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
6062         [__LINUX_KERNEL_VERSION >= 0x020624]: Likewise.
6063         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
6064         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
6065         [__LINUX_KERNEL_VERSION >= 0x020622]: Likewise.
6066         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
6067         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
6068         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
6069         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
6070         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
6071         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
6072         [__LINUX_KERNEL_VERSION < 0x030000]: Remove conditional code.
6073         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6074         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
6075         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
6076         [__LINUX_KERNEL_VERSION < 0x020625]: Likewise.
6077         * sysdeps/unix/sysv/linux/mips/kernel-features.h
6078         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
6079         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
6080         [_MIPS_SIM == _ABIN32 && __LINUX_KERNEL_VERSION < 0x020623]:
6081         Remove conditional code.
6082         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
6083         [__LINUX_KERNEL_VERSION >= 0x020625]: Make code unconditional.
6084         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
6085         * sysdeps/unix/sysv/linux/sh/kernel-features.h
6086         [__LINUX_KERNEL_VERSION >= 0x020625]: Likewise.
6087         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
6088         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
6089         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
6090         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
6091         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
6092         * sysdeps/unix/sysv/linux/tile/kernel-features.h
6093         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
6095 2016-02-24  Marko Myllynen  <myllynen@redhat.com>
6097         * NEWS (2.23): Fix typo in bug 19048 text.
6099 2016-02-24  Carlos O'Donell  <carlos@redhat.com>
6101         [BZ #14259]
6102         * Makeconfig: Rename msgcatdir to localedir.
6103         Rename inst_msgcatdir to inst_localedir.
6104         * catgets/Makefile (catgets-CPPFLAGS): Use localedir.
6105         * config.make.in: Add localedir.
6106         * elf/Makefile ($(objpfx)sotruss): Use localedir.
6107         (ldd-rewrite): Likewise.
6108         * intl/Makefile: Rename inst_msgcatdir to inst_localedir.
6109         (install-others): Use inst_localedir.
6110         (CPPFLAGS): Use localedir.
6111         * locale/Makefile (locale-CPPFLAGS): Likewise.
6112         * po/Makefile (mo-installed): Use inst_localedir.
6114         [BZ #19575]
6115         * localedata/charmaps/GB18030: Update comments regarding PAU to
6116         non-PUA mappings.
6118 2016-02-24  Joseph Myers  <joseph@codesourcery.com>
6120         * sysdeps/unix/sysv/linux/configure.ac (linux/fanotify.h): Do not
6121         test for header.
6122         * sysdeps/unix/sysv/linux/configure: Regenerated.
6123         * config.h.in (HAVE_LINUX_FANOTIFY_H): Remove #undef.
6124         * sysdeps/unix/sysv/linux/tst-fanotify.c [!HAVE_LINUX_FANOTIFY_H]:
6125         Remove conditional code.
6126         [HAVE_LINUX_FANOTIFY_H]: Make code unconditional.
6128         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
6129         Define to 3.2.0.
6130         (arch_minimum_kernel): Likewise.
6131         * sysdeps/unix/sysv/linux/configure: Regenerated.
6132         * sysdeps/unix/sysv/linux/i386/configure.ac (arch_minimum_kernel):
6133         Define to 2.6.32.
6134         * sysdeps/unix/sysv/linux/i386/configure: Regenerated.
6135         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac
6136         (arch_minimum_kernel): Define to 2.6.32.
6137         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerated.
6138         * README: Document Linux 3.2 requirement.
6139         * manual/install.texi (Linux): Document Linux 3.2 headers
6140         requirement.
6141         * INSTALL: Regenerated.
6143 2016-02-24  Andreas Schwab  <schwab@suse.de>
6145         * math/test-math-isinff.cc (do_test): Only call isinfl and isnanl
6146         if !NO_LONG_DOUBLE.
6148 2016-02-22  Roland McGrath  <roland@hack.frob.com>
6150         * sysdeps/arm/nacl/libc.abilist (GLIBC_2.23): Add GLIBC_2.23,
6151         fts64_children, fts64_close, fts64_open, fts64_read and fts64_set.
6153 2016-02-22  Dmitry V. Levin  <ldv@altlinux.org>
6155         [BZ #19512]
6156         * config.h.in (HAVE_BUILTIN_EXPECT): New macro.
6158 2016-02-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
6160         * posix/tst-dir.c: Include libc-internal.h.
6162 2016-02-20  Florian Weimer  <fweimer@redhat.com>
6164         [BZ #19056]
6165         * dirent/dirent.h (readdir_r, readdir64_r): Mark as deprecated.
6166         * manual/filesys.texi (Reading/Closing Directory): Mention
6167         deprecaion.
6168         * posix/tst-dir.c (main): Disable deprecation warning in test.
6170 2016-02-19  H.J. Lu  <hongjiu.lu@intel.com>
6172         [BZ #19679]
6173         * sysdeps/x86_64/dl-trampoline.S (DL_RUNIME_UNALIGNED_VEC_SIZE):
6174         Renamed to ...
6175         (DL_RUNTIME_UNALIGNED_VEC_SIZE): This.  Set to 8.
6176         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
6177         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.  Updated.
6178         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
6179         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
6180         * sysdeps/x86_64/dl-trampoline.h
6181         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
6182         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
6184 2016-02-19  Mark Wielaard  <mjw@redhat.com>
6186         * elf/elf.h: Add NT_ARM_SYSTEM_CALL.
6188 2016-02-19  Mark Wielaard  <mjw@redhat.com>
6190         * elf/elf.h (R_386_GOT32X): New.
6191         (R_386_NUM): Update.
6192         (R_X86_64_GOTPCRELX: New.
6193         (R_X86_64_REX_GOTPCRELX): New.
6194         (R_X86_64_NUM): Update.
6196 2016-02-19  Mike Frysinger  <vapier@gentoo.org>
6198         * test-skeleton.c (TIMEOUT): Change to 20 and adjust comment.
6200 2016-02-19  Carlos O'Donell  <carlos@systemhalted.org>
6202         * nptl/allocatestack.c (allocate_stack): Declare new stackaddr,
6203         assign attr->stackaddr to it, and adjust it down when
6204         _STACK_GROWS_UP.  Change all attr->stackaddr to stackaddr.
6205         [_STACK_GROWS_UP]: Delete assert.
6206         * nptl/pthread_create.c (START_THREAD_DEFN) [!_STACK_GROWS_DOWN]:
6207         Implement stack grows up logic.
6208         * nptl/pthread_getattr_np.c (pthread_getattr_np): Implement
6209         stack grows up logic.
6211 2016-02-19  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6213         * NEWS: Update with 2.24 template.
6215 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
6217         [BZ #19678]
6218         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
6219         Ensure +0.0 is returned when taking the next value below the least
6220         positive value.
6222 2016-02-19  Florian Weimer  <fweimer@redhat.com>
6224         * sysdeps/generic/malloc-machine.h: Assume mutex_init is always
6225         available.  Do not define NO_THREADS.
6226         * malloc/malloc.c: Do not check NO_THREADS.
6227         * malloc/arena.c: Likewise.
6229 2016-02-19  Florian Weimer  <fweimer@redhat.com>
6231         * malloc/malloc.c (__libc_mallinfo): Update comment.
6232         (struct malloc_par): Remove max_total_mem member, it was always 0.
6233         (int_mallinfo): Store 0 into usmblks (no functional change).
6234         * malloc/hooks.c (struct malloc_state): Document that
6235         max_total_mem is always 0.
6236         * malloc/malloc.h (struct mallinfo): Dcoument that usmblks is
6237         always 0.
6238         * manual/memory.texi (Statistics of Malloc): Likewise.
6240 2016-02-19  Florian Weimer  <fweimer@redhat.com>
6242         * malloc/malloc.c (sysmalloc): Do not update arena_max.
6243         * malloc/arena.c (arena_max): Remove.
6244         (heap_trim, _int_new_arena): Do not update arena_max.
6246 2016-02-19  Florian Weimer  <fweimer@redhat.com>
6248         * resolv/res_init.c (res_ninit): Update comment.
6250 2016-02-19  Florian Weimer  <fweimer@redhat.com>
6252         [BZ #19505]
6253         * posix/spawn_int.h: Add headers and include guard.
6254         (__spawn_valid_fd): New function.
6255         * posix/spawn_faction_addopen.c
6256         (posix_spawn_file_actions_addopen): Use __spawn_valid_fd.
6257         * posix/spawn_faction_addclose.c
6258         (posix_spawn_file_actions_addclose): Likewise.
6259         * posix/spawn_faction_adddup2.c
6260         (posix_spawn_file_actions_adddup2): Likewise.  Add check for
6261         second file descriptor.
6262         * posix/spawn_valid_fd.c: New file.
6263         * posix/tst-posix_spawn-fd.c: New file.
6264         * posix/Makefile (routines): Add spawn_valid_fd.
6265         (tests): Add tst-posix_spawn-fd.
6267 2016-02-19  Florian Weimer  <fweimer@redhat.com>
6269         * malloc/tst-malloc-thread-exit.c: Include test-skeleton.c early.
6270         (do_test): Limit the number of arenas, so that we can use fewer
6271         outer threads.  Limit timeout to 3 seconds, in preparation for a
6272         larger TIMEOUT value.
6274 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
6276         [BZ #19674]
6277         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Include
6278         sign in overflowing and underflowing results when overflow or
6279         underflow is detected early.  Include sign in result before rather
6280         than after scaling.
6282         [BZ #19603]
6283         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
6284         (__ieee754_remainderl): Adjust sign of integer version of low part
6285         when taking absolute value of high part.
6286         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
6287         * math/libm-test.inc (remainder_test_data): Add another test.
6288         (remquo_test_data): Likewise.
6290 2016-02-18  Joseph Myers  <joseph@codesourcery.com>
6292         [BZ #19602]
6293         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Handle
6294         equal high parts and both low parts zero specially.
6295         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: New test.
6296         * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
6297         Add test-fmodl-ldbl-128ibm.
6299         [BZ #19595]
6300         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Use
6301         common logic for all cases of shifting subnormal results.  Do not
6302         insert sign bit in shifted mantissa.  Always pass -1023 as biased
6303         exponent to ldbl_insert_mantissa in subnormal case.
6305         [BZ #19594]
6306         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Use __round
6307         on high and low parts then adjust result and use
6308         ldbl_canonicalize_int if needed.
6310         [BZ #19593]
6311         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Use __trunc
6312         on high part and __floor or __ceil on low part then use
6313         ldbl_canonicalize_int if needed.
6315         [BZ #19592]
6316         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Use __ceil on
6317         high and low parts then use ldbl_canonicalize_int if needed.
6319         [BZ #17899]
6320         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_canonicalize_int):
6321         New function.
6322         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Use __floor
6323         on high and low parts then use ldbl_canonicalize_int if needed.
6325 2016-02-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6327         * configure: Regenerated.
6329         * po/libc.pot: Regenerated.
6331         * po/be.po: Updated translation.
6332         * po/bg.po: Likewise.
6333         * po/ca.po: Likewise.
6334         * po/cs.po: Likewise.
6335         * po/da.po: Likewise.
6336         * po/el.po: Likewise.
6337         * po/eo.po: Likewise.
6338         * po/es.po: Likewise.
6339         * po/fi.po: Likewise.
6340         * po/fr.po: Likewise.
6341         * po/gl.po: Likewise.
6342         * po/hr.po: Likewise.
6343         * po/hu.po: Likewise.
6344         * po/ia.po: Likewise.
6345         * po/id.po: Likewise.
6346         * po/it.po: Likewise.
6347         * po/ja.po: Likewise.
6348         * po/lt.po: Likewise.
6349         * po/nb.po: Likewise.
6350         * po/nl.po: Likewise.
6351         * po/pt_BR.po: Likewise.
6352         * po/rw.po: Likewise.
6353         * po/sk.po: Likewise.
6354         * po/sl.po: Likewise.
6355         * po/sv.po: Likewise.
6356         * po/tr.po: Likewise.
6357         * po/zh_CN.po: Likewise.
6358         * po/zh_TW.po: Likewise.
6360         * version.h (RELEAES): Set to "development".
6361         (VERSION): Set to 2.23.90.
6363         * version.h (RELEASE): Set to "stable".
6364         (VERSION): Set to 2.23.
6365         * include/feature.h (__GLIBC_MINOR__): Set to 23.
6367         * NEWS: Updated fixed bugs.
6369 2016-02-18  H.J. Lu  <hongjiu.lu@intel.com>
6370             Wilco Dijkstra  <wdijkstr@arm.com>
6372         [BZ #19462]
6373         * bits/string.h (_STRING_ARCH_unaligned): Renamed to ...
6374         (_STRING_INLINE_unaligned): This.
6375         * include/string.h: Include <string_private.h>.
6376         * string/bits/string2.h: Replace _STRING_ARCH_unaligned with
6377         _STRING_INLINE_unaligned.
6378         * sysdeps/aarch64/bits/string.h (_STRING_ARCH_unaligned): Removed.
6379         (_STRING_INLINE_unaligned): New.
6380         * sysdeps/aarch64/string_private.h: New file.
6381         * sysdeps/generic/string_private.h: Likewise.
6382         * sysdeps/m68k/m680x0/m68020/string_private.h: Likewise.
6383         * sysdeps/s390/string_private.h: Likewise.
6384         * sysdeps/x86/string_private.h: Likewise.
6385         * sysdeps/m68k/m680x0/m68020/bits/string.h
6386         (_STRING_ARCH_unaligned): Renamed to ...
6387         (_STRING_INLINE_unaligned): This.
6388         * sysdeps/s390/bits/string.h (_STRING_ARCH_unaligned): Renamed
6389         to ...
6390         (_STRING_INLINE_unaligned): This.
6391         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Renamed
6392         to ...
6393         (_STRING_INLINE_unaligned): This.
6394         * sysdeps/x86/bits/string.h (_STRING_ARCH_unaligned): Renamed
6395         to ...
6396         (_STRING_INLINE_unaligned): This.
6398 2016-02-17  Andrew Senkevich  <andrew.senkevich@intel.com>
6399             H.J. Lu  <hongjiu.lu@intel.com>
6401         [BZ #19590]
6402         * sysdeps/x86_64/fpu/svml_finite_alias.S (ALIAS_IMPL): Use PIC
6403         relocation.
6405 2016-02-15  Carlos O'Donell  <carlos@redhat.com>
6407         [BZ #18665]
6408         * resolv/nss_dns/dns-host.c (gaih_getanswer_slice): Always set
6409         *herrno_p.
6410         (gaih_getanswer): Document functional behviour. Return tryagain
6411         if any result is tryagain.
6412         * resolv/res_query.c (__libc_res_nsearch): Set buffer size to zero
6413         when freed.
6414         * resolv/res_send.c: Add copyright text.
6415         (__libc_res_nsend): Document that MAXPACKET is expected.
6416         (send_vc): Document. Remove buffer reuse.
6417         (send_dg): Document. Remove buffer reuse. Set *thisanssizp to set the
6418         size of the buffer. Add Dprint for truncated UDP buffer.
6420 2016-02-14  Carlos O'Donell  <carlos@redhat.com>
6422         * manual/install.texi: Latest tested is GCC 5.3, texinfo 6.0, gawk
6423         4.1.3, and sed 4.2.2. Remove po2test.sed comments.
6424         * INSTALL: Regenerate.
6426 2016-02-14  Jakub Jelinek  <jakub@redhat.com>
6427             Jonathan Wakely  <jwakely@redhat.com>
6428             Carlos O'Donell  <carlos@redhat.com>
6430         [BZ 19439]
6431         * math/Makefile (tests): Add test-math-isinff.
6432         (CFLAGS-test-math-isinff.cc): Use -std=gnu++11.
6433         * math/bits/mathcalls.h [__USE_MISC]: Use
6434         '|| __MATH_DECLARING_DOUBLE == 0' to relax definition of
6435         functions not in C++11 and which don't conflict e.g. isinff,
6436         isinfl etc.
6437         * math/test-math-isinff.cc: New file.
6439 2016-02-12  Florian Weimer  <fweimer@redhat.com>
6441         * misc/bug18240.c (do_test): Set RLIMIT_AS.
6443 2016-02-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
6445         [BZ #19529]
6446         * stdlib/Makefile (CFLAGS-tst-makecontext.c): Add -funwind-tables.
6448 2016-02-04  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
6450         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
6452 2016-02-01  Joseph Myers  <joseph@codesourcery.com>
6454         [BZ #19550]
6455         * sysdeps/unix/sysv/linux/mips/mips32/mmap.c: New file.
6456         * sysdeps/unix/sysv/linux/mips/mips64/mmap64.c: Move to ....
6457         * sysdeps/unix/sysv/linux/mips/mips64/n64/mmap64.c: ... here.
6458         * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap.c: New file.
6459         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (mmap64):
6460         New syscall entry.
6461         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list (mmap):
6462         New syscall entry.
6463         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (mmap): Remove
6464         syscall entry.
6466 2016-01-27  Paul Eggert  <eggert@cs.ucla.edu>
6468         [BZ #18240]
6469         * misc/hsearch_r.c (isprime, __hcreate_r): Protect against
6470         unsigned int wraparound.
6472 2016-01-27  Florian Weimer  <fweimer@redhat.com>
6474         [BZ #18240]
6475         * misc/bug18240.c: New test.
6476         * misc/Makefile (tests): Add it.
6478 2016-01-28  Steve Ellcey  <sellcey@imgtec.com>
6479             Joseph Myers  <joseph@codesourcery.com>
6481         * sysdeps/mips/memcpy.S (MEMCPY_NAME) [USE_DOUBLE]: Avoid word
6482         load in branch delay slot when less than a word of input left.
6484 2016-01-27  Andreas Schwab  <schwab@suse.de>
6486         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (half): Remove.
6487         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (maxlog, big): Remove.
6488         * sysdeps/powerpc/fpu/s_cosf.c (one): Remove.
6489         * sysdeps/powerpc/fpu/e_hypotf.c (two30): Remove.
6491 2016-01-26  David S. Miller  <davem@davemloft.net>
6493         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Add _Q_cmp.
6495 2016-01-25  David S. Miller  <davem@davemloft.net>
6497         * sysdeps/sparc/sparc32/Versions (GLIBC_2.23): Add entry for
6498         __sqrtl_finite.
6499         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c (__sqrtl_finite): Define
6500         instead using versioned_symbol.
6501         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Fix ordering
6502         of entries.
6504         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Move
6505         __sqrtl_finite to GLIBC_2.23
6507 2016-01-25  Ricchard Henderson  <rth@redhat.com>
6509         * sysdeps/alpha/fpu/libm-test-ulps: Update.
6511 2016-01-25  Andreas Schwab  <schwab@suse.de>
6513         [BZ #17514]
6514         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock)
6515         <case PTHREAD_MUTEX_ERRORCHECK_NP>: Don't do lock elision.
6516         * nptl/Makefile (tests): Add tst-mutex-errorcheck.
6517         * nptl/tst-mutex-errorcheck.c: New file.
6519 2016-01-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6521         [BZ #18560]
6522         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h (__ipc): Remove.
6523         (IPCOP_semop): Likewise.
6524         (IPCOP_semget): Likewise.
6525         (IPCOP_semctl): Likewise.
6526         (IPCOP_msgsnd): Likewise.
6527         (IPCOP_msgrcv): Likewise.
6528         (IPCOP_msgget): Likewise.
6529         (IPCOP_msgctl): Likewise.
6530         (IPCOP_shmat): Likewise.
6531         (IPCOP_shmdt): Likewise.
6532         (IPCOP_shmget): Likewise.
6533         (IPCOP_shmctl): Likewise.
6535 2016-01-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
6537         * string/tst-endian.c: Include <libc-internal.h>.
6538         (do_test): Ignore tautological-compare warnings around
6539         "htobeXX (beXXtoh (i)) != i" and
6540         "htoleXX (leXXtoh (i)) != i" if-statements.
6542 2016-01-24  David S. Miller  <davem@davemloft.net>
6544         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c: New file.
6545         * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c (__ieee754_sqrtl): Remove
6546         alias.
6547         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
6548         __sqrtl_finite.
6550         * sysdeps/sparc/fpu/libm-test-ulps: Update.
6552 2016-01-25  Maciej W. Rozycki  <macro@imgtec.com>
6554         * sysdeps/unix/sysv/linux/mips/configure.ac: Set
6555         `arch_minimum_kernel' to 4.5.0 if 2008 NaN encoding is used.
6556         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
6558 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6560         * nptl/tst-setuid3.c (is_invalid_barrier_ret): New function.
6561         (thread_func): Use new function to simplify barrier check.
6562         (do_test): Use new function to simplify checking barrier exit
6563         code, and actually join the child thread.
6565 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6567         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin): Remove
6568         semicolon.
6569         (__libc_tend): Likewise.
6570         (__libc_tabort): Likewise.
6572 2016-01-22  Chung-Lin Tang  <cltang@codesourcery.com>
6574         * sysdeps/nios2/libm-test-ulps: Update.
6575         * sysdeps/unix/sysv/linux/nios2/localplt.data (__gtdf2): Add.
6576         (__gtsf2): Likewise.
6577         (__unorddf2): Likewise.
6578         (__unordsf2): Likewise.
6579         (__ledf2): Likewise.
6581 2016-01-20  Chris Metcalf  <cmetcalf@ezchip.com>
6583         * nis/nis_table.c (__follow_path): Disable diagnostic for
6584         uninitialized variable that is a false positive for gcc 4.7.
6585         * stdio-common/vfscanf.c (_IO_vfwscanf): Likewise.
6587 2016-01-20  Roland McGrath  <roland@hack.frob.com>
6589         * sysdeps/nacl/lowlevellock-futex.h
6590         (lll_futex_wait, lll_futex_timed_wait, lll_futex_wake):
6591         Always evaluate PRIVATE argument.
6593 2016-01-20  Paul Pluzhnikov  <ppluzhnikov@google.com>
6595         [BZ #19490]
6596         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S
6597         (pthread_cond_broadcast): Use ENTRY/END
6598         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S
6599         (pthread_cond_signal): Likewise.
6600         * sysdeps/x86_64/nptl/pthread_spin_lock.S (pthread_spin_lock):
6601         Likewise.
6602         * sysdeps/x86_64/nptl/pthread_spin_trylock.S (pthread_spin_trylock):
6603         Likewise.
6604         * sysdeps/x86_64/nptl/pthread_spin_unlock.S (pthread_spin_unlock):
6605         Likewise.
6607 2016-01-20  Joseph Myers  <joseph@codesourcery.com>
6609         * sysdeps/ieee754/dbl-64/s_finite.c
6610         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Define
6611         compat symbol at version GLIBC_2_1 and use GLIBC_2_1 in
6612         SHLIB_COMPAT condition for libm, not GLIBC_2_0.
6613         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c
6614         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Likewise.
6616         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
6617         (__gtsf2): Add as optional for libc.so.
6618         (__unordsf2): Likewise.
6619         (__signbit): Remove for libc.so.
6620         (__signbitl): Likewise.
6622 2016-01-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
6624         * iconvdata/bug-iconv11.c (test_ibm93x):
6625         Use %zu printf format specifier for size_t argument.
6627 2016-01-19  Joseph Myers  <joseph@codesourcery.com>
6629         * math/gen-libm-test.pl (parse_ulps): Do not reduce
6630         already-recorded ulps.
6631         * sysdeps/arm/libm-test-ulps: Regenerated.
6632         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
6633         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
6634         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
6636 2016-01-19  Andrew Senkevich  <andrew.senkevich@intel.com>
6637             Paul Pluzhnikov  <ppluzhnikov@google.com>
6639         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Fixed build with
6640         assembler not supporting AVX-512.
6642 2016-01-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
6644         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
6646 2016-01-18  Joseph Myers  <joseph@codesourcery.com>
6648         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
6649         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
6651         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
6653         * sysdeps/arm/libm-test-ulps: Regenerated.
6655 2016-01-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
6657         [BZ #19451]
6658         * math/Makefile (libm-vec-tests): Move libraries after wrappers.o
6660 2016-01-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
6662         [BZ #19486]
6663         * sysdeps/s390/fix-fp-int-convert-overflow.h: New File.
6664         * sysdeps/generic/fix-fp-int-convert-overflow.h
6665         (FIX_LDBL_LONG_CONVERT_OVERFLOW,
6666         FIX_LDBL_LLONG_CONVERT_OVERFLOW): New define.
6667         * sysdeps/arm/fix-fp-int-convert-overflow.h: Likewise.
6668         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h:
6669         Likewise.
6670         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl):
6671         Avoid conversions to long int where inexact exceptions
6672         could be raised.
6673         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl):
6674         Likewise.
6675         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl):
6676         Avoid conversions to long long int where inexact exceptions
6677         could be raised.
6678         * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl):
6679         Likewise.
6681 2016-01-17  Mike Frysinger  <vapier@gentoo.org>
6683         * configure.ac: Rewrite error comment and use AC_MSG_ERROR.
6684         * configure: Regenerated.
6686 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
6688         * sysdeps/x86_64/multiarch/memcpy_chk.S: Fixed typos.
6690 2016-01-16  Mike Frysinger  <vapier@gentoo.org>
6692         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT): Move
6693         outside of comment.
6695 2016-01-15  Torvald Riegel  <triegel@redhat.com>
6697         * nptl/tst-barrier1.c: Add description on first line.
6698         * nptl/tst-barrier2.c: Likewise.
6699         * nptl/tst-barrier3.c: Likewise.
6700         * nptl/tst-barrier4.c: Likewise.
6701         * nptl/tst-barrier5.c: Likewise.
6703 2016-01-15  Torvald Riegel  <triegel@redhat.com>
6705         [BZ #18868]
6706         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Apply fix.
6708 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
6710         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new files.
6711         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
6712         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: New file.
6713         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S: Likewise.
6714         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: Likewise.
6715         * sysdeps/x86_64/multiarch/memcpy.S: Added new IFUNC branch.
6716         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
6717         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
6718         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
6719         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
6720         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
6722 2016-01-15  Torvald Riegel  <triegel@redhat.com>
6724         [BZ #13065]
6725         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Replace with
6726         new implementation.
6727         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy): Likewise.
6728         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Adapt.
6729         * sysdeps/nptl/internaltypes.h (pthread_barrier): Adapt.
6730         (BARRIER_IN_THRESHOLD): New macro.
6731         * nptl/pthread_barrierattr_setpshared.c
6732         (pthread_barrierattr_setpshared): Clean up.
6733         * nptl/tst-barrier4.c: Correct comment.
6734         * nptl/tst-barrier5.c: New file.
6735         * nptl/Makefile (tests): Add nptl/tst-barrier5.c.
6736         (gen-as-const-headers): Remove lowlevelbarrier.sym.
6737         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Remove.
6738         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Remove.
6739         * nptl/lowlevelbarrier.sym: Remove.
6740         * nptl/DESIGN-barrier.txt: Remove.
6741         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Remove.
6742         * sysdeps/sparc/nptl/pthread_barrier_init.c: Remove.
6743         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Remove.
6744         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: Replace with build
6745         error.
6746         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: Use generic
6747         implementation.
6749 2016-01-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6751         * rt/tst-mqueue5.c (thr): Cleanup misleading comment.
6752         (do_child): Mask SIGRTMIN while thr is running.
6754 2016-01-15  Martin Sebor  <msebor@redhat.com>
6756         [BZ #19432]
6757         * iconvdata/Makefile: Add bug-iconv11.
6758         * iconvdata/bug-iconv11.c: New test.
6759         * iconvdata/ibm930.c: Do not reject redundant shift sequences.
6760         * iconvdata/ibm933.c: Same.
6761         * iconvdata/ibm935.c: Same.
6762         * iconvdata/ibm937.c: Same.
6763         * iconvdata/ibm939.c: Same.
6765 2016-01-15  Martin Sebor  <msebor@redhat.com>
6767         [BZ #19443]
6768         * crypt/crypt_util.c [DEBUG] (_ufc_prbits): Correct format string.
6769         [DEBUG] (_ufc_set_bits): Declare used.
6770         * iconv/gconv_dl.c [DEBUG]: Add a missing include directive.
6771         [DEBUG] (print_all): Declare used.
6772         * resolv/res_send.c [DEBUG] (__libc_res_nsend): Explicitly convert
6773         operands of the ternary ?: expression to target type.
6774         * stdlib/rshift.c [DEBUG] (mpn_rshift): Use assert() instead of
6775         calling the undeclared abort.
6776         * time/mktime.c [DEBUG] (DEBUG): Rename to DEBUG_MKTIME.
6778 2016-01-15  Martin Sebor  <msebor@redhat.com>
6780         [BZ #18755]
6781         * iconv/skeleton.c (FUNCTION_NAME): Suppress -Wunused-but-set-variable
6782         warnings.
6783         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread): Same.
6784         (__gai_create_helper_thread): Same.
6785         * nscd/nscd.c (do_exit): Suppress -Wunused-variable.
6786         * iconvdata/iso-2022-cn-ext.c (BODY): Initialize local variable
6787         to suppress -Wmaybe-uninitialized warnings.
6789 2016-01-15  H.J. Lu  <hongjiu.lu@intel.com>
6791         [BZ #19465]
6792         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Call math_opt_barrier
6793         inside if.
6794         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
6795         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
6796         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6798 2016-01-14  H.J. Lu  <hongjiu.lu@intel.com>
6800         [BZ #19466]
6801         * time/tst-mktime2.c (time_t_max): Removed.
6802         (time_t_min): Likewise.
6803         (TYPE_SIGNED): New.
6804         (TYPE_MINIMUM): Likewise.
6805         (TYPE_MAXIMUM): Likewise.
6806         (TIME_T_MIN): Likewise.
6807         (TIME_T_MAX): Likewise.
6808         (mktime_test): Replace time_t_max and time_t_min with TIME_T_MAX
6809         and TIME_T_MIN.
6810         (do_test): Likewise.
6812 2016-01-14  Amit Pawar  <amit.pawar@amd.com>
6814         [BZ #19467]
6815         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
6816         index_Fast_Unaligned_Load flag for Excavator family CPUs.
6818 2016-01-02  Marcin Kościelnicki  <koriakin@0x04.net>
6820         * sysdeps/s390/nptl/tls.h (struct tcbhead_t): Add __private_ss field.
6822 2016-01-13  Carlos O'Donell  <carlos@redhat.com>
6824         * benchtests/Makefile (PYTHON): Define.
6825         (bench-func): Use $(PYTHON) to run python scripts.
6826         ($(objpfx)bench-%.c): Likewise.
6828 2016-01-13  Flavio Cruz  <flaviocruz@gmail.com>
6830         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Do not remove
6831         leading slash when `file_name' is "/".
6833 2016-01-12  Joseph Myers  <joseph@codesourcery.com>
6835         * bits/mman-linux.h [!MCL_CURRENT] (MCL_ONFAULT): New macro.
6836         * sysdeps/unix/sysv/linux/alpha/bits/mman.h (MCL_ONFAULT):
6837         Likewise.
6838         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MCL_ONFAULT):
6839         Likewise.
6840         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT):
6841         Likewise.
6842         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_GETSIGMASK): New
6843         enum constant and macro.
6844         (PTRACE_SETSIGMASK): Likewise.
6845         (PTRACE_SECCOMP_GET_FILTER): Likewise.
6846         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
6847         (PTRACE_GETSIGMASK): Likewise.
6848         (PTRACE_SETSIGMASK): Likewise.
6849         (PTRACE_SECCOMP_GET_FILTER): Likewise.
6850         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_GETSIGMASK):
6851         Likewise.
6852         (PTRACE_SETSIGMASK): Likewise.
6853         (PTRACE_SECCOMP_GET_FILTER): Likewise.
6854         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
6855         (PTRACE_GETSIGMASK): Likewise.
6856         (PTRACE_SETSIGMASK): Likewise.
6857         (PTRACE_SECCOMP_GET_FILTER): Likewise.
6858         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_GETSIGMASK):
6859         Likewise.
6860         (PTRACE_SETSIGMASK): Likewise.
6861         (PTRACE_SECCOMP_GET_FILTER): Likewise.
6862         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_GETSIGMASK):
6863         Likewise.
6864         (PTRACE_SETSIGMASK): Likewise.
6865         (PTRACE_SECCOMP_GET_FILTER): Likewise.
6866         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_GETSIGMASK):
6867         Likewise.
6868         (PTRACE_SETSIGMASK): Likewise.
6869         (PTRACE_SECCOMP_GET_FILTER): Likewise.
6871 2016-01-11  Jonathan Wakely  <jwakely.gcc@gmail.com>
6872             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6874         [BZ #19439]
6875         * math/bits/mathcalls.h
6876         [!__cplusplus || __cplusplus < 201103L] (isinf): Do not declare
6877         prototype.
6878         [!__cplusplus || __cplusplus < 201103L] (isnan): Likewise.
6880 2016-01-11  Andreas Schwab  <schwab@suse.de>
6882         [BZ #19253]
6883         * time/tzfile.c (__tzfile_default): Invalidate tzfile attribute
6884         cache when TZDEFRULES was used.
6885         * time/tst-tzname.c: New file.
6886         * time/Makefile (test): Add tst-tzname.
6887         (tst-tzname-ENV, CPPFLAGS-tst-tzname.c): Define.
6888         * timezone/Makefile (test-zones): Add $(posixrules-file).
6889         ($(testdata)/$(posixrules-file)): New rule.
6891 2016-01-10  Paul Eggert  <eggert@cs.ucla.edu>
6893         Fix doc quoting problems with Texinfo 5
6894         Without this change, in the info file output, Texinfo 5 quotes code
6895         in text with undirected single quotes 'like this' and generates
6896         code examples that with many PDF readers cannot be cut out of PDFs
6897         and pasted into code.
6898         * manual/libc.texinfo: Configure the libc manual like the GNU
6899         Emacs manual, by using @documentencoding and setting
6900         txicodequoteundirected and txicodequotebacktick.  This way,
6901         Texinfo 5 quotes code in text with directed single quotes ‘like
6902         this’ and produces examples that can be cut out of PDFs.  This
6903         change causes Texinfo 5 to generate info files that contain UTF-8
6904         characters in the set {'‘', '’', '“', '”', 'Ä', 'ä', 'ö', '−',
6905         '–', '—', '©', '⇒', '•', '…'}, which is OK nowadays.
6907 2016-01-08  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
6909         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin,
6910         __libc_tabort, __libc_tend): New wrappers that enforce compiler
6911         barriers to their respective compiler built-ins.
6912         * sysdeps/powerpc/nptl/elide.h (__get_new_count, ELIDE_LOCK,
6913         ELIDE_TRYLOCK, __elide_unlock): Use the new wrappers.
6914         * sysdeps/powerpc/sysdep.h: Likewise.
6915         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: Likewise.
6916         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: Likewise.
6917         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: Likewise.
6919 2016-01-08  Marko Myllynen  <myllynen@redhat.com>
6921         * scripts/config.guess: Revert previous shebang change.
6922         * scripts/config.sub: Likewise.
6923         * scripts/mkinstalldirs: Likewise.
6925 2016-01-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
6927         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_ARCH_3_00 and
6928         PPC_FEATURE2_HAS_IEEE128.
6929         * sysdeps/powerpc/dl-procinfo.c:
6930         (_dl_powerpc_cap_flags): Add corresponding names to new capabilities.
6932 2016-01-08  John David Anglin  <danglin@gcc.gnu.org>
6934         [BZ #19415]
6935         * sysdeps/hppa/dl-fptr.c (_dl_fixup): Declare.
6936         (elf_machine_resolve): New.  Return address of _dl_runtime_resolve.
6937         (_dl_lookup_address): Rewrite using function resolver trampoline.
6938         * sysdeps/hppa/dl-lookupcfg.h (DL_LOOKUP_ADDRESS): Don't clear bottom
6939         two bits in address.
6941 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
6943         * longlong.h: Change !__SHMEDIA__ to
6944         (!defined (__SHMEDIA__) || !__SHMEDIA__).
6945         Change __SHMEDIA__ to defined (__SHMEDIA__) && __SHMEDIA__.
6947 2016-01-07  Daniel Jacobowitz  <dan@codesourcery.com>
6948             Joseph Myers  <joseph@codesourcery.com>
6949             Mark Shinwell  <shinwell@codesourcery.com>
6950             Andrew Stubbs  <ams@codesourcery.com>
6951             Rich Felker <dalias@libc.org>
6953         * longlong.h (udiv_qrnnd): Add FDPIC compatible version for SH.
6955 2016-01-07  Richard Henderson  <rth@redhat.com>
6957         * longlong.h [__alpha] (umul_ppmm): Disable for c++.
6959 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
6961         * sysdeps/unix/sysv/linux/fxstat64.c (___fxstat64): Change
6962         __ASSUME_ST_INO_64_BIT == 0 to !defined __ASSUME_ST_INO_64_BIT.
6963         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
6964         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
6965         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat32_conv): Likewise.
6967 2016-01-07  Paul Eggert  <eggert@cs.ucla.edu>
6968             Joseph Myers  <joseph@codesourcery.com>
6970         * timezone/private.h: Update from tzcode 2015g.
6971         * timezone/tzfile.h: Likewise.
6972         * timezone/tzselect.ksh: Likewise.
6973         * timezone/zdump.c: Likewise.
6974         * timezone/zic.c: Likewise.
6975         * timezone/ialloc.c: Remove file.
6976         * timezone/scheck.c: Likewise.
6977         * timezone/Makefile (extra-objs): Remove variable.
6978         ($(objpfx)zic): Do not depend on scheck.o and ialloc.o.
6979         (tz-cflags): Add -DHAVE_GETTEXT -DUSE_LTZ=0
6980         -Wno-maybe-uninitialized.
6981         (CFLAGS-zdump.c): Remove -fwrapv -DNOID -DHAVE_GETTEXT.
6982         (CFLAGS-zic.c): Remove -DNOID -DHAVE_GETTEXT.
6983         (CFLAGS-ialloc.c): Remove variable.
6984         (CFLAGS-scheck.c): Likewise.
6985         * timezone/README: Update list of files from tzcode.
6987 2016-01-07  Khem Raj  <raj.khem@gmail.com>
6989         * argp/argp-fmtstream.c (__argp_fmtstream_free): Use fwrite_unlocked
6990         instead of __fxprintf when _LIBC is undefined.
6992 2016-01-07  Marko Myllynen  <myllynen@redhat.com>
6994         * catgets/test-gencat.sh: Remove space after shebang.
6995         * conform/GlibcConform.pm: Likewise.
6996         * conform/check-header-lists.sh: Likewise.
6997         * conform/conformtest.pl: Likewise.
6998         * conform/linknamespace.pl: Likewise.
6999         * conform/list-header-symbols.pl: Likewise.
7000         * debug/catchsegv.sh: Likewise.
7001         * elf/genrtldtbl.awk: Likewise.
7002         * elf/tst-pathopt.sh: Likewise.
7003         * elf/tst-rtld-load-self.sh: Likewise.
7004         * grp/tst_fgetgrent.sh: Likewise.
7005         * iconvdata/gen-8bit-gap-1.sh: Likewise.
7006         * iconvdata/gen-8bit-gap.sh: Likewise.
7007         * iconvdata/gen-8bit.sh: Likewise.
7008         * iconvdata/run-iconv-test.sh: Likewise.
7009         * intl/tst-gettext.sh: Likewise.
7010         * intl/tst-gettext2.sh: Likewise.
7011         * intl/tst-gettext4.sh: Likewise.
7012         * intl/tst-gettext6.sh: Likewise.
7013         * intl/tst-translit.sh: Likewise.
7014         * io/ftwtest-sh: Likewise.
7015         * libio/test-freopen.sh: Likewise.
7016         * locale/gen-translit.pl: Likewise.
7017         * malloc/tst-mtrace.sh: Likewise.
7018         * manual/check-safety.sh: Likewise.
7019         * manual/libc-texinfo.sh: Likewise.
7020         * manual/tsort.awk: Likewise.
7021         * manual/xtract-typefun.awk: Likewise.
7022         * nptl/tst-cancel-wrappers.sh: Likewise.
7023         * nptl/tst-tls6.sh: Likewise.
7024         * posix/globtest.sh: Likewise.
7025         * posix/tst-getconf.sh: Likewise.
7026         * posix/wordexp-tst.sh: Likewise.
7027         * scripts/check-c++-types.sh: Likewise.
7028         * scripts/check-local-headers.sh: Likewise.
7029         * scripts/config.guess: Likewise.
7030         * scripts/config.sub: Likewise.
7031         * scripts/cpp: Likewise.
7032         * scripts/cross-test-ssh.sh: Likewise.
7033         * scripts/documented.sh: Likewise.
7034         * scripts/evaluate-test.sh: Likewise.
7035         * scripts/gen-libc-abis: Likewise.
7036         * scripts/gen-sorted.awk: Likewise.
7037         * scripts/list-fixed-bugs.py: Likewise.
7038         * scripts/merge-test-results.sh: Likewise.
7039         * scripts/mkinstalldirs: Likewise.
7040         * scripts/rellns-sh: Likewise.
7041         * scripts/test-installation.pl: Likewise.
7042         * scripts/update-copyrights: Likewise.
7043         * stdio-common/tst-printf.sh: Likewise.
7044         * stdio-common/tst-unbputc.sh: Likewise.
7045         * stdlib/tst-fmtmsg.sh: Likewise.
7046         * stdlib/tst-setcontext3.sh: Likewise.
7047         * sysdeps/i386/tst-ld-sse-use.sh: Likewise.
7048         * sysdeps/unix/make-syscalls.sh: Likewise.
7050 2016-01-06  John David Anglin  <dave.anglin@bell.net>
7052         * sysdeps/hppa/nptl/pthread_spin_init.c (pthread_spin_init): Replace
7053         asm stw with atomic_exchange_rel.  Add explanatory comment.
7054         * sysdeps/hppa/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
7055         Likewise.
7057 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
7059         [BZ #19122]
7060         * include/unistd.h [IS_IN (rtld)]: Include <dl-unistd.h>.
7061         * sysdeps/generic/dl-unistd.h: New file.
7062         * sysdeps/mach/hurd/dl-unistd.h: Likewise.
7064 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
7066          [BZ #19122]
7067          * include/sys/mman.h [IS_IN (rtld)]: Include <dl-mman.h>.
7068          * sysdeps/generic/dl-mman.h: New file.
7069          * sysdeps/mach/hurd/dl-mman.h: Likewise.
7071 2016-01-05  Joseph Myers  <joseph@codesourcery.com>
7073         * manual/texinfo.tex: Update to version 2016-01-04.21 with
7074         trailing whitespace removed.
7075         * scripts/config.guess: Update to version 2016-01-01.
7076         * scripts/config.sub: Update to version 2016-01-01.
7077         * scripts/move-if-change: Update from gnulib.
7079 2016-01-04  Anton Blanchard  <anton@samba.org>
7081         * sysdeps/ieee754/dbl-64/e_pow.c (log1): Use unsigned int
7082         for array indices.
7083         * sysdeps/ieee754/dbl-64/e_pow.c (my_log2): Likewise.
7085 2016-01-04  Joseph Myers  <joseph@codesourcery.com>
7087         * NEWS: Update copyright dates.
7088         * catgets/gencat.c (print_version): Likewise.
7089         * csu/version.c (banner): Likewise.
7090         * debug/catchsegv.sh: Likewise.
7091         * debug/pcprofiledump.c (print_version): Likewise.
7092         * debug/xtrace.sh (do_version): Likewise.
7093         * elf/ldconfig.c (print_version): Likewise.
7094         * elf/ldd.bash.in: Likewise.
7095         * elf/pldd.c (print_version): Likewise.
7096         * elf/sotruss.sh: Likewise.
7097         * elf/sprof.c (print_version): Likewise.
7098         * iconv/iconv_prog.c (print_version): Likewise.
7099         * iconv/iconvconfig.c (print_version): Likewise.
7100         * locale/programs/locale.c (print_version): Likewise.
7101         * locale/programs/localedef.c (print_version): Likewise.
7102         * login/programs/pt_chown.c (print_version): Likewise.
7103         * malloc/memusage.sh (do_version): Likewise.
7104         * malloc/memusagestat.c (print_version): Likewise.
7105         * malloc/mtrace.pl: Likewise.
7106         * manual/libc.texinfo: Likewise.
7107         * nptl/version.c (banner): Likewise.
7108         * nscd/nscd.c (print_version): Likewise.
7109         * nss/getent.c (print_version): Likewise.
7110         * nss/makedb.c (print_version): Likewise.
7111         * posix/getconf.c (main): Likewise.
7112         * scripts/test-installation.pl: Likewise.
7113         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
7115         * All files with FSF copyright notices: Update copyright dates
7116         using scripts/update-copyrights.
7117         * intl/plural.c: Regenerated.
7118         * locale/programs/charmap-kw.h: Likewise.
7119         * locale/programs/locfile-kw.h: Likewise.
7121 2016-01-02  Helge Deller  <deller@gmx.de>
7123         [BZ #19285]
7124         * sysdeps/unix/sysv/linux/hppa/bits/mman.h (MAP_STACK): Define.
7125         (MAP_HUGETLB, MCL_ONFAULT): Likewise.
7126         (MADV_HUGEPAGE, MADV_NOHUGEPAGE, MADV_DONTDUMP, MADV_DODUMP): Likewise.
7127         (MADV_xxK_PAGES): Remove.
7129 2016-01-01  Mike Frysinger  <vapier@gentoo.org>
7131         [BZ #15421]
7132         * sysdeps/ia64/fpu/w_lgamma_main.c: Include math.h & math_private.h.
7133         [BUILD_LGAMMA]: Wrap all code by define.  Re-indent sub-preprocessor.
7134         * sysdeps/ia64/fpu/w_lgammaf_main.c: Likewise.
7135         * sysdeps/ia64/fpu/w_lgammal_main.c: Likewise.
7137 2015-12-30  Dmitry V. Levin  <ldv@altlinux.org>
7139         [BZ #19408]
7140         * sysdeps/unix/sysv/linux/personality.c: New file.
7141         * sysdeps/unix/sysv/linux/sparc/sparc64/personality.c: Likewise.
7142         * sysdeps/unix/sysv/linux/tst-personality.c: Likewise.
7143         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == misc]
7144         (sysdep_routines): Add personality.
7145         (tests): Add tst-personality.
7146         * sysdeps/unix/sysv/linux/syscalls.list (personality): Move ...
7147         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ... here.
7148         * sysdeps/unix/sysv/linux/arm/syscalls.list (personality): New entry.
7149         * sysdeps/unix/sysv/linux/hppa/syscalls.list (personality): Likewise.
7150         * sysdeps/unix/sysv/linux/i386/syscalls.list (personality): Likewise.
7151         * sysdeps/unix/sysv/linux/m68k/syscalls.list (personality): Likewise.
7152         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (personality):
7153         Likewise.
7154         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (personality):
7155         Likewise.
7156         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (personality):
7157         Likewise.
7158         * sysdeps/unix/sysv/linux/sh/syscalls.list (personality): Likewise.
7159         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (personality):
7160         Likewise.
7162 2015-12-30  Aurelien Jarno  <aurelien@aurel32.net>
7164         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include <string.h>.
7165         (PATH_ARM_SYSTYPE): Remove.
7166         (PATH_CPUINFO): Likewise.
7167         (IO_BASE_FOOTBRIDGE): Likewise.
7168         (IO_SHIFT_FOOTBRIDGE): Likewise.
7169         (struct platform): Likewise.
7170         (init_iosys): Remove compatibility code for 2.4 kernels.
7171         * sysdeps/unix/sysv/linux/arm/localplt.data: Remove fscanf.
7173 2015-12-29  Florian Weimer  <fweimer@redhat.com>
7175         * malloc/tst-malloc-thread-fail.c: New file.
7176         * malloc/Makefile (tests): Add tst-malloc-thread-fail.
7177         (tst-malloc-thread-fail): Link against libpthread.
7179 2015-12-29  Mike Frysinger  <vapier@gentoo.org>
7181         * scripts/list-fixed-bugs.py: Import argparse.  Call main instead.
7182         (get_parser): New function.
7183         (main): New function.
7185 2015-12-29  Rob Wu  <rob@robwu.nl>
7187         [BZ #19369]
7188         * resolv/res_init.c (__res_vinit): Reset defdname before use.
7190 2015-12-29  John David Anglin  <danglin@gcc.gnu.org>
7192         [BZ #19270]
7193         * sysdeps/hppa/fpu/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
7195 2015-12-28  Mike Frysinger  <vapier@gentoo.org>
7197         [BZ #15421]
7198         * sysdeps/ia64/fpu/w_lgamma_main.c: Change gammaf to gamma.
7200 2015-12-23  Torvald Riegel  <triegel@redhat.com>
7202         [BZ #13690]
7203         * sysdeps/nptl/lowlevellock.h (__lll_unlock): Do not access the lock
7204         after releasing it.
7205         (__lll_robust_unlock): Likewise.
7206         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
7207         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_unlock): Likewise.
7208         (lll_robust_unlock): Likewise.
7209         * sysdeps/unix/sysv/linux/lowlevellock-futex.h (__lll_private_flag):
7210         Prevent warnings in callers.
7212 2015-12-23  Florian Weimer  <fweimer@redhat.com>
7214         * malloc/arena.c (list_lock): Update comment.
7216 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
7218         * sysdeps/powerpc/hwcapinfo.c: Export symbol
7219         __parse_hwcap_and_convert_at_platform to libc.a.
7221 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
7223         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Added
7224         platform and feature support for POWER9.
7225         * sysdeps/powerpc/dl-procinfo.h: Likewise.
7226         * sysdeps/powerpc/powerpc32/power9/Implies: New file.
7227         * sysdeps/powerpc/powerpc32/power9/fpu/multiarch/Implies: Likewise.
7228         * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Likewise.
7229         * sysdeps/powerpc/powerpc64/power9/Implies: Likewise, for powerpc64.
7230         * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
7231         * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
7232         * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
7234 2015-12-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7236         Harmonize generic stdio-lock support with nptl
7238         This fixes build when _IO_funlockfile is a macro, fixes build where
7239         _IO_acquire_lock_clear_flags2 is used, and fixes unlocking on unexpected
7240         stack unwind.
7242         * sysdeps/generic/stdio-lock.h [__EXCEPTIONS] (_IO_acquire_lock,
7243         _IO_release_lock ): Use cleanup attribute on new
7244         _IO_acquire_lock_file variable instead of assuming that
7245         _IO_release_lock will be called.
7246         [!__EXCEPTIONS] (_IO_acquire_lock): Define to non-existing
7247         _IO_acquire_lock_needs_exceptions_enabled.
7248         (_IO_acquire_lock_clear_flags2): New macro.
7250 2015-12-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7252         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
7254 2015-12-21  Florian Weimer  <fweimer@redhat.com>
7256         [BZ #19182]
7257         * malloc/arena.c (list_lock): Document lock ordering requirements.
7258         (free_list_lock): New lock.
7259         (ptmalloc_lock_all): Comment on free_list_lock.
7260         (ptmalloc_unlock_all2): Reinitialize free_list_lock.
7261         (detach_arena): Update comment.  free_list_lock is now needed.
7262         (_int_new_arena): Use free_list_lock around detach_arena call.
7263         Acquire arena lock after list_lock.  Add comment, including FIXME
7264         about incorrect synchronization.
7265         (get_free_list): Switch to free_list_lock.
7266         (reused_arena): Acquire free_list_lock around detach_arena call
7267         and attached threads counter update.  Add two FIXMEs about
7268         incorrect synchronization.
7269         (arena_thread_freeres): Switch to free_list_lock.
7270         * malloc/malloc.c (struct malloc_state): Update comments to
7271         mention free_list_lock.
7273 2015-12-21  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
7275         * sysdeps/ieee754/dbl-64/s_sin.c (csloww, csloww1, csloww2):
7276         Remove functions.
7277         (sloww, sloww1): Accept argument to offset quadrant.
7278         (sloww, sloww1, sloww2): Call __mpsin or __mpcos based on
7279         quadrant.
7280         (__sin, __cos): Consolidate common code into new functions.
7281         (reduce_sincos_1, do_sincos_1): New functions.
7282         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
7284         * sysdeps/ieee754/dbl-64/s_sin.c (__sin, __cos): Move common
7285         code to new functions.
7286         (reduce_sincos_2, do_sincos_2): New functions.
7287         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
7289         * sysdeps/ieee754/dbl-64/s_sin.c (__sin) [!IN_SINCOS]: Skip
7290         common code for sincos.
7291         (__cos) [!IN_SINCOS]: Likewise.
7292         * sysdeps/ieee754/dbl-64/s_sincos.c (reduce_and_compute_sincos):
7293         New function.
7294         (__sincos): Use it.
7296 2015-12-20  Aurelien Jarno  <aurelien@aurel32.net>
7298         * sysdeps/i386/fpu/libm-test-ulps: Move to ....
7299         * sysdeps/i386/i686/multiarch/fpu/libm-test-ulps: ...here.
7300         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
7302 2015-12-19  Andrew Senkevich  <andrew.senkevich@intel.com>
7304         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: New file.
7305         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new file.
7306         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
7307         * sysdeps/x86_64/multiarch/memset.S: Added new IFUNC branch.
7308         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
7309         * sysdeps/x86/cpu-features.h (bit_Prefer_No_VZEROUPPER,
7310         index_Prefer_No_VZEROUPPER): New feature.
7311         * sysdeps/x86/cpu-features.c (init_cpu_features): Set the
7312         Prefer_No_VZEROUPPER for Knights Landing.
7314 015-12-18  Torvald Riegel  <triegel@redhat.com>
7316         * math/atest-exp2.c (mp_exp_m1): Remove.
7318 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7320         * sysdeps/unix/sysdep.h (SYSCALL_CANCEL): Fix macro for zero argument
7321         syscalls.
7322         (__SYSCALL0): New macro.
7323         (__SYSCALL1): Likewise.
7324         (__SYSCALL2): Likewise.
7325         (__SYSCALL3): Likewise.
7326         (__SYSCALL4): Likewise.
7327         (__SYSCALL5): Likewise.
7328         (__SYSCALL6): Likewise.
7329         (__SYSCALL_CONCAT_X): Likewise.
7330         (__SYSCALL_CONCAT): Likewise.
7331         (__SYSCALL_DIST): Likewise.
7332         (__SYSCALL_CALL): Likewise.
7334 2015-12-17  H.J. Lu  <hongjiu.lu@intel.com>
7336         [BZ #19363]
7337         * sysdeps/unix/sysv/linux/x86_64/x32/times.c: New file.
7339 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7341         [BZ #19375]
7342         * sysdeps/powerpc/power7/fpu/s_logb.c (__logb): Fix return for
7343         negative subnormals.
7345 2015-12-16  H.J. Lu  <hongjiu.lu@intel.com>
7347         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
7348         (REGISTERS_CLOBBERED_BY_SYSCALL): New.
7349         (INTERNAL_SYSCALL_NCS): Use it.
7350         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
7352 2015-12-16  Florian Weimer  <fweimer@redhat.com>
7354         [BZ #19243]
7355         * malloc/arena.c (get_free_list): Remove assert and adjust
7356         reference count handling.  Add comment about reused_arena
7357         interaction.
7358         (reused_arena): Add comments abount get_free_list interaction.
7359         * malloc/tst-malloc-thread-exit.c: New file.
7360         * malloc/Makefile (tests): Add tst-malloc-thread-exit.
7361         (tst-malloc-thread-exit): Link against libpthread.
7363 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
7365         [BZ #19367]
7366         * sysdeps/unix/sysv/linux/wordsize-64/mmap.c: New file.
7367         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h: Likewise.
7368         * sysdeps/unix/sysv/linux/x86_64/64/mmap.c: Likewise.
7369         * sysdeps/x86/cpu-features.h (bit_Prefer_MAP_32BIT_EXEC): New.
7370         (index_Prefer_MAP_32BIT_EXEC): Likewise.
7372 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
7374         * sysdeps/x86/cpu-features.c (init_cpu_features): Enable
7375         Silvermont optimizations for Knights Landing.
7377 2015-12-15  Andreas Schwab  <schwab@suse.de>
7379         [BZ #17197]
7380         * iconvdata/ibm930.c (BODY for TO_LOOP): Record current DBCS state
7381         immediately after emitting SI.
7382         * iconvdata/ibm933.c (BODY for TO_LOOP): Likewise.
7383         * iconvdata/ibm935.c (BODY for TO_LOOP): Likewise.
7384         * iconvdata/ibm937.c (BODY for TO_LOOP): Likewise.
7385         * iconvdata/ibm939.c (BODY for TO_LOOP): Likewise.
7386         * iconvdata/bug-iconv10.c: New file.
7387         * iconvdata/Makefile (tests): Add bug-iconv10.
7388         ($(objpfx)bug-iconv10.out): New rule.
7390 2015-12-15  Florian Weimer  <fweimer@redhat.com>
7392         * dlfcn/tst-rec-dlopen.c (call_func): Cast dlsym result, fixing an
7393         aliasing violation.
7395 2015-12-14  Joseph Myers  <joseph@codesourcery.com>
7397         [BZ #18472]
7398         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Handle entries
7399         for the form NAME@VERSION:OBSOLETED and generate SHLIB_COMPAT
7400         conditionals for them.
7401         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Likewise.
7402         * sysdeps/unix/sysv/linux/sys/kdaemon.h: Remove file.
7403         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
7404         sys/kdaemon.h.
7405         * sysdeps/unix/sysv/linux/syscalls.list (bdflush): Make into
7406         compat-only syscall, obsoleted in glibc 2.23.
7407         (create_module): Likewise.
7408         (get_kernel_syms): Likewise.
7409         (query_module): Likewise.
7410         (uselib): Likewise.
7411         * manual/sysinfo.texi (System Parameters): Do not mention bdflush.
7413 2015-12-11  Aurelien Jarno  <aurelien@aurel32.net>
7415         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include
7416         <linux/version.h>.
7417         [LINUX_VERSION_CODE >= KERNEL_VERSION(2,4,23)]: Remove
7418         conditional code.
7419         (init_iosys): Use CTL_BUS_ISA instead of BUS_ISA in iobase_name
7420         and ioshift_name initialization.
7422 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
7424         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
7425         Fix indentation.
7427 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
7429         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Fix indentation.
7431 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
7433         * stdlib/strtol_l.c (__strtol_l): Fix indentation.
7435 2015-12-10  Aurelien Jarno  <aurelien@aurel32.net>
7436             Jakub Wilk  <jwilk@debian.org>
7438         [BZ #19347]
7439         * sysdeps/unix/grantpt.c [!HAVE_PT_CHOWN] (grantpt): Do not try
7440         to change the group of the device to the tty group.
7442 2015-12-10  Paul Eggert  <eggert@cs.ucla.edu>
7444         Split large string section; add truncation advice
7445         * manual/examples/strncat.c: Remove.
7446         This example was misleading, as the code would have undefined
7447         behavior if "hello" was longer than SIZE.  Anyway, the manual
7448         shouldn't encourage strncpy+strncat for this sort of thing.
7449         * manual/string.texi (Copying Strings and Arrays): Split into
7450         three sections Copying Strings and Arrays, Concatenating Strings,
7451         and Truncating Strings, as this section was way too long.  All
7452         cross-referenced changed.  Add advice about string-truncation
7453         functions.  Remove misleading strncat example.
7455 2015-12-10  Carlos O'Donell  <carlos@redhat.com>
7457         * manual/nss.texi (NSS Modules Interface): Document
7458         NSS_STATUS_NOTFOUND and SUCCESS.
7460 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
7462         [BZ 18568]
7463         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
7464         201505L, for Unicode 8.
7466 2015-12-09  Carlos O'Donell  <carlos@redhat.com>
7468         * locale/C-translit.h: Regenerate.
7470 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
7472         * locale/C-translit.h.in: Remove duplicate transliterations for U+0152
7473         and U+0153.
7475 2015-12-09  Joseph Myers  <joseph@codesourcery.com>
7477         [BZ #19351]
7478         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): When
7479         expanding log(1+z), compare z rather than its square with epsilon
7480         to determine when to avoid evaluating the expansion.
7482         [BZ #19350]
7483         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
7484         Increase overflow threshold.
7486         [BZ #19349]
7487         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Return argument
7488         when small.
7490         * sysdeps/unix/sysv/linux/i386/kernel-features.h
7491         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
7492         New macro.
7493         [__LINUX_KERNEL_VERSION >= 0x040300]
7494         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
7495         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
7496         Likewise.
7497         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
7498         Likewise.
7499         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
7500         Likewise.
7501         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
7502         Likewise.
7503         [__LINUX_KERNEL_VERSION >= 0x040300]
7504         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
7505         [__LINUX_KERNEL_VERSION >= 0x040300]
7506         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
7507         [__LINUX_KERNEL_VERSION >= 0x040300]
7508         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
7509         [__LINUX_KERNEL_VERSION >= 0x040300]
7510         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
7511         [__LINUX_KERNEL_VERSION >= 0x040300]
7512         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
7513         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
7514         Likewise.
7515         [__LINUX_KERNEL_VERSION >= 0x040300]
7516         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
7517         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
7518         Likewise.
7519         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
7520         Likewise.
7521         [__LINUX_KERNEL_VERSION >= 0x040300]
7522         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
7523         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
7524         Likewise.
7525         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
7526         Likewise.
7527         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
7528         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMMSG_SYSCALL):
7529         Likewise.
7530         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMMSG_SYSCALL):
7531         Likewise.
7532         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
7533         Likewise.
7534         [__LINUX_KERNEL_VERSION >= 0x040300]
7535         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
7536         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
7537         Likewise.
7538         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
7539         Likewise.
7540         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
7541         Likewise.
7542         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
7543         Likewise.
7544         [__LINUX_KERNEL_VERSION >= 0x040300]
7545         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
7546         [__LINUX_KERNEL_VERSION >= 0x040300]
7547         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
7548         [__LINUX_KERNEL_VERSION >= 0x040300]
7549         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
7550         [__LINUX_KERNEL_VERSION >= 0x040300]
7551         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
7552         [__LINUX_KERNEL_VERSION >= 0x040300]
7553         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
7554         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
7555         Likewise.
7556         [__LINUX_KERNEL_VERSION >= 0x040300]
7557         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
7558         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
7559         Likewise.
7560         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
7561         Likewise.
7562         [__LINUX_KERNEL_VERSION >= 0x040300]
7563         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
7564         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
7565         Likewise.
7566         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
7567         Likewise.
7568         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7569         (__ASSUME_SOCKET_SYSCALL): Likewise.
7570         (__ASSUME_BIND_SYSCALL): Likewise.
7571         (__ASSUME_CONNECT_SYSCALL): Likewise.
7572         (__ASSUME_LISTEN_SYSCALL): Likewise.
7573         (__ASSUME_ACCEPT_SYSCALL): Likewise.
7574         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
7575         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
7576         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
7577         (__ASSUME_SEND_SYSCALL): Likewise.
7578         (__ASSUME_SENDTO_SYSCALL): Likewise.
7579         (__ASSUME_RECV_SYSCALL): Likewise.
7580         (__ASSUME_RECVFROM_SYSCALL): Likewise.
7581         (__ASSUME_SHUTDOWN_SYSCALL): Likewise.
7582         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
7583         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
7584         (__ASSUME_SENDMSG_SYSCALL): Likewise.
7585         (__ASSUME_RECVMSG_SYSCALL): Likewise.
7586         * sysdeps/unix/sysv/linux/sh/kernel-features.h
7587         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SOCKET_SYSCALL):
7588         Likewise.
7589         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_BIND_SYSCALL):
7590         Likewise.
7591         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_CONNECT_SYSCALL):
7592         Likewise.
7593         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_LISTEN_SYSCALL):
7594         Likewise.
7595         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_ACCEPT_SYSCALL):
7596         Likewise.
7597         [__LINUX_KERNEL_VERSION >= 0x020625]
7598         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
7599         [__LINUX_KERNEL_VERSION >= 0x020625]
7600         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
7601         [__LINUX_KERNEL_VERSION >= 0x020625]
7602         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
7603         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SEND_SYSCALL):
7604         Likewise.
7605         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDTO_SYSCALL):
7606         Likewise.
7607         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECV_SYSCALL):
7608         Likewise.
7609         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVFROM_SYSCALL):
7610         Likewise.
7611         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SHUTDOWN_SYSCALL):
7612         Likewise.
7613         [__LINUX_KERNEL_VERSION >= 0x020625]
7614         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
7615         [__LINUX_KERNEL_VERSION >= 0x020625]
7616         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
7617         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDMSG_SYSCALL):
7618         Likewise.
7619         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVMSG_SYSCALL):
7620         Likewise.
7622 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
7624         * sysdeps/unix/sysv/linux/mips/configure.ac (has-mpf64): Define to
7625         record the current if the current ABI and CPU support the FP64
7626         extension.
7627         (has-modd-spreg): Define to record the current if the current ABI and
7628         CPU support 32-bit floating point values in odd FPU registers.
7629         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
7630         * sysdeps/mips/Makefile (tst-abi-fpxxomod): Only build when
7631         $(has-modd-spreg) equals yes.
7632         (tst-abi-fp64amod): Only build when $(has-mpf64) equals yes.
7633         (tst-abi-fp64mod): Only build when both $(has-mpf64) and
7634         $(has-modd-spreg) equal yes.
7636 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
7638         * sysdeps/unix/grantpt.c (grantpt): Call__basename instead of
7639         basename.
7641 2015-12-08  Siddhesh Poyarekar  <sid@reserved-bit.com>
7643         * benchtests/Makefile (bench-math): Move ffs and ffsll...
7644         (bench-string): ... here.
7645         (bench): Add bench-string.
7646         (string-bench, wcsmbs-bench, stdlib-bench, stdio-common-bench): Rename
7647         to *-benchset to reflect what they are.
7648         (benchset): Adjust.
7650         * benchtests/sincos-inputs: Add inputs from sin-inputs and
7651         cos-inputs.
7653 2015-12-07  Andrew Senkevich  <andrew.senkevich@intel.com>
7655         * sysdeps/x86/fpu/bits/math-vector.h: W/o -fopenmp use GCC 6.*
7656         __attribute__ ((__simd__)) for vector math function declarations.
7658 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
7660         Fix typo in strncat, wcsncat manual entries
7661         * manual/string.texi (Copying and Concatenation): Fix typos in
7662         sample implementations of strncat and wcsncat, by having them use
7663         the old value of the destination length, not the new one.
7665 2015-12-04  Joseph Myers  <joseph@codesourcery.com>
7667         [BZ #16961]
7668         [BZ #16962]
7669         * math/s_nan.c (__nan): Use __strtod_nan instead of constructing a
7670         string on the stack for strtod.
7671         * math/s_nanf.c (__nanf): Use __strtof_nan instead of constructing
7672         a string on the stack for strtof.
7673         * math/s_nanl.c (__nanl): Use __strtold_nan instead of
7674         constructing a string on the stack for strtold.
7675         * stdlib/Versions (libc): Add __strtof_nan, __strtod_nan and
7676         __strtold_nan to GLIBC_PRIVATE.
7677         * math/test-nan-overflow.c: New file.
7678         * math/test-nan-payload.c: Likewise.
7679         * math/Makefile (tests): Add test-nan-overflow and
7680         test-nan-payload.
7682 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
7684         Consistency about byte vs character in string.texi
7685         * manual/string.texi (String and Array Utilities):
7686         Distinguish more carefully among bytes, multibyte characters,
7687         and wide characters.  Use "byte" when talking about C 'char',
7688         to distinguish it more clearly from multibyte characters.
7689         Say "wide character" or "multibyte character" instead of
7690         "character", when a wide or multibyte character is intended.
7691         Similarly for "multibyte string" versus "string".
7692         Define these terms more carefully.
7694 2015-12-03  Chris Metcalf  <cmetcalf@ezchip.com>
7696         * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): New symbol.
7697         * sysdeps/microblaze/math_private.h (LDBL_CLASSIFY_COMPAT):
7698         Likewise.
7699         * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
7700         * sysdeps/nios2/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
7701         * sysdeps/sh/math_private.h: New file.
7702         * sysdeps/m68k/coldfire/fpu/math_private.h: Likewise.
7703         * sysdeps/ieee754/dbl-64/s_finite.c [defined NO_LONG_DOUBLE &&
7704         defined LDBL_CLASSIFY_COMPAT]: Create compat symbol for internal
7705         long double function name.
7706         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
7707         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
7708         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
7709         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
7710         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
7711         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
7712         Remove __finitel, __isinfl, and __isnanl.
7713         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
7714         Likewise.
7715         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
7716         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
7717         Remove __finitel.
7718         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
7719         Likewise.
7720         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
7722 2015-12-03  Andrew Senkevich  <andrew.senkevich@intel.com>
7724         * math/Makefile ($(inst_libdir)/libm.so): Corrected path to
7725         installed libmvec_nonshared.a.
7727 2015-12-03  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
7729         * sysdeps/powerpc/Makefile (sysdep-dl-routines): Add hwcapinfo.
7730         (sysdep_routines): Likewise.
7731         (sysdep-rtld-routines): Likewise.
7732         [$(subdir) = nptl](tests): Add test-get_hwcap and test-get_hwcap-static
7733         [$(subdir) = nptl](tests-static): test-get_hwcap-static
7734         * sysdeps/powerpc/Versions: Added new
7735         __parse_hwcap_and_convert_at_platform symbol to GLIBC-2.23.
7736         * sysdeps/powerpc/hwcapinfo.c: New file.
7737         (__tcb_parse_hwcap_and_convert_at_platform): New function to initialize
7738         and parse hwcap, hwcap2 and platform number information.
7739         * sysdeps/powerpc/hwcapinfo.h: New file.  Creates global variables
7740         to store HWCAP+HWCAP2 and platform number.
7741         * sysdeps/powerpc/nptl/tcb-offsets.sym: Added new offsets
7742         for HWCAP+HWCAP2 and platform number in the TCB.
7743         * sysdeps/powerpc/nptl/tls.h: New functionality.  Stores
7744         the HWCAP, HWCAP2 and platform number in the TCB.
7745         (dtv): Added new fields for HWCAP+HWCAP2 and platform number.
7746         (TLS_INIT_TP): Included calls to add the hwcap and
7747         at_platform values in the TCB in TP initialization.
7748         (TLS_DEFINE_INIT_TP): Likewise.
7749         (THREAD_GET_HWCAP): New macro.
7750         (THREAD_SET_HWCAP): Likewise.
7751         (THREAD_GET_AT_PLATFORM): Likewise.
7752         (THREAD_SET_AT_PLATFORM): Likewise.
7753         * sysdeps/powerpc/powerpc32/dl-machine.h:
7754         (dl_platform_init): New function that calls
7755         __parse_hwcap_and_convert_at_platform for the dymanic linking case for
7756         powerpc32.
7757         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise, for powerpc64.
7758         * sysdeps/powerpc/test-get_hwcap-static.c: New file.  Testcase for
7759         this functionality, static linking case.
7760         * sysdeps/powerpc/test-get_hwcap.c: New file.  Likewise, dynamic
7761         linking case.
7762         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Added call to
7763         __parse_hwcap_and_convert_at_platform for the static linking case.
7764         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist:
7765         Included the new __parse_hwcap_and_convert_at_platform symbol in the
7766         ABI list for GLIBC 2.23.
7767         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist:
7768         Likewise.
7769         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist:
7770         Likewise.
7772 2015-12-02  Ludovic Courtès  <ludo@gnu.org>
7774         * configure.ac: Use 'pwd -P' instead of '/bin/pwd'.
7775         * configure: Regenerate.
7776         * io/ftwtest-sh: Use 'pwd -P' instead of '/bin/pwd'.
7777         * scripts/rellns-sh: Likewise.  Remove 'pwd' variable.
7779 2015-12-02  Carlos O'Donell  <carlos@redhat.com>
7781         * iconvdata/ibm930.c: Add comment explaining encoding uses.
7782         * iconvdata/ibm933.c: Likewise.
7783         * iconvdata/ibm935.c: Likewise.
7784         * iconvdata/ibm937.c: Likewise.
7785         * iconvdata/ibm939.c: Likewise.
7787 2015-12-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7789         * nptl/tst-cancel20.c (do_one_test): Move the pipe closing after
7790         pthread_join.
7791         * nptl/tst-cancel21.c (tf): Likewise.
7793 2015-12-01  H.J. Lu  <hongjiu.lu@intel.com>
7795         [BZ #19313]
7796         * bits/typesizes.h (__CPU_MASK_TYPE): New.
7797         * sysdeps/mach/hurd/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
7798         * sysdeps/nacl/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
7799         * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h (__CPU_MASK_TYPE):
7800         Likewise.
7801         * sysdeps/unix/sysv/linux/generic/bits/typesizes.h (__CPU_MASK_TYPE):
7802         Likewise.
7803         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h (__CPU_MASK_TYPE):
7804         Likewise.
7805         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h (__CPU_MASK_TYPE):
7806         Likewise.
7807         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h (__CPU_MASK_TYPE):
7808         * sysdeps/unix/sysv/linux/bits/sched.h (__cpu_mask): Replace
7809         unsigned long int with __CPU_MASK_TYPE.
7811 2015-12-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
7813         * sysdeps/aarch64/libm-test-ulps: Regenerated.
7815 2015-12-01  Joseph Myers  <joseph@codesourcery.com>
7817         * sysdeps/ieee754/dbl-64/e_sqrt.c: Do not include uroot.h.
7818         (__ieee754_sqrt): Use hex float constants instead of tm256.x and
7819         t512.x.
7820         * sysdeps/ieee754/dbl-64/uroot.h: Remove file.
7822 2015-11-30  Amit Pawar  <amit.pawar@amd.com>
7824         [BZ #19214]
7825         * sysdeps/x86/cpu-features.c (get_common_indeces): Add an
7826         argument to return extended model.  Update family and model
7827         with extended family and model when family == 0x0f.
7828         (init_cpu_features): Updated.
7830 2015-11-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7832         The RPC interface used by mmap uses the unsigned vm_offset_t, not the
7833         signed off_t, so 32bit bigger than 2GiB values are fine actually.
7835         * sysdeps/mach/hurd/mmap64.c: New file.
7837 2015-11-29  Thomas Schwinge  <thomas@codesourcery.com>
7839         * sysdeps/mach/hurd/fork.c (__fork): Install correct number of send
7840         rights for its main user thread in NEWTASK.
7842 2015-11-28  Maciej W. Rozycki  <macro@imgtec.com>
7844         * sysdeps/mips/fpu_control.h (_FPU_RESERVED): Include ABS2008.
7845         (_FPU_DEFAULT, _FPU_IEEE) [__mips_nan2008]: Set ABS2008.
7847 2015-11-27  Carlos O'Donell  <carlos@redhat.com>
7849         [BZ #14259]
7850         * Makeconfig: Rename localedir to complocaledir.
7851         Rename inst_localedir to inst_complocaledir.
7852         * aclocal.m4: Rename libc_cv_localedir to libc_cv_complocaledir.
7853         * config.make.in: Use complocaledir and libc_cv_complocaledir.
7854         * configure.ac: Use libc_cv_complocaledir.
7855         * configure: Regenerate.
7856         * locale/Makefile: Use complocaledir. Rename define -DLOCALEDIR to
7857         -DCOMPLOCALEDIR.
7858         * locale/findlocale.c: Use COMPLOCALEDIR.
7859         * locale/loadarchive.c: Likewise.
7860         * locale/programs/locale.c: Likewise.
7861         * locale/programs/localedef.c: Likewise.
7862         * locale/programs/locarchive.c: Likewise.
7863         * localedata/Makefile: Use inst_complocaledir.
7864         * sysdeps/gnu/configure: Regenerate.
7865         * sysdeps/hppa/configure: Regenerate.
7866         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
7867         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
7868         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
7869         * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
7870         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
7871         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
7872         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
7874 2015-11-27  Andrew Senkevich  <andrew.senkevich@intel.com>
7876         [BZ #19058]
7877         * math/Makefile ($(inst_libdir)/libm.so): Added libmvec_nonshared.a to
7878         AS_NEEDED.
7879         * sysdeps/x86/fpu/bits/math-vector.h: Removed code with asm aliases
7880         workaround.
7881         * sysdeps/x86_64/fpu/Makefile (libmvec-support,
7882         libmvec-static-only-routines): Added new file.
7883         * sysdeps/x86_64/fpu/svml_finite_alias.S: New file.
7885 2015-11-25  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7887         * hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Destroy reply port
7888         of interrupted RPC instead of restoring it.
7890         * sysdeps/i386/setjmp.S (__sigsetjmp): Add hidden_def.
7891         * sysdeps/mach/hurd/accept4.c (__libc_accept4): Remove
7892         libc_hidden_def.
7893         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Initialize to get
7894         into initialized data instead of common. Define rtld_hidden_data_def.
7895         * sysdeps/mach/hurd/fxstatat64.c (__fxstatat64): Add libc_hidden_def.
7896         * sysdeps/mach/hurd/if_index.c (__if_freenameindex): Add
7897         libc_hidden_def.
7898         (if_freenameindex): Add libc_hidden_weak.
7899         (if_nameindex): Add libc_hidden_weak.
7900         * sysdeps/mach/hurd/open.c (_open64): Rename libc_hidden_weak into
7901         __open64.
7902         * sysdeps/mach/hurd/sigwait.c (__sigwait): Add libc_hidden_def.
7903         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Add libc_hidden_def.
7904         * sysdeps/mach/nanosleep.c: Include <time.h>
7905         (__nanosleep): Rename to __libc_nanosleep.
7906         (__nanosleep): Add weak_alias.
7907         (nanosleep): Update alias.
7909 2015-11-24  Joseph Myers  <joseph@codesourcery.com>
7911         * stdlib/strtod_nan.c: New file.
7912         * stdlib/strtod_nan_double.h: Likewise.
7913         * stdlib/strtod_nan_float.h: Likewise.
7914         * stdlib/strtod_nan_main.c: Likewise.
7915         * stdlib/strtod_nan_narrow.h: Likewise.
7916         * stdlib/strtod_nan_wide.h: Likewise.
7917         * stdlib/strtof_nan.c: Likewise.
7918         * stdlib/strtold_nan.c: Likewise.
7919         * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Likewise.
7920         * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Likewise.
7921         * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Likewise.
7922         * wcsmbs/wcstod_nan.c: Likewise.
7923         * wcsmbs/wcstof_nan.c: Likewise.
7924         * wcsmbs/wcstold_nan.c: Likewise.
7925         * stdlib/Makefile (routines): Add strtof_nan, strtod_nan and
7926         strtold_nan.
7927         * wcsmbs/Makefile (routines): Add wcstod_nan, wcstold_nan and
7928         wcstof_nan.
7929         * include/stdlib.h (__strtof_nan): Declare and use
7930         libc_hidden_proto.
7931         (__strtod_nan): Likewise.
7932         (__strtold_nan): Likewise.
7933         (__wcstof_nan): Likewise.
7934         (__wcstod_nan): Likewise.
7935         (__wcstold_nan): Likewise.
7936         * include/wchar.h (____wcstoull_l_internal): Declare.
7937         * stdlib/strtod_l.c: Do not include <ieee754.h>.
7938         (____strtoull_l_internal): Remove declaration.
7939         (STRTOF_NAN): Define macro.
7940         (SET_MANTISSA): Remove macro.
7941         (STRTOULL): Likewise.
7942         (____STRTOF_INTERNAL): Use STRTOF_NAN to parse NaN payload.
7943         * stdlib/strtof_l.c (____strtoull_l_internal): Remove declaration.
7944         (STRTOF_NAN): Define macro.
7945         (SET_MANTISSA): Remove macro.
7946         * sysdeps/ieee754/ldbl-128/strtold_l.c (STRTOF_NAN): Define macro.
7947         (SET_MANTISSA): Remove macro.
7948         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (STRTOF_NAN): Define
7949         macro.
7950         (SET_MANTISSA): Remove macro.
7951         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (STRTOF_NAN): Define
7952         macro.
7953         (SET_MANTISSA): Remove macro.
7954         * sysdeps/ieee754/ldbl-96/strtold_l.c (STRTOF_NAN): Define macro.
7955         (SET_MANTISSA): Remove macro.
7956         * wcsmbs/wcstod_l.c (____wcstoull_l_internal): Remove declaration.
7957         * wcsmbs/wcstof_l.c (____wcstoull_l_internal): Likewise.
7958         * wcsmbs/wcstold_l.c (____wcstoull_l_internal): Likewise.
7960         [BZ #19266]
7961         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check directly for
7962         upper case and lower case letters inside NAN(), not using TOLOWER.
7963         * stdlib/tst-strtod-nan-locale-main.c: New file.
7964         * stdlib/tst-strtod-nan-locale.c: Likewise.
7965         * stdlib/Makefile (tests): Add tst-strtod-nan-locale.
7966         [$(run-built-tests) = yes] ($(objpfx)tst-strtod-nan-locale.out):
7967         Depend on $(gen-locales).
7968         ($(objpfx)tst-strtod-nan-locale): Depend on $(libm).
7969         * wcsmbs/tst-wcstod-nan-locale.c: New file.
7970         * wcsmbs/Makefile (tests): Add tst-wcstod-nan-locale.
7971         [$(run-built-tests) = yes] ($(objpfx)tst-wcstod-nan-locale.out):
7972         Depend on $(gen-locales).
7973         ($(objpfx)tst-wcstod-nan-locale): Depend on $(libm).
7975 2015-11-24  Chris Metcalf  <cmetcalf@ezchip.com>
7977         * misc/tst-tsearch.c (TIMEOUT): Set to 10.
7979         * sysdeps/tile/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
7980         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Add
7981         __finitel, __isinfl, and __isnanl.
7982         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
7983         Likewise.
7984         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
7985         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Add
7986         __finitel.
7987         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
7988         Likewise.
7989         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
7991 2015-11-24  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
7993         * malloc/memusage.c (me): Remove redundant getenv call.
7995 2015-10-24  Florian Weimer  <fweimer@redhat.com>
7997         [BZ #19143]
7998         [BZ #19164]
7999         * nptl/check-cpuset.h: Remove.
8000         * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
8001         Remove CPU set size check.
8002         * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
8003         Likewise.
8004         * sysdeps/unix/sysv/linux/check-cpuset.h: Remove.
8005         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
8006         (__kernel_cpumask_size, __determine_cpumask_size): Remove.
8007         (__pthread_setaffinity_new): Remove CPU set size check.
8008         * sysdeps/unix/sysv/linux/sched_setaffinity.c
8009         (__kernel_cpumask_size): Remove.
8010         (__sched_setaffinity_new): Remove CPU set size check.
8011         * manual/threads.texi (Default Thread Attributes): Remove stale
8012         reference to check_cpuset_attr, determine_cpumask_size in comment.
8013         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == posix] (tests):
8014         Remove tst-getcpu.  Add tst-affinity, tst-affinity-pid.
8015         [$(subdir) == nptl] (tests): Add tst-thread-affinity-pthread,
8016         tst-thread-affinity-pthread2, tst-thread-affinity-sched.
8017         * sysdeps/unix/sysv/linux/tst-affinity.c: New file.
8018         * sysdeps/unix/sysv/linux/tst-affinity-pid.c: New file.
8019         * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c: New skeleton test file.
8020         * sysdeps/unix/sysv/linux/tst-thread-affinity-sched.c: New file.
8021         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread.c: New file.
8022         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread2.c: New file.
8023         * sysdeps/unix/sysv/linux/tst-thread-skeleton-affinity.c: New
8024         skeleton test file.
8025         * sysdeps/unix/sysv/linux/tst-getcpu.c: Remove.  Superseded by
8026         tst-affinity-pid.
8028 2015-11-24  Florian Weimer  <fweimer@redhat.com>
8030         * scripts/update-abilist.sh: New file.
8031         * Makefile (+subdir_targets): Add subdir_update-all-abi.
8032         * Makerules (update-all-abi-%, update-all-abi)
8033         (subdir_update-all-abi): New targets.
8034         * elf/Makefile (update-all-abi): New target.
8036 2015-11-24  Florian Weimer  <fweimer@redhat.com>
8038         Replace MUTEX_INITIALIZER with _LIBC_LOCK_INITIALIZER in generic code.
8039         * sysdeps/mach/hurd/libc-lock.h (_LIBC_LOCK_INITIALIZER): Define.
8040         (__libc_lock_define_initialized): Use it.
8041         * sysdeps/nptl/libc-lockP.h (_LIBC_LOCK_INITIALIZER): Define.
8042         * malloc/arena.c (list_lock): Use _LIBC_LOCK_INITIALIZER.
8043         * malloc/malloc.c (main_arena): Likewise.
8044         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): Remove.
8045         * sysdeps/nptl/malloc-machine.h (MUTEX_INITIALIZER): Remove.
8047 2015-11-23  Joseph Myers  <joseph@codesourcery.com>
8049         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
8050         (PTRACE_O_EXITKILL): New value in enum __ptrace_setoptions.
8051         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
8052         (PTRACE_O_MASK): Update value.
8053         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_O_EXITKILL):
8054         New value in enum __ptrace_setoptions.
8055         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
8056         (PTRACE_O_MASK): Update value.
8057         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
8058         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
8059         (PTRACE_O_MASK): Update value.
8060         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
8061         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
8062         (PTRACE_O_MASK): Update value.
8063         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
8064         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
8065         (PTRACE_O_MASK): Update value.
8066         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_SUSPEND_SECCOMP):
8067         New value in enum __ptrace_setoptions.
8068         (PTRACE_O_MASK): Update value.
8069         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_O_EXITKILL):
8070         New value in enum __ptrace_setoptions.
8071         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
8072         (PTRACE_O_MASK): Update value.
8074         * sysdeps/unix/sysv/linux/netpacket/packet.h (PACKET_COPY_THRESH):
8075         New macro.
8076         (PACKET_AUXDATA): Likewise.
8077         (PACKET_ORIGDEV): Likewise.
8078         (PACKET_VERSION): Likewise.
8079         (PACKET_HDRLEN): Likewise.
8080         (PACKET_RESERVE): Likewise.
8081         (PACKET_TX_RING): Likewise.
8082         (PACKET_LOSS): Likewise.
8083         (PACKET_VNET_HDR): Likewise.
8084         (PACKET_TX_TIMESTAMP): Likewise.
8085         (PACKET_TIMESTAMP): Likewise.
8086         (PACKET_FANOUT): Likewise.
8087         (PACKET_TX_HAS_OFF): Likewise.
8088         (PACKET_QDISC_BYPASS): Likewise.
8089         (PACKET_ROLLOVER_STATS): Likewise.
8090         (PACKET_FANOUT_DATA): Likewise.
8091         (PACKET_MR_UNICAST): Likewise.
8093         [BZ #19242]
8094         * stdlib/strtol_l.c (ISALPHA): Use _nl_C_locobj_ptr for locale.
8095         (TOUPPER): Likewise.
8096         * stdlib/tst-strtol-locale-main.c: New file.
8097         * stdlib/tst-strtol-locale.c: Likewise.
8098         * stdlib/Makefile (tests): Add tst-strtol-locale.
8099         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.ISO-8859-9.
8100         [$(run-built-tests) = yes] ($(objpfx)tst-strtol-locale.out):
8101         Depend on $(gen-locales).
8102         * wcsmbs/tst-wcstol-locale.c: New file.
8103         * wcsmbs/Makefile (tests): Add tst-wcstol-locale.
8104         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.UTF-8 and
8105         tr_TR.ISO-8859-9.
8106         [$(run-built-tests) = yes] ($(objpfx)tst-wcstol-locale.out):
8107         Depend on $(gen-locales).
8109 2015-11-20  Roland McGrath  <roland@hack.frob.com>
8111         * sysdeps/nacl/dl-map-segments.h (_dl_map_segments): Use
8112         __glibc_likely instead of __builtin_expect.  After falling back to
8113         dyncode_create in a non-ET_DYN case, use the allocate_code_data
8114         system interface to register the code pages as occupied.
8116 2015-11-20  Joseph Myers  <joseph@codesourcery.com>
8118         * sysdeps/arm/math_private.h [!_MATH_PRIVATE_H]: Change guard to
8119         [!ARM_MATH_PRIVATE_H].
8120         [!ARM_MATH_PRIVATE_H] (ARM_MATH_PRIVATE_H): Define macro.
8121         * sysdeps/hppa/math_private.h [!_MATH_PRIVATE_H]: Change guard to
8122         [!HPPA_MATH_PRIVATE_H].
8123         [!HPPA_MATH_PRIVATE_H] (HPPA_MATH_PRIVATE_H): Define macro.
8124         * sysdeps/i386/fpu/math_private.h [!_MATH_PRIVATE_H]: Change guard
8125         to [!I386_MATH_PRIVATE_H].
8126         [!I386_MATH_PRIVATE_H] (I386_MATH_PRIVATE_H): Define macro.
8127         * sysdeps/m68k/m680x0/fpu/math_private.h [!_MATH_PRIVATE_H]:
8128         Change guard to [!M68K_MATH_PRIVATE_H].
8129         [!M68K_MATH_PRIVATE_H] (M68K_MATH_PRIVATE_H): Define macro.
8130         * sysdeps/microblaze/math_private.h [!_MATH_PRIVATE_H]: Change
8131         guard to [!MICROBLAZE_MATH_PRIVATE_H].
8132         [!MICROBLAZE_MATH_PRIVATE_H] (MICROBLAZE_MATH_PRIVATE_H): Define
8133         macro.
8134         * sysdeps/mips/math_private.h [!_MATH_PRIVATE_H]: Change guard to
8135         [!MIPS_MATH_PRIVATE_H].
8136         [!MIPS_MATH_PRIVATE_H] (MIPS_MATH_PRIVATE_H): Define macro.
8137         * sysdeps/nios2/math_private.h [!_MATH_PRIVATE_H]: Change guard to
8138         [!NIO2_MATH_PRIVATE_H].
8139         [!NIO2_MATH_PRIVATE_H] (NIO2_MATH_PRIVATE_H): Define macro.
8140         * sysdeps/tile/math_private.h [!_MATH_PRIVATE_H]: Change guard to
8141         [!TILE_MATH_PRIVATE_H].
8142         [!TILE_MATH_PRIVATE_H] (TILE_MATH_PRIVATE_H): Define macro.
8144         [BZ #15421]
8145         * sysdeps/ieee754/s_signgam.c (signgam): Rename to __signgam,
8146         initialize with 0 and define as weak alias of __signgam.
8147         * include/math.h [!_ISOMAC] (__signgam): Declare.
8148         * math/Makefile (libm-calls): Add w_lgamma_compat.
8149         (tests): Add test-signgam-uchar, test-signgam-uchar-init,
8150         test-signgam-uint, test-signgam-uint-init, test-signgam-ullong and
8151         test-signgam-ullong-init.
8152         (tests-static): Add test-signgam-uchar-static,
8153         test-signgam-uchar-init-static, test-signgam-uint-static,
8154         test-signgam-uint-init-static, test-signgam-ullong-static and
8155         test-signgam-ullong-init-static.
8156         (CFLAGS-test-signgam-uchar.c): New variable.
8157         (CFLAGS-test-signgam-uchar-init.c): Likewise.
8158         (CFLAGS-test-signgam-uchar-static.c): Likewise.
8159         (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
8160         (CFLAGS-test-signgam-uint.c): Likewise.
8161         (CFLAGS-test-signgam-uint-init.c): Likewise.
8162         (CFLAGS-test-signgam-uint-static.c): Likewise.
8163         (CFLAGS-test-signgam-uint-init-static.c): Likewise.
8164         (CFLAGS-test-signgam-ullong.c): Likewise.
8165         (CFLAGS-test-signgam-ullong-init.c): Likewise.
8166         (CFLAGS-test-signgam-ullong-static.c): Likewise.
8167         (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
8168         * math/Versions (libm): Add GLIBC_2.23.
8169         * math/lgamma-compat.h: New file.
8170         * math/test-signgam-main.c: Likewise.
8171         * math/test-signgam-uchar-init-static.c: Likewise.
8172         * math/test-signgam-uchar-init.c: Likewise.
8173         * math/test-signgam-uchar-static.c: Likewise.
8174         * math/test-signgam-uchar.c: Likewise.
8175         * math/test-signgam-uint-init-static.c: Likewise.
8176         * math/test-signgam-uint-init.c: Likewise.
8177         * math/test-signgam-uint-static.c: Likewise.
8178         * math/test-signgam-uint.c: Likewise.
8179         * math/test-signgam-ullong-init-static.c: Likewise.
8180         * math/test-signgam-ullong-init.c: Likewise.
8181         * math/test-signgam-ullong-static.c: Likewise.
8182         * math/test-signgam-ullong.c: Likewise.
8183         * math/w_lgamma.c: Rename to w_lgamma_main.c and replace by
8184         wrapper of w_lgamma_main.c.
8185         * math/w_lgamma_compat.c: New file.
8186         * math/w_lgamma_compatf.c: Likewise.
8187         * math/w_lgamma_compatl.c: Likewise.
8188         * math/w_lgamma_main.c: New file.  Based on w_lgamma.c.  Include
8189         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
8190         defining compatibility symbols.
8191         (__lgamma): Change to LGFUNC (__lgamma).  Use CALL_LGAMMA.
8192         * math/w_lgammaf.c: Rename to w_lgammaf_main.c and replace by
8193         wrapper of w_lgammaf_main.c.
8194         * math/w_lgammaf_main.c: New file.  Based on w_lgammaf.c.  Include
8195         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
8196         defining compatibility symbols.
8197         (__lgammaf): Change to LGFUNC (__lgammaf).  Use CALL_LGAMMA.
8198         * math/w_lgammal.c: Rename to w_lgammal_main.c and replace by
8199         wrapper of w_lgammal_main.c.
8200         * math/w_lgammal_main.c: New file.  Based on w_lgammal.c.  Include
8201         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
8202         defining compatibility symbols.
8203         (__lgammal): Change to LGFUNC (__lgammal).  Use CALL_LGAMMA.
8204         * sysdeps/ia64/fpu/lgamma-compat.h: New file.
8205         * sysdeps/ia64/fpu/w_lgamma.c: Move to ....
8206         * sysdeps/ia64/fpu/w_lgamma_main.c: ...here.  Include
8207         <lgamma-compat.h>.
8208         (__ieee754_lgamma): Change to LGFUNC (lgamma).  Use CALL_LGAMMA.
8209         (__ieee754_gamma): Define as alias.
8210         * sysdeps/ia64/fpu/w_lgammaf.c: Move to ....
8211         * sysdeps/ia64/fpu/w_lgammaf_main.c: ...here.  Include
8212         <lgamma-compat.h>.
8213         (__ieee754_lgammaf): Change to LGFUNC (lgammaf).  Use CALL_LGAMMA.
8214         (__ieee754_gammaf): Define as alias.
8215         * sysdeps/ia64/fpu/w_lgammal.c: Move to ....
8216         * sysdeps/ia64/fpu/w_lgammal_main.c: ...here.  Include
8217         <lgamma-compat.h>.
8218         (__ieee754_lgammal): Change to LGFUNC (lgammal).  Use CALL_LGAMMA.
8219         (__ieee754_gammal): Define as alias.
8220         * sysdeps/ieee754/ldbl-opt/w_lgamma.c: Move to ....
8221         * sysdeps/ieee754/ldbl-opt/w_lgamma_compat.c: ...here.  Include
8222         <math/w_lgamma_compat.c>.
8223         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__lgammal_dbl_compat):
8224         Define as alias of __lgamma_compat and use in defining lgammal.
8225         * sysdeps/ieee754/ldbl-opt/w_lgammal.c: Move to ....
8226         * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c: ...here.  Include
8227         <math/lgamma-compat.h> and <math/w_lgamma_compatl.c>.
8228         (USE_AS_COMPAT): New macro.
8229         (LGAMMA_OLD_VER): Undefine and redefine.
8230         (lgammal): Do not define here.
8231         (gammal): Only define here if [GAMMA_ALIAS].
8232         * conform/linknamespace.pl (@whitelist): Remove signgam.
8233         * sysdeps/nacl/libm.abilist: Update.
8234         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
8235         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
8236         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
8237         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
8238         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
8239         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
8240         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
8241         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
8242         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
8243         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
8244         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
8245         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
8246         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
8247         Likewise.
8248         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
8249         Likewise.
8250         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
8251         Likewise.
8252         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
8253         Likewise.
8254         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
8255         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
8256         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
8257         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
8258         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
8259         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
8260         Likewise.
8261         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
8262         Likewise.
8263         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
8264         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
8265         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
8267 2015-11-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8269         [BZ #16364]
8270         * sysdeps/unix/sysv/linux/sleep.c: Remove file.
8271         * sysdeps/posix/sleep.c (__sleep): Simplify cancellation handling.
8273 2015-11-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
8275         * sysdeps/s390/fpu/bits/mathinline.h:
8276         Use __asm__ [__volatile__] instead of asm [volatile].
8277         * sysdeps/s390/abort-instr.h: Likewise.
8278         * sysdeps/s390/atomic-machine.h: Likewise.
8279         * sysdeps/s390/bits/string.h: Likewise.
8280         * sysdeps/s390/dl-tls.h: Likewise.
8281         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
8282         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
8283         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
8284         * sysdeps/s390/fpu/fesetround.c: Likewise.
8285         * sysdeps/s390/fpu/fpu_control.h: Likewise.
8286         * sysdeps/s390/fpu/s_fma.c: Likewise.
8287         * sysdeps/s390/fpu/s_fmaf.c: Likewise.
8288         * sysdeps/s390/memusage.h: Likewise.
8289         * sysdeps/s390/multiarch/ifunc-resolve.h: Likewise.
8290         * sysdeps/s390/nptl/pthread_spin_lock.c: Likewise.
8291         * sysdeps/s390/nptl/pthread_spin_trylock.c: Likewise.
8292         * sysdeps/s390/nptl/pthread_spin_unlock.c: Likewise.
8293         * sysdeps/s390/nptl/tls.h: Likewise.
8294         * sysdeps/s390/s390-32/__longjmp.c: Likewise.
8295         * sysdeps/s390/s390-32/backtrace.c: Likewise.
8296         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
8297         * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
8298         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
8299         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
8300         * sysdeps/s390/s390-64/__longjmp.c: Likewise.
8301         * sysdeps/s390/s390-64/backtrace.c: Likewise.
8302         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
8303         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Likewise.
8304         * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
8305         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
8306         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
8307         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Likewise.
8308         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
8309         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
8310         * sysdeps/unix/sysv/linux/s390/brk.c: Likewise.
8311         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
8312         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Likewise.
8313         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
8314         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c: Likewise.
8315         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
8316         * sysdeps/unix/sysv/linux/s390/sysconf.c: Likewise.
8318 2015-11-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8319             Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8321         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
8322         Add lwarx hint, and use macro for acquire instruction.
8323         * sysdeps/powerpc/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
8324         Likewise.
8325         * sysdep/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Move to ...
8326         * sysdeps/powerpc/nptl/pthread_spin_unlock.c: ... here, and
8327         update to use new atomic macros.
8329 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8331         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
8332         (__lll_trylock_elision): Fix setting of adapt_count.
8333         * sysdeps/unix/sysv/linux/powerpc/htm.h
8334         (_ABORT_PERSISTENT): Define to clarify persistent aborts.
8335         (_ABORT_NESTED_TRYLOCK): Renumber, and make persistent.
8336         (_ABORT_SYSCALL): Renumber, and clarify definition.
8337         (_ABORT_LOCK_BUSY): Renumber, make non-persistent.
8339 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8341         * sysdeps/ieee754/ldbl-128ibm/mpn2ldl.c: Include gmp headers
8342         after system headers to prevent MIN/MAX redefinition.  Define
8343         HAVE_ALLOCA to preserve builtin alloca usage.
8345 2015-11-17  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
8347         * sysdeps/ieee754/dbl-64/s_sin.c (__sin)[IN_SINCOS]: Mark function
8348         static and don't set or restore rounding.
8349         (__cos)[IN_SINCOS]: Likewise.
8350         * sysdeps/ieee754/dbl-64/s_sincos.c: Include s_sin.c.
8351         (__sincos): Set and restore rounding mode.  Remove check for infinite
8352         or NaN input.
8354         * sysdeps/ieee754/dbl-64/s_sin.c: Remove redundant else clauses.
8356         * benchtests/scripts/bench.py (_print_arg_data): Mark output variables
8357         as used.
8359 2015-11-16  Florian Weimer  <fweimer@redhat.com>
8361         * math/test-signgam-finite-c99.c (_Mlong_double_): Undefine.
8363 2015-11-14  H.J. Lu  <hongjiu.lu@intel.com>
8365         * config.make.in (have-glob-dat-reloc): New.
8366         * configure.ac (libc_cv_has_glob_dat): New.  Set to yes if
8367         target supports GLOB_DAT relocaton. AC_SUBST.
8368         * configure: Regenerated.
8369         * elf/Makefile (tests): Add tst-prelink.
8370         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
8371         (tst-prelink-ENV): New.
8372         ($(objpfx)tst-prelink-conflict.out): Likewise.
8373         ($(objpfx)tst-prelink-cmp.out): Likewise.
8374         * sysdeps/x86/tst-prelink.c: Moved to ...
8375         * elf/tst-prelink.c: Here.
8376         * sysdeps/x86/tst-prelink.exp: Moved to ...
8377         * elf/tst-prelink.exp: Here.
8378         * sysdeps/x86/Makefile (tests): Don't add tst-prelink.
8379         (tst-prelink-ENV): Removed.
8380         ($(objpfx)tst-prelink-conflict.out): Likewise.
8381         ($(objpfx)tst-prelink-cmp.out): Likewise.
8382         (tests-special): Don't add $(objpfx)tst-prelink-cmp.out.
8384 2015-11-13  Joseph Myers  <joseph@codesourcery.com>
8386         [BZ #14551]
8387         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Include <errno.h>.
8388         (__mpn_construct_long_double): If high part overflows to infinity,
8389         set errno and recompute overflowed result of the correct sign.
8390         * sysdeps/ieee754/ldbl-128ibm/Makefile
8391         [$(subdir) = stdlib] (tests): Add tst-strtold-ldbl-128ibm.
8392         [$(subdir) = stdlib] ($(objpfx)tst-strtold-ldbl-128ibm): Depend on
8393         $(libm).
8394         * sysdeps/ieee754/ldbl-128ibm/tst-strtold-ldbl-128ibm.c: New file.
8396 2015-11-12  Joseph Myers  <joseph@codesourcery.com>
8398         [BZ #15479]
8399         [BZ #19238]
8400         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Save
8401         floating-point state after first operation on input.  Restore full
8402         state rather than just rounding mode.
8403         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
8404         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
8405         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
8407         [BZ #19235]
8408         * sysdeps/powerpc/powerpc64/fpu/s_llround.S (__llround): Do not
8409         add 0.5 to integer arguments.
8410         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S (__llroundf):
8411         Likewise.
8412         (.LC2): New object.
8414 2015-11-11  Mike Frysinger  <vapier@gentoo.org>
8416         * scripts/pylintrc (reports): Set to no.
8418 2015-11-10  Roland McGrath  <roland@hack.frob.com>
8420         * elf/dl-load.c (open_verify): Take new argument FD.
8421         Skip __open call if passed FD is not -1.
8422         (_dl_map_object, open_path): Update callers.
8423         * elf/dl-sysdep-open.h: New file.
8424         * elf/dl-load.c: Include it.
8425         (_dl_map_object): Try _dl_sysdep_open_object before ldconfig cache.
8426         * sysdeps/nacl/dl-sysdep.c (_dl_sysdep_open_object): New function.
8427         * sysdeps/nacl/dl-sysdep-open.h: New file.
8428         * sysdeps/nacl/nacl-interface-list.h: Move nacl_irt_resource_open
8429         from libc to rtld.
8431 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
8433         [BZ #19228]
8434         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Save
8435         and restore full floating-point state.
8436         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
8437         Likewise.
8438         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
8439         Likewise.
8440         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
8441         Likewise.
8442         * math/test-nearbyint-except-2.c: New file.
8443         * math/Makefile (tests): Add test-nearbyint-except-2.
8445 2015-11-10  H.J. Lu  <hongjiu.lu@intel.com>
8447         [BZ #19178]
8448         * sysdeps/x86/Makefile (tests): Add tst-prelink.
8449         (tst-prelink-ENV): New.
8450         ($(objpfx)tst-prelink-conflict.out): Likewise.
8451         ($(objpfx)tst-prelink-cmp.out): Likewise.
8452         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
8453         * sysdeps/x86/tst-prelink.c: New file.
8454         * sysdeps/x86/tst-prelink.exp: Likewise.
8456 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
8458         * math/auto-libm-test-in: Add another test of pow.
8459         * math/auto-libm-test-out: Regenerated.
8460         * math/libm-test.inc (pow_test_data): Add another test.
8462 2015-11-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8464         [BZ #19219]
8465         * sysdeps/ia64/fpu/s_nearbyintl.S (__nearbyint): Define and
8466         weak_alias to nearbyintl.
8468 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
8470         * sysdeps/aarch64/bits/string.h: New file.
8471         (_STRING_ARCH_unaligned): Define.
8473 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
8475         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Remove __signbit*.
8476         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
8477         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
8478         * sysdeps/unix/sysv/linux/nios2/localplt.data: Likewise.
8479         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data: Likewise.
8481 2015-11-09  Ulrich Drepper  <drepper@gmail.com>
8483         * elf/dl-load.c (_dl_map_object_from_fd): Add additional parameter
8484         for original name of the DSO.  Add it to the name list of the DSO
8485         if it is actually given.
8486         (_dl_map_object): Keep track of whether an audit module rewrote
8487         the file name.  If yes, pass the original name to
8488         _dl_map_object_from_fd in a new parameter, otherwise NULL.  When
8489         debugging is enabled, log the change of the file name.
8490         * sysdeps/mach/hur/dl-sysdep.c: Adjust commented-out call to
8491         _dl_map_object_from_fd.
8492         * elf/Makefile: Build and run tst-audit11 and tst-audit12.
8493         * elf/tst-audit11.c: New file
8494         * elf/tst-auditmod11.c: New file.
8495         * elf/tst-audit11mod1.c: New file.
8496         * elf/tst-audit11mod2.c: New file.
8497         * elf/tst-audit11mod2.map: New file.
8498         * elf/tst-audit12.c: New file
8499         * elf/tst-auditmod12.c: New file.
8500         * elf/tst-audit12mod1.c: New file.
8501         * elf/tst-audit12mod2.c: New file.
8502         * elf/tst-audit12mod2.map: New file.
8503         * elf/tst-audit12mod3.c: New file.
8505 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
8507         * sysdeps/s390/longjmp.c (longjmp, _longjmp, siglongjmp):
8508         Don't create weak aliases,
8509         because versioned symbols are created later.
8510         * sysdeps/s390/s390-32/setjmp.S
8511         (setjmp, _setjmp): Remove weak and rename to an unique name
8512         in SHARED case due to existing versioned symbols.
8513         * sysdeps/s390/s390-64/setjmp.S: Likewise.
8514         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S
8515         (getcontext): Create weak alias only in non SHARED case.
8516         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
8518 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
8520         * sysdeps/unix/sysv/linux/s390/kernel-features.h:
8521         (__ASSUME_*_SYSCALL) Define new macros.
8522         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list:
8523         Remove socketcall syscalls.
8524         * sysdeps/unix/sysv/linux/accept.c (__libc_accept):
8525         Use accept4 if defined __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL.
8526         * sysdeps/unix/sysv/linux/recv.c (__libc_recv):
8527         Use recvfrom if defined __ASSUME_RECVFROM_FOR_RECV_SYSCALL.
8528         * sysdeps/unix/sysv/linux/send.c (__libc_send):
8529         Use sendto if defined __ASSUME_SENDTO_FOR_SEND_SYSCALL.
8531 2015-11-09  Florian Weimer  <fweimer@redhat.com>
8533         [BZ #12926]
8534         Terminate process on invalid netlink response.
8535         * sysdeps/unix/sysv/linux/netlinkaccess.h
8536         (__netlink_assert_response): Declare.
8537         * sysdeps/unix/sysv/linux/netlink_assert_response.c: New file.
8538         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == inet]
8539         (sysdep_routines): Add netlink_assert_response.
8540         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Call
8541         __netlink_assert_response.
8542         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
8543         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
8544         * sysdeps/unix/sysv/linux/Versions (GLIBC_PRIVATE): Add
8545         __netlink_assert_response.
8547 2015-11-07  H.J. Lu  <hongjiu.lu@intel.com>
8549         [BZ #19178]
8550         * elf/dl-lookup.c (RTYPE_CLASS_VALID): New.
8551         (RTYPE_CLASS_PLT): Likewise.
8552         (RTYPE_CLASS_COPY): Likewise.
8553         (RTYPE_CLASS_TLS): Likewise.
8554         (_dl_debug_bindings): Use RTYPE_CLASS_TLS and RTYPE_CLASS_VALID
8555         to set relocation type class for DL_DEBUG_PRELINK.  Keep only
8556         ELF_RTYPE_CLASS_PLT and ELF_RTYPE_CLASS_COPY bits for
8557         DL_DEBUG_PRELINK.
8559 2015-11-06  Joseph Myers  <joseph@codesourcery.com>
8561         * math/test-signgam-finite.c (RUN_TESTS): Correct messages about
8562         calls with argument -0.5.
8563         * math/test-signgam-finite-c99.c (RUN_TESTS): Likewise.
8565         * configure.ac (libc_cv_z_nodelete): Remove configure test.
8566         (libc_cv_z_nodlopen): Likewise.
8567         (libc_cv_z_initfirst): Likewise.
8568         * configure: Regenerated.
8570 2015-11-06  Florian Weimer  <fweimer@redhat.com>
8572         Simplify abilist format to be line-based.
8573         * scripts/abilist.awk: Collect descriptors in the descs variable.
8574         (emit): Write descs variable and sort it
8575         externally, with sort.
8576         * sysdeps/**/*.abilist: Convert to new format.
8578 2015-11-06  Mark Wielaard  <mjw@redhat.com>
8580         [BZ #11460]
8581         * io/Makefile (routines): Add fts64.
8582         (tests): Add tst-fts and tst-fts-lfs.
8583         (CFLAGS-fts64.c): New.
8584         * io/Versions (GLIBC_2.23): New.
8585         * io/fts.c: Replace FTS with FTSOBJ, FTSENT with FTSENTRY. Use
8586         function defines FTS_OPEN, FTS_CLOSE, FTS_READ, FTS_SET and
8587         FTS_CHILDREN. Define FTSOBJ, FTSENTRY, FTS_OPEN, FTS_CLOSE,
8588         FTS_READ, FTS_SET, FTS_CHILDREN, INO_T, STAT and LSTAT if necessary.
8589         * io/fts.h (FTS64): New if _USE_LARGEFILE64.
8590         (FTSENT64): Likewise.
8591         (fts64_children): Likewise.
8592         (fts64_close): Likewise.
8593         (fts64_open): Likewise.
8594         (fts64_read): Likewise.
8595         (fts64_set): Likewise.
8596         * io/fts64.c: New file.
8597         * io/tst-fts.c: New test.
8598         * io/tst-fts-lfs.c: Likewise.
8599         * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.23): Add
8600         GLIBC_2.23, fts64_children, fts64_close, fts64_open, fts64_read and
8601         fts64_set.
8602         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
8603         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
8604         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
8605         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
8606         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
8607         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
8608         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
8609         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
8610         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
8611         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
8612         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
8613         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
8614         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
8615         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
8616         Likewise.
8617         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
8618         Likewise.
8619         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
8620         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
8621         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
8622         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
8623         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
8624         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
8625         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
8626         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
8627         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
8628         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
8629         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
8630         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
8631         * sysdeps/wordsize-64/fts.c: New file.
8632         * sysdeps/wordsize-64/fts64.c: Likewise.
8633         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts.c: Likewise.
8634         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts64.c: Likewise.
8635         * sysdeps/unix/sysv/linux/x86_64/x32/fts.c: likewise.
8636         * sysdeps/unix/sysv/linux/x86_64/x32/fts64.c: likewise.
8638 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
8640         * math/libm-test.inc (NON_FINITE): New macro.
8641         (enable_test): Do not run tests flagged NON_FINITE if TEST_FINITE.
8642         * math/gen-libm-test.pl (show_exceptions): Add argument
8643         $non_finite.
8644         (parse_args): Update call to show_exceptions.
8645         * math/test-math-finite.h: New file.
8646         * math/test-math-no-finite.h: Likewise.
8647         * math/test-double-finite.c: Likewise.
8648         * math/test-float-finite.c: Likewise.
8649         * math/test-ldouble-finite.c: Likewise.
8650         * math/test-double.c: Include "test-math-no-finite.h".
8651         * math/test-float.c: Include "test-math-no-finite.h".
8652         * math/test-ldouble.c: Include "test-math-no-finite.h".
8653         * math/test-math-inline.h (TEST_FINITE): New macro.
8654         * math/test-math-vector.h (TEST_FINITE): Likewise.
8655         * math/Makefile (test-longdouble-yes): Add test-ldouble-finite.
8656         (libm-tests): Add test-float-finite and test-double-finite.
8657         ($(objpfx)test-float-finite.o): New dependency on
8658         $(objpfx)libm-test.stmp.
8659         ($(objpfx)test-double-finite.o): Likewise.
8660         ($(objpfx)test-ldouble-finite.o): Likewise.
8661         (libm-test-no-inline-cflags): New variable.
8662         (libm-test-finite-cflags): Likewise.
8663         (CFLAGS-test-float-finite.c): Likewise.
8664         (CFLAGS-test-double-finite.c): Likewise.
8665         (CFLAGS-test-ldouble-finite.c): Likewise.
8666         (CFLAGS-test-float.c): Use $(libm-test-no-inline-cflags).
8667         (CFLAGS-test-double.c): Likewise.
8668         (CFLAGS-test-ldouble.c): Likewise.
8670 2015-11-05  Roland McGrath  <roland@hack.frob.com>
8672         * io/fcntl.c (__fcntl): Add ... to prototype.
8673         * misc/ioctl.c (__ioctl): Likewise.
8674         * misc/syscall.c (syscall): Likewise.
8676 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
8678         * scripts/list-fixed-bugs.py: New file.
8680         [BZ #19213]
8681         * sysdeps/i386/fpu/e_log.S (__log_finite): Ensure +0 is always
8682         returned for argument 1.
8683         * sysdeps/i386/fpu/e_logf.S (__logf_finite): Likewise.
8684         * sysdeps/i386/fpu/e_logl.S (__logl_finite): Likewise.
8685         * sysdeps/i386/i686/fpu/e_logl.S (__logl_finite): Likewise.
8686         * sysdeps/x86_64/fpu/e_log10l.S (__log10l_finite): Likewise.
8687         * sysdeps/x86_64/fpu/e_log2l.S (__log2l_finite): Likewise.
8688         * sysdeps/x86_64/fpu/e_logl.S (__logl_finite): Likewise.
8690         [BZ #19211]
8691         * math/bits/math-finite.h (lgamma): Set signgam if [__USE_MISC ||
8692         __USE_XOPEN], not if [!__USE_ISOC99].
8693         (lgammaf): Likewise.
8694         (lgammal): Likewise.
8695         (gamma): Set signgam unconditionally, not if [!__USE_ISOC99].
8696         (gammaf): Likewise.
8697         (gammal): Likewise.
8698         * math/test-signgam-finite-c11.c: New file.
8699         * math/test-signgam-finite-c99.c: Likewise.
8700         * math/test-signgam-finite.c: Likewise.
8701         * math/Makefile (tests): Add test-signgam-finite,
8702         test-signgam-finite-c99 and test-signgam-finite-c11.
8703         (CFLAGS-test-signgam-finite.c): New variable.
8704         (CFLAGS-test-signgam-finite-c99.c): Likewise.
8705         (CFLAGS-test-signgam-finite-c11.c): Likewise.
8707         [BZ #19212]
8708         * include/features.h [(_XOPEN_SOURCE - 0) >= 500]: Change
8709         conditional to [defined _XOPEN_SOURCE && (_XOPEN_SOURCE - 0) >=
8710         500].
8711         [_POSIX_C_SOURCE >= 1]: Change conditional to [defined
8712         _POSIX_C_SOURCE && _POSIX_C_SOURCE >= 1].
8713         [(_POSIX_C_SOURCE - 0) >= 199309L]: Change conditional to [defined
8714         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199309L].
8715         [(_POSIX_C_SOURCE - 0) >= 199506L]: Change conditional to [defined
8716         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199506L].
8717         [(_POSIX_C_SOURCE - 0) >= 200112L]: Change conditional to [defined
8718         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200112L].
8719         [(_POSIX_C_SOURCE - 0) >= 200809L]: Change conditional to [defined
8720         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200809L].
8722         [BZ #19209]
8723         * math/bits/math-finite.h (ldexp): Remove declaration.
8724         (ldexpf): Likewise.
8725         (ldexpl): Likewise.
8727         [BZ #19205]
8728         * math/bits/math-finite.h (acosf): Condition declaration on
8729         [__USE_ISOC99].
8730         (acosl): Likewise.
8731         (acoshf): Likewise.
8732         (acoshl): Likewise.
8733         (asinf): Likewise.
8734         (asinl): Likewise.
8735         (atan2f): Likewise.
8736         (atan2l): Likewise.
8737         (atanhf): Likewise.
8738         (atanhl): Likewise.
8739         (coshf): Likewise.
8740         (coshl): Likewise.
8741         (expf): Likewise.
8742         (expl): Likewise.
8743         (fmodf): Likewise.
8744         (fmodl): Likewise.
8745         (hypot): Change condition to [__USE_XOPEN || __USE_ISOC99].
8746         (j0f): Change condition to [__USE_MISC && __USE_ISOC99].
8747         (j0l): Likewise.
8748         (y0f): Likewise.
8749         (y0l): Likewise.
8750         (j1f): Likewise.
8751         (j1l): Likewise.
8752         (y1f): Likewise.
8753         (y1l): Likewise.
8754         (jnf): Likewise.
8755         (jnl): Likewise.
8756         (ynf): Likewise.
8757         (ynl): Likewise.
8758         (lgammaf_r): Condition declaration on [__USE_ISOC99].
8759         (lgammal_r): Likewise.
8760         (__lgamma_r_finite): New declaration.
8761         (__lgammaf_r_finite): Likewise.
8762         (__lgammal_r_finite): Likewise.
8763         (lgamma): Use __lgamma_r_finite.
8764         (lgammaf): Condition definition on [__USE_ISOC99].  Use
8765         __lgammaf_r_finite.
8766         (lgammal): Condition definition on [__USE_ISOC99].  Use
8767         __lgammal_r_finite.
8768         (gamma): Do not define for [!__USE_MISC && __USE_XOPEN2K].  Use
8769         __lgamma_r_finite.
8770         (gammaf): Condition definition on [__USE_ISOC99].  Use
8771         __lgammaf_r_finite.
8772         (gammal): Condition definition on [__USE_ISOC99].  Use
8773         __lgammal_r_finite.
8774         (logf): Condition declaration on [__USE_ISOC99].
8775         (logl): Likewise.
8776         (log10f): Likewise.
8777         (log10l): Likewise.
8778         (ldexpf): Likewise.
8779         (ldexpl): Likewise.
8780         (powf): Likewise.
8781         (powl): Likewise.
8782         (remainder): Condition declaration on [__USE_XOPEN_EXTENDED ||
8783         __USE_ISOC99].
8784         (remainderf): Condition declaration on [__USE_ISOC99].
8785         (remainderl): Likewise.
8786         (scalb): Do not declare for [!__USE_MISC && __USE_XOPEN2K8].
8787         (scalbf): Change condition to [__USE_MISC && __USE_ISOC99].
8788         (scalbl): Likewise.
8789         (sinhf): Condition declaration on [__USE_ISOC99].
8790         (sinhl): Likewise.
8791         (sqrtf): Likewise.
8792         (sqrtl): Likewise.
8794 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
8796         * sysdeps/arm/atomic-machine.h
8797         [__GNUC_PREREQ (4, 7) && __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
8798         Change conditional to [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
8799         [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 && !__GNUC_PREREQ (4, 7)]:
8800         Remove conditional code.
8801         [!__GNUC_PREREQ (4, 7) || !__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
8802         Change conditional to [!__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
8803         * sysdeps/i386/sysdep.h [__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]:
8804         Change conditional to [__ASSEMBLER__].
8805         [__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
8806         [!__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]: Change conditional to
8807         [!__ASSEMBLER__].
8808         [!__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional
8809         code.
8810         * sysdeps/unix/sysv/linux/sh/atomic-machine.h (rNOSP): Remove
8811         conditional macro definitions.
8812         (__arch_compare_and_exchange_val_8_acq): Use "u" instead of rNOSP.
8813         (__arch_compare_and_exchange_val_16_acq): Likewise.
8814         (__arch_compare_and_exchange_val_32_acq): Likewise.
8815         (atomic_exchange_and_add): Likewise.
8816         (atomic_add): Likewise.
8817         (atomic_add_negative): Likewise.
8818         (atomic_add_zero): Likewise.
8819         (atomic_bit_set): Likewise.
8820         (atomic_bit_test_set): Likewise.
8821         * sysdeps/x86_64/atomic-machine.h [__GNUC_PREREQ (4, 7)]: Make
8822         code unconditional.
8823         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
8825         * math/test-math-errno.h: New file.
8826         * math/test-math-inline.h (TEST_INLINE): Define to 1 instead of
8827         empty.
8828         (TEST_ERRNO): New macro.
8829         (TEST_EXCEPTIONS): Likewise.
8830         * math/test-math-no-inline.h (TEST_INLINE): Likewise.
8831         (TEST_EXCEPTIONS): Likewise.
8832         * math/test-math-vector.h (TEST_ERRNO): Likewise.
8833         * math/test-double.c: Include "test-math-errno.h".
8834         * math/test-float.c: Likewise.
8835         * math/test-ldouble.c: Likewise.
8836         * math/libm-test.inc (test_single_exception) [!TEST_INLINE]: Make
8837         code unconditional.
8838         (test_exceptions): Only run code if TEST_EXCEPTIONS.
8839         (test_single_errno) [!TEST_INLINE && !TEST_MATHVEC]: Make code
8840         unconditional.
8841         (test_errno): Only run code if TEST_ERRNO.
8842         (enable_test): Use "if" conditional on TEST_INLINE, not #ifdef.
8844 2015-11-04  Florian Weimer  <fweimer@redhat.com>
8846         * nptl/tst-once5.cc: Remove attribution.
8848 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
8850         * math/auto-libm-test-in: Add more tests of sin, sincos, sinh,
8851         sqrt, tan, tanh, y0, y1 and yn.
8852         * math/auto-libm-test-out: Regenerated.
8853         * math/libm-test.inc (scalb_test_data): Add more tests.
8854         (scalbn_test_data): Likewise.
8855         (scalbln_test_data): Likewise.
8856         (signbit_test_data): Likewise.
8857         (sin_test_data): Likewise.
8858         (sincos_test_data): Likewise.
8859         (sinh_test_data): Likewise.
8860         (sqrt_test_data): Likewise.
8861         (tan_test_data): Likewise.
8862         (tanh_test_data): Likewise.
8863         (tgamma_test_data): Likewise.
8864         (y0_test_data): Likewise.
8865         (y1_test_data): Likewise.
8866         (yn_test_data): Likewise.
8867         (significand_test_data): Likewise.
8868         * sysdeps/i386/fpu/libm-test-ulps: Update.
8870 2015-11-03  David Kastrup  <dak@gnu.org>
8872         [BZ #18604]
8873         * assert/assert.h (assert): Don't macro-expand failed assertion
8874         expression in error message.
8875         * malloc/malloc.c (assert): Likewise.
8877 2015-11-03  Joseph Myers  <joseph@codesourcery.com>
8879         * configure.ac (libc_cv_ld_no_whole_archive): Remove configure
8880         test.
8881         * configure: Regenerated.
8883 2015-11-02  Joseph Myers  <joseph@codesourcery.com>
8885         * math/libm-test.inc (modf_test_data): Add more tests.
8886         (nearbyint_test_data): Likewise.
8887         (nextafter_test_data): Likewise.
8888         (nexttoward_test_data): Likewise.
8889         (pow_test_data): Likewise.
8890         (remainder_test_data): Likewise.
8891         (remquo_test_data): Likewise.
8892         (rint_test_data): Likewise.
8894         [BZ #19201]
8895         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
8896         Check for zero remainder in case of large exponents and ensure
8897         correct sign of result in that case.
8898         * math/libm-test.inc (remainder_test_data): Add more tests.
8900         [BZ #6799]
8901         * math/s_nextafter.c: Include <errno.h>.
8902         (__nextafter): Set errno on overflow and underflow.
8903         * math/s_nexttowardf.c: Include <errno.h>.
8904         (__nexttowardf): Set errno on overflow and underflow.
8905         * sysdeps/i386/fpu/s_nextafterl.c: Include <errno.h>.
8906         (__nextafterl): Set errno on overflow and underflow.
8907         * sysdeps/i386/fpu/s_nexttoward.c: Include <errno.h>.
8908         (__nexttoward): Set errno on overflow and underflow.
8909         * sysdeps/i386/fpu/s_nexttowardf.c: Include <errno.h>.
8910         (__nexttowardf): Set errno on overflow and underflow.
8911         * sysdeps/ieee754/flt-32/s_nextafterf.c: Include <errno.h>.
8912         (__nextafterf): Set errno on overflow and underflow.
8913         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include <errno.h>.
8914         (__nextafterl): Set errno on overflow and underflow.
8915         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Include <errno.h>.
8916         (__nexttoward): Set errno on overflow and underflow.
8917         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Include <errno.h>.
8918         (__nexttowardf): Set errno on overflow and underflow.
8919         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <errno.h>.
8920         (__nextafterl): Set errno on overflow and underflow.
8921         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Include <errno.h>.
8922         (__nexttoward): Set errno on overflow and underflow.
8923         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Include <errno.h>.
8924         (__nexttowardf): Set errno on overflow and underflow.
8925         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Include <errno.h>.
8926         (__nexttoward): Set errno on overflow and underflow.
8927         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Include <errno.h>.
8928         (__nexttowardf): Set errno on overflow and underflow.
8929         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Include <errno.h>.
8930         (__nldbl_nexttowardf): Set errno on overflow and underflow.
8931         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Include <errno.h>.
8932         (__nextafterl): Set errno on overflow and underflow.
8933         * math/libm-test.inc (nextafter_test_data): Do not allow errno
8934         setting to be missing on overflow.  Add more tests.
8935         (nexttoward_test_data): Likewise.
8937         * configure.ac (libc_cv_initfini_array): Remove configure test.
8938         * configure: Regenerated.
8940 2015-10-29  Joseph Myers  <joseph@codesourcery.com>
8942         [BZ #19189]
8943         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Make check for
8944         non-finite argument handle arguments with negative sign.
8946         * math/libm-test.inc (j0_test_data): Do not test sign of zero
8947         result from infinite argument.
8948         (j1_test_data): Likewise.
8949         (jn_test_data): Likewise.
8950         (y0_test_data): Likewise.
8951         (y1_test_data): Likewise.
8952         (yn_test_data): Likewise.
8954         [BZ #16171]
8955         * math/w_remainder.c (drem): Define as weak alias of __remainder.
8956         [NO_LONG_DOUBLE] (dreml): Define as weak alias of __remainder.
8957         * math/w_remainderf.c (dremf): Define as weak alias of
8958         __remainderf.
8959         * math/w_remainderl.c (dreml): Define as weak alias of
8960         __remainderl.
8961         * sysdeps/ia64/fpu/e_remainder.S (drem): Define as weak alias of
8962         __remainder.
8963         * sysdeps/ia64/fpu/e_remainderf.S (dremf): Define as weak alias of
8964         __remainderf.
8965         * sysdeps/ia64/fpu/e_remainderl.S (dreml): Define as weak alias of
8966         __remainderl.
8967         * sysdeps/ieee754/ldbl-opt/nldbl-remainder.c (dreml): Define as
8968         weak alias of remainderl.
8969         * sysdeps/ieee754/ldbl-opt/w_remainder.c
8970         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__drem): Define as strong
8971         alias of __remainder.
8972         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (dreml): Use compat_symbol.
8973         * sysdeps/ieee754/ldbl-opt/w_remainderl.c (__dreml): Define as
8974         strong alias of __remainderl.
8975         (dreml): Use long_double_symbol.
8976         * math/Makefile (libm-calls): Remove w_drem.
8977         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove drem.
8978         (CFLAGS-nldbl-drem.c): Remove variable.
8979         (CFLAGS-nldbl-remainder.c): Add -fno-builtin-dreml.
8980         * math/w_drem.c: Remove file.
8981         * math/w_dremf.c: Likewise.
8982         * math/w_dreml.c: Likewise.
8983         * sysdeps/ieee754/ldbl-opt/nldbl-drem.c: Likewise.
8984         * sysdeps/ieee754/ldbl-opt/w_drem.c: Likewise.
8985         * sysdeps/ieee754/ldbl-opt/w_dreml.c: Likewise.
8987         * sysdeps/i386/configure.ac (cpuid.h): Do not test for header.
8988         * sysdeps/i386/configure: Regenerated.
8989         * sysdeps/x86_64/configure.ac (cpuid.h): Do not test for header.
8990         * sysdeps/x86_64/configure: Regenerated.
8992         * configure.ac (libc_cv_asm_protected_directive): Remove configure
8993         test.
8994         (libc_cv_visibility_attribute): Likewise.
8995         (libc_cv_protected_data): Test unconditionally.
8996         (libc_cv_broken_visibility_attribute): Remove configure test.
8997         (libc_cv_have_sdata_section): Test unconditionally.
8998         * configure: Regenerated.
9000         * include/libc-internal.h (libc_max_align_t): Remove typedef.
9001         * include/scratch_buffer.h: Include <stddef.h> instead of
9002         <libc-internal.h>.
9003         (struct scratch_buffer): Use max_align_t instead of
9004         libc_max_align_t.
9006 2015-10-29  Florian Weimer  <fweimer@redhat.com>
9008         * elf/dl-fini.c (_dl_fini): Rewrite to use variable-length array
9009         instead of extend_alloca.  Change control flow to avoid a goto.
9010         Remove assert which is trivially always true.
9012 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
9014         [BZ #16068]
9015         * sysdeps/i386/fpu/fesetenv.c: Include <fpu_control.h>.
9016         (FE_ALL_EXCEPT_X86): New macro.
9017         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
9018         FE_ALL_EXCEPT.  Ensure precision control is included in
9019         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
9020         handle "denormal operand exception" and clear FZ and DAZ bits.
9021         * sysdeps/x86_64/fpu/fesetenv.c: Include <fpu_control.h>.
9022         (FE_ALL_EXCEPT_X86): New macro.
9023         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
9024         FE_ALL_EXCEPT.  Ensure precision control is included in
9025         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
9026         handle "denormal operand exception" and clear FZ and DAZ bits.
9027         * sysdeps/x86/fpu/test-fenv-sse-2.c: New file.
9028         * sysdeps/x86/fpu/test-fenv-x87.c: Likewise.
9029         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
9030         test-fenv-x87 and test-fenv-sse-2.
9031         [$(subdir) = math] (CFLAGS-test-fenv-sse-2.c): New variable.
9033         * math/libm-test.inc (BUILD_COMPLEX): Remove macro.
9034         * math/test-double.h (BUILD_COMPLEX): New macro.
9035         * math/test-float.h (BUILD_COMPLEX): Likewise.
9036         * math/test-ldouble.h (BUILD_COMPLEX): Likewise.
9038         * math/libm-test.inc (min_subnorm_value): Use LDBL_TRUE_MIN,
9039         DBL_TRUE_MIN and FLT_TRUE_MIN instead of __LDBL_DENORM_MIN__,
9040         __DBL_DENORM_MIN__ and __FLT_DENORM_MIN__.
9041         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Refer to DBL_TRUE_MIN
9042         instead of DBL_DENORM_MIN in comment.
9043         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Refer to
9044         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
9045         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <float.h>.
9046         (__nextafterl): Use LDBL_TRUE_MIN instead of __LDBL_DENORM_MIN__.
9047         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Refer to
9048         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
9050 2015-10-28  Florian Weimer  <fweimer@redhat.com>
9052         [BZ# 19048]
9053         * malloc/malloc.c (struct malloc_state): Update comment.  Add
9054         attached_threads member.
9055         (main_arena): Initialize attached_threads.
9056         * malloc/arena.c (list_lock): Update comment.
9057         (ptmalloc_lock_all, ptmalloc_unlock_all): Likewise.
9058         (ptmalloc_unlock_all2): Reinitialize arena reference counts.
9059         (deattach_arena): New function.
9060         (_int_new_arena): Initialize arena reference count and deattach
9061         replaced arena.
9062         (get_free_list, reused_arena): Update reference count and deattach
9063         replaced arena.
9064         (arena_thread_freeres): Update arena reference count and only put
9065         unreferenced arenas on the free list.
9067 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
9069         [BZ #19181]
9070         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Clear already-raised
9071         SSE exceptions when argument is FE_DFL_ENV or FE_NOMASK_ENV.
9072         * sysdeps/x86_64/fpu/fesetenv.c (__fesetenv): Likewise.
9073         * math/test-fenv-clear-main.c: New file.
9074         * math/test-fenv-clear.c: Likewise.
9075         * math/Makefile (tests): Add test-fenv-clear.
9076         * sysdeps/x86/fpu/test-fenv-clear-sse.c: New file.
9077         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
9078         test-fenv-clear-sse.
9079         [$(subdir) = math] (CFLAGS-test-fenv-clear-sse.c): New variable.
9081         * math/libm-test.inc (TYPE_DECIMAL_DIG): Use LDBL_DECIMAL_DIG,
9082         DBL_DECIMAL_DIG and FLT_DECIMAL_DIG instead of __DECIMAL_DIG__,
9083         __DBL_DECIMAL_DIG__ and __FLT_DECIMAL_DIG__.
9085 2015-10-28  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
9087         * sysdeps/powerpc/libc-tls.c: New file. Provides __tls_get_addr () in
9088         static libc.
9090 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
9092         * sysdeps/i386/configure.ac (libc_cv_cc_avx2): Remove configure
9093         test.
9094         * sysdeps/i386/configure: Regenerated.
9095         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx2): Remove configure
9096         test.
9097         * sysdeps/x86_64/configure: Regenerated.
9098         * config.h.in (HAVE_AVX2_SUPPORT): Remove #undef.
9099         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
9100         memset-avx2 unconditionally instead of conditionally on
9101         [$(config-cflags-avx2) = yes].
9102         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
9103         (__libc_ifunc_impl_list) [HAVE_AVX2_SUPPORT]: Make code
9104         unconditional.
9105         * sysdeps/x86_64/multiarch/memset.S [HAVE_AVX2_SUPPORT]: Likewise.
9106         * sysdeps/x86_64/multiarch/memset_chk.S
9107         [IS_IN (libc) && SHARED && HAVE_AVX2_SUPPORT]: Change conditional
9108         to [IS_IN (libc) && SHARED].
9110 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
9112         * sysdeps/arm/configure.ac (libc_cv_arm_tls_desc): Remove
9113         configure test.
9114         * sysdeps/arm/configure: Regenerated.
9115         * sysdeps/arm/Makefile [!have-arm-tls-desc] (have-arm-tls-desc):
9116         Define variable if not already defined.
9118         [BZ #17404]
9119         * sysdeps/mips/atomic-machine.h
9120         [__GNUC_PREREQ (4, 8) || (__mips16 && __GNUC_PREREQ (4, 7))]:
9121         Change conditional to [__GNUC_PREREQ (4, 8) || __mips16].
9122         [__mips16 && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
9124         * resolv/res_send.c (send_vc) [__GNUC_PREREQ (4, 7)]: Make code
9125         unconditional.
9126         * soft-fp/fmadf4.c [__GNUC_PREREQ (4, 7)]: Likewise.
9127         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
9128         * soft-fp/fmasf4.c [__GNUC_PREREQ (4, 7)]: Make code
9129         unconditional.
9130         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
9131         * soft-fp/fmatf4.c [__GNUC_PREREQ (4, 7)]: Make code
9132         unconditional.
9133         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
9134         * stdlib/setenv.c
9135         [((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7)]: Make
9136         code unconditional.
9137         [!(((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7))]:
9138         Remove conditional code.
9139         * sysdeps/ieee754/dbl-64/e_lgamma_r.c
9140         (__ieee754_lgamma_r) [__GNUC_PREREQ (4, 7)]: Make code
9141         unconditional.
9142         (__ieee754_lgamma_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
9143         code.
9144         * sysdeps/ieee754/flt-32/e_lgammaf_r.c
9145         (__ieee754_lgammaf_r) [__GNUC_PREREQ (4, 7)]: Make code
9146         unconditional.
9147         (__ieee754_lgammaf_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
9148         code.
9149         * sysdeps/ieee754/ldbl-128/k_tanl.c
9150         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
9151         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
9152         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
9153         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
9154         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
9155         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
9156         (__ieee754_lgammal_r) [__GNUC_PREREQ (4, 7)]: Make code
9157         unconditional.
9158         (__ieee754_lgammal_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
9159         code.
9160         * sysdeps/ieee754/ldbl-96/k_tanl.c
9161         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
9162         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
9164         * nptl/tst-initializers1-c11.c: New file.
9165         * nptl/tst-initializers1-gnu11.c: Likewise.
9166         * nptl/Makefile (tests): Add these new tests.
9167         (CFLAGS-tst-initializers1-c11.c): New variable.
9168         (CFLAGS-tst-initializers1-gnu11.c): Likewise.
9170         * Makeconfig (CFLAGS): Use -std=gnu11 instead of -std=gnu99.
9171         * Makefile ($(objpfx)c++-types-check.out): Filter out -std=gnu11
9172         instead of -std=gnu99.
9173         * configure.ac (systemtap): Test with -std=gnu11 instead of
9174         -std=gnu99.
9175         * configure: Regenerated.
9176         * math/gen-auto-libm-tests.c: Use -std=gnu11 instead of -std=gnu99
9177         in compilation command in comment.
9179         * sysdeps/nptl/configure.ac: Remove file.
9180         * sysdeps/nptl/configure: Remove generated file.
9181         * configure.ac (libc_cv_forced_unwind): Do not substitute.
9182         * configure: Regenerated.
9183         * config.h.in (HAVE_FORCED_UNWIND): Remove #undef.
9184         * config.make.in (have-forced-unwind): Remove variable.
9185         * nptl/Makefile [$(have-forced-unwind) = yes]: Make code
9186         unconditional.
9187         * nptl/descr.h [HAVE_FORCED_UNWIND]: Likewise.
9188         * nptl/unwind.c [HAVE_FORCED_UNWIND]: Likewise.
9189         (__pthread_unwind) [!HAVE_FORCED_UNWIND]: Remove conditional code.
9190         * nptl/version.c [HAVE_FORCED_UNWIND]: Make code unconditional.
9191         * sysdeps/nptl/Makefile [$(have-forced-unwind) = yes]: Make code
9192         unconditional.
9194 2015-10-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9196         [BZ #19174]
9197         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Fix usage of
9198         .skip_lock_out_of_tbegin_retries.
9199         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
9200         (__lll_lock_elision): Likewise, and respect a value of
9201         try_tbegin <= 0.
9203 2015-10-27  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
9205         * elf/dl-support.c (_dl_aux_init): Added AT_PLATFORM to the case
9206         statement.
9208 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
9210         * conform/Makefile (test-xfail-ISO11/complex.h/conform): Remove
9211         variable.
9212         (test-xfail-ISO11/stdalign.h/conform): Likewise.
9213         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
9215         * conform/GlibcConform.pm ($CFLAGS{"ISO11"}): Use -std=c11 instead
9216         of -std=c1x -D_ISOC11_SOURCE.
9218         * configure.ac (libc_cv_compiler_ok): Require GCC 4.7 or later.
9219         * configure: Regenerated.
9220         * manual/install.texi (Tools for Compilation): Document
9221         requirement for GCC 4.7 or later.
9222         * INSTALL: Regenerated.
9224 2015-10-27  Ludovic Courtès  <ludo@gnu.org>
9226         * locale/loadlocale.c (_nl_intern_locale_data): Change assertion
9227         on CNT to a conditional jump to 'puntdata'.
9229 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
9231         * configure.ac (libc_cv_gcc___thread): Remove configure test.
9232         (libc_cv_gcc_tls_model_attr): Likewise.
9233         * configure: Regenerated.
9235         * configure.ac (libc_cv_need_minus_P): Remove configure test.
9236         * configure: Regenerated.
9237         * Makeconfig (asm-CPPFLAGS): Remove reference to -P in comment.
9239 2015-10-26  Joseph Myers  <joseph@codesourcery.com>
9241         * configure.ac (old_glibc_headers): Remove configure test.
9242         * configure: Regenerated.
9243         * config.make.in (old-glibc-headers): Remove variable.
9244         * Makefile [!$(install_root) && $(old-glibc-headers) = yes]
9245         (install): Remove dependency on remove-old-headers.
9246         (headers2_0): Remove variable.
9247         (remove-old-headers): Remove rule.
9249         * configure.ac (libc_cv_dot_text): Remove configure test.
9250         (libc_cv_asm_set_directive): Use .text instead of
9251         ${libc_cv_dot_text} in configure test.
9252         * configure: Regenerated.
9254 2015-10-26  Florian Weimer  <fweimer@redhat.com>
9256         [BZ #19168]
9257         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
9259 2015-10-26  Florian Weimer  <fweimer@redhat.com>
9261         * configure.ac (CXX): Clear the variable if the C++ toolchain does
9262         not support static linking.
9263         * configure: Regenerate.
9265 2015-10-23  Joseph Myers  <joseph@codesourcery.com>
9267         * math/libm-test.inc (check_float_internal): Do not special-case
9268         errors up to 0.5 ulp.
9270         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
9271         log2.
9272         * math/auto-libm-test-out: Regenerated.
9273         * math/libm-test.inc (MAX_EXP): New macro.
9274         (ilogb_test_data): Add more tests.
9275         (isfinite_test_data): Likewise.
9276         (isgreater_test_data): Likewise.
9277         (isgreaterequal_test_data): Likewise.
9278         (isinf_test_data): Likewise.
9279         (isless_test_data): Likewise.
9280         (islessequal_test_data): Likewise.
9281         (islessgreater_test_data): Likewise.
9282         (isnan_test_data): Likewise.
9283         (isnormal_test_data): Likewise.
9284         (issignaling_test_data): Likewise.
9285         (isunordered_test_data): Likewise.
9286         (j0_test_data): Likewise.
9287         (j1_test_data): Likewise.
9288         (jn_test_data): Likewise.
9289         (lgamma_test_data): Likewise.
9290         (log_test_data): Likewise.
9291         (log10_test_data): Likewise.
9292         (log1p_test_data): Likewise.
9293         (log2_test_data): Likewise.
9294         (logb_test_data): Likewise.
9295         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9297         [BZ #18611]
9298         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Set errno and
9299         avoid excess range and precision on underflow.
9300         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
9301         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
9302         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
9303         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Set errno on
9304         underflow.
9305         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
9306         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
9307         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
9308         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
9309         * math/auto-libm-test-in: Do not allow missing errno setting for
9310         tests of j1 and jn.
9311         * math/auto-libm-test-out: Regenerated.
9313 2015-10-22  Joseph Myers  <joseph@codesourcery.com>
9315         [BZ #15491]
9316         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Save and restore
9317         floating-point environment instead of clearing all exceptions.
9318         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
9319         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise,
9320         merging in "invalid" exceptions from frndint.
9321         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
9322         * math/test-nearbyint-except.c: New file.
9323         * math/Makefile (tests): Add test-nearbyint-except.
9325 2015-10-22  Chris Metcalf  <cmetcalf@ezchip.com>
9327         * NEWS: Mention bug 18699 fixed by commit fe8c2b33aed0.
9329         * sysdeps/tile/libm-test-ulps: Regenerated.
9331 2015-10-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9333         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c
9334         (__NR_sync_file_range2): Assume it is always defined.
9335         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
9336         (__NR_sync_file_range): Assume it is always defined.
9338 2015-10-22  Andreas Schwab  <schwab@suse.de>
9340         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
9341         INTERNAL_SYSCALL_ERRNO.
9342         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
9343         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
9344         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
9345         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
9346         Likewise.
9347         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
9349 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
9351         * io/tst-fcntl.c (fd): New static variable.
9352         (do_prepare): Open temporary file here....
9353         (do_test): ...not here.
9355         * io/ftwtest-sh: Also trap on exit to remove temporary files.
9357 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
9359         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: Replace
9360         __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
9361         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
9362         Moved before "#ifdef __ASSEMBLER__".
9364 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
9366         [BZ #19156]
9367         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Return 1 for
9368         arguments very close to 0.
9370 2015-10-21  Chris Metcalf  <cmetcalf@ezchip.com>
9372         * sysdeps/unix/sysv/linux/tile/sysdep.h (PSEUDO_END)
9373         (PSEUDO_NOERRNO, PSEUDO_END_NOERRNO): Undef before defining.
9375 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
9377         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
9378         New.  Defined for GCC 5 and above when not compiling for
9379         profiling.
9380         Replace __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
9382         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
9383         Renamed to ...
9384         (CFLAGS-epoll_pwait.o): This.
9385         (CFLAGS-mmap.c): Renamed to ...
9386         (CFLAGS-mmap.o): This.
9387         (CFLAGS-mmap64.c): Renamed to ...
9388         (CFLAGS-mmap64.o): This.
9389         (CFLAGS-epoll_pwait.os): New.
9390         (CFLAGS-mmap.os): Likewise.
9391         (CFLAGS-mmap64.os): Likewise.
9392         (CFLAGS-semtimedop.os): Likewise.
9393         (CFLAGS-semtimedop.c): Renamed to ...
9394         (CFLAGS-semtimedop.o): This.
9396 2015-10-21  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
9398         * debug/tst-backtrace4.c (handle_signal): Fix a comment and
9399         warning message.
9401 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
9403         * Makeconfig (+gccwarn-c): Add -Wold-style-definition.
9404         * Makefile ($(objpfx)c++-types-check.out): Filter out
9405         $(+gccwarn-c) instead of -Wstrict-prototypes.
9407         * io/fts.c (fts_open): Convert to prototype-style function
9408         definition.
9409         * malloc/mcheck.c (mcheck): Likewise.
9410         (mcheck_pedantic): Likewise.
9411         * posix/regexec.c (re_search_2_stub): Likewise.  Use
9412         internal_function.
9413         (re_search_internal): Likewise.
9414         * resolv/res_init.c [RESOLVSORT] (net_mask): Convert to
9415         prototype-style function definition.
9416         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
9417         * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
9418         * sunrpc/rpcsvc/rusers.x (xdr_utmp): Likewise.
9419         (xdr_utmpptr): Likewise.
9420         (xdr_utmparr): Likewise.
9421         (xdr_utmpidle): Likewise.
9422         (xdr_utmpidleptr): Likewise.
9423         (xdr_utmpidlearr): Likewise.
9425         * math/auto-libm-test-in: Add more tests of hypot, j0, j1, jn,
9426         log, log10 and log2.
9427         * math/auto-libm-test-out: Regenerated.
9428         * math/libm-test.inc (fmod_test_data): Add more tests.
9429         (fpclassify_test_data): Likewise.
9430         (frexp_test_data): Likewise.
9431         (hypot_test_data): Likewise.
9432         (ilogb_test_data): Likewise.
9434 2015-10-20  Joseph Myers  <joseph@codesourcery.com>
9436         * debug/fortify_fail.c (__fortify_fail): Convert to
9437         prototype-style function definition.  Use internal_function.
9438         * libio/genops.c (save_for_backup): Convert to prototype-style
9439         function definition.
9440         * libio/wgenops.c (save_for_wbackup): Likewise.
9441         * login/grantpt.c (grantpt): Likewise.
9442         * login/ptsname.c (ptsname): Likewise.
9443         (__ptsname_r): Likewise.
9444         * login/unlockpt.c (unlockpt): Likewise.
9445         * mach/msgserver.c (__mach_msg_server): Likewise.
9446         * misc/efgcvt.c (__APPEND (FUNC_PREFIX, fcvt)): Likewise.
9447         (__APPEND (FUNC_PREFIX, ecvt)): Likewise.
9448         (__APPEND (FUNC_PREFIX, gcvt)): Likewise.
9449         * misc/efgcvt_r.c (__APPEND (FUNC_PREFIX, fcvt_r)): Likewise.
9450         (__APPEND (FUNC_PREFIX, ecvt_r)): Likewise.
9451         * nptl/cleanup_compat.c (_pthread_cleanup_push): Likewise.
9452         * nptl/cleanup_defer_compat.c (_pthread_cleanup_push_defer):
9453         Likewise.
9454         * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.  Use
9455         internal_function.
9456         * nptl/pthread_atfork.c (__pthread_atfork): Convert to
9457         prototype-style function definition.
9458         * nptl/pthread_create.c (__pthread_create_2_1): Likewise.
9459         [SHLIB_COMPAT(libpthread, GLIBC_2_0, GLIBC_2_1)]
9460         (__pthread_create_2_0): Likewise.
9461         * nptl/pthread_key_create.c (__pthread_key_create): Likewise.
9462         * nptl/register-atfork.c (__register_atfork): Likewise.
9463         * posix/glob.c (glob): Likewise.
9464         * posix/regcomp.c (re_comp): Likewise.
9465         * posix/regexec.c (re_exec): Likewise.
9466         * stdlib/add_n.c [__STDC__]: Make code unconditional.
9467         [!__STDC__]: Remove conditional code.
9468         * stdlib/cmp.c [__STDC__]: Make code unconditional.
9469         [!__STDC__]: Remove conditional code.
9470         * stdlib/divmod_1.c [__STDC__]: Make code unconditional.
9471         [!__STDC__]: Remove conditional code.
9472         * stdlib/divrem.c [__STDC__]: Make code unconditional.
9473         [!__STDC__]: Remove conditional code.
9474         * stdlib/lshift.c [__STDC__]: Make code unconditional.
9475         [!__STDC__]: Remove conditional code.
9476         * stdlib/mod_1.c [__STDC__]: Make code unconditional.
9477         [!__STDC__]: Remove conditional code.
9478         * stdlib/mul.c [__STDC__]: Make code unconditional.
9479         [!__STDC__]: Remove conditional code.
9480         * stdlib/mul_n.c [__STDC__]: Make code unconditional.
9481         [!__STDC__]: Remove conditional code.
9482         * stdlib/rshift.c [__STDC__]: Make code unconditional.
9483         [!__STDC__]: Remove conditional code.
9484         * stdlib/strtod.c (INTERNAL (STRTOF)): Convert to prototype-style
9485         function definition.
9486         (STRTOF): Likewise.
9487         * stdlib/strtod_l.c (__STRTOF): Likewise.
9488         * stdlib/strtol.c (INTERNAL (strtol)): Likewise.
9489         * stdlib/strtol_l.c (INTERNAL (__strtol_l)): Likewise.
9490         (__strtol_l): Likewise.
9491         * stdlib/sub_n.c [__STDC__]: Make code unconditional.
9492         [!__STDC__]: Remove conditional code.
9493         * string/memrchr.c (MEMRCHR): Convert to prototype-style function
9494         definition.
9495         * string/strcasecmp.c (LOCALE_PARAM_DECL): Remove macro.
9496         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
9497         type.
9498         (__strcasecmp): Convert to prototype-style function definition.
9499         * string/strncase.c (LOCALE_PARAM_DECL): Remove macro.
9500         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
9501         type.
9502         (__strncasecmp): Convert to prototype-style function definition.
9503         * sunrpc/pm_getport.c (__libc_rpc_getport): Likewise.
9504         * sunrpc/xdr.c (xdr_union): Likewise.
9505         * sunrpc/xdr_array.c (xdr_array): Likewise.
9506         * sunrpc/xdr_ref.c (xdr_reference): Likewise.
9507         * sysdeps/m68k/m680x0/fpu/s_atan.c (__CONCATX(__,FUNC)): Likewise.
9508         * sysdeps/m68k/m680x0/fpu/s_isinf.c (__CONCATX(__,FUNC)):
9509         Likewise.
9510         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(__scalbn,suffix):
9511         Likewise.
9512         * sysdeps/m68k/m680x0/fpu/s_sincos.c (CONCATX(__,FUNC)): Likewise.
9513         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
9514         Likewise.
9515         * time/strftime_l.c (LOCALE_PARAM_DECL): Remove macro.
9516         (LOCALE_PARAM_PROTO): Likewise.
9517         [_LIBC && USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include
9518         argument type.
9519         (ut_argument_spec): Remove macro.
9520         (ut_argument_spec_iso): Rename to ut_argument_spec.
9521         (memcpy_lowcase): Use LOCALE_PARAM in declaration.  Convert to
9522         prototype-style function definition.
9523         (memcpy_uppcase): Likewise.
9524         (__strftime_internal): Likewise.
9525         (my_strftime): Likewise.
9526         * time/strptime_l.c (LOCALE_PARAM_PROTO): Remove macro.
9527         (LOCALE_PARAM_DECL): Likewise.
9528         [_LIBC] (LOCALE_PARAM): Include argument type.
9529         (__strptime_internal): Convert to prototype-style function
9530         definition.
9531         (strptime): Likewise.
9532         * wcsmbs/wcscasecmp.c (LOCALE_PARAM_DECL): Remove macro.
9533         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
9534         type.
9535         (__wcscasecmp): Convert to prototype-style function definition.
9536         * wcsmbs/wcsncase.c (LOCALE_PARAM_DECL): Remove macro.
9537         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
9538         type.
9539         (__wcsncasecmp): Convert to prototype-style function definition.
9541         * crypt/md5-crypt.c (__md5_crypt_r): Convert to prototype-style
9542         function definition.
9543         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
9544         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
9545         * debug/backtracesyms.c (__backtrace_symbols): Likewise.
9546         * elf/dl-minimal.c (_itoa): Likewise.
9547         * hurd/hurdmalloc.c (malloc): Likewise.
9548         (free): Likewise.
9549         (realloc): Likewise.
9550         * inet/inet6_option.c (inet6_option_space): Likewise.
9551         (inet6_option_init): Likewise.
9552         (inet6_option_append): Likewise.
9553         (inet6_option_alloc): Likewise.
9554         (inet6_option_next): Likewise.
9555         (inet6_option_find): Likewise.
9556         * io/ftw.c (FTW_NAME): Likewise.
9557         (NFTW_NAME): Likewise.
9558         (NFTW_NEW_NAME): Likewise.
9559         (NFTW_OLD_NAME): Likewise.
9560         * libio/iofwide.c (_IO_fwide): Likewise.
9561         * libio/strops.c (_IO_str_init_static_internal): Likewise.
9562         (_IO_str_init_static): Likewise.
9563         (_IO_str_init_readonly): Likewise.
9564         (_IO_str_overflow): Likewise.
9565         (_IO_str_underflow): Likewise.
9566         (_IO_str_count): Likewise.
9567         (_IO_str_seekoff): Likewise.
9568         (_IO_str_pbackfail): Likewise.
9569         (_IO_str_finish): Likewise.
9570         * libio/wstrops.c (_IO_wstr_init_static): Likewise.
9571         (_IO_wstr_overflow): Likewise.
9572         (_IO_wstr_underflow): Likewise.
9573         (_IO_wstr_count): Likewise.
9574         (_IO_wstr_seekoff): Likewise.
9575         (_IO_wstr_pbackfail): Likewise.
9576         (_IO_wstr_finish): Likewise.
9577         * locale/programs/localedef.c (normalize_codeset): Likewise.
9578         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
9579         (add_locales_to_archive): Likewise.
9580         (delete_locales_from_archive): Likewise.
9581         * malloc/malloc.c (__libc_mallinfo): Likewise.
9582         * math/gen-auto-libm-tests.c (init_fp_formats): Likewise.
9583         * misc/tsearch.c (__tfind): Likewise.
9584         * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Likewise.
9585         * nptl/pthread_attr_getdetachstate.c
9586         (__pthread_attr_getdetachstate): Likewise.
9587         * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
9588         Likewise.
9589         * nptl/pthread_attr_getinheritsched.c
9590         (__pthread_attr_getinheritsched): Likewise.
9591         * nptl/pthread_attr_getschedparam.c
9592         (__pthread_attr_getschedparam): Likewise.
9593         * nptl/pthread_attr_getschedpolicy.c
9594         (__pthread_attr_getschedpolicy): Likewise.
9595         * nptl/pthread_attr_getscope.c (__pthread_attr_getscope):
9596         Likewise.
9597         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack):
9598         Likewise.
9599         * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
9600         Likewise.
9601         * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
9602         Likewise.
9603         * nptl/pthread_attr_init.c (__pthread_attr_init_2_1): Likewise.
9604         (__pthread_attr_init_2_0): Likewise.
9605         * nptl/pthread_attr_setdetachstate.c
9606         (__pthread_attr_setdetachstate): Likewise.
9607         * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
9608         Likewise.
9609         * nptl/pthread_attr_setinheritsched.c
9610         (__pthread_attr_setinheritsched): Likewise.
9611         * nptl/pthread_attr_setschedparam.c
9612         (__pthread_attr_setschedparam): Likewise.
9613         * nptl/pthread_attr_setschedpolicy.c
9614         (__pthread_attr_setschedpolicy): Likewise.
9615         * nptl/pthread_attr_setscope.c (__pthread_attr_setscope):
9616         Likewise.
9617         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack):
9618         Likewise.
9619         * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
9620         Likewise.
9621         * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
9622         Likewise.
9623         * nptl/pthread_condattr_setclock.c (pthread_condattr_setclock):
9624         Likewise.
9625         * nptl/pthread_create.c (__find_in_stack_list): Likewise.
9626         * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
9627         * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Define to
9628         use internal_function.
9629         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Convert to
9630         prototype-style function definition.
9631         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
9632         (__pthread_mutex_cond_lock_adjust): Likewise.  Use
9633         internal_function.
9634         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock):
9635         Convert to prototype-style function definition.
9636         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
9637         Likewise.
9638         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
9639         Likewise.
9640         (__pthread_mutex_unlock): Likewise.
9641         * nptl_db/td_ta_clear_event.c (td_ta_clear_event): Likewise.
9642         * nptl_db/td_ta_set_event.c (td_ta_set_event): Likewise.
9643         * nptl_db/td_thr_clear_event.c (td_thr_clear_event): Likewise.
9644         * nptl_db/td_thr_event_enable.c (td_thr_event_enable): Likewise.
9645         * nptl_db/td_thr_set_event.c (td_thr_set_event): Likewise.
9646         * nss/makedb.c (process_input): Likewise.
9647         * posix/fnmatch.c (__strchrnul): Likewise.
9648         (__wcschrnul): Likewise.
9649         (fnmatch): Likewise.
9650         * posix/fnmatch_loop.c (FCT): Likewise.
9651         * posix/glob.c (globfree): Likewise.
9652         (__glob_pattern_type): Likewise.
9653         (__glob_pattern_p): Likewise.
9654         * posix/regcomp.c (re_compile_pattern): Likewise.
9655         (re_set_syntax): Likewise.
9656         (re_compile_fastmap): Likewise.
9657         (regcomp): Likewise.
9658         (regerror): Likewise.
9659         (regfree): Likewise.
9660         * posix/regexec.c (regexec): Likewise.
9661         (re_match): Likewise.
9662         (re_search): Likewise.
9663         (re_match_2): Likewise.
9664         (re_search_2): Likewise.
9665         (re_search_stub): Likewise.  Use internal_function
9666         (re_copy_regs): Likewise.
9667         (re_set_registers): Convert to prototype-style function
9668         definition.
9669         (prune_impossible_nodes): Likewise.  Use internal_function.
9670         * resolv/inet_net_pton.c (inet_net_pton): Convert to
9671         prototype-style function definition.
9672         (inet_net_pton_ipv4): Likewise.
9673         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
9674         * sysdeps/pthread/aio_cancel.c (aio_cancel): Likewise.
9675         * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
9676         * sysdeps/pthread/timer_delete.c (timer_delete): Likewise.
9677         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
9678         Make variadic.
9679         * time/strptime_l.c (localtime_r): Convert to prototype-style
9680         function definition.
9681         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
9682         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
9683         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
9684         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
9686         * crypt/crypt.c (_ufc_doit_r): Convert to prototype-style function
9687         definition.
9688         (_ufc_doit_r): Likewise.
9689         * crypt/crypt_util.c (_ufc_copymem): Likewise.
9690         (_ufc_output_conversion_r): Likewise.
9691         * inet/inet_mkadr.c (__inet_makeaddr): Likewise.
9692         * inet/rcmd.c (rcmd_af): Likewise.
9693         (rcmd): Likewise.
9694         (ruserok_af): Likewise.
9695         (ruserok): Likewise.
9696         (ruserok2_sa): Likewise.
9697         (ruserok_sa): Likewise.
9698         (iruserok_af): Likewise.
9699         (iruserok): Likewise.
9700         (__ivaliduser): Likewise.
9701         (__validuser2_sa): Likewise.
9702         * inet/rexec.c (rexec_af): Likewise.
9703         (rexec): Likewise.
9704         * inet/ruserpass.c (ruserpass): Likewise.
9705         * locale/programs/xmalloc.c (xcalloc): Likewise.
9706         * manual/examples/timeval_subtract.c (timeval_subtract): Likewise.
9707         * math/w_drem.c (__drem): Likewise.
9708         * math/w_dremf.c (__dremf): Likewise.
9709         * math/w_dreml.c (__dreml): Likewise.
9710         * misc/daemon.c (daemon): Likewise.
9711         * resolv/res_debug.c (p_fqnname): Likewise.
9712         * stdlib/div.c (div): Likewise.
9713         * string/memcmp.c (memcmp_bytes): Likewise.
9714         * sunrpc/pmap_rmt.c (pmap_rmtcall): Likewise.
9715         * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise.
9717         * crypt/cert.c (main): Convert to prototype-style function
9718         definition.
9719         * io/pipe.c (__pipe): Likewise.
9720         * io/pipe2.c (__pipe2): Likewise.
9721         * misc/futimesat.c (futimesat): Likewise.
9722         * misc/utimes.c (__utimes): Likewise.
9723         * posix/execve.c (__execve): Likewise.
9724         * posix/execvp.c (execvp): Likewise.
9725         * posix/execvpe.c (__execvpe): Likewise.
9726         * posix/fexecve.c (fexecve): Likewise.
9727         * socket/socketpair.c (socketpair): Likewise.
9728         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
9729         * stdlib/erand48.c (erand48): Likewise.
9730         * stdlib/erand48_r.c (__erand48_r): Likewise.
9731         * stdlib/jrand48.c (jrand48): Likewise.
9732         * stdlib/jrand48_r.c (__jrand48_r): Likewise.
9733         * stdlib/lcong48.c (lcong48): Likewise.
9734         * stdlib/lcong48_r.c (__lcong48_r): Likewise.
9735         * stdlib/nrand48.c (nrand48): Likewise.
9736         * stdlib/nrand48_r.c (__nrand48_r): Likewise.
9737         * stdlib/seed48.c (seed48): Likewise.
9738         * stdlib/seed48_r.c (__seed48_r): Likewise.
9739         * sysdeps/mach/hurd/execve.c (__execve): Likewise.
9740         * sysdeps/mach/hurd/utimes.c (__utimes): Likewise.
9741         * sysdeps/unix/sysv/linux/fexecve.c (fexecve): Likewise.
9743 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
9745         * configure.ac (libc_cv_asm_unique_object): Remove configure test.
9746         * configure: Regenerated.
9747         * config.h.in (HAVE_ASM_UNIQUE_OBJECT): Remove #undef.
9748         * elf/tst-unique1.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Make code
9749         unconditional.
9750         * elf/tst-unique1mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
9751         * elf/tst-unique1mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
9752         * elf/tst-unique2.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
9753         (do_test) [!HAVE_ASM_UNIQUE_OBJECT]: Remove conditional code.
9754         * elf/tst-unique2mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Make code
9755         unconditional.
9756         * elf/tst-unique2mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
9758         * posix/Makefile (CFLAGS-regex.c): Remove variable.
9759         * resolv/Makefile (+cflags): Do not use -Wno-strict-prototypes.
9761         * crypt/crypt-entry.c (__crypt_r): Convert to prototype-style
9762         function definition.
9763         * crypt/crypt_util.c (__encrypt_r): Likewise.
9764         * libio/genops.c (_IO_no_init): Likewise.
9765         * libio/iofopncook.c (_IO_fopencookie): Likewise.
9766         (_IO_old_fopencookie): Likewise.
9767         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
9768         * libio/iogetline.c (_IO_getline): Likewise.
9769         (_IO_getline_info): Likewise.
9770         * libio/iogetwline.c (_IO_getwline): Likewise.
9771         (_IO_getwline_info): Likewise.
9772         * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
9773         * libio/vswprintf.c (_IO_vswprintf): Likewise.
9774         * locale/programs/simple-hash.c (insert_entry_2): Likewise.
9775         (find_entry): Likewise.
9776         (iterate_table): Likewise.
9777         (lookup): Likewise.
9778         * login/forkpty.c (forkpty): Likewise.
9779         * misc/hsearch_r.c (__hsearch_r): Likewise.
9780         * misc/select.c (__select): Likewise.
9781         * nptl/cleanup_defer_compat.c (_pthread_cleanup_pop_restore):
9782         Likewise.
9783         * nptl/old_pthread_cond_init.c (__pthread_cond_init_2_0):
9784         Likewise.
9785         * nptl/old_pthread_cond_timedwait.c
9786         (__pthread_cond_timedwait_2_0): Likewise.
9787         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
9788         * nptl/pthread_barrierattr_getpshared.c
9789         (pthread_barrierattr_getpshared): Likewise.
9790         * nptl/pthread_getschedparam.c (__pthread_getschedparam):
9791         Likewise.
9792         * nptl/pthread_mutex_setprioceiling.c
9793         (pthread_mutex_setprioceiling): Likewise.
9794         * nptl/pthread_mutexattr_getprioceiling.c
9795         (pthread_mutexattr_getprioceiling): Likewise.
9796         * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
9797         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
9798         Likewise.
9799         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
9800         Likewise.
9801         * nptl/pthread_setschedparam.c (__pthread_setschedparam):
9802         Likewise.
9803         * socket/recvfrom.c (__recvfrom): Likewise.
9804         * socket/sendto.c (__sendto): Likewise.
9805         * socket/setsockopt.c (__setsockopt): Likewise.
9806         * stdio-common/_itoa.c (_itoa): Likewise.
9807         * stdio-common/_itowa.c (_itowa): Likewise.
9808         * stdio-common/reg-printf.c (__register_printf_specifier):
9809         Likewise.
9810         (__register_printf_function): Likewise.
9811         * stdio-common/tempname.c (__path_search): Likewise.
9812         * stdlib/addmul_1.c (mpn_addmul_1): Likewise.
9813         * stdlib/mul_1.c (mpn_mul_1): Likewise.
9814         * stdlib/random_r.c (__initstate_r): Likewise.
9815         * stdlib/setenv.c (__add_to_environ): Likewise.
9816         * stdlib/submul_1.c (mpn_submul_1): Likewise.
9817         * streams/getpmsg.c (getpmsg): Likewise.
9818         * streams/putmsg.c (putmsg): Likewise.
9819         * streams/putpmsg.c (putpmsg): Likewise.
9820         * sunrpc/clnt_raw.c (clntraw_call): Likewise.
9821         * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
9822         * sunrpc/clnt_udp.c (clntudp_create): Likewise.
9823         * sunrpc/clnt_unix.c (clntunix_call): Likewise.
9824         * sunrpc/pm_getport.c (pmap_getport): Likewise.
9825         * sunrpc/svc_udp.c (cache_get): Likewise.
9826         * sunrpc/xdr_array.c (xdr_vector): Likewise.
9827         * sysdeps/mach/hurd/getcwd.c
9828         (__canonicalize_directory_name_internal): Likewise.
9829         * sysdeps/mach/hurd/pselect.c (__pselect): Likewise.
9830         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Likewise.
9831         * sysdeps/mach/hurd/select.c (__select): Likewise.
9832         * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
9833         * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
9834         * sysdeps/sparc/nptl/pthread_barrier_init.c
9835         (__pthread_barrier_init): Likewise.
9836         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c
9837         (__pthread_cond_timedwait): Likewise.
9838         * sysdeps/unix/sysv/linux/i386/putmsg.c (putmsg): Likewise.
9839         * sysdeps/unix/sysv/linux/s390/semtimedop.c (semtimedop):
9840         Likewise.
9841         * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Likewise.
9842         * sysdeps/unix/sysv/linux/timer_settime.c (timer_settime):
9843         Likewise.
9844         * sysvipc/semtimedop.c (semtimedop): Likewise.
9845         * time/setitimer.c (__setitimer): Likewise.
9846         * time/strftime_l.c (emacs_strftime): Likewise.
9848 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
9850         * config.make.in (have-ssp): Delete.
9851         (stack-protector): New variable.
9852         * configure.ac: Delete libc_cv_ssp export.  Add libc_cv_ssp_strong
9853         cache test for -fstack-protector-strong.  Export stack_protector to
9854         the best ssp flag.
9855         * configure: Regenerated.
9856         * login/Makefile (pt_chown-cflags): Always add $(stack-protector).
9857         * nscd/Makefile (CFLAGS-nscd): Likewise.
9858         * resolv/Makefile (CFLAGS-libresolv): Likewise.
9860 2015-10-16  H.J. Lu  <hongjiu.lu@intel.com>
9862         [BZ #19122]
9863         * include/sys/stat.h [IS_IN (rtld)] (__fxstatat64): Add
9864         attribute_hidden.
9866 2015-10-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
9868         [BZ #18743]
9869         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Move most of this
9870         code to...
9871         (ELIDE_LOCK): ...here.
9872         (__get_new_count): New function with part of the code from
9873         __elide_lock that updates the value of adapt_count after a
9874         transaction abort.
9875         (__elided_trylock): Moved this code to...
9876         (ELIDE_TRYLOCK): ...here.
9878 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
9880         * configure.ac (AC_ARG_ENABLE(timezone-tools)): Tweak help phrasing.
9881         * configure: Regenerate.
9882         * INSTALL: Regenerate.
9883         * manual/install.texi (--disable-timezone-tools): Use @theglibc{}
9884         and tweak grammar.
9886 2015-10-19  Geoffrey Thomas  <geofft@ldpreload.com>
9888         * login/programs/pt_chown.c: Include signal.h
9889         (main): Clear any signal mask from the parent process.
9891 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
9893         * configure.ac (libc_cv_gnu89_inline): Remove configure test.
9894         * configure: Regenerated.
9895         * config.make.in (gnu89-inline-CFLAGS): Remove variable.
9896         * Makeconfig (CFLAGS): Use -fgnu89-inline instead of
9897         $(gnu89-inline-CFLAGS).
9899         * configure.ac (libc_cv_asm_weak_directive): Remove configure
9900         test.
9901         (libc_cv_asm_weakext_directive): Likewise.
9902         * configure: Regenerated.
9903         * config.h.in (HAVE_ASM_WEAK_DIRECTIVE): Remove #undef.
9904         (HAVE_ASM_WEAKEXT_DIRECTIVE): Likewise.
9905         * include/libc-symbols.h
9906         [!HAVE_ASM_WEAK_DIRECTIVE && !HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove
9907         #error.
9908         [HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove conditional code.
9909         [!HAVE_ASM_WEAKEXT_DIRECTIVE]: Make code unconditional.
9911         * sysdeps/arm/backtrace.c (__backtrace): Convert to
9912         prototype-style function definition.
9913         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
9914         * sysdeps/i386/ffs.c (__ffs): Likewise.
9915         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
9916         * sysdeps/ia64/nptl/pthread_spin_lock.c (pthread_spin_lock):
9917         Likewise.
9918         * sysdeps/ia64/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
9919         Likewise.
9920         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
9921         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
9922         Likewise.
9923         * sysdeps/m68k/ffs.c (__ffs): Likewise.
9924         * sysdeps/m68k/m680x0/fpu/e_acos.c (FUNC): Likewise.
9925         * sysdeps/m68k/m680x0/fpu/e_fmod.c (FUNC): Likewise.
9926         * sysdeps/mach/adjtime.c (__adjtime): Likewise.
9927         * sysdeps/mach/gettimeofday.c (__gettimeofday): Likewise.
9928         * sysdeps/mach/hurd/_exit.c (_exit): Likewise.
9929         * sysdeps/mach/hurd/access.c (__access): Likewise.
9930         * sysdeps/mach/hurd/adjtime.c (__adjtime): Likewise.
9931         * sysdeps/mach/hurd/chdir.c (__chdir): Likewise.
9932         * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
9933         * sysdeps/mach/hurd/chown.c (__chown): Likewise.
9934         * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Likewise.
9935         (cthread_getspecific): Likewise.
9936         (cthread_setspecific): Likewise.
9937         (__libc_getspecific): Likewise.
9938         * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Likewise.
9939         * sysdeps/mach/hurd/faccessat.c (faccessat): Likewise.
9940         * sysdeps/mach/hurd/fchdir.c (__fchdir): Likewise.
9941         * sysdeps/mach/hurd/fchmod.c (__fchmod): Likewise.
9942         * sysdeps/mach/hurd/fchmodat.c (fchmodat): Likewise.
9943         * sysdeps/mach/hurd/fchown.c (__fchown): Likewise.
9944         * sysdeps/mach/hurd/fchownat.c (fchownat): Likewise.
9945         * sysdeps/mach/hurd/flock.c (__flock): Likewise.
9946         * sysdeps/mach/hurd/fsync.c (fsync): Likewise.
9947         * sysdeps/mach/hurd/ftruncate.c (__ftruncate): Likewise.
9948         * sysdeps/mach/hurd/getgroups.c (__getgroups): Likewise.
9949         * sysdeps/mach/hurd/gethostname.c (__gethostname): Likewise.
9950         * sysdeps/mach/hurd/getitimer.c (__getitimer): Likewise.
9951         * sysdeps/mach/hurd/getlogin_r.c (__getlogin_r): Likewise.
9952         * sysdeps/mach/hurd/getpgid.c (__getpgid): Likewise.
9953         * sysdeps/mach/hurd/getrusage.c (__getrusage): Likewise.
9954         * sysdeps/mach/hurd/getsockname.c (__getsockname): Likewise.
9955         * sysdeps/mach/hurd/group_member.c (__group_member): Likewise.
9956         * sysdeps/mach/hurd/isatty.c (__isatty): Likewise.
9957         * sysdeps/mach/hurd/lchown.c (__lchown): Likewise.
9958         * sysdeps/mach/hurd/link.c (__link): Likewise.
9959         * sysdeps/mach/hurd/linkat.c (linkat): Likewise.
9960         * sysdeps/mach/hurd/listen.c (__listen): Likewise.
9961         * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
9962         * sysdeps/mach/hurd/mkdirat.c (mkdirat): Likewise.
9963         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
9964         * sysdeps/mach/hurd/poll.c (__poll): Likewise.
9965         * sysdeps/mach/hurd/readlink.c (__readlink): Likewise.
9966         * sysdeps/mach/hurd/readlinkat.c (readlinkat): Likewise.
9967         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
9968         * sysdeps/mach/hurd/rename.c (rename): Likewise.
9969         * sysdeps/mach/hurd/renameat.c (renameat): Likewise.
9970         * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
9971         * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Likewise.
9972         * sysdeps/mach/hurd/rmdir.c (__rmdir): Likewise.
9973         * sysdeps/mach/hurd/seekdir.c (seekdir): Likewise.
9974         * sysdeps/mach/hurd/send.c (__send): Likewise.
9975         * sysdeps/mach/hurd/setdomain.c (setdomainname): Likewise.
9976         * sysdeps/mach/hurd/setegid.c (setegid): Likewise.
9977         * sysdeps/mach/hurd/seteuid.c (seteuid): Likewise.
9978         * sysdeps/mach/hurd/setgid.c (__setgid): Likewise.
9979         * sysdeps/mach/hurd/setgroups.c (setgroups): Likewise.
9980         * sysdeps/mach/hurd/sethostid.c (sethostid): Likewise.
9981         * sysdeps/mach/hurd/sethostname.c (sethostname): Likewise.
9982         * sysdeps/mach/hurd/setlogin.c (setlogin): Likewise.
9983         * sysdeps/mach/hurd/setpgid.c (__setpgid): Likewise.
9984         * sysdeps/mach/hurd/setregid.c (__setregid): Likewise.
9985         * sysdeps/mach/hurd/setreuid.c (__setreuid): Likewise.
9986         * sysdeps/mach/hurd/settimeofday.c (__settimeofday): Likewise.
9987         * sysdeps/mach/hurd/setuid.c (__setuid): Likewise.
9988         * sysdeps/mach/hurd/shutdown.c (shutdown): Likewise.
9989         * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
9990         * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
9991         * sysdeps/mach/hurd/sigpending.c (sigpending): Likewise.
9992         * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
9993         * sysdeps/mach/hurd/sigsuspend.c (__sigsuspend): Likewise.
9994         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
9995         * sysdeps/mach/hurd/symlink.c (__symlink): Likewise.
9996         * sysdeps/mach/hurd/symlinkat.c (symlinkat): Likewise.
9997         * sysdeps/mach/hurd/telldir.c (telldir): Likewise.
9998         * sysdeps/mach/hurd/truncate.c (__truncate): Likewise.
9999         * sysdeps/mach/hurd/umask.c (__umask): Likewise.
10000         * sysdeps/mach/hurd/unlink.c (__unlink): Likewise.
10001         * sysdeps/mach/hurd/unlinkat.c (unlinkat): Likewise.
10002         * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
10003         * sysdeps/posix/alarm.c (alarm): Likewise.
10004         * sysdeps/posix/cuserid.c (cuserid): Likewise.
10005         * sysdeps/posix/dirfd.c (dirfd): Likewise.
10006         * sysdeps/posix/dup.c (__dup): Likewise.
10007         * sysdeps/posix/dup2.c (__dup2): Likewise.
10008         * sysdeps/posix/euidaccess.c (euidaccess): Likewise.
10009         (main): Likewise.
10010         * sysdeps/posix/flock.c (__flock): Likewise.
10011         * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
10012         * sysdeps/posix/getcwd.c (__getcwd): Likewise.
10013         * sysdeps/posix/gethostname.c (__gethostname): Likewise.
10014         * sysdeps/posix/gettimeofday.c (__gettimeofday): Likewise.
10015         * sysdeps/posix/isatty.c (__isatty): Likewise.
10016         * sysdeps/posix/killpg.c (killpg): Likewise.
10017         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
10018         * sysdeps/posix/mkfifoat.c (mkfifoat): Likewise.
10019         * sysdeps/posix/raise.c (raise): Likewise.
10020         * sysdeps/posix/remove.c (remove): Likewise.
10021         * sysdeps/posix/rename.c (rename): Likewise.
10022         * sysdeps/posix/rewinddir.c (__rewinddir): Likewise.
10023         * sysdeps/posix/seekdir.c (seekdir): Likewise.
10024         * sysdeps/posix/sigblock.c (__sigblock): Likewise.
10025         * sysdeps/posix/sigignore.c (sigignore): Likewise.
10026         * sysdeps/posix/sigintr.c (siginterrupt): Likewise.
10027         * sysdeps/posix/signal.c (__bsd_signal): Likewise.
10028         * sysdeps/posix/sigset.c (sigset): Likewise.
10029         * sysdeps/posix/sigsuspend.c (__sigsuspend): Likewise.
10030         * sysdeps/posix/sysconf.c (__sysconf): Likewise.
10031         * sysdeps/posix/sysv_signal.c (__sysv_signal): Likewise.
10032         * sysdeps/posix/time.c (time): Likewise.
10033         * sysdeps/posix/ttyname.c (getttyname): Likewise.
10034         (ttyname): Likewise.
10035         * sysdeps/posix/ttyname_r.c (__ttyname_r): Likewise.
10036         * sysdeps/posix/utime.c (utime): Likewise.
10037         * sysdeps/powerpc/fpu/s_isnan.c (__isnan): Likewise.
10038         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
10039         Likewise.
10040         * sysdeps/powerpc/nptl/pthread_spin_trylock.c
10041         (pthread_spin_trylock): Likewise.
10042         * sysdeps/pthread/aio_error.c (aio_error): Likewise.
10043         * sysdeps/pthread/aio_read.c (aio_read): Likewise.
10044         * sysdeps/pthread/aio_read64.c (aio_read64): Likewise.
10045         * sysdeps/pthread/aio_write.c (aio_write): Likewise.
10046         * sysdeps/pthread/aio_write64.c (aio_write64): Likewise.
10047         * sysdeps/pthread/flockfile.c (__flockfile): Likewise.
10048         * sysdeps/pthread/ftrylockfile.c (__ftrylockfile): Likewise.
10049         * sysdeps/pthread/funlockfile.c (__funlockfile): Likewise.
10050         * sysdeps/pthread/timer_create.c (timer_create): Likewise.
10051         * sysdeps/pthread/timer_getoverr.c (timer_getoverrun): Likewise.
10052         * sysdeps/pthread/timer_gettime.c (timer_gettime): Likewise.
10053         * sysdeps/s390/ffs.c (__ffs): Likewise.
10054         * sysdeps/s390/nptl/pthread_spin_lock.c (pthread_spin_lock):
10055         Likewise.
10056         * sysdeps/s390/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
10057         Likewise.
10058         * sysdeps/sh/nptl/pthread_spin_lock.c (pthread_spin_lock):
10059         Likewise.
10060         * sysdeps/sparc/nptl/pthread_barrier_destroy.c
10061         (pthread_barrier_destroy): Likewise.
10062         * sysdeps/sparc/nptl/pthread_barrier_wait.c
10063         (__pthread_barrier_wait): Likewise.
10064         * sysdeps/sparc/sparc32/e_sqrt.c (__ieee754_sqrt): Likewise.
10065         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
10066         (__pthread_barrier_wait): Likewise.
10067         * sysdeps/sparc/sparc32/sem_init.c (__old_sem_init): Likewise.
10068         * sysdeps/tile/memcmp.c (memcmp_common_alignment): Likewise.
10069         (memcmp_not_common_alignment): Likewise.
10070         (MEMCMP): Likewise.
10071         * sysdeps/tile/wordcopy.c (_wordcopy_fwd_aligned): Likewise.
10072         (_wordcopy_fwd_dest_aligned): Likewise.
10073         (_wordcopy_bwd_aligned): Likewise.
10074         (_wordcopy_bwd_dest_aligned): Likewise.
10075         * sysdeps/unix/bsd/ftime.c (ftime): Likewise.
10076         * sysdeps/unix/bsd/gtty.c (gtty): Likewise.
10077         * sysdeps/unix/bsd/stty.c (stty): Likewise.
10078         * sysdeps/unix/bsd/tcflow.c (tcflow): Likewise.
10079         * sysdeps/unix/bsd/tcflush.c (tcflush): Likewise.
10080         * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Likewise.
10081         * sysdeps/unix/bsd/tcgetpgrp.c (tcgetpgrp): Likewise.
10082         * sysdeps/unix/bsd/tcsendbrk.c (tcsendbreak): Likewise.
10083         * sysdeps/unix/bsd/tcsetattr.c (tcsetattr): Likewise.
10084         * sysdeps/unix/bsd/tcsetpgrp.c (tcsetpgrp): Likewise.
10085         * sysdeps/unix/bsd/ualarm.c (ualarm): Likewise.
10086         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
10087         * sysdeps/unix/getlogin_r.c (__getlogin_r): Likewise.
10088         * sysdeps/unix/sockatmark.c (sockatmark): Likewise.
10089         * sysdeps/unix/stime.c (stime): Likewise.
10090         * sysdeps/unix/sysv/linux/_exit.c (_exit): Likewise.
10091         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue):
10092         Likewise.  Use internal_function.
10093         * sysdeps/unix/sysv/linux/arm/sigaction.c (__libc_sigaction):
10094         Convert to prototype-style function definition.
10095         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
10096         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
10097         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Likewise.
10098         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
10099         Likewise.  Use internal_function.
10100         * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Convert to
10101         prototype-style function definition
10102         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
10103         Likewise.
10104         (__getlogin_r): Likewise.
10105         * sysdeps/unix/sysv/linux/getpt.c (__posix_openpt): Likewise.
10106         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c
10107         (__pthread_cond_broadcast): Likewise.
10108         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c
10109         (__pthread_cond_destroy): Likewise.
10110         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c
10111         (__pthread_cond_init): Likewise.
10112         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c
10113         (__pthread_cond_signal): Likewise.
10114         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
10115         (__pthread_cond_wait): Likewise.
10116         * sysdeps/unix/sysv/linux/i386/getmsg.c (getmsg): Likewise.
10117         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
10118         * sysdeps/unix/sysv/linux/ia64/sigaction.c (__libc_sigaction):
10119         Likewise.
10120         * sysdeps/unix/sysv/linux/ia64/sigpending.c (sigpending):
10121         Likewise.
10122         * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
10123         Likewise.
10124         * sysdeps/unix/sysv/linux/mips/sigaction.c (__libc_sigaction):
10125         Likewise.
10126         * sysdeps/unix/sysv/linux/msgget.c (msgget): Likewise.
10127         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c
10128         (__ftruncate64): Likewise.
10129         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c
10130         (truncate64): Likewise.
10131         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Likewise.
10132         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c
10133         (pthread_getcpuclockid): Likewise.
10134         * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
10135         Likewise.
10136         * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
10137         Likewise.
10138         * sysdeps/unix/sysv/linux/pthread_sigmask.c (pthread_sigmask):
10139         Likewise.
10140         * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
10141         Likewise.
10142         * sysdeps/unix/sysv/linux/raise.c (raise): Likewise.
10143         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c
10144         (__libc_sigaction): Likewise.
10145         * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c (sigpending):
10146         Likewise.
10147         * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
10148         (__sigprocmask): Likewise.
10149         * sysdeps/unix/sysv/linux/semget.c (semget): Likewise.
10150         * sysdeps/unix/sysv/linux/semop.c (semop): Likewise.
10151         * sysdeps/unix/sysv/linux/setrlimit64.c (setrlimit64): Likewise.
10152         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
10153         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
10154         * sysdeps/unix/sysv/linux/shmget.c (shmget): Likewise.
10155         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
10156         Likewise.
10157         * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Likewise.
10158         * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise.
10159         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
10160         * sysdeps/unix/sysv/linux/sigstack.c (sigstack): Likewise.
10161         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c (sigpending):
10162         Likewise.
10163         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
10164         (__sigprocmask): Likewise.
10165         * sysdeps/unix/sysv/linux/speed.c (cfgetospeed): Likewise.
10166         (cfgetispeed): Likewise.
10167         (cfsetospeed): Likewise.
10168         (cfsetispeed): Likewise.
10169         * sysdeps/unix/sysv/linux/tcflow.c (tcflow): Likewise.
10170         * sysdeps/unix/sysv/linux/tcflush.c (tcflush): Likewise.
10171         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
10172         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
10173         * sysdeps/unix/sysv/linux/time.c (time): Likewise.
10174         * sysdeps/unix/sysv/linux/timer_create.c (timer_create): Likewise.
10175         * sysdeps/unix/sysv/linux/timer_delete.c (timer_delete): Likewise.
10176         * sysdeps/unix/sysv/linux/timer_getoverr.c (timer_getoverrun):
10177         Likewise.
10178         * sysdeps/unix/sysv/linux/timer_gettime.c (timer_gettime):
10179         Likewise.
10180         * sysdeps/unix/sysv/linux/x86_64/sigpending.c (sigpending):
10181         Likewise.
10182         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
10183         Likewise.
10184         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
10186 2015-10-17  Florian Weimer  <fweimer@redhat.com>
10188         sunrpc: Rewrite with explicit TLS access using __thread.
10189         * sunrpc/rpc_thread.c (thread_rpc_vars): New TLS variable.
10190         (__rpc_thread_destroy, rpc_thread_multi): Access thread_rpc_vars
10191         directly.
10192         (__rpc_thread_variables): Access thread_rpc_vars directly.
10193         Eliminate redundant assignment of the tvp variable.
10195 2015-10-17  Florian Weimer  <fweimer@redhat.com>
10197         malloc: Rewrite with explicit TLS access using __thread.
10198         * sysdeps/generic/malloc-machine.h (tsd_key_t, tsd_key_create)
10199         (tsd_setspecific, tsd_getspecific): Remove.
10200         * sysdeps/mach/hurd/malloc-machine.h (tsd_key_t, tsd_key_create)
10201         (tsd_setspecific, tsd_getspecific): Likewise.
10202         * sysdeps/nptl/malloc-machine.h (tsd_key_t, tsd_key_create)
10203         (tsd_setspecific, tsd_getspecific): Likewise.
10204         * malloc/arena.c (thread_arena): New TLS variable.
10205         (arena_key): Remove variable.
10206         (arena_get): Use thread_arena.
10207         (arena_lookup): Remove macro.
10208         (malloc_atfork, free_atfork, ptmalloc_lock_all)
10209         (ptmalloc_unlock_all, ptmalloc_unlock_all2, ptmalloc_init)
10210         (_int_new_arena, get_free_list, reused_arena)
10211         (arena_thread_freeres): Use thread_arena.
10212         * manual/memory.texi (Basic Allocation): Remove arena_lookup,
10213         tsd_getspecific, tsd_setspecific from safety annotations.
10214         (Allocating Cleared Space): Remove arena_lookup from safety
10215         annotations.
10217 2015-10-17  Florian Weimer  <fweimer@redhat.com>
10219         * stdio-common/vfprintf.c (printf_positional): Rewrite to use
10220         struct scratch_buffer instead of extend_alloca.
10222 2015-10-17  Florian Weimer  <fweimer@redhat.com>
10224         * sysdeps/unix/sysv/linux/kernel-features.h
10225         (__ASSUME_SOCK_CLOEXEC): Remove.
10226         * include/sys/socket.h (__have_sock_cloexec): Remove declaration.
10227         (__have_paccept): Remove unused macro.
10228         * include/unistd.h (__have_sock_cloexec): Remove declaration.
10229         * misc/syslog.c (openlog_internal): Remove fallback code for
10230         !__ASSUME_SOCK_CLOEXEC.
10231         * nis/ypclnt.c (yp_bind_client_create): Remove fallback code for
10232         missing SOCK_CLOEXEC.
10233         * nscd/connections.c (have_sock_cloexec): Remove definition.
10234         (nscd_init): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
10235         * nscd/nscd_helper.c (open_socket): Remove fallback code for
10236         !__ASSUME_SOCK_CLOEXEC.
10237         * resolv/res_send.c (__have_o_nonblock): Remove definition.
10238         (reopen): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
10239         * socket/have_sock_cloexec.c (__have_sock_cloexec): Remove
10240         definition.
10241         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Remove fallback
10242         code for !__ASSUME_SOCK_CLOEXEC.
10244 2015-10-17  Florian Weimer  <fweimer@redhat.com>
10246         [BZ #18982]
10247         * manual/stdio.texi (Variable Arguments Output): Add portability
10248         note, explaining that vfprintf clobbers the va_list pointer.
10250 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
10252         * math/libm-test.inc (fabs_test_data): Add more tests.
10253         (fdim_test_data): Likewise.
10254         (fma_test_data): Likewise.
10255         (fmax_test_data): Likewise.
10256         (fmin_test_data): Likewise.
10257         (fmod_test_data): Likewise.
10259 2015-10-16  Steve Ellcey  <sellcey@imgtec.com>
10261         * sysdeps/mips/memcpy.S (memcpy):  Add word copies for small aligned
10262         data.
10264 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
10266         * math/libm-test.inc (ceil_test_data): Add more tests and more
10267         expectations for "inexact".
10268         (floor_test_data): Add more tests.
10269         (round_test_data): Likewise.
10270         (trunc_test_data): Likewise.
10272         * crypt/cert.c (good_bye): Convert to prototype-style function
10273         definition.
10274         (get8): Likewise.
10275         (put8): Likewise.
10276         * crypt/crypt-entry.c (crypt): Likewise.
10277         (__fcrypt): Likewise.
10278         * crypt/crypt_util.c (_ufc_prbits): Likewise.
10279         (_ufc_set_bits): Likewise.
10280         (_ufc_clearmem): Likewise.
10281         (__init_des_r): Likewise.
10282         (shuffle_sb): Likewise.
10283         (shuffle_sb): Likewise.
10284         (_ufc_setup_salt_r): Likewise.
10285         (_ufc_mk_keytab_r): Likewise.
10286         (_ufc_dofinalperm_r): Likewise.
10287         (encrypt): Likewise.
10288         (__setkey_r): Likewise.
10289         (setkey): Likewise.
10290         * crypt/md5.c (md5_init_ctx): Likewise.
10291         (md5_read_ctx): Likewise.
10292         (md5_finish_ctx): Likewise.
10293         (md5_stream): Likewise.
10294         (md5_buffer): Likewise.
10295         (md5_process_bytes): Likewise.
10296         * crypt/sha256.c (__sha256_init_ctx): Likewise.
10297         (__sha256_finish_ctx): Likewise.
10298         (__sha256_process_bytes): Likewise.
10299         * crypt/sha512.c (__sha512_init_ctx): Likewise.
10300         (__sha512_finish_ctx): Likewise.
10301         (__sha512_process_bytes): Likewise.
10302         * ctype/isctype.c (__isctype): Likewise.
10303         * debug/backtrace.c (__backtrace): Likewise.
10304         * debug/backtracesymsfd.c (__backtrace_symbols_fd): Likewise.
10305         * debug/fgets_chk.c (__fgets_chk): Likewise.
10306         * debug/fgets_u_chk.c (__fgets_unlocked_chk): Likewise.
10307         * debug/memcpy_chk.c (__memcpy_chk): Likewise.
10308         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
10309         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
10310         * debug/memset_chk.c (__memset_chk): Likewise.
10311         * debug/strcat_chk.c (__strcat_chk): Likewise.
10312         * debug/strncat_chk.c (__strncat_chk): Likewise.
10313         * debug/strncpy_chk.c (__strncpy_chk): Likewise.
10314         * debug/vsprintf_chk.c (_IO_str_chk_overflow): Likewise.
10315         * dirent/dirfd.c (dirfd): Likewise.
10316         * dirent/getdents.c (__getdirentries): Likewise.
10317         * dirent/getdents64.c (getdirentries64): Likewise.
10318         * dirent/rewinddir.c (__rewinddir): Likewise.
10319         * dirent/seekdir.c (seekdir): Likewise.
10320         * dirent/telldir.c (telldir): Likewise.
10321         * elf/sln.c (makesymlinks): Likewise.
10322         (makesymlink): Likewise.
10323         * gmon/gmon.c (__moncontrol): Likewise.
10324         (__monstartup): Likewise.
10325         (write_hist): Likewise.
10326         (write_call_graph): Likewise.
10327         (write_bb_counts): Likewise.
10328         * grp/setgroups.c (setgroups): Likewise.
10329         * inet/inet_lnaof.c (inet_lnaof): Likewise.
10330         * inet/inet_net.c (inet_network): Likewise.
10331         * inet/inet_netof.c (inet_netof): Likewise.
10332         * inet/rcmd.c (rresvport_af): Likewise.
10333         (rresvport): Likewise.
10334         * io/access.c (__access): Likewise.
10335         * io/chdir.c (__chdir): Likewise.
10336         * io/chmod.c (__chmod): Likewise.
10337         * io/chown.c (__chown): Likewise.
10338         * io/close.c (__close): Likewise.
10339         * io/creat.c (creat): Likewise.
10340         * io/creat64.c (creat64): Likewise.
10341         * io/dup.c (__dup): Likewise.
10342         * io/dup2.c (__dup2): Likewise.
10343         * io/dup3.c (__dup3): Likewise.
10344         * io/euidaccess.c (__euidaccess): Likewise.
10345         * io/faccessat.c (faccessat): Likewise.
10346         * io/fchmod.c (__fchmod): Likewise.
10347         * io/fchmodat.c (fchmodat): Likewise.
10348         * io/fchown.c (__fchown): Likewise.
10349         * io/fchownat.c (fchownat): Likewise.
10350         * io/fcntl.c (__fcntl): Likewise.
10351         * io/flock.c (__flock): Likewise.
10352         * io/fts.c (fts_load): Likewise.
10353         (fts_close): Likewise.
10354         (fts_read): Likewise.
10355         (fts_set): Likewise.
10356         (fts_children): Likewise.
10357         (fts_build): Likewise.
10358         (fts_stat): Likewise.
10359         (fts_sort): Likewise.
10360         (fts_alloc): Likewise.
10361         (fts_lfree): Likewise.
10362         (fts_palloc): Likewise.
10363         (fts_padjust): Likewise.
10364         (fts_maxarglen): Likewise.
10365         (fts_safe_changedir): Likewise.
10366         * io/getwd.c (getwd): Likewise.
10367         * io/isatty.c (__isatty): Likewise.
10368         * io/lchown.c (__lchown): Likewise.
10369         * io/link.c (__link): Likewise.
10370         * io/linkat.c (linkat): Likewise.
10371         * io/lseek.c (__libc_lseek): Likewise.
10372         * io/mkdir.c (__mkdir): Likewise.
10373         * io/mkdirat.c (mkdirat): Likewise.
10374         * io/mkfifo.c (mkfifo): Likewise.
10375         * io/mkfifoat.c (mkfifoat): Likewise.
10376         * io/open.c (__libc_open): Likewise.
10377         * io/open64.c (__libc_open64): Likewise.
10378         * io/readlink.c (__readlink): Likewise.
10379         * io/readlinkat.c (readlinkat): Likewise.
10380         * io/rmdir.c (__rmdir): Likewise.
10381         * io/symlink.c (__symlink): Likewise.
10382         * io/symlinkat.c (symlinkat): Likewise.
10383         * io/ttyname.c (ttyname): Likewise.
10384         * io/ttyname_r.c (__ttyname_r): Likewise.
10385         * io/umask.c (__umask): Likewise.
10386         * io/unlink.c (__unlink): Likewise.
10387         * io/unlinkat.c (unlinkat): Likewise.
10388         * io/utime.c (utime): Likewise.
10389         * libio/clearerr.c (clearerr): Likewise.
10390         * libio/clearerr_u.c (clearerr_unlocked): Likewise.
10391         * libio/feof.c (_IO_feof): Likewise.
10392         * libio/feof_u.c (feof_unlocked): Likewise.
10393         * libio/ferror.c (_IO_ferror): Likewise.
10394         * libio/ferror_u.c (ferror_unlocked): Likewise.
10395         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
10396         * libio/fileno.c (__fileno): Likewise.
10397         * libio/fputc.c (fputc): Likewise.
10398         * libio/fputc_u.c (fputc_unlocked): Likewise.
10399         * libio/fputwc.c (fputwc): Likewise.
10400         * libio/fputwc_u.c (fputwc_unlocked): Likewise.
10401         * libio/freopen.c (freopen): Likewise.
10402         * libio/freopen64.c (freopen64): Likewise.
10403         * libio/fseek.c (fseek): Likewise.
10404         * libio/fseeko.c (fseeko): Likewise.
10405         * libio/fseeko64.c (fseeko64): Likewise.
10406         * libio/ftello.c (__ftello): Likewise.
10407         * libio/ftello64.c (ftello64): Likewise.
10408         * libio/fwide.c (fwide): Likewise.
10409         * libio/genops.c (_IO_un_link): Likewise.
10410         (_IO_link_in): Likewise.
10411         (_IO_least_marker): Likewise.
10412         (_IO_switch_to_main_get_area): Likewise.
10413         (_IO_switch_to_backup_area): Likewise.
10414         (_IO_switch_to_get_mode): Likewise.
10415         (_IO_free_backup_area): Likewise.
10416         (_IO_switch_to_put_mode): Likewise.
10417         (__overflow): Likewise.
10418         (__underflow): Likewise.
10419         (__uflow): Likewise.
10420         (_IO_setb): Likewise.
10421         (_IO_doallocbuf): Likewise.
10422         (_IO_default_underflow): Likewise.
10423         (_IO_default_uflow): Likewise.
10424         (_IO_default_xsputn): Likewise.
10425         (_IO_sgetn): Likewise.
10426         (_IO_default_xsgetn): Likewise.
10427         (_IO_sync): Likewise.
10428         (_IO_default_setbuf): Likewise.
10429         (_IO_default_seekpos): Likewise.
10430         (_IO_default_doallocate): Likewise.
10431         (_IO_init): Likewise.
10432         (_IO_old_init): Likewise.
10433         (_IO_default_sync): Likewise.
10434         (_IO_default_finish): Likewise.
10435         (_IO_default_seekoff): Likewise.
10436         (_IO_sputbackc): Likewise.
10437         (_IO_sungetc): Likewise.
10438         (_IO_set_column): Likewise.
10439         (_IO_set_column): Likewise.
10440         (_IO_adjust_column): Likewise.
10441         (_IO_get_column): Likewise.
10442         (_IO_init_marker): Likewise.
10443         (_IO_remove_marker): Likewise.
10444         (_IO_marker_difference): Likewise.
10445         (_IO_marker_delta): Likewise.
10446         (_IO_seekmark): Likewise.
10447         (_IO_unsave_markers): Likewise.
10448         (_IO_nobackup_pbackfail): Likewise.
10449         (_IO_default_pbackfail): Likewise.
10450         (_IO_default_seek): Likewise.
10451         (_IO_default_stat): Likewise.
10452         (_IO_default_read): Likewise.
10453         (_IO_default_write): Likewise.
10454         (_IO_default_showmanyc): Likewise.
10455         (_IO_default_imbue): Likewise.
10456         (_IO_iter_next): Likewise.
10457         (_IO_iter_file): Likewise.
10458         * libio/getc.c (_IO_getc): Likewise.
10459         * libio/getwc.c (_IO_getwc): Likewise.
10460         * libio/iofclose.c (_IO_new_fclose): Likewise.
10461         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
10462         * libio/iofflush.c (_IO_fflush): Likewise.
10463         * libio/iofflush_u.c (__fflush_unlocked): Likewise.
10464         * libio/iofgetpos.c (_IO_new_fgetpos): Likewise.
10465         * libio/iofgetpos64.c (_IO_new_fgetpos64): Likewise.
10466         * libio/iofgets.c (_IO_fgets): Likewise.
10467         * libio/iofgets_u.c (__fgets_unlocked): Likewise.
10468         * libio/iofgetws.c (fgetws): Likewise.
10469         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
10470         * libio/iofopen64.c (_IO_fopen64): Likewise.
10471         * libio/iofopncook.c (_IO_cookie_read): Likewise.
10472         (_IO_cookie_write): Likewise.
10473         (_IO_cookie_seek): Likewise.
10474         (_IO_cookie_close): Likewise.
10475         (_IO_cookie_seekoff): Likewise.
10476         (_IO_old_cookie_seek): Likewise.
10477         * libio/iofputs.c (_IO_fputs): Likewise.
10478         * libio/iofputs_u.c (__fputs_unlocked): Likewise.
10479         * libio/iofputws.c (fputws): Likewise.
10480         * libio/iofputws_u.c (fputws_unlocked): Likewise.
10481         * libio/iofread.c (_IO_fread): Likewise.
10482         * libio/iofread_u.c (__fread_unlocked): Likewise.
10483         * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
10484         * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
10485         * libio/ioftell.c (_IO_ftell): Likewise.
10486         * libio/iofwrite.c (_IO_fwrite): Likewise.
10487         * libio/iogetdelim.c (_IO_getdelim): Likewise.
10488         * libio/iogets.c (_IO_gets): Likewise.
10489         * libio/iopadn.c (_IO_padn): Likewise.
10490         * libio/iopopen.c (_IO_new_proc_open): Likewise.
10491         (_IO_new_popen): Likewise.
10492         (_IO_new_proc_close): Likewise.
10493         * libio/ioputs.c (_IO_puts): Likewise.
10494         * libio/ioseekoff.c (_IO_seekoff_unlocked): Likewise.
10495         (_IO_seekoff): Likewise.
10496         * libio/ioseekpos.c (_IO_seekpos_unlocked): Likewise.
10497         (_IO_seekpos): Likewise.
10498         * libio/iosetbuffer.c (_IO_setbuffer): Likewise.
10499         * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
10500         * libio/ioungetc.c (_IO_ungetc): Likewise.
10501         * libio/ioungetwc.c (ungetwc): Likewise.
10502         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
10503         * libio/iovsscanf.c (_IO_vsscanf): Likewise.
10504         * libio/iowpadn.c (_IO_wpadn): Likewise.
10505         * libio/libc_fatal.c (__libc_fatal): Likewise.
10506         * libio/memstream.c (__open_memstream): Likewise.
10507         (_IO_mem_sync): Likewise.
10508         (_IO_mem_finish): Likewise.
10509         * libio/oldfileops.c (_IO_old_file_init): Likewise.
10510         (_IO_old_file_close_it): Likewise.
10511         (_IO_old_file_finish): Likewise.
10512         (_IO_old_file_fopen): Likewise.
10513         (_IO_old_file_attach): Likewise.
10514         (_IO_old_file_setbuf): Likewise.
10515         (_IO_old_do_write): Likewise.
10516         (old_do_write): Likewise.
10517         (_IO_old_file_underflow): Likewise.
10518         (_IO_old_file_overflow): Likewise.
10519         (_IO_old_file_sync): Likewise.
10520         (_IO_old_file_seekoff): Likewise.
10521         (_IO_old_file_write): Likewise.
10522         (_IO_old_file_xsputn): Likewise.
10523         * libio/oldiofclose.c (_IO_old_fclose): Likewise.
10524         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
10525         * libio/oldiofgetpos.c (_IO_old_fgetpos): Likewise.
10526         * libio/oldiofgetpos64.c (_IO_old_fgetpos64): Likewise.
10527         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
10528         * libio/oldiofsetpos.c (_IO_old_fsetpos): Likewise.
10529         * libio/oldiofsetpos64.c (_IO_old_fsetpos64): Likewise.
10530         * libio/oldiopopen.c (_IO_old_proc_open): Likewise.
10531         (_IO_old_popen): Likewise.
10532         (_IO_old_proc_close): Likewise.
10533         * libio/oldpclose.c (__old_pclose): Likewise.
10534         * libio/pclose.c (__new_pclose): Likewise.
10535         * libio/peekc.c (_IO_peekc_locked): Likewise.
10536         * libio/putc.c (_IO_putc): Likewise.
10537         * libio/putc_u.c (putc_unlocked): Likewise.
10538         * libio/putchar.c (putchar): Likewise.
10539         * libio/putchar_u.c (putchar_unlocked): Likewise.
10540         * libio/putwc.c (putwc): Likewise.
10541         * libio/putwc_u.c (putwc_unlocked): Likewise.
10542         * libio/putwchar.c (putwchar): Likewise.
10543         * libio/putwchar_u.c (putwchar_unlocked): Likewise.
10544         * libio/rewind.c (rewind): Likewise.
10545         * libio/setbuf.c (setbuf): Likewise.
10546         * libio/setlinebuf.c (setlinebuf): Likewise.
10547         * libio/vasprintf.c (_IO_vasprintf): Likewise.
10548         * libio/vscanf.c (_IO_vscanf): Likewise.
10549         * libio/vsnprintf.c (_IO_strn_overflow): Likewise.
10550         * libio/vswprintf.c (_IO_wstrn_overflow): Likewise.
10551         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
10552         * libio/wgenops.c (_IO_least_wmarker): Likewise.
10553         (_IO_switch_to_main_wget_area): Likewise.
10554         (_IO_switch_to_wbackup_area): Likewise.
10555         (_IO_wsetb): Likewise.
10556         (_IO_wdefault_pbackfail): Likewise.
10557         (_IO_wdefault_finish): Likewise.
10558         (_IO_wdefault_uflow): Likewise.
10559         (__woverflow): Likewise.
10560         (__wuflow): Likewise.
10561         (__wunderflow): Likewise.
10562         (_IO_wdefault_xsputn): Likewise.
10563         (_IO_wdefault_xsgetn): Likewise.
10564         (_IO_wdoallocbuf): Likewise.
10565         (_IO_wdefault_doallocate): Likewise.
10566         (_IO_switch_to_wget_mode): Likewise.
10567         (_IO_free_wbackup_area): Likewise.
10568         (_IO_switch_to_wput_mode): Likewise.
10569         (_IO_sputbackwc): Likewise.
10570         (_IO_sungetwc): Likewise.
10571         (_IO_adjust_wcolumn): Likewise.
10572         (_IO_init_wmarker): Likewise.
10573         (_IO_wmarker_delta): Likewise.
10574         (_IO_seekwmark): Likewise.
10575         (_IO_unsave_wmarkers): Likewise.
10576         * libio/wmemstream.c (open_wmemstream): Likewise.
10577         (_IO_wmem_sync): Likewise.
10578         (_IO_wmem_finish): Likewise.
10579         * locale/nl_langinfo.c (nl_langinfo): Likewise.
10580         * locale/nl_langinfo_l.c (__nl_langinfo_l): Likewise.
10581         * locale/programs/simple-hash.c (init_hash): Likewise.
10582         (delete_hash): Likewise.
10583         (insert_entry): Likewise.
10584         (set_entry): Likewise.
10585         (next_prime): Likewise.
10586         (is_prime): Likewise.
10587         * locale/programs/xmalloc.c (fixup_null_alloc): Likewise.
10588         (xmalloc): Likewise.
10589         (xrealloc): Likewise.
10590         * locale/programs/xstrdup.c (xstrdup): Likewise.
10591         * localedata/collate-test.c (xstrcoll): Likewise.
10592         * localedata/xfrm-test.c (xstrcmp): Likewise.
10593         * login/getlogin_r.c (__getlogin_r): Likewise.
10594         * login/getpt.c (__posix_openpt): Likewise.
10595         * login/login_tty.c (login_tty): Likewise.
10596         * login/setlogin.c (setlogin): Likewise.
10597         * mach/msg-destroy.c (__mach_msg_destroy): Likewise.
10598         (mach_msg_destroy_port): Likewise.
10599         (mach_msg_destroy_memory): Likewise.
10600         * malloc/mcheck.c (flood): Likewise.
10601         * misc/acct.c (acct): Likewise.
10602         * misc/brk.c (__brk): Likewise.
10603         * misc/chflags.c (chflags): Likewise.
10604         * misc/chroot.c (chroot): Likewise.
10605         * misc/fchflags.c (fchflags): Likewise.
10606         * misc/fstab.c (getfsspec): Likewise.
10607         (getfsfile): Likewise.
10608         * misc/fsync.c (fsync): Likewise.
10609         * misc/ftruncate.c (__ftruncate): Likewise.
10610         * misc/ftruncate64.c (__ftruncate64): Likewise.
10611         * misc/getdomain.c (getdomainname): Likewise.
10612         (getdomainname): Likewise.
10613         * misc/gethostname.c (__gethostname): Likewise.
10614         * misc/getpass.c (getpass): Likewise.
10615         * misc/getttyent.c (skip): Likewise.
10616         (value): Likewise.
10617         * misc/gtty.c (gtty): Likewise.
10618         * misc/hsearch.c (hsearch): Likewise.
10619         (hcreate): Likewise.
10620         * misc/hsearch_r.c (__hcreate_r): Likewise.
10621         (__hdestroy_r): Likewise.
10622         * misc/ioctl.c (__ioctl): Likewise.
10623         * misc/mkdtemp.c (mkdtemp): Likewise.
10624         * misc/mkostemp.c (mkostemp): Likewise.
10625         * misc/mkostemp64.c (mkostemp64): Likewise.
10626         * misc/mkostemps.c (mkostemps): Likewise.
10627         * misc/mkostemps64.c (mkostemps64): Likewise.
10628         * misc/mkstemp.c (mkstemp): Likewise.
10629         * misc/mkstemp64.c (mkstemp64): Likewise.
10630         * misc/mkstemps.c (mkstemps): Likewise.
10631         * misc/mkstemps64.c (mkstemps64): Likewise.
10632         * misc/mktemp.c (__mktemp): Likewise.
10633         * misc/preadv.c (preadv): Likewise.
10634         * misc/preadv64.c (preadv64): Likewise.
10635         * misc/pwritev.c (pwritev): Likewise.
10636         * misc/pwritev64.c (pwritev64): Likewise.
10637         * misc/readv.c (__readv): Likewise.
10638         * misc/revoke.c (revoke): Likewise.
10639         * misc/setdomain.c (setdomainname): Likewise.
10640         * misc/setegid.c (setegid): Likewise.
10641         * misc/seteuid.c (seteuid): Likewise.
10642         * misc/sethostid.c (sethostid): Likewise.
10643         * misc/sethostname.c (sethostname): Likewise.
10644         * misc/setregid.c (__setregid): Likewise.
10645         * misc/setreuid.c (__setreuid): Likewise.
10646         * misc/sstk.c (sstk): Likewise.
10647         * misc/stty.c (stty): Likewise.
10648         * misc/syscall.c (syscall): Likewise.
10649         * misc/syslog.c (setlogmask): Likewise.
10650         * misc/truncate.c (__truncate): Likewise.
10651         * misc/truncate64.c (truncate64): Likewise.
10652         * misc/ualarm.c (ualarm): Likewise.
10653         * misc/usleep.c (usleep): Likewise.
10654         * misc/ustat.c (ustat): Likewise.
10655         * misc/writev.c (__writev): Likewise.
10656         * nptl/cleanup_compat.c (_pthread_cleanup_pop): Likewise.
10657         * nptl/old_pthread_cond_broadcast.c
10658         (__pthread_cond_broadcast_2_0): Likewise.
10659         * nptl/old_pthread_cond_destroy.c (__pthread_cond_destroy_2_0):
10660         Likewise.
10661         * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0):
10662         Likewise.
10663         * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0):
10664         Likewise.
10665         * nptl/pt-raise.c (raise): Likewise.
10666         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy):
10667         Likewise.
10668         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Likewise.
10669         * nptl/pthread_barrierattr_destroy.c
10670         (pthread_barrierattr_destroy): Likewise.
10671         * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
10672         Likewise.
10673         * nptl/pthread_barrierattr_setpshared.c
10674         (pthread_barrierattr_setpshared): Likewise.
10675         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
10676         Likewise.
10677         * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
10678         * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
10679         * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
10680         * nptl/pthread_condattr_destroy.c (__pthread_condattr_destroy):
10681         Likewise.
10682         * nptl/pthread_condattr_getclock.c (pthread_condattr_getclock):
10683         Likewise.
10684         * nptl/pthread_condattr_getpshared.c
10685         (pthread_condattr_getpshared): Likewise.
10686         * nptl/pthread_condattr_init.c (__pthread_condattr_init):
10687         Likewise.
10688         * nptl/pthread_condattr_setpshared.c
10689         (pthread_condattr_setpshared): Likewise.
10690         * nptl/pthread_detach.c (pthread_detach): Likewise.
10691         * nptl/pthread_equal.c (__pthread_equal): Likewise.
10692         * nptl/pthread_getcpuclockid.c (pthread_getcpuclockid): Likewise.
10693         * nptl/pthread_getspecific.c (__pthread_getspecific): Likewise.
10694         * nptl/pthread_key_delete.c (pthread_key_delete): Likewise.
10695         * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent):
10696         Likewise.
10697         * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
10698         Likewise.
10699         * nptl/pthread_mutex_getprioceiling.c
10700         (pthread_mutex_getprioceiling): Likewise.
10701         * nptl/pthread_mutexattr_destroy.c (__pthread_mutexattr_destroy):
10702         Likewise.
10703         * nptl/pthread_mutexattr_getprotocol.c
10704         (pthread_mutexattr_getprotocol): Likewise.
10705         * nptl/pthread_mutexattr_getpshared.c
10706         (pthread_mutexattr_getpshared): Likewise.
10707         * nptl/pthread_mutexattr_getrobust.c
10708         (pthread_mutexattr_getrobust): Likewise.
10709         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
10710         Likewise.
10711         * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init):
10712         Likewise.
10713         * nptl/pthread_mutexattr_setprioceiling.c
10714         (pthread_mutexattr_setprioceiling): Likewise.
10715         * nptl/pthread_mutexattr_setprotocol.c
10716         (pthread_mutexattr_setprotocol): Likewise.
10717         * nptl/pthread_mutexattr_setpshared.c
10718         (pthread_mutexattr_setpshared): Likewise.
10719         * nptl/pthread_mutexattr_setrobust.c
10720         (pthread_mutexattr_setrobust): Likewise.
10721         * nptl/pthread_mutexattr_settype.c (__pthread_mutexattr_settype):
10722         Likewise.
10723         * nptl/pthread_rwlock_destroy.c (__pthread_rwlock_destroy):
10724         Likewise.
10725         * nptl/pthread_rwlockattr_destroy.c (pthread_rwlockattr_destroy):
10726         Likewise.
10727         * nptl/pthread_rwlockattr_getkind_np.c
10728         (pthread_rwlockattr_getkind_np): Likewise.
10729         * nptl/pthread_rwlockattr_getpshared.c
10730         (pthread_rwlockattr_getpshared): Likewise.
10731         * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init):
10732         Likewise.
10733         * nptl/pthread_rwlockattr_setkind_np.c
10734         (pthread_rwlockattr_setkind_np): Likewise.
10735         * nptl/pthread_rwlockattr_setpshared.c
10736         (pthread_rwlockattr_setpshared): Likewise.
10737         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate):
10738         Likewise.
10739         * nptl/pthread_setcanceltype.c (__pthread_setcanceltype):
10740         Likewise.
10741         * nptl/pthread_setconcurrency.c (pthread_setconcurrency):
10742         Likewise.
10743         * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
10744         * nptl/pthread_setspecific.c (__pthread_setspecific): Likewise.
10745         * nptl/pthread_spin_destroy.c (pthread_spin_destroy): Likewise.
10746         * nptl/pthread_tryjoin.c (pthread_tryjoin_np): Likewise.
10747         * nptl/sem_close.c (sem_close): Likewise.
10748         * nptl/sem_destroy.c (__new_sem_destroy): Likewise.
10749         * nptl/sem_init.c (__old_sem_init): Likewise.
10750         * nptl/sigaction.c (__sigaction): Likewise.
10751         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
10752         * posix/_exit.c (_exit): Likewise.
10753         * posix/alarm.c (alarm): Likewise.
10754         * posix/confstr.c (confstr): Likewise.
10755         * posix/fpathconf.c (__fpathconf): Likewise.
10756         * posix/getgroups.c (__getgroups): Likewise.
10757         * posix/getpgid.c (__getpgid): Likewise.
10758         * posix/group_member.c (__group_member): Likewise.
10759         * posix/pathconf.c (__pathconf): Likewise.
10760         * posix/sched_getaffinity.c (sched_getaffinity): Likewise.
10761         * posix/sched_setaffinity.c (sched_setaffinity): Likewise.
10762         * posix/setgid.c (__setgid): Likewise.
10763         * posix/setpgid.c (__setpgid): Likewise.
10764         * posix/setuid.c (__setuid): Likewise.
10765         * posix/sleep.c (__sleep): Likewise.
10766         * posix/sysconf.c (__sysconf): Likewise.
10767         * posix/times.c (__times): Likewise.
10768         * posix/uname.c (__uname): Likewise.
10769         * posix/waitid.c (__waitid): Likewise.
10770         * pwd/getpw.c (__getpw): Likewise.
10771         * resolv/base64.c (b64_pton): Likewise.
10772         * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
10773         * resolv/gethnamaddr.c (Dprintf): Likewise.
10774         (gethostbyname): Likewise.
10775         (gethostbyname2): Likewise.
10776         (gethostbyaddr): Likewise.
10777         (_sethtent): Likewise.
10778         (_gethtbyname): Likewise.
10779         (_gethtbyname2): Likewise.
10780         (_gethtbyaddr): Likewise.
10781         (map_v4v6_address): Likewise.
10782         (map_v4v6_hostent): Likewise.
10783         (addrsort): Likewise.
10784         (ht_sethostent): Likewise.
10785         (ht_gethostbyname): Likewise.
10786         (ht_gethostbyaddr): Likewise.
10787         * resolv/inet_net_ntop.c (inet_net_ntop): Likewise.
10788         (inet_net_ntop_ipv4): Likewise.
10789         * resolv/inet_neta.c (inet_neta): Likewise.
10790         * resolv/inet_ntop.c (inet_ntop): Likewise.
10791         (inet_ntop4): Likewise.
10792         (inet_ntop6): Likewise.
10793         * resolv/inet_pton.c (__inet_pton): Likewise.
10794         (inet_pton4): Likewise.
10795         (inet_pton6): Likewise.
10796         * resolv/res_debug.c (loc_aton): Likewise.
10797         (loc_ntoa): Likewise.
10798         * resource/getpriority.c (__getpriority): Likewise.
10799         * resource/getrusage.c (__getrusage): Likewise.
10800         * resource/nice.c (nice): Likewise.
10801         * resource/setpriority.c (__setpriority): Likewise.
10802         * resource/setrlimit64.c (setrlimit64): Likewise.
10803         * resource/vlimit.c (vlimit): Likewise.
10804         * resource/vtimes.c (vtimes): Likewise.
10805         * rt/aio_error.c (aio_error): Likewise.
10806         * rt/aio_return.c (aio_return): Likewise.
10807         * rt/aio_sigqueue.c (__aio_sigqueue): Likewise.
10808         * signal/kill.c (__kill): Likewise.
10809         * signal/killpg.c (killpg): Likewise.
10810         * signal/raise.c (raise): Likewise.
10811         * signal/sigaction.c (__sigaction): Likewise.
10812         * signal/sigaddset.c (sigaddset): Likewise.
10813         * signal/sigaltstack.c (sigaltstack): Likewise.
10814         * signal/sigandset.c (sigandset): Likewise.
10815         * signal/sigblock.c (__sigblock): Likewise.
10816         * signal/sigdelset.c (sigdelset): Likewise.
10817         * signal/sigempty.c (sigemptyset): Likewise.
10818         * signal/sigfillset.c (sigfillset): Likewise.
10819         * signal/sighold.c (sighold): Likewise.
10820         * signal/sigignore.c (sigignore): Likewise.
10821         * signal/sigintr.c (siginterrupt): Likewise.
10822         * signal/sigisempty.c (sigisemptyset): Likewise.
10823         * signal/sigismem.c (sigismember): Likewise.
10824         * signal/signal.c (signal): Likewise.
10825         * signal/sigorset.c (sigorset): Likewise.
10826         * signal/sigpause.c (__sigpause): Likewise.
10827         * signal/sigpending.c (sigpending): Likewise.
10828         * signal/sigprocmask.c (__sigprocmask): Likewise.
10829         * signal/sigrelse.c (sigrelse): Likewise.
10830         * signal/sigreturn.c (__sigreturn): Likewise.
10831         * signal/sigset.c (sigset): Likewise.
10832         * signal/sigsetmask.c (__sigsetmask): Likewise.
10833         * signal/sigstack.c (sigstack): Likewise.
10834         * signal/sigsuspend.c (__sigsuspend): Likewise.
10835         * signal/sigvec.c (sigvec_wrapper_handler): Likewise.
10836         * signal/sysv_signal.c (__sysv_signal): Likewise.
10837         * socket/accept.c (accept): Likewise.
10838         * socket/accept4.c (__libc_accept4): Likewise.
10839         * socket/bind.c (__bind): Likewise.
10840         * socket/connect.c (__connect): Likewise.
10841         * socket/getpeername.c (getpeername): Likewise.
10842         * socket/getsockname.c (__getsockname): Likewise.
10843         * socket/getsockopt.c (getsockopt): Likewise.
10844         * socket/listen.c (__listen): Likewise.
10845         * socket/recv.c (__recv): Likewise.
10846         * socket/recvmsg.c (__recvmsg): Likewise.
10847         * socket/send.c (__send): Likewise.
10848         * socket/sendmsg.c (__sendmsg): Likewise.
10849         * socket/shutdown.c (shutdown): Likewise.
10850         * socket/sockatmark.c (sockatmark): Likewise.
10851         * socket/socket.c (__socket): Likewise.
10852         * stdio-common/ctermid.c (ctermid): Likewise.
10853         * stdio-common/cuserid.c (cuserid): Likewise.
10854         * stdio-common/printf-prs.c (parse_printf_format): Likewise.
10855         * stdio-common/remove.c (remove): Likewise.
10856         * stdio-common/rename.c (rename): Likewise.
10857         * stdio-common/renameat.c (renameat): Likewise.
10858         * stdio-common/tempname.c (__gen_tempname): Likewise.
10859         * stdio-common/xbug.c (InitBuffer): Likewise.
10860         (AppendToBuffer): Likewise.
10861         (ReadFile): Likewise.
10862         * stdlib/a64l.c (a64l): Likewise.
10863         * stdlib/drand48_r.c (drand48_r): Likewise.
10864         * stdlib/getcontext.c (getcontext): Likewise.
10865         * stdlib/getenv.c (getenv): Likewise.
10866         * stdlib/l64a.c (l64a): Likewise.
10867         * stdlib/llabs.c (llabs): Likewise.
10868         * stdlib/lldiv.c (lldiv): Likewise.
10869         * stdlib/lrand48_r.c (lrand48_r): Likewise.
10870         * stdlib/mrand48_r.c (mrand48_r): Likewise.
10871         * stdlib/putenv.c (putenv): Likewise.
10872         * stdlib/random.c (__srandom): Likewise.
10873         (__initstate): Likewise.
10874         (__setstate): Likewise.
10875         * stdlib/random_r.c (__srandom_r): Likewise.
10876         (__setstate_r): Likewise.
10877         (__random_r): Likewise.
10878         * stdlib/secure-getenv.c (__libc_secure_getenv): Likewise.
10879         * stdlib/setcontext.c (setcontext): Likewise.
10880         * stdlib/setenv.c (setenv): Likewise.
10881         (unsetenv): Likewise.
10882         * stdlib/srand48.c (srand48): Likewise.
10883         * stdlib/srand48_r.c (__srand48_r): Likewise.
10884         * stdlib/swapcontext.c (swapcontext): Likewise.
10885         * stdlib/system.c (__libc_system): Likewise.
10886         * stdlib/tst-strtod.c (expand): Likewise.
10887         * stdlib/tst-strtol.c (expand): Likewise.
10888         * stdlib/tst-strtoll.c (expand): Likewise.
10889         * streams/fattach.c (fattach): Likewise.
10890         * streams/fdetach.c (fdetach): Likewise.
10891         * streams/getmsg.c (getmsg): Likewise.
10892         * streams/isastream.c (isastream): Likewise.
10893         * string/ffs.c (__ffs): Likewise.
10894         * string/ffsll.c (ffsll): Likewise.
10895         * string/memcmp.c (memcmp_common_alignment): Likewise.
10896         (memcmp_not_common_alignment): Likewise.
10897         (MEMCMP): Likewise.
10898         * string/memcpy.c (memcpy): Likewise.
10899         * string/memmove.c (MEMMOVE): Likewise.
10900         * string/memset.c (memset): Likewise.
10901         * string/rawmemchr.c (RAWMEMCHR): Likewise.
10902         * string/strchrnul.c (STRCHRNUL): Likewise.
10903         * string/strerror.c (strerror): Likewise.
10904         * string/strndup.c (__strndup): Likewise.
10905         * string/strverscmp.c (__strverscmp): Likewise.
10906         * sunrpc/clnt_raw.c (clntraw_freeres): Likewise.
10907         * sunrpc/clnt_tcp.c (clnttcp_geterr): Likewise.
10908         (clnttcp_freeres): Likewise.
10909         * sunrpc/clnt_unix.c (clntunix_freeres): Likewise.
10910         * sunrpc/pmap_prot.c (xdr_pmap): Likewise.
10911         * sunrpc/pmap_prot2.c (xdr_pmaplist): Likewise.
10912         * sunrpc/pmap_rmt.c (xdr_rmtcallres): Likewise.
10913         * sunrpc/rpc_prot.c (xdr_replymsg): Likewise.
10914         (xdr_callhdr): Likewise.
10915         * sunrpc/rpcinfo.c (udpping): Likewise.
10916         (tcpping): Likewise.
10917         (pstatus): Likewise.
10918         (pmapdump): Likewise.
10919         (brdcst): Likewise.
10920         (deletereg): Likewise.
10921         (getprognum): Likewise.
10922         (getvers): Likewise.
10923         (get_inet_address): Likewise.
10924         * sunrpc/svc_raw.c (svcraw_recv): Likewise.
10925         * sunrpc/svc_udp.c (svcudp_create): Likewise.
10926         (svcudp_stat): Likewise.
10927         (svcudp_recv): Likewise.
10928         (svcudp_reply): Likewise.
10929         (svcudp_getargs): Likewise.
10930         (svcudp_freeargs): Likewise.
10931         (svcudp_destroy): Likewise.
10932         * sunrpc/xdr.c (xdr_bytes): Likewise.
10933         (xdr_netobj): Likewise.
10934         (xdr_string): Likewise.
10935         (xdr_wrapstring): Likewise.
10936         * sunrpc/xdr_float.c (xdr_float): Likewise.
10937         (xdr_double): Likewise.
10938         * sunrpc/xdr_mem.c (xdrmem_setpos): Likewise.
10939         * sunrpc/xdr_ref.c (xdr_pointer): Likewise.
10940         * sysvipc/ftok.c (ftok): Likewise.
10941         * sysvipc/msgctl.c (msgctl): Likewise.
10942         * sysvipc/msgget.c (msgget): Likewise.
10943         * sysvipc/msgrcv.c (msgrcv): Likewise.
10944         * sysvipc/msgsnd.c (msgsnd): Likewise.
10945         * sysvipc/semget.c (semget): Likewise.
10946         * sysvipc/semop.c (semop): Likewise.
10947         * sysvipc/shmat.c (shmat): Likewise.
10948         * sysvipc/shmctl.c (shmctl): Likewise.
10949         * sysvipc/shmdt.c (shmdt): Likewise.
10950         * sysvipc/shmget.c (shmget): Likewise.
10951         * termios/cfmakeraw.c (cfmakeraw): Likewise.
10952         * termios/speed.c (cfgetospeed): Likewise.
10953         (cfgetispeed): Likewise.
10954         (cfsetospeed): Likewise.
10955         (cfsetispeed): Likewise.
10956         * termios/tcflow.c (tcflow): Likewise.
10957         * termios/tcflush.c (tcflush): Likewise.
10958         * termios/tcgetattr.c (__tcgetattr): Likewise.
10959         * termios/tcgetpgrp.c (tcgetpgrp): Likewise.
10960         * termios/tcgetsid.c (tcgetsid): Likewise.
10961         * termios/tcsendbrk.c (tcsendbreak): Likewise.
10962         * termios/tcsetpgrp.c (tcsetpgrp): Likewise.
10963         * time/adjtime.c (__adjtime): Likewise.
10964         * time/dysize.c (dysize): Likewise.
10965         * time/ftime.c (ftime): Likewise.
10966         * time/getitimer.c (__getitimer): Likewise.
10967         * time/gettimeofday.c (__gettimeofday): Likewise.
10968         * time/gmtime.c (__gmtime_r): Likewise.
10969         (gmtime): Likewise.
10970         * time/localtime.c (__localtime_r): Likewise.
10971         (localtime): Likewise.
10972         * time/offtime.c (__offtime): Likewise.
10973         * time/settimeofday.c (__settimeofday): Likewise.
10974         * time/stime.c (stime): Likewise.
10975         * time/strftime_l.c (tm_diff): Likewise.
10976         (iso_week_days): Likewise.
10977         * time/strptime.c (strptime): Likewise.
10978         * time/time.c (time): Likewise.
10979         * time/timespec_get.c (timespec_get): Likewise.
10980         * time/tzset.c (tzset_internal): Likewise.
10981         (compute_change): Likewise.
10982         (__tz_compute): Likewise.
10983         * wcsmbs/btowc.c (__btowc): Likewise.
10984         * wcsmbs/mbrlen.c (__mbrlen): Likewise.
10985         * wcsmbs/mbsinit.c (__mbsinit): Likewise.
10986         * wcsmbs/mbsrtowcs.c (__mbsrtowcs): Likewise.
10987         * wcsmbs/wcpcpy.c (__wcpcpy): Likewise.
10988         * wcsmbs/wcpncpy.c (__wcpncpy): Likewise.
10989         * wcsmbs/wcscat.c (__wcscat): Likewise.
10990         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
10991         * wcsmbs/wcscmp.c (WCSCMP): Likewise.
10992         * wcsmbs/wcscpy.c (WCSCPY): Likewise.
10993         * wcsmbs/wcscspn.c (wcscspn): Likewise.
10994         * wcsmbs/wcsdup.c (wcsdup): Likewise.
10995         * wcsmbs/wcslen.c (__wcslen): Likewise.
10996         * wcsmbs/wcsncat.c (WCSNCAT): Likewise.
10997         * wcsmbs/wcsncmp.c (WCSNCMP): Likewise.
10998         * wcsmbs/wcsncpy.c (__wcsncpy): Likewise.
10999         * wcsmbs/wcsnlen.c (__wcsnlen): Likewise.
11000         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
11001         * wcsmbs/wcsrchr.c (WCSRCHR): Likewise.
11002         * wcsmbs/wcsspn.c (wcsspn): Likewise.
11003         * wcsmbs/wcsstr.c (wcsstr): Likewise.
11004         * wcsmbs/wcstok.c (wcstok): Likewise.
11005         * wcsmbs/wctob.c (wctob): Likewise.
11006         * wcsmbs/wmemchr.c (__wmemchr): Likewise.
11007         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
11008         * wcsmbs/wmemcpy.c (__wmemcpy): Likewise.
11009         * wcsmbs/wmemmove.c (__wmemmove): Likewise.
11010         * wcsmbs/wmempcpy.c (__wmempcpy): Likewise.
11011         * wcsmbs/wmemset.c (__wmemset): Likewise.
11012         * wctype/wcfuncs.c (__towlower): Likewise.
11013         (__towupper): Likewise.
11015         * sysdeps/unix/sysv/linux/i386/lowlevellock.h
11016         (lll_unlock_elision): Add adapt_count parameter.
11018 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
11020         * sysdeps/nptl/configure.ac: Do not give errors based on the
11021         results of top-level configure tests.
11022         * sysdeps/nptl/configure: Regenerated.
11024         * configure.ac (libc_cv_Bgroup): Remove configure test.
11025         * configure: Regenerated.
11026         * config.make.in (have-Bgroup): Remove variable.
11028         * configure.ac (sizeof_long_double): Remove configure test.
11029         * configure: Regenerated.
11030         * config.make.in (sizeof-long-double): Remove variable.
11032         * configure.ac (libc_cv_gcc_exceptions): Remove configure test.
11033         * configure: Regenerated.
11034         * sysdeps/arm/configure.ac (libc_cv_gcc_exceptions): Do not set
11035         variable.
11036         (exceptions): Likewise.
11037         * sysdeps/arm/configure: Regenerated.
11038         * config.make.in (exceptions): Remove variable.
11039         * Makeconfig (uses-callbacks): Use -fexceptions instead of
11040         $(exceptions).
11041         * debug/Makefile (CFLAGS-dprintf_chk.c): Likewise.
11042         (CFLAGS-vdprintf_chk.c): Likewise.
11043         (CFLAGS-printf_chk.c): Likewise.
11044         (CFLAGS-fprintf_chk.c): Likewise.
11045         (CFLAGS-vprintf_chk.c): Likewise.
11046         (CFLAGS-vfprintf_chk.c): Likewise.
11047         (CFLAGS-gets_chk.c): Likewise.
11048         (CFLAGS-fgets_chk.c): Likewise.
11049         (CFLAGS-fgets_u_chk.c): Likewise.
11050         (CFLAGS-fread_chk.c): Likewise.
11051         (CFLAGS-fread_u_chk.c): Likewise.
11052         (CFLAGS-wprintf_chk.c): Likewise.
11053         (CFLAGS-fwprintf_chk.c): Likewise.
11054         (CFLAGS-vwprintf_chk.c): Likewise.
11055         (CFLAGS-vfwprintf_chk.c): Likewise.
11056         (CFLAGS-fgetws_chk.c): Likewise.
11057         (CFLAGS-fgetws_u_chk.c): Likewise.
11058         * libio/Makefile (CFLAGS-fileops.c): Likewise.
11059         (CFLAGS-fputc.c): Likewise.
11060         (CFLAGS-fputwc.c): Likewise.
11061         (CFLAGS-freopen64.c): Likewise.
11062         (CFLAGS-freopen.c): Likewise.
11063         (CFLAGS-fseek.c): Likewise.
11064         (CFLAGS-fseeko64.c): Likewise.
11065         (CFLAGS-fseeko.c): Likewise.
11066         (CFLAGS-ftello64.c): Likewise.
11067         (CFLAGS-ftello.c): Likewise.
11068         (CFLAGS-fwide.c): Likewise.
11069         (CFLAGS-genops.c): Likewise.
11070         (CFLAGS-getc.c): Likewise.
11071         (CFLAGS-getchar.c): Likewise.
11072         (CFLAGS-getwc.c): Likewise.
11073         (CFLAGS-getwchar.c): Likewise.
11074         (CFLAGS-iofclose.c): Likewise.
11075         (CFLAGS-iofflush.c): Likewise.
11076         (CFLAGS-iofgetpos64.c): Likewise.
11077         (CFLAGS-iofgetpos.c): Likewise.
11078         (CFLAGS-iofgets.c): Likewise.
11079         (CFLAGS-iofgetws.c): Likewise.
11080         (CFLAGS-iofputs.c): Likewise.
11081         (CFLAGS-iofputws.c): Likewise.
11082         (CFLAGS-iofread.c): Likewise.
11083         (CFLAGS-iofsetpos64.c): Likewise.
11084         (CFLAGS-iofsetpos.c): Likewise.
11085         (CFLAGS-ioftell.c): Likewise.
11086         (CFLAGS-iofwrite.c): Likewise.
11087         (CFLAGS-iogetdelim.c): Likewise.
11088         (CFLAGS-iogetline.c): Likewise.
11089         (CFLAGS-iogets.c): Likewise.
11090         (CFLAGS-iogetwline.c): Likewise.
11091         (CFLAGS-ioputs.c): Likewise.
11092         (CFLAGS-ioseekoff.c): Likewise.
11093         (CFLAGS-ioseekpos.c): Likewise.
11094         (CFLAGS-iosetbuffer.c): Likewise.
11095         (CFLAGS-iosetvbuf.c): Likewise.
11096         (CFLAGS-ioungetc.c): Likewise.
11097         (CFLAGS-ioungetwc.c): Likewise.
11098         (CFLAGS-oldfileops.c): Likewise.
11099         (CFLAGS-oldiofclose.c): Likewise.
11100         (CFLAGS-oldiofgetpos64.c): Likewise.
11101         (CFLAGS-oldiofgetpos.c): Likewise.
11102         (CFLAGS-oldiofsetpos64.c): Likewise.
11103         (CFLAGS-oldiofsetpos.c): Likewise.
11104         (CFLAGS-peekc.c): Likewise.
11105         (CFLAGS-putc.c): Likewise.
11106         (CFLAGS-putchar.c): Likewise.
11107         (CFLAGS-putwc.c): Likewise.
11108         (CFLAGS-putwchar.c): Likewise.
11109         (CFLAGS-rewind.c): Likewise.
11110         (CFLAGS-wfileops.c): Likewise.
11111         (CFLAGS-wgenops.c): Likewise.
11112         (CFLAGS-oldiofopen.c): Likewise.
11113         (CFLAGS-iofopen.c): Likewise.
11114         (CFLAGS-iofopen64.c): Likewise.
11115         (CFLAGS-oldtmpfile.c): Likewise.
11116         * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
11117         (CFLAGS-fprintf.c): Likewise.
11118         (CFLAGS-printf.c): Likewise.
11119         (CFLAGS-vfwprintf.c): Likewise.
11120         (CFLAGS-vfscanf.c): Likewise.
11121         (CFLAGS-vfwscanf.c): Likewise.
11122         (CFLAGS-fscanf.c): Likewise.
11123         (CFLAGS-scanf.c): Likewise.
11124         (CFLAGS-isoc99_vfscanf.c): Likewise.
11125         (CFLAGS-isoc99_vscanf.c): Likewise.
11126         (CFLAGS-isoc99_fscanf.c): Likewise.
11127         (CFLAGS-isoc99_scanf.c): Likewise.
11128         * wcsmbs/Makefile (CFLAGS-isoc99_wscanf.c): Likewise.
11129         (CFLAGS-isoc99_fwscanf.c): Likewise.
11130         (CFLAGS-isoc99_vwscanf.c): Likewise.
11131         (CFLAGS-isoc99_vfwscanf.c): Likewise.
11133         * io/test-lfs.c (do_prepare): Do not call add_temp_file until
11134         after mkstemp64.
11135         * login/tst-utmp.c (do_prepare): Likewise.
11136         * rt/tst-aio.c (do_prepare): Likewise.
11137         * rt/tst-aio64.c (do_prepare): Likewise.
11139 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11141         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
11142         (__lll_lock_elision): Remove adapt_count decrement...
11143         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
11144         (__lll_trylock_elision): Likewise.
11145         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
11146         (__lll_unlock_elision): ... to here. And utilize
11147         new adapt_count parameter.
11148         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
11149         (__lll_unlock_elision): Update to include adapt_count
11150         parameter.
11151         (lll_unlock_elision): Pass pointer to adapt_count
11152         variable.
11154 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11156         * nptl/pthread_mutex_unlock.c (lll_unlock_elision):
11157         Add elision adapt_count parameter to list of arguments.
11158         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
11159         (lll_unlock_elision): Update with new parameter list
11160         * sysdeps/unix/sysv/linux/s390/lowlevellock.h
11161         (lll_unlock_elision): Likewise.
11162         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h
11163         (lll_unlock_elision): Likewise.
11165 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
11167         [BZ #19122]
11168         * include/sys/utsname.h [IS_IN (rtld)] (__uname): Add
11169         attribute_hidden.
11171         * include/string.h [IS_IN (rtld)] (__stpcpy): Add
11172         attribute_hidden.
11173         [IS_IN (rtld)] (__strdup): Likewise.
11174         [IS_IN (rtld)] (__strerror_r): Likewise.
11175         [IS_IN (rtld)] (__strsep_g): Likewise.
11176         [IS_IN (rtld)] (memchr): Likewise.
11177         [IS_IN (rtld)] (memcmp): Likewise.
11178         [IS_IN (rtld)] (memcpy): Likewise.
11179         [IS_IN (rtld)] (memmove): Likewise.
11180         [IS_IN (rtld)] (memset): Likewise.
11181         [IS_IN (rtld)] (rawmemchr): Likewise.
11182         [IS_IN (rtld)] (stpcpy): Likewise.
11183         [IS_IN (rtld)] (strchr): Likewise.
11184         [IS_IN (rtld)] (strcmp): Likewise.
11185         [IS_IN (rtld)] (strlen): Likewise.
11186         [IS_IN (rtld)] (strnlen): Likewise.
11187         [IS_IN (rtld)] (strsep): Likewise.
11189         * include/stdlib.h [IS_IN (rtld)] (unsetenv): Add
11190         attribute_hidden.
11191         [IS_IN (rtld)] (__strtoul_internal): Likewise.
11193         * include/signal.h [IS_IN (rtld)] (__sigaction): Add
11194         attribute_hidden.
11195         [IS_IN (rtld)] (__libc_sigaction): Likewise.
11197         * include/setjmp.h (__longjmp): Add attribute_hidden.
11198         [IS_IN (rtld)] (__sigsetjmp): Likewise.
11200         * include/libc-internal.h [IS_IN (rtld)] (__profile_frequency):
11201         Add attribute_hidden.
11203         * include/fcntl.h (__libc_fcntl): Add attribute_hidden.
11204         [IS_IN (rtld)] (__open): Likewise.
11205         [IS_IN (rtld)] (__fcntl): Likewise.
11207         * include/dirent.h (__opendirat): Add attribute_hidden.
11208         (__getdents): Likewise.
11209         (__getdents64): Likewise.
11210         (__alloc_dir): Likewise.
11211         [IS_IN (rtld)] (__closedir): Likewise.
11212         [IS_IN (rtld)] (__fdopendir): Likewise.
11213         [IS_IN (rtld)] (__readdir): Likewise.
11214         [IS_IN (rtld)] (__readdir64): Likewise.
11215         [IS_IN (rtld)] (__rewinddir): Likewise.
11217         * include/dlfcn.h (_dl_catch_error): Moved to ...
11218         * sysdeps/generic/ldsodefs.h (_dl_catch_error): Add
11219         attribute_hidden.
11221         * sysdeps/generic/_itoa.h (_itoa): Add attribute_hidden.
11222         (_itoa_word): Likewise.
11224         * elf/dl-runtime.c (_dl_fixup): Add attribute_hidden.
11225         * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
11226         * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
11227         * sysdeps/generic/ldsodefs.h (_dl_name_match_p): Likewise.
11228         (_dl_higher_prime_number): Likewise.
11229         (_dl_debug_printf_c): Likewise.
11230         (_dl_signal_cerror): Likewise.
11231         (_dl_receive_error): Likewise.
11232         (_dl_reloc_bad_type): Likewise.
11233         (_dl_resolve_conflicts): Likewise.
11234         (_dl_check_all_versions): Likewise.
11235         (_dl_check_map_versions): Likewise.
11236         (_dl_sort_fini): Likewise.
11237         (_dl_debug_initialize): Likewise.
11238         (_dl_init_paths): Likewise.
11239         (_dl_show_auxv): Likewise.
11240         (_dl_next_ld_env_entry): Likewise.
11241         (_dl_important_hwcaps): Likewise.
11242         (_dl_load_cache_lookup): Likewise.
11243         (_dl_update_slotinfo): Likewise.
11244         (_dl_show_scope): Likewise.
11246         * sysdeps/generic/memcopy.h (_wordcopy_fwd_aligned): Add
11247         attribute_hidden.
11248         (_wordcopy_fwd_dest_aligned): Likewise.
11249         (_wordcopy_bwd_aligned): Likewise.
11250         (_wordcopy_bwd_dest_aligned): Likewise.
11252         * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
11253         * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
11254         Likewise.
11255         * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
11256         Likewise.
11257         * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
11259 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
11261         * sysdeps/unix/sysv/linux/i386/sysdep.h: Add comments for
11262         GCC 5 requirement.
11264 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
11266         * sysdeps/i386/configure.ac (libc_cv_as_i686): Remove configure
11267         test.
11268         * sysdeps/i386/configure: Regenerated.
11269         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]: Make
11270         code unconditional.
11272         * configure.ac (libc_cv_asm_previous_directive): Remove configure
11273         test.
11274         (libc_cv_asm_popsection_directive): Likewise.
11275         * configure: Regenerated.
11276         * config.h.in (HAVE_ASM_PREVIOUS_DIRECTIVE): Remove #undef.
11277         (HAVE_ASM_POPSECTION_DIRECTIVE): Likewise.
11278         * include/libc-symbols.h [HAVE_ASM_PREVIOUS_DIRECTIVE]
11279         (__make_section_unallocated): Make definition unconditional.
11280         [HAVE_ASM_POPSECTION_DIRECTIVE] (__make_section_unallocated):
11281         Remove conditional definition.
11282         [!HAVE_ASM_PREVIOUS_DIRECTIVE && !HAVE_ASM_POPSECTION_DIRECTIVE]
11283         (__make_section_unallocated): Likewise.
11285         * configure.ac (libc_cv_gcc_static_libgcc): Remove configure test.
11286         * configure: Regenerated.
11287         * config.make.in (static-libgcc): Remove variable.
11288         * Makerules (build-shlib-helper): Use -static-libgcc instead of
11289         $(static-libgcc).
11290         (build-module-helper): Likewise.
11292         * configure.ac (libc_cv_friendly_stddef): Remove configure test.
11293         * configure: Regenerated.
11295 2015-10-15  Florian Weimer  <fweimer@redhat.com>
11297         * stdio-common/vfscanf.c (MEMCPY): Remove macro.
11298         (struct char_buffer): New type.
11299         (char_buffer_start, char_buffer_size, char_buffer_error)
11300         (char_buffer_rewind, char_buffer_add): New functions.
11301         (ADDW): Remove macro, replaced by the char_buffer_add function.
11302         (_IO_vfscanf_internal): Rewrite using struct char_buffer instead
11303         of extend_alloca.  Make control flow more explicit.
11305 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
11307         [BZ #19137]
11308         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
11309         Add -fomit-frame-pointer.
11310         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Remove file.
11312 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
11314         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S
11315         (__libc_do_syscall): Defined only if !__GNUC_PREREQ (5,0).
11316         * sysdeps/unix/sysv/linux/i386/sysdep.h: Define assembler macros
11317         only if !__GNUC_PREREQ (5,0).
11318         (INTERNAL_SYSCALL_MAIN_6): Optimize for GCC 5.
11319         (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
11320         (INTERNAL_SYSCALL_NCS): Likewise.
11321         (LOADREGS_0): New macro for GCC 5.
11322         (ASMARGS_0): Likewise.
11323         (LOADREGS_1): Likewise.
11324         (ASMARGS_1): Likewise.
11325         (LOADREGS_2): Likewise.
11326         (ASMARGS_2): Likewise.
11327         (LOADREGS_3): Likewise.
11328         (ASMARGS_3): Likewise.
11329         (LOADREGS_4): Likewise.
11330         (ASMARGS_4): Likewise.
11331         (LOADREGS_5): Likewise.
11332         (ASMARGS_5): Likewise.
11333         (LOADREGS_6): Likewise.
11334         (ASMARGS_6): Likewise.
11336 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
11338         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-mmap.c): Add
11339         -fomit-frame-pointer.
11340         (CFLAGS-mmap64.c): Likewise.
11341         (CFLAGS-semtimedop.c): Likewise.
11342         * sysdeps/unix/sysv/linux/i386/mmap.c: New file.
11343         * sysdeps/unix/sysv/linux/i386/mmap.S: Remove file.
11344         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
11345         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
11347 2015-10-15  Florian Weimer  <fweimer@redhat.com>
11349         [BZ #18928]
11350         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Remove
11351         _dl_pointer_guard member.
11352         * elf/rtld.c (_rtld_global_ro): Remove _dl_pointer_guard
11353         initializer.
11354         (security_init): Always set up pointer guard.
11355         (process_envvars): Do not process LD_POINTER_GUARD.
11357 2015-10-14  Joseph Myers  <joseph@codesourcery.com>
11359         [BZ #19134]
11360         * sysdeps/powerpc/powerpc32/fpu/s_lround.S (.LC1): New object.
11361         (.LC2): Likewise.
11362         (.LC3): Likewise.
11363         (__lround): Do not add 0.5 to integer or out-of-range arguments.
11365 2015-10-14  Szabolcs Nagy  <szabolcs.nagy@arm.com>
11367         [BZ #19129]
11368         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save and restore
11369         r0 and r1.
11371 2015-10-14  Namhyung Kim  <namhyung@gmail.com>
11373         * manaual/argp.texi (Specifying Argp Parsers): Fix typo.
11375 2015-10-14  Carlos O'Donell  <carlos@redhat.com>
11377         * include/stap-probe.h: Fix macro definition formatting.
11379 2015-10-14  Florian Weimer  <fweimer@redhat.com>
11381         [BZ #19074]
11382         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use atomics to
11383         load and store num_ifs.
11385 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
11387         [BZ #18822]
11388         * sysdeps/unix/sysv/linux/sched_getaffinity.c
11389         (__sched_getaffinity_new): Add libc_hidden_proto and
11390         libc_hidden_def.
11392 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
11394         [BZ #19007]
11395         * scripts/localplt.awk: Also allow GOT references.
11396         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark
11397         _Unwind_Find_FDE, calloc, memalign, realloc and __libc_memalign
11398         with "+ REL R_386_GLOB_DAT".
11399         * sysdeps/x86_64/localplt.data: Mark calloc, memalign, realloc
11400         and __libc_memalign with "+ RELA R_X86_64_GLOB_DAT".
11402 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
11404         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Use
11405         INLINE_SYSCALL_ERROR_RETURN_VALUE.
11406         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat):
11407         Likewise.
11408         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
11409         * sysdeps/unix/sysv/linux/i386/seteuid.c (seteuid): Likewise.
11410         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
11411         INTERNAL_SYSCALLINTERNAL_SYSCALL and
11412         INLINE_SYSCALL_ERROR_RETURN_VALUE.
11413         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
11414         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
11415         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
11416         Likewise.
11417         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
11419 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
11421         [BZ #19125]
11422         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include <limits.h>,
11423         <math_private.h> and <stdint.h>.
11424         (__llround): Avoid conversions to and from long long int, and
11425         subtractions, where those might raise spurious exceptions.
11426         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
11427         <math_private.h> and <stdint.h>.
11428         (__llroundf): Avoid conversions to and from long long int, and
11429         subtractions, where those might raise spurious exceptions.
11431 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
11433         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Use
11434         INLINE_SYSCALL_ERROR_RETURN_VALUE.
11435         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
11436         * sysdeps/unix/sysv/linux/eventfd.c (eventfd): Likewise.
11437         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
11438         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
11439         * sysdeps/unix/sysv/linux/fcntl.c (do_fcntl): Likewise.
11440         * sysdeps/unix/sysv/linux/futimens.c (futimens): Likewise.
11441         * sysdeps/unix/sysv/linux/futimes.c (__futimes): Likewise.
11442         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
11443         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
11444         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
11445         * sysdeps/unix/sysv/linux/lutimes.c (lutimes): Likewise.
11446         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
11447         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
11448         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Likewise.
11449         * sysdeps/unix/sysv/linux/mq_open.c (__mq_open): Likewise.
11450         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
11451         * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Likewise.
11452         * sysdeps/unix/sysv/linux/readahead.c (__readahead): Likewise.
11453         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
11454         * sysdeps/unix/sysv/linux/signalfd.c (signalfd): Likewise.
11455         * sysdeps/unix/sysv/linux/speed.c (cfsetospeed): Likewise.
11456         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
11457         * sysdeps/unix/sysv/linux/ustat.c (ustat): Likewise.
11458         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
11459         * sysdeps/unix/sysv/linux/xmknod.c (__xmknod): Likewise.
11460         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
11461         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
11462         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat_conv): Likewise.
11463         (__xstat64_conv): Likewise.
11464         (__xstat32_conv): Likewise.
11466 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
11468         * sysdeps/unix/sysv/linux/sysdep.h: New file.
11469         * sysdeps/unix/sysv/linux/i386/sysdep.c: Likewise.
11470         * sysdeps/unix/sysv/linux/alpha/sysdep.h: Include
11471         <sysdeps/unix/sysv/linux/sysdep.h>.
11472         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
11473         * sysdeps/unix/sysv/linux/generic/sysdep.h: Likewise.
11474         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Likewise.
11475         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
11476         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
11477         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Likewise.
11478         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Likewise.
11479         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
11480         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
11481         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
11482         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
11483         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
11484         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
11485         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
11486         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
11487         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
11488         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) == csu]
11489         (sysdep-dl-routines): Add sysdep.
11490         [$(subdir) == nptl] (libpthread-routines): Likewise.
11491         [$(subdir) == rt] (librt-routines): Likewise.
11492         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Don't check
11493         PIC when branching to SYSCALL_ERROR_LABEL.
11494         * sysdeps/unix/sysv/linux/i386/sysdep.S: Removed.
11495         * sysdeps/unix/sysv/linux/i386/sysdep.h: Include
11496         <sysdeps/unix/sysv/linux/sysdep.h>.
11497         (SYSCALL_ERROR_LABEL): Changed to __syscall_error.
11498         (SYSCALL_ERROR_ERRNO): Removed.
11499         (SYSCALL_ERROR_HANDLER): Changed to empty.
11500         (SYSCALL_ERROR_HANDLER_TLS_STORE): Likewise.
11501         (__syscall_error): New prototype.
11502         [IS_IN (libc)] (INLINE_SYSCALL): New macro.
11503         (INLINE_SYSCALL_ERROR_RETURN_VALUE): Likewise.
11505 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
11507         [BZ #19124]
11508         * sysdeps/x86_64/dl-trampoline.S [!HAVE_AVX512_ASM_SUPPORT]
11509         (_dl_runtime_resolve_avx512): Make it a hidden alias of
11510         _dl_runtime_resolve_avx.
11511         (_dl_runtime_profile_avx512): Make it a hidden alias of
11512         _dl_runtime_profile_avx.
11514 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
11516         * sysdeps/powerpc/fpu/s_llround.c: Move to ....
11517         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: ...here.
11518         * sysdeps/powerpc/fpu/s_llroundf.c: Move to ....
11519         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: ...here.
11521         [BZ #16422]
11522         * sysdeps/powerpc/powerpc32/fpu/configure.ac (libc_cv_ppc_fctidz):
11523         New configure test.
11524         * sysdeps/powerpc/powerpc32/fpu/configure: Regenerated.
11525         * config.h.in [_LIBC] (HAVE_PPC_FCTIDZ): New macro.
11526         * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include <limits.h>,
11527         <math_private.h> and <stdint.h>.
11528         (__llrint): Avoid conversions to long long int where those might
11529         raise spurious exceptions.
11530         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
11531         <math_private.h> and <stdint.h>.
11532         (__llrintf): Avoid conversions to long long int where those might
11533         raise spurious exceptions.
11535 2015-10-12  Andreas Schwab  <schwab@suse.de>
11537         [BZ #18969]
11538         * debug/Makefile (LOCALES): Define.  Include gen-locales.mk.
11539         ($(objpfx)tst-chk1.out): Depend on $(gen-locales).
11540         * iconvdata/Makefile (LOCALES): Define.  Include gen-locales.mk.
11541         ($(objpfx)bug-iconv6.out, $(objpfx)tst-iconv7.out): Depend on
11542         $(gen-locales).
11543         * intl/Makefile (LOCALES): Define.  Include gen-locales.mk.
11544         ($(objpfx)tst-codeset.out, $(objpfx)tst-gettext.out)
11545         ($(objpfx)tst-gettext2.out, $(objpfx)tst-gettext3.out)
11546         ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext5.out)
11547         ($(objpfx)tst-gettext6.out, $(objpfx)tst-translit.out): Depend on
11548         $(gen-locales).
11549         * libio/Makefile (LOCALES): Define.  Include gen-locales.mk.
11550         ($(objpfx)bug-ftell.out, $(objpfx)bug-ungetwc1.out)
11551         ($(objpfx)bug-ungetwc2.out, $(objpfx)tst-fgetwc.out)
11552         ($(objpfx)tst-fgetws.out, $(objpfx)tst-fopenloc.out)
11553         ($(objpfx)tst-fputws.out, $(objpfx)tst-fseek.out)
11554         ($(objpfx)tst-ftell-active-handler.out)
11555         ($(objpfx)tst-ftell-append.out)
11556         ($(objpfx)tst-ftell-partial-wide.out, $(objpfx)tst-setvbuf1.out)
11557         ($(objpfx)tst-swscanf.out, $(objpfx)tst-ungetwc1.out)
11558         ($(objpfx)tst-ungetwc2.out, $(objpfx)tst-widetext.out)
11559         ($(objpfx)tst_wprintf2.out): Depend on $(gen-locales).
11560         * posix/Makefile (LOCALES): Define.  Include gen-locales.mk.
11561         ($(objpfx)bug-regex1.out, $(objpfx)bug-regex4.out)
11562         ($(objpfx)bug-regex5.out, $(objpfx)bug-regex6.out)
11563         ($(objpfx)bug-regex17.out, $(objpfx)bug-regex18.out)
11564         ($(objpfx)bug-regex19.out, $(objpfx)bug-regex20.out)
11565         ($(objpfx)bug-regex22.out, $(objpfx)bug-regex23.out)
11566         ($(objpfx)bug-regex25.out, $(objpfx)bug-regex26.out)
11567         ($(objpfx)bug-regex30.out, $(objpfx)bug-regex32.out)
11568         ($(objpfx)bug-regex33.out, $(objpfx)bug-regex34.out)
11569         ($(objpfx)bug-regex35.out, $(objpfx)tst-fnmatch.out)
11570         ($(objpfx)tst-fnmatch4.out, $(objpfx)tst-fnmatch5.out)
11571         ($(objpfx)tst-regex.out, $(objpfx)tst-regex2.out)
11572         ($(objpfx)tst-regexloc.out, $(objpfx)tst-rxspencer.out)
11573         ($(objpfx)tst-rxspencer-no-utf8.out): Depend on $(gen-locales).
11574         * stdio-common/Makefile (LOCALES): Define.  Include gen-locales.mk.
11575         ($(objpfx)bug14.out, $(objpfx)scanf13.out)
11576         ($(objpfx)test-vfprintf.out, $(objpfx)tst-grouping.out)
11577         ($(objpfx)tst-sprintf.out, $(objpfx)tst-sscanf.out)
11578         ($(objpfx)tst-swprintf.out): Depend on $(gen-locales).
11579         * stdlib/Makefile (LOCALES): Define.  Include gen-locales.mk.
11580         ($(objpfx)bug-strtod2.out, $(objpfx)testmb2.out)
11581         ($(objpfx)tst-strtod.out, $(objpfx)tst-strtod3.out)
11582         ($(objpfx)tst-strtod4.out, $(objpfx)tst-strtod5.out): Depend on
11583         $(gen-locales).
11584         * time/Makefile (LOCALES): Define.  Include gen-locales.mk.
11585         ($(objpfx)tst-ftime_l.out, $(objpfx)tst-strptime.out): Depend on
11586         $(gen-locales).
11587         * wcsmbs/Makefile (LOCALES): Define.  Include gen-locales.mk.
11588         ($(objpfx)tst-btowc.out, $(objpfx)tst-c16c32-1.out)
11589         ($(objpfx)tst-mbrtowc.out, $(objpfx)tst-mbrtowc2.out)
11590         ($(objpfx)tst-wcrtomb.out, $(objpfx)wcsmbs-tst1.out): Depend on
11591         $(gen-locales).
11592         * libio/tst_wprintf2.c (main): Use explicit locale.
11593         * wcsmbs/wcsmbs-tst1.c (main): Likewise.
11595 2015-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11597         * hurd/hurd-raise.c (_hurd_raise_signal): Return error returned by
11598         __msg_sig_post.
11599         * hurd/hurd/signal.h (_hurd_raise_signal): Add int return type.
11601 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
11603         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
11604         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
11606         * sysdeps/arm/libm-test-ulps: Regenerated.
11608         [BZ #15470]
11609         * sysdeps/arm/fix-fp-int-convert-overflow.h: New file.
11611         [BZ #16399]
11612         * sysdeps/generic/fix-fp-int-convert-overflow.h: New file.
11613         * sysdeps/ieee754/dbl-64/s_llrint.c: Include <fenv.h>, <limits.h>
11614         and <fix-fp-int-convert-overflow.h>.
11615         (__llrint) [FE_INVALID]: Force FE_INVALID exception as needed if
11616         FIX_DBL_LLONG_CONVERT_OVERFLOW.
11617         * sysdeps/ieee754/dbl-64/s_llround.c: Include <fenv.h>, <limits.h>
11618         and <fix-fp-int-convert-overflow.h>.
11619         (__llround) [FE_INVALID]: Force FE_INVALID exception as needed if
11620         FIX_DBL_LLONG_CONVERT_OVERFLOW.
11621         * sysdeps/ieee754/dbl-64/s_lrint.c: Include
11622         <fix-fp-int-convert-overflow.h>.
11623         (__lrint) [FE_INVALID]: Force FE_INVALID exception as needed if
11624         FIX_DBL_LLONG_CONVERT_OVERFLOW.
11625         * sysdeps/ieee754/dbl-64/s_lround.c: Include
11626         <fix-fp-int-convert-overflow.h>.
11627         (__lround) [FE_INVALID]: Force FE_INVALID exception as needed if
11628         FIX_DBL_LLONG_CONVERT_OVERFLOW.
11629         * sysdeps/ieee754/flt-32/s_llrintf.c: Include <fenv.h>, <limits.h>
11630         and <fix-fp-int-convert-overflow.h>.
11631         (__llrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
11632         FIX_DBL_LLONG_CONVERT_OVERFLOW.
11633         * sysdeps/ieee754/flt-32/s_llroundf.c: Include <fenv.h>,
11634         <limits.h> and <fix-fp-int-convert-overflow.h>.
11635         (__llroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
11636         FIX_DBL_LLONG_CONVERT_OVERFLOW.
11637         * sysdeps/ieee754/flt-32/s_lrintf.c: Include <fenv.h>, <limits.h>
11638         and <fix-fp-int-convert-overflow.h>.
11639         (__lrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
11640         FIX_DBL_LLONG_CONVERT_OVERFLOW.
11641         * sysdeps/ieee754/flt-32/s_lroundf.c: Include <fenv.h>, <limits.h>
11642         and <fix-fp-int-convert-overflow.h>.
11643         (__lroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
11644         FIX_DBL_LLONG_CONVERT_OVERFLOW.
11645         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h: New file.
11647 2015-10-09  Carlos O'Donell  <carlos@redhat.com>
11649         [BZ #18589]
11650         * string/bug-strcoll2.c: Adjust copyright, and remove contributed by.
11651         * string/Makefile ($(objpfx)bug-strcoll2.out): Depend on
11652         $(gen-locales).
11654 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11655             Phil Blundell <pb@pbcl.net>
11657         * nptl/Makefile (tests): Add tst-cancel26.c and tst-cancel27.c.
11658         * nptl/tst-cancel26.c: New file.
11659         * nptl/tst-cancel27.c: Likewise.
11661 2015-10-09  H.J. Lu  <hongjiu.lu@intel.com>
11663         * sysdeps/x86_64/fpu/s_llrint.S (__lrint): Add alias only if
11664         __ILP32__ isn't defined.
11665         (lrint): Likewise.
11666         * sysdeps/x86_64/fpu/s_llrintf.S (__lrintf): Likewise.
11667         (lrintf): Likewise.
11668         * sysdeps/x86_64/fpu/s_llrintl.S (__lrintl): Likewise.
11669         (lrintl): Likewise.
11670         * sysdeps/x86_64/x32/fpu/s_lrint.S: New file.
11671         * sysdeps/x86_64/x32/fpu/s_lrintf.S: Likewise.
11672         * sysdeps/x86_64/x32/fpu/s_lrintl.S: Likewise.
11674 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11676         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
11677         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
11679         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Remove
11680         file.
11681         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Likewise.
11682         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
11684 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
11686         * sysdeps/i386/configure.ac (libc_cv_cc_novzeroupper): Remove
11687         configure test.
11688         * sysdeps/i386/configure: Regenerated.
11689         * sysdeps/x86_64/configure.ac (libc_cv_cc_novzeroupper): Remove
11690         configure test.
11691         * sysdeps/x86_64/configure: Regenerated.
11692         * sysdeps/x86_64/Makefile [$(config-cflags-novzeroupper) = yes]:
11693         Make code unconditional.
11695         * sysdeps/i386/configure.ac (libc_cv_cc_fma4): Remove configure
11696         test.
11697         * sysdeps/i386/configure: Regenerated.
11698         * sysdeps/x86_64/configure.ac (libc_cv_cc_fma4): Remove configure
11699         test.
11700         * sysdeps/x86_64/configure: Regenerated.
11701         * sysdeps/x86_64/fpu/multiarch/Makefile [$(have-mfma4) = yes]:
11702         Make code unconditional.
11703         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
11704         Likewise.
11705         * sysdeps/x86_64/fpu/multiarch/e_atan2.c [HAVE_FMA4_SUPPORT]:
11706         Likewise.
11707         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
11708         * sysdeps/x86_64/fpu/multiarch/e_exp.c [HAVE_FMA4_SUPPORT]: Make
11709         code unconditional.
11710         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
11711         * sysdeps/x86_64/fpu/multiarch/e_log.c [HAVE_FMA4_SUPPORT]: Make
11712         code unconditional.
11713         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
11714         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]: Make
11715         code unconditional.
11716         * sysdeps/x86_64/fpu/multiarch/s_atan.c [HAVE_FMA4_SUPPORT]: Make
11717         code unconditional.
11718         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
11719         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_FMA4_SUPPORT]: Make
11720         code unconditional.
11721         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
11722         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_FMA4_SUPPORT]: Make
11723         code unconditional.
11724         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
11725         * sysdeps/x86_64/fpu/multiarch/s_sin.c [HAVE_FMA4_SUPPORT]: Make
11726         code unconditional.
11727         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
11728         * sysdeps/x86_64/fpu/multiarch/s_tan.c [HAVE_FMA4_SUPPORT]: Make
11729         code unconditional.
11730         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
11731         * config.h.in (HAVE_FMA4_SUPPORT): Remove #undef.
11733         [BZ #19095]
11734         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Cast low part of
11735         mantissa to long int before shifting left.
11737 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
11739         [BZ #19094]
11740         * sysdeps/ieee754/dbl-64/s_lrint.c: Include <fenv.h> and
11741         <limits.h>.
11742         (__lrint) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
11743         when result overflows but exception would not result from cast.
11744         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include <fenv.h> and
11745         <limits.h>.
11746         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
11747         when result overflows but exception would not result from cast.
11748         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include <fenv.h> and
11749         <limits.h>.
11750         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
11751         when result overflows but exception would not result from cast.
11752         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include <fenv.h> and
11753         <limits.h>.
11754         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
11755         when result overflows but exception would not result from cast.
11756         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include <fenv.h> and
11757         <limits.h>.
11758         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
11759         when result overflows but exception would not result from cast.
11760         * math/libm-test.inc (lrint_test_data): Add more tests.
11761         (llrint_test_data): Likewise.
11763 2015-10-08  Roland McGrath  <roland@hack.frob.com>
11765         [BZ #18872]
11766         * stdio-common/Makefile ($(objpfx)tst-unbputc.out):
11767         Move out from under [$(run-built-tests) = yes] conditional.
11768         ($(objpfx)tst-printf.out, $(objpfx)tst-printf-bz18872.c): Likewise.
11769         ($(objpfx)tst-printf-bz18872-mem.out): Likewise.
11771 2015-10-08  Carlos O'Donell  <carlos@redhat.com>
11773         [BZ #18589]
11774         * string/Makefile (tests): Add bug-strcoll2.
11775         (LOCALES): Add cs_CZ.UTF-8.
11776         * string/bug-strcoll2.c (test_cs_CZ): Fix typo in FAIL string.
11778         [BZ #18589]
11779         * string/bug-strcoll2.c: New file.
11780         * locale/categories.def: Revert commit
11781         f13c2a8dff2329c6692a80176262ceaaf8a6f74e.
11782         * locale/langinfo.h: Likewise.
11783         * locale/localeinfo.h: Likewise.
11784         * locale/C-collate.c: Likewise.
11785         * locale/programs/ld-collate.c (collate_output): Likewise.
11786         * string/strcoll_l.c (STRDIFF): Likewise.
11787         (STRCOLL): Likewise.
11788         * wcsmbs/wcscoll_l.c: Likewise.
11790 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
11792         * math/libm-test.inc (lround_test_data): Do not expect the absence
11793         of "inexact" for some tests with non-integer arguments.
11794         (llround_test_data): Likewise.
11796         * sysdeps/i386/configure.ac (libc_cv_cc_avx): Remove configure
11797         test.
11798         (libc_cv_cc_sse2avx): Likewise.
11799         * sysdeps/i386/configure: Regenerated.
11800         * sysdeps/i386/i686/multiarch/Makefile
11801         [$(subdir)$(config-cflags-avx) = mathyes]: Change conditional to
11802         [$(subdir) = math].
11803         * sysdeps/i386/i686/multiarch/s_fma-fma.c [HAVE_AVX_SUPPORT]: Make
11804         code unconditional.
11805         * sysdeps/i386/i686/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
11806         Likewise.
11807         * sysdeps/i386/i686/multiarch/s_fmaf-fma.c [HAVE_AVX_SUPPORT]:
11808         Likewise.
11809         * sysdeps/i386/i686/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
11810         Likewise.
11811         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx): Remove configure
11812         test.
11813         (libc_cv_cc_sse2avx): Likewise.
11814         * sysdeps/x86_64/configure: Regenerated.
11815         * sysdeps/x86_64/Makefile [$(config-cflags-avx) = yes]: Make code
11816         unconditional.
11817         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile)
11818         [HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT]: Make code
11819         unconditional.
11820         (_dl_runtime_profile)
11821         [!(HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT)]: Remove
11822         conditional code.
11823         * sysdeps/x86_64/fpu/multiarch/Makefile
11824         [$(config-cflags-sse2avx) = yes]: Make code unconditional.
11825         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
11826         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
11827         * sysdeps/x86_64/fpu/multiarch/e_exp.c
11828         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
11829         * sysdeps/x86_64/fpu/multiarch/e_log.c
11830         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
11831         * sysdeps/x86_64/fpu/multiarch/s_atan.c
11832         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
11833         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
11834         Likewise.
11835         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
11836         Likewise.
11837         * sysdeps/x86_64/fpu/multiarch/s_sin.c
11838         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
11839         * sysdeps/x86_64/fpu/multiarch/s_tan.c
11840         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
11841         * sysdeps/x86_64/multiarch/strcmp.S [HAVE_AVX_SUPPORT]: Likewise.
11842         * config.h.in (HAVE_AVX_SUPPORT): Remove #undef.
11843         (HAVE_SSE2AVX_SUPPORT): Likewise.
11845 2015-10-07  Paul Pluzhnikov  <ppluzhnikov@google.com>
11847         * stdio-common/tst-printf-bz18872.sh: Use attribute optimize
11848         instead of #pragma optimize.
11850 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
11852         [BZ #17195]
11853         * malloc/arena.c (heap_trim): Apply trim_treshold to top_chunck size,
11854         as is similarly done in systrim and _int_free already.
11856 2015-10-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11858         * sysdeps/mach/configure.ac (mach_interface_list): Add task_notify.
11860 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
11862         [BZ #19088]
11863         * sysdeps/ieee754/dbl-64/s_lround.c: Include <fenv.h> and
11864         <limits.h>.
11865         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
11866         overflows but exception would not result from cast.
11867         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include <fenv.h>
11868         and <limits.h>.
11869         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
11870         overflows but exception would not result from cast.
11871         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include <fenv.h> and
11872         <limits.h>.
11873         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
11874         overflows but exception would not result from cast.
11875         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include <fenv.h> and
11876         <limits.h>.
11877         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
11878         overflows but exception would not result from cast.
11879         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include <fenv.h> and
11880         <limits.h>.
11881         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
11882         overflows but exception would not result from cast.
11883         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include <fenv.h> and
11884         <limits.h>.
11885         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
11886         overflows but exception would not result from cast.
11887         * math/libm-test.inc (lround_test_data): Add more tests.
11888         (llround_test_data): Likewise.
11890 2015-10-07  Steve Ellcey  <sellcey@imgtec.com>
11892         * timezone/Makefile (CFLAGS-zic.c): Add -Wno-unused-variable.
11893         (CFLAGS-ialloc.c): Ditto.
11894         (CFLAGS-scheck.c): Ditto.
11896 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
11898         [BZ #19086]
11899         * manual/filesys.texi (Storage Allocation): Fix argument order for
11900         posix_fallocate64.
11902 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
11904         [BZ #19085]
11905         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Move test for
11906         exponent below 48 inside case for non-overflowing exponent.
11907         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
11909 2015-10-07  Florian Weimer  <fweimer@redhat.com>
11911         * iconvdata/cp737.h (from_idx): Add const.
11912         * iconvdata/cp775.h (from_idx): Likewise.
11914 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
11916         * sysdeps/mips/mips64/Implies: Use ieee754/dbl-64/wordsize-64.
11917         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
11918         (__issignaling) [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Remove #error.
11920         [BZ #19079]
11921         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Restore previous
11922         file, conditioned on [!_LP64].
11923         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c
11924         [!_LP64] (__lround): Do not define as function or alias.
11925         [!_LP64] (lround): Likewise.
11926         [!_LP64] (__lroundl): Likewise.
11927         [!_LP64] (lroundl): Likewise.
11928         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Remove
11929         macro.
11930         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
11931         Likewise.
11933 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
11935         * math/libm-test.inc (lrint_test_data): Add more tests.
11936         (llrint_test_data): Likewise.
11937         (lround_test_data): Likewise.
11938         (llround_test_data): Likewise.
11940         * math/libm-test.inc (lrint_test_data): Add tests used for llrint.
11941         (llrint_test_data): Add tests used for lrint.
11943         * sysdeps/i386/configure.ac (libc_cv_cc_sse4): Remove configure
11944         test.
11945         * sysdeps/i386/configure: Regenerated.
11946         * sysdeps/i386/i686/multiarch/Makefile
11947         [$(config-cflags-sse4) = yes]: Make code unconditional.
11948         * sysdeps/i386/i686/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
11949         Likewise.
11950         * sysdeps/i386/i686/multiarch/strspn.S [HAVE_SSE4_SUPPORT]:
11951         Likewise.
11952         * sysdeps/x86_64/configure.ac (libc_cv_cc_sse4): Remove configure
11953         test.
11954         * sysdeps/x86_64/configure: Regenerated.
11955         * sysdeps/x86_64/multiarch/Makefile [$(config-cflags-sse4) = yes]:
11956         Make code unconditional.
11957         * sysdeps/x86_64/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
11958         Likewise.
11959         * sysdeps/x86_64/multiarch/strspn.S [HAVE_SSE4_SUPPORT]: Likewise.
11960         * config.h.in (HAVE_SSE4_SUPPORT): Remove #undef.
11962         * scripts/rpm2dynsym.sh: Remove file.
11964 2015-10-06  Florian Weimer  <fweimer@redhat.com>
11966         * configure.ac (libc_cv_cxx_thread_local): Define.
11967         * configure: Regenerate.
11968         * config.make.in (have-cxx-thread_local): Define.
11969         * nptl/Makefile (CFLAGS-tst-thread_local1.o):
11970         (LDLIBS-tst-thread_local1): Define.
11971         (tests): Add tst-thread_local1.
11972         [have-cxx-thread_local != yes] (tests-unsupported): Add
11973         tst-thread_local1.
11974         * nptl/tst-thread_local1.cc: New file.
11976 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
11978         [BZ #19078]
11979         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (o_thres): Remove variable.
11980         (u_thres): Likewise.
11981         (__expl): Determine whether to call __kernel_standard_l based on
11982         value of result, not argument.
11984         * math/libm-test.inc (scalb_test_data): Add more expectations for
11985         the "inexact" exception.
11987         [BZ #19077]
11988         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Return
11989         0.0L for argument 1.0L.
11991         [BZ #19076]
11992         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Divide by
11993         constant 0.0L when computing infinite result.
11995 2015-10-06  Florian Weimer  <fweimer@redhat.com>
11997         [BZ #10432]
11998         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Remove call to
11999         malloc_usable_size.
12001 2015-10-06  Florian Weimer  <fweimer@redhat.com>
12003         [BZ #19018]
12004         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
12005         Mangle function pointer before storing it.
12006         (__call_tls_dtors): Demangle function pointer before calling it.
12008 2015-10-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
12010         [BZ #19012]
12011         * iconv/gconv_db.c (gen_steps): Check for additional errors.
12012         Clean up on failure.
12014 2015-10-05  Joseph Myers  <joseph@codesourcery.com>
12016         [BZ #19071]
12017         * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Use unsigned
12018         long int variable to store possibly incremented high part of
12019         mantissa.
12020         * math/libm-test.inc (lround_test_data): Add tests used for
12021         llround.  Use [LONG_MAX > 0x7fffffff] consistently as condition
12022         for tests requiring 64-bit long.  Do not condition tests on
12023         [TEST_FLOAT] unnecessarily.
12024         (llround_test_data): Add tests used for lround.  Add another
12025         expectation for the "inexact" exception.  Do not condition tests
12026         on [TEST_FLOAT] unnecessarily.
12028         [BZ #887]
12029         [BZ #19049]
12030         [BZ #19050]
12031         * sysdeps/generic/fix-int-fp-convert-zero.h: New file.
12032         * sysdeps/ieee754/dbl-64/e_log10.c: Include
12033         <fix-int-fp-convert-zero.h>.
12034         (__ieee754_log10): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
12035         * sysdeps/ieee754/dbl-64/e_log2.c: Include
12036         <fix-int-fp-convert-zero.h>.
12037         (__ieee754_log2): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
12038         * sysdeps/ieee754/dbl-64/s_erf.c: Include
12039         <fix-int-fp-convert-zero.h>.
12040         (__erfc): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
12041         * sysdeps/ieee754/dbl-64/s_logb.c: Include
12042         <fix-int-fp-convert-zero.h>.
12043         (__logb): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
12044         * sysdeps/ieee754/flt-32/e_log10f.c: Include
12045         <fix-int-fp-convert-zero.h>.
12046         (__ieee754_log10f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
12047         * sysdeps/ieee754/flt-32/e_log2f.c: Include
12048         <fix-int-fp-convert-zero.h>.
12049         (__ieee754_log2f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
12050         * sysdeps/ieee754/flt-32/s_erff.c: Include
12051         <fix-int-fp-convert-zero.h>.
12052         (__erfcf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
12053         * sysdeps/ieee754/flt-32/s_logbf.c: Include
12054         <fix-int-fp-convert-zero.h>.
12055         (__logbf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
12056         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include
12057         <fix-int-fp-convert-zero.h>.
12058         (__erfcl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
12059         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Include
12060         <fix-int-fp-convert-zero.h>.
12061         (__logbl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
12062         * sysdeps/powerpc/powerpc32/fpu/configure.ac: New file.
12063         * sysdeps/powerpc/powerpc32/fpu/configure: New generated file.
12064         * sysdeps/powerpc/powerpc32/fpu/fix-int-fp-convert-zero.h: New
12065         file.
12066         * config.h.in [_LIBC] (HAVE_PPC_FCFID): New macro.
12068 2015-10-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
12070         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
12072 2015-10-02  Joseph Myers  <joseph@codesourcery.com>
12074         [BZ #19059]
12075         * math/s_nexttowardf.c (__nexttowardf): Do not return value from
12076         overflowing computation.
12077         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
12078         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
12079         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
12080         Likewise.
12081         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
12082         Likewise.
12083         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
12084         Likewise.
12085         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
12086         Likewise.
12087         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
12088         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
12089         Likewise.
12090         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
12091         Likewise.
12092         * math/libm-test.inc (nexttoward_test_data): Add more tests.
12094         * nss/rewrite_field.c (__nss_rewrite_field): Use
12095         internal_function.
12096         * nss/valid_field.c (__nss_valid_field): Likewise.
12097         * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
12099 2015-10-02  Florian Weimer  <fweimer@redhat.com>
12101         [BZ #18724]
12102         * include/nss.h (NSS_INVALID_FIELD_CHARACTERS): Define.
12103         (__nss_invalid_field_characters, __nss_valid_field)
12104         (__nss_valid_list_field, __nss_rewrite_field): Declare.
12105         * nss/valid_field.c, nss/valid_list_field, nss/rewrite_field.c,
12106         tst-field.c: New file.
12107         * nss/Makefile (routines): Add valid_field, rewrite_field.
12108         (tests-static): Define unconditionally.
12109         (tests): Include tests-static.
12110         [build-static-nss] (tests-static): Use append.
12111         [build-static-nss] (tests): Remove modification.
12112         * nss/getent.c (print_group): Call putgrent.  Report error.
12113         (print_gshadow): Call putsgent.  Report error.
12114         (print_passwd): Call putpwent.  Report error.
12115         (print_shadow): Call putspent.  Report error.
12116         * include/pwd.h: Include <nss.h> instead of <nss/nss.h>.
12117         * pwd/pwd.h (putpwent): Remove incorrect nonnull attribute.
12118         * pwd/putpwent.c (putpwent): Use ISO function definition.  Check
12119         name, password, directory, shell fields for valid syntax.  Rewrite
12120         GECOS field to match syntax.
12121         * pwd/Makefile (tests): Add tst-putpwent.
12122         * pwd/tst-putpwent.c: New file.
12123         * grp/putgrent.c (putgrent): Convert to ISO function definition.
12124         Check grName, grpasswd, gr_mem fields for valid syntax.
12125         Change loop variable i to size_t.
12126         * grp/Makefile (tests): Add tst-putgrent.
12127         * grp/tst-putgrent.c: New file.
12128         * shadow/putspent.c (putspent): Check sp_namp, sp_pwdp fields for
12129         valid syntax.
12130         * shadow/Makefile (tests): Add tst-putspent.
12131         * shadow/tst-putspent.c: New file.
12132         * gshadow/putsgent.c (putsgent): Check sg_namp, sg_passwd, sg_adm,
12133         sg_mem fields for valid syntax.
12134         * gshadow/Makefile (tests): Add tst-putsgent.
12135         * gshadow/tst-putsgent.c: New file.
12137 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
12139         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Added comments to some
12140         assembly instructions.
12142 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
12144         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Remove or add register
12145         prefix from operands.
12147 2015-10-01  Joseph Myers  <joseph@codesourcery.com>
12149         [BZ #16347]
12150         [BZ #19046]
12151         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Do not include
12152         <libc-internal.h>.
12153         (MAXLGM): Do not use diagnostic control macros.
12154         [LDBL_MANT_DIG == 106] (MAXLGM): Change value to overflow
12155         threshold for ldbl-128ibm.
12156         (__ieee754_lgammal_r): For large arguments, multiply by log - 1
12157         instead of multiplying by log then subtracting.
12158         * math/auto-libm-test-in: Add more tests of lgamma.
12159         * math/auto-libm-test-out: Regenerated.
12161         * math/libm-test.inc (TYPE_DECIMAL_DIG): New macro.
12162         (TYPE_HEX_DIG): Likewise.
12163         (print_float): Use TYPE_DECIMAL_DIG - 1 and TYPE_HEX_DIG - 1 as
12164         precisions when printing floating-point numbers.
12165         (check_float_internal): Likewise.
12167 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
12169         [BZ #16620]
12170         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (log10_high): Use value
12171         of log (10) rounded downward to 48 bits.
12172         (log10_low): Use corresponding low part of log (10).
12174         [BZ #19032]
12175         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): For arguments < 1,
12176         compute result as (x - x) / (x - x) not as 0 / 0.
12177         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
12178         * math/libm-test.inc (acosh_test_data): Add another test of acosh.
12180         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
12181         atan, atan2, atanh, cbrt, cos, cosh, erf, erfc, exp, exp10, exp2
12182         and expm1.
12183         * math/auto-libm-test-out: Regenerated.
12184         * math/libm-test.inc (acos_test_data): Add more tests.
12185         (asin_test_data): Likewise.
12186         (asinh_test_data): Likewise.
12187         (atan_test_data): Likewise.
12188         (atanh_test_data): Likewise.
12189         (atan2_test_data): Likewise.
12190         (cbrt_test_data): Likewise.
12191         (ceil_test_data): Likewise.
12192         (copysign_test_data): Likewise.
12193         (cos_test_data): Likewise.
12194         (cosh_test_data): Likewise.
12195         (erf_test_data): Likewise.
12196         (erfc_test_data): Likewise.
12197         (exp_test_data): Likewise.
12198         (exp10_test_data): Likewise.
12199         (exp2_test_data): Likewise.
12200         (expm1_test_data): Likewise.
12201         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12203 2015-09-30  H.J. Lu  <hongjiu.lu@intel.com>
12205         [BZ #19006]
12206         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved
12207         to ...
12208         * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Here.
12209         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: Moved
12210         to ...
12211         * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Here.
12212         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: Moved
12213         to ...
12214         * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Here.
12215         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved to ...
12216         * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Here.
12217         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved
12218         to ...
12219         * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Here.
12220         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
12221         Moved to ...
12222         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Here.
12223         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
12224         Moved to ...
12225         * sysdeps/unix/sysv/linux/i386/pthread_cond_broadcast.S: Here.
12226         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Moved
12227         to ...
12228         * sysdeps/unix/sysv/linux/i386/pthread_cond_signal.S: Here.
12229         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
12230         Moved to ...
12231         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Here.
12232         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved
12233         to ...
12234         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Here.
12235         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S:
12236         Removed.
12237         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c:
12238         Likewise.
12239         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c:
12240         Likewise.
12241         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Likewise.
12242         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S:
12243         Likewise.
12244         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
12245         Likewise.
12246         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
12247         Likewise.
12248         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
12249         Likewise.
12250         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
12251         Likewise.
12252         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S:
12253         Likewise.
12254         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S:
12255         Likewise.
12256         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c:
12257         Likewise.
12258         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c:
12259         Likewise.
12260         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Likewise.
12261         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S:
12262         Likewise.
12263         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
12264         Likewise.
12265         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
12266         Likewise.
12267         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
12268         Likewise.
12269         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S:
12270         Likewise.
12271         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
12272         Replace ../i486/pthread_cond_timedwait.S with
12273         ../pthread_cond_timedwait.S.
12275 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
12277         * math/libm-test.inc (acos_test_data): Refine expectations for
12278         errno and "inexact" exceptions.
12279         (acosh_test_data): Likewise.
12280         (asin_test_data): Likewise.
12281         (asinh_test_data): Likewise.
12282         (atan_test_data): Likewise.
12283         (atanh_test_data): Likewise.
12284         (atan2_test_data): Likewise.
12285         (cbrt_test_data): Likewise.
12286         (ceil_test_data): Likewise.
12287         (copysign_test_data): Likewise.
12288         (cosh_test_data): Likewise.
12289         (erf_test_data): Likewise.
12290         (erfc_test_data): Likewise.
12291         (exp_test_data): Likewise.
12292         (exp10_test_data): Likewise.
12293         (exp2_test_data): Likewise.
12294         (expm1_test_data): Likewise.
12295         (fabs_test_data): Likewise.
12296         (floor_test_data): Likewise.
12297         (fma_test_data): Likewise.
12298         (fmax_test_data): Likewise.
12299         (fmin_test_data): Likewise.
12300         (fmod_test_data): Likewise.
12301         (fpclassify_test_data): Likewise.
12302         (frexp_test_data): Likewise.
12303         (hypot_test_data): Likewise.
12304         (ilogb_test_data): Likewise.
12305         (isgreater_test_data): Likewise.
12306         (isgreaterequal_test_data): Likewise.
12307         (isinf_test_data): Likewise.
12308         (isless_test_data): Likewise.
12309         (islessequal_test_data): Likewise.
12310         (islessgreater_test_data): Likewise.
12311         (isnan_test_data): Likewise.
12312         (isnormal_test_data): Likewise.
12313         (issignaling_test_data): Likewise.
12314         (isunordered_test_data): Likewise.
12315         (j0_test_data): Likewise.
12316         (j1_test_data): Likewise.
12317         (jn_test_data): Likewise.
12318         (lgamma_test_data): Likewise.
12319         (lrint_test_data): Likewise.
12320         (llrint_test_data): Likewise.
12321         (log_test_data): Likewise.
12322         (log10_test_data): Likewise.
12323         (log1p_test_data): Likewise.
12324         (log2_test_data): Likewise.
12325         (logb_test_data): Likewise.
12326         (lround_test_data): Likewise.
12327         (llround_test_data): Likewise.
12328         (modf_test_data): Likewise.
12329         (nearbyint_test_data): Likewise.
12330         (nextafter_test_data): Likewise.
12331         (nexttoward_test_data): Likewise.
12332         (pow_test_data): Likewise.
12333         (remainder_test_data): Likewise.
12334         (remquo_test_data): Likewise.
12335         (rint_test_data): Likewise.
12336         (round_test_data): Likewise.
12337         (signbit_test_data): Likewise.
12338         (sinh_test_data): Likewise.
12339         (sqrt_test_data): Likewise.
12340         (tanh_test_data): Likewise.
12341         (tgamma_test_data): Likewise.
12342         (trunc_test_data): Likewise.
12343         (y0_test_data): Likewise.
12344         (y1_test_data): Likewise.
12345         (yn_test_data): Likewise.
12346         (significand_test_data): Likewise.
12348 2015-09-29  Carlos O'Donell  <carlos@redhat.com>
12350         * manual/filesys.texi (Storage Allocation): Document that
12351         posix_fallocate emulation fails when fd is open with O_WRONLY.
12353 2015-09-28  Joseph Myers  <joseph@codesourcery.com>
12355         [BZ #19016]
12356         * sysdeps/generic/math_private.h (__x2y2m1f): Update comment to
12357         allow more cases with X^2 + Y^2 >= 0.5.
12358         * sysdeps/ieee754/dbl-64/x2y2m1.c (__x2y2m1): Likewise.  Add -1 as
12359         normal element in sum instead of special-casing based on values of
12360         arguments.
12361         * sysdeps/ieee754/dbl-64/x2y2m1f.c (__x2y2m1f): Update comment.
12362         * sysdeps/ieee754/ldbl-128/x2y2m1l.c (__x2y2m1l): Likewise.  Add
12363         -1 as normal element in sum instead of special-casing based on
12364         values of arguments.
12365         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c (__x2y2m1l): Likewise.
12366         * sysdeps/ieee754/ldbl-96/x2y2m1.c [FLT_EVAL_METHOD != 0]
12367         (__x2y2m1): Update comment.
12368         * sysdeps/ieee754/ldbl-96/x2y2m1l.c (__x2y2m1l): Likewise.  Add -1
12369         as normal element in sum instead of special-casing based on values
12370         of arguments.
12371         * math/s_clog.c (__clog): Handle more cases using log1p without
12372         hypot.
12373         * math/s_clog10.c (__clog10): Likewise.
12374         * math/s_clog10f.c (__clog10f): Likewise.
12375         * math/s_clog10l.c (__clog10l): Likewise.
12376         * math/s_clogf.c (__clogf): Likewise.
12377         * math/s_clogl.c (__clogl): Likewise.
12378         * math/auto-libm-test-in: Add more tests of clog and clog10.
12379         * math/auto-libm-test-out: Regenerated.
12380         * sysdeps/i386/fpu/libm-test-ulps: Update.
12381         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12383 2015-09-28  Martin Sebor  <msebor@redhat.com>
12385         [BZ #18969]
12386         * string/Makefile (LOCALES): Define.
12387         (gen-locales.mk): Include.
12388         (test-strcasecmp.out, test-strncasecmp.out, tst-strxfrm.out)
12389         (tst-strxfrm2.out): Add deppendency on $(gen-locales).
12390         * string/tst-strxfrm2.c (do_test): Print the name of the locale
12391         on setlocale failure.
12393 2015-09-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
12395         [BZ #18985]
12396         * time/strftime_l.c (a_wkday, f_wkday, a_month, f_month): Range check.
12397         (__strftime_internal): Likewise.
12398         * time/tst-strftime.c (do_bz18985): New test.
12399         (do_test): Call it.
12401 2015-09-26  Joseph Myers  <joseph@codesourcery.com>
12403         [BZ #18956]
12404         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Add 0x00400000
12405         not 0x0040000 for high bit of mantissa.  Mask with 0xfffff000 when
12406         extracting high part.
12407         * math/auto-libm-test-in: Add another test of pow.
12408         * math/auto-libm-test-out: Regenerated.
12409         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12411 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
12413         [BZ #18825]
12414         * sysdeps/i386/fpu/i386-math-asm.h (FLT_NARROW_EVAL_UFLOW_NONNAN):
12415         New macro.
12416         (DBL_NARROW_EVAL_UFLOW_NONNAN): Likewise.
12417         (LDBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
12418         * sysdeps/i386/fpu/e_pow.S: Use DEFINE_DBL_MIN.
12419         (__ieee754_pow): Use DBL_NARROW_EVAL_UFLOW_NONNAN instead of
12420         DBL_NARROW_EVAL, reloading the PIC register as needed.
12421         * sysdeps/i386/fpu/e_powf.S: Use DEFINE_FLT_MIN.
12422         (__ieee754_powf): Use FLT_NARROW_EVAL_UFLOW_NONNAN instead of
12423         FLT_NARROW_EVAL.  Use separate return path for case when first
12424         argument is NaN.
12425         * sysdeps/i386/fpu/e_powl.S: Include <i386-math-asm.h>.  Use
12426         DEFINE_LDBL_MIN.
12427         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN, reloading the
12428         PIC register.
12429         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use
12430         math_check_force_underflow_nonneg.
12431         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Force
12432         underflow for subnormal result.
12433         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
12434         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Use
12435         math_check_force_underflow_nonneg.
12436         * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Use
12437         math_check_force_underflow.
12438         * sysdeps/x86_64/fpu/x86_64-math-asm.h
12439         (LDBL_CHECK_FORCE_UFLOW_NONNAN): New macro.
12440         * sysdeps/x86_64/fpu/e_powl.S: Include <x86_64-math-asm.h>.  Use
12441         DEFINE_LDBL_MIN.
12442         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN.
12443         * math/auto-libm-test-in: Add more tests of pow.
12444         * math/auto-libm-test-out: Regenerated.
12446 2015-09-25  Florian Weimer  <fweimer@redhat.com>
12448         * nss/bug17079.c (init_test_items): Add diagnostic for
12449         inconsistent entries.
12450         (test_buffer_size): Skip inconsistent entries.
12452 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
12454         [BZ #13304]
12455         * sysdeps/m68k/coldfire/nofpu/s_fma.c: New file.
12456         * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
12457         * sysdeps/m68k/coldfire/nofpu/sfp-machine.h: Likewise.
12459         [BZ #13304]
12460         * sysdeps/microblaze/s_fma.c: New file.
12461         * sysdeps/microblaze/s_fmaf.c: Likewise.
12462         * sysdeps/microblaze/sfp-machine.h: Likewise.
12464 2015-09-25  Maciej W. Rozycki  <macro@imgtec.com>
12466         [BZ #17250]
12467         * elf/dl-support.c (_dl_main_map): Don't initialize l_flags_1
12468         member.
12470 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
12472         [BZ #18803]
12473         * sysdeps/i386/fpu/e_hypot.S: Use DEFINE_DBL_MIN.
12474         (MO): New macro.
12475         (__ieee754_hypot) [PIC]: Load PIC register.
12476         (__ieee754_hypot): Use DBL_NARROW_EVAL_UFLOW_NONNEG instead of
12477         DBL_NARROW_EVAL.
12478         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Use
12479         math_check_force_underflow_nonneg in case where result might be
12480         tiny.
12481         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
12482         Likewise.
12483         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
12484         Likewise.
12485         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
12486         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
12487         * math/auto-libm-test-in: Add more tests of hypot.
12488         * math/auto-libm-test-out: Regenerated.
12490 2015-09-24  Steve Ellcey  <sellcey@imgtec.com>
12492         * sysdeps/mips/math_private.h (libc_fesetenv_mips): Mark cw as unused.
12494 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
12496         * sysdeps/x86_64/fpu/x86_64-math-asm.h: New file.
12497         * sysdeps/x86_64/fpu/e_exp2l.S: Include <x86_64-math-asm.h>.
12498         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
12499         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
12500         * sysdeps/x86_64/fpu/e_expl.S: Include <x86_64-math-asm.h>.
12501         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
12502         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
12504         * sysdeps/i386/fpu/e_atanh.S (__ieee754_atanh) [PIC]: Use
12505         LOAD_PIC_REG.
12507         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_LDBL_MIN): New macro.
12508         (FLT_CHECK_FORCE_UFLOW): Likewise.
12509         (DBL_CHECK_FORCE_UFLOW): Likewise.
12510         (FLT_CHECK_FORCE_UFLOW_NARROW): Likewise.
12511         (DBL_CHECK_FORCE_UFLOW_NARROW): Likewise.
12512         (LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN): Likewise.
12513         (FLT_CHECK_FORCE_UFLOW_NONNAN): Likewise.
12514         (DBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
12515         (FLT_CHECK_FORCE_UFLOW_NONNEG): Likewise.
12516         (DBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
12517         (LDBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
12518         * sysdeps/i386/fpu/e_asin.S: Include <i386-math-asm.h>.
12519         (dbl_min): Replace with use of DEFINE_DBL_MIN.
12520         (__ieee754_asin): Use DBL_CHECK_FORCE_UFLOW.
12521         * sysdeps/i386/fpu/e_asinf.S: Include <i386-math-asm.h>.
12522         (flt_min): Replace with use of DEFINE_FLT_MIN.
12523         (__ieee754_asinf): Use FLT_CHECK_FORCE_UFLOW.
12524         * sysdeps/i386/fpu/e_atan2.S: Include <i386-math-asm.h>.
12525         (dbl_min): Replace with use of DEFINE_DBL_MIN.
12526         (__ieee754_atan2): Use DBL_CHECK_FORCE_UFLOW_NARROW.
12527         * sysdeps/i386/fpu/e_atan2f.S: Include <i386-math-asm.h>.
12528         (flt_min): Replace with use of DEFINE_FLT_MIN.
12529         (__ieee754_atan2f): Use FLT_CHECK_FORCE_UFLOW_NARROW.
12530         * sysdeps/i386/fpu/e_atanh.S: Include <i386-math-asm.h>.
12531         (dbl_min): Replace with use of DEFINE_DBL_MIN.
12532         (__ieee754_atanh): Use DBL_CHECK_FORCE_UFLOW_NONNEG.
12533         * sysdeps/i386/fpu/e_atanhf.S: Include <i386-math-asm.h>.
12534         (flt_min): Replace with use of DEFINE_FLT_MIN.
12535         (__ieee754_atanhf): Use FLT_CHECK_FORCE_UFLOW_NONNEG.
12536         * sysdeps/i386/fpu/e_exp2l.S: Include <i386-math-asm.h>.
12537         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
12538         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
12539         * sysdeps/i386/fpu/e_expl.S: Include <i386-math-asm.h>.
12540         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
12541         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
12542         * sysdeps/i386/fpu/s_atan.S: Include <i386-math-asm.h>.
12543         (dbl_min): Replace with use of DEFINE_DBL_MIN.
12544         (__atan): Use DBL_CHECK_FORCE_UFLOW.
12545         * sysdeps/i386/fpu/s_atanf.S: Include <i386-math-asm.h>.
12546         (flt_min): Replace with use of DEFINE_FLT_MIN.
12547         (__atanf): Use FLT_CHECK_FORCE_UFLOW.
12548         * sysdeps/i386/fpu/s_expm1.S: Include <i386-math-asm.h>.
12549         (dbl_min): Replace with use of DEFINE_DBL_MIN.
12550         (__expm1): Use DBL_CHECK_FORCE_UFLOW.  Move underflow check after
12551         main computation.
12552         * sysdeps/i386/fpu/s_expm1f.S: Include <i386-math-asm.h>.
12553         (flt_min): Replace with use of DEFINE_FLT_MIN.
12554         (__expm1f): Use FLT_CHECK_FORCE_UFLOW.  Move underflow check after
12555         main computation.
12556         * sysdeps/i386/fpu/s_log1p.S: Include <i386-math-asm.h>.
12557         (dbl_min): Replace with use of DEFINE_DBL_MIN.
12558         (MO): New macro.
12559         (__log1p): Use MO.  Use DBL_CHECK_FORCE_UFLOW_NONNAN.
12560         * sysdeps/i386/fpu/s_log1pf.S: Include <i386-math-asm.h>.
12561         (flt_min): Replace with use of DEFINE_FLT_MIN.
12562         (MO): New macro.
12563         (__log1pf): Use MO.  Use FLT_CHECK_FORCE_UFLOW_NONNAN.
12564         * sysdeps/i386/fpu/s_log1pl.S (MO): New macro.
12565         (__log1pl): Use MO.
12567         [BZ #19003]
12568         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma4.c): Add
12569         $(config-cflags-nofma).
12571 2015-09-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
12573         * sysdeps/aarch64/libm-test-ulps: Regenerated.
12575 2015-09-23  Joseph Myers  <joseph@codesourcery.com>
12577         * sysdeps/ieee754/flt-32/e_exp2f.c (TWOM100): Remove volatile.
12578         (TWO127): Likewise.
12580         * sysdeps/generic/math_private.h (fabs_tg): New macro.
12581         (min_of_type): Likewise.
12582         (math_check_force_underflow): Likewise.
12583         (math_check_force_underflow_nonneg): Likewise.
12584         (math_check_force_underflow_complex): Likewise.
12585         * math/e_exp2l.c (__ieee754_exp2l): Use
12586         math_check_force_underflow_nonneg.
12587         * math/k_casinh.c (__kernel_casinh): Likewise.
12588         * math/k_casinhf.c (__kernel_casinhf): Likewise.
12589         * math/k_casinhl.c (__kernel_casinhl): Likewise.
12590         * math/s_catan.c (__catan): Use
12591         math_check_force_underflow_complex.
12592         * math/s_catanf.c (__catanf): Likewise.
12593         * math/s_catanh.c (__catanh): Likewise.
12594         * math/s_catanhf.c (__catanhf): Likewise.
12595         * math/s_catanhl.c (__catanhl): Likewise.
12596         * math/s_catanl.c (__catanl): Likewise.
12597         * math/s_ccosh.c (__ccosh): Likewise.
12598         * math/s_ccoshf.c (__ccoshf): Likewise.
12599         * math/s_ccoshl.c (__ccoshl): Likewise.
12600         * math/s_cexp.c (__cexp): Likewise.
12601         * math/s_cexpf.c (__cexpf): Likewise.
12602         * math/s_cexpl.c (__cexpl): Likewise.
12603         * math/s_clog.c (__clog): Use math_check_force_underflow_nonneg.
12604         * math/s_clog10.c (__clog10): Likewise.
12605         * math/s_clog10f.c (__clog10f): Likewise.
12606         * math/s_clog10l.c (__clog10l): Likewise.
12607         * math/s_clogf.c (__clogf): Likewise.
12608         * math/s_clogl.c (__clogl): Likewise.
12609         * math/s_csin.c (__csin): Use math_check_force_underflow_complex.
12610         * math/s_csinf.c (__csinf): Likewise.
12611         * math/s_csinh.c (__csinh): Likewise.
12612         * math/s_csinhf.c (__csinhf): Likewise.
12613         * math/s_csinhl.c (__csinhl): Likewise.
12614         * math/s_csinl.c (__csinl): Likewise.
12615         * math/s_csqrt.c (__csqrt): Use math_check_force_underflow.
12616         * math/s_csqrtf.c (__csqrtf): Likewise.
12617         * math/s_csqrtl.c (__csqrtl): Likewise.
12618         * math/s_ctan.c (__ctan): Use math_check_force_underflow_complex.
12619         * math/s_ctanf.c (__ctanf): Likewise.
12620         * math/s_ctanh.c (__ctanh): Likewise.
12621         * math/s_ctanhf.c (__ctanhf): Likewise.
12622         * math/s_ctanhl.c (__ctanhl): Likewise.
12623         * math/s_ctanl.c (__ctanl): Likewise.
12624         * stdlib/strtod_l.c (round_and_return): Use math_force_eval
12625         instead of volatile.
12626         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use
12627         math_check_force_underflow.
12628         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
12629         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Do not use
12630         volatile when forcing underflow.
12631         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
12632         math_check_force_underflow_nonneg.
12633         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
12634         Likewise.
12635         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Use
12636         math_check_force_underflow.
12637         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
12638         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
12639         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
12640         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Use
12641         math_check_force_underflow_nonneg.
12642         * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Use
12643         math_check_force_underflow.
12644         * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
12645         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval
12646         instead of volatile.
12647         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Use
12648         math_check_force_underflow.
12649         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
12650         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
12651         math_check_force_underflow_nonneg.
12652         * sysdeps/ieee754/dbl-64/s_tanh.c (__tanh): Use
12653         math_check_force_underflow.
12654         * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
12655         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
12656         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Use
12657         math_check_force_underflow_nonneg.
12658         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
12659         Likewise.
12660         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Use
12661         math_check_force_underflow.
12662         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
12663         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
12664         * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
12665         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Likewise.
12666         * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
12667         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Likewise.
12668         * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
12669         * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
12670         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
12671         * sysdeps/ieee754/flt-32/s_tanhf.c (__tanhf): Likewise.
12672         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
12673         * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
12674         Likewise.
12675         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Use
12676         math_check_force_underflow_nonneg.
12677         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
12678         Likewise.
12679         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Use
12680         math_check_force_underflow.
12681         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
12682         * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
12683         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
12684         Likewise.
12685         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
12686         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernel_tanl): Likewise.
12687         * sysdeps/ieee754/ldbl-128/s_asinhl.c (__asinhl): Likewise.
12688         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Likewise.
12689         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Likewise.
12690         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
12691         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use math_force_eval
12692         instead of volatile.
12693         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Use
12694         math_check_force_underflow.
12695         * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
12696         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Use
12697         math_check_force_underflow.
12698         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl):
12699         Likewise.
12700         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
12701         Use math_check_force_underflow_nonneg.
12702         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Use
12703         math_check_force_underflow.
12704         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
12705         Likewise.
12706         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
12707         Likewise.
12708         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
12709         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
12710         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
12711         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
12712         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Likewise.
12713         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
12714         * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
12715         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
12716         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Use
12717         math_check_force_underflow_nonneg.
12718         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Use
12719         math_check_force_underflow.
12720         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
12721         * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
12722         * sysdeps/ieee754/ldbl-96/k_sinl.c (__kernel_sinl): Likewise.
12723         * sysdeps/ieee754/ldbl-96/k_tanl.c (__kernel_tanl): Use
12724         math_check_force_underflow_nonneg.
12725         * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Use
12726         math_check_force_underflow.
12727         * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
12728         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Use math_force_eval
12729         instead of volatile.
12730         * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Use
12731         math_check_force_underflow.
12733         * math/s_nexttowardf.c (__nexttowardf): Use math_narrow_eval.
12734         * stdlib/strtod_l.c: Include <math_private.h>.
12735         (overflow_value): Use math_narrow_eval.
12736         (underflow_value): Likewise.
12737         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
12738         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
12739         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
12740         (__ieee754_gamma_r): Likewise.
12741         * sysdeps/ieee754/dbl-64/gamma_productf.c (__gamma_productf):
12742         Likewise.
12743         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
12744         Likewise.
12745         * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
12746         * sysdeps/ieee754/dbl-64/s_erf.c (__erfc): Likewise.
12747         * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
12748         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
12749         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
12750         (__ieee754_gammaf_r): Likewise.
12751         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
12752         Likewise.
12753         * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
12754         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Likewise.
12755         * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
12756         * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
12757         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Do not use
12758         volatile.
12759         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
12760         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward): Use
12761         math_narrow_eval.
12762         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
12763         Likewise.
12764         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
12765         Likewise.
12766         * sysdeps/ieee754/ldbl-96/gamma_product.c (__gamma_product):
12767         Likewise.
12768         * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Do not use
12769         volatile.
12770         * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
12771         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Use
12772         math_narrow_eval.
12773         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
12774         Likewise.
12775         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
12776         Likewise.
12778 2015-09-22  H.J. Lu  <hongjiu.lu@intel.com>
12780         * nptl/Versions: Remove ignored symbols.
12782 2015-09-22  Florian Weimer  <fweimer@redhat.com>
12784         * nss/bug17079.c: Renamed from nss/bug18287.c.  Add description.
12785         * nss/Makefile (tests): Update.
12787 2015-09-22  Florian Weimer  <fweimer@redhat.com>
12789         * nss/bug18287.c: New file.
12790         * nss/Makefile (tests): Add bug18287.
12792 2015-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12794         * mach/Versions (__mach_host_self_): Add symbol.
12796 2015-09-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12798         * sysdeps/mach/hurd/mmap.c (__mmap): Use __vm_page_size instead of
12799         vm_page_size.
12801 2015-09-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12803         Really fix sysdeps/i386/fpu/s_scalbn.S build
12805         * math/Versions (libc: GLIBC_2_20): New (empty) version set.
12806         (libc: GLIBC_2_22): Remove unused version set.
12808 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
12810         * config.make.in (enable-timezone-tools): New variable.
12811         * configure.ac (AC_ARG_ENABLE(timezone-tools)): New configure flag.
12812         (enable_timezone_tools): Export to generated files.
12813         * configure: Regenerate.
12814         * INSTALL: Regenerate.
12815         * manual/install.texi (--disable-timezone-tools): Document new flag.
12816         * timezone/Makefile (install-sbin, install-bin-script): Wrap in a
12817         ifeq ($(enable-timezone-tools),yes) check.
12819 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
12821         * timezone/Makefile: Revert previous change.
12823         [BZ #18980]
12824         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_FLT_MIN): New macro.
12825         (DEFINE_DBL_MIN): Likewise.
12826         (FLT_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
12827         (DBL_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
12828         (FLT_NARROW_EVAL_UFLOW_NONNEG): Likewise.
12829         (DBL_NARROW_EVAL_UFLOW_NONNEG): Likewise.
12830         * sysdeps/i386/fpu/e_exp.S: Include <i386-math-asm.h>.
12831         (dbl_min): Replace with use of DEFINE_DBL_MIN.
12832         (__ieee754_exp): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
12833         (__exp_finite): Use DBL_NARROW_EVAL_UFLOW_NONNEG.
12834         * sysdeps/i386/fpu/e_exp10.S: Include <i386-math-asm.h>.
12835         (dbl_min): Replace with use of DEFINE_DBL_MIN.
12836         (__ieee754_exp10): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
12837         * sysdeps/i386/fpu/e_exp10f.S: Include <i386-math-asm.h>.
12838         (flt_min): Replace with use of DEFINE_FLT_MIN.
12839         (__ieee754_exp10f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
12840         * sysdeps/i386/fpu/e_exp2.S: Include <i386-math-asm.h>.
12841         (dbl_min): Replace with use of DEFINE_DBL_MIN.
12842         (__ieee754_exp2): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
12843         * sysdeps/i386/fpu/e_exp2f.S: Include <i386-math-asm.h>.
12844         (flt_min): Replace with use of DEFINE_FLT_MIN.
12845         (__ieee754_exp2f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
12846         * sysdeps/i386/fpu/e_expf.S: Include <i386-math-asm.h>.
12847         (flt_min): Replace with use of DEFINE_FLT_MIN.
12848         (__ieee754_expf): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
12849         (__expf_finite): Use FLT_NARROW_EVAL_UFLOW_NONNEG.
12850         * sysdeps/i386/fpu/e_hypot.S: Include <i386-math-asm.h>.
12851         (__ieee754_hypot): Use DBL_NARROW_EVAL.
12852         * sysdeps/i386/fpu/e_hypotf.S: Include <i386-math-asm.h>.
12853         (__ieee754_hypotf): Use FLT_NARROW_EVAL.
12854         * sysdeps/i386/fpu/e_pow.S: Include <i386-math-asm.h>.
12855         (__ieee754_pow): Use DBL_NARROW_EVAL.
12856         * sysdeps/i386/fpu/e_powf.S: Include <i386-math-asm.h>.
12857         (__ieee754_powf): Use FLT_NARROW_EVAL.
12858         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S
12859         (__ieee754_expf_sse2): Convert double-precision result to single
12860         precision.
12861         * sysdeps/i386/fpu/libm-test-ulps: Update.
12863 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
12865         * timezone/Makefile: Ignore unused variable errors due to private.h
12866         (time_t_min) and (time_t_max).
12867         * timezone/private.h (time_t_min): Revert removal.  (time_t_max):
12868         Likewise.
12870 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
12872         [BZ #18981]
12873         * sysdeps/i386/fpu/i386-math-asm.h: New file.
12874         * sysdeps/i386/fpu/e_scalb.S: Include <i386-math-asm.h>.
12875         (__ieee754_scalb): Use DBL_NARROW_EVAL.
12876         * sysdeps/i386/fpu/e_scalbf.S: Include <i386-math-asm.h>.
12877         (__ieee754_scalbf): Use FLT_NARROW_EVAL.
12878         * sysdeps/i386/fpu/s_scalbn.S: Include <i386-math-asm.h>.
12879         (__scalbn): Use DBL_NARROW_EVAL.
12880         * sysdeps/i386/fpu/s_scalbnf.S: Include <i386-math-asm.h>.
12881         (__scalbnf): Use FLT_NARROW_EVAL.
12883 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
12885         * math/w_tgamma.c (__ieee754_gamma_r): Use explicit sign check.
12886         * math/w_tgammaf.c (__ieee754_gammaf_r): Likewise.
12887         * math/w_tgammal.c (__ieee754_gammal_r): Likewise.
12888         * stdio-common/printf_fp.c (___printf_fp):
12889         Use signbit to get the sign. Use isinf macro to allow inlining.
12890         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.
12891         * stdio-common/printf_size.c (__printf_size): Likewise.
12893 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
12895         * timezone/Makefile ($(testdata)/XT%): Call $(make-target-directory).
12897 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
12899         [BZ #18980]
12900         * sysdeps/generic/math_private.h: Include <float.h>.
12901         (math_narrow_eval): New macro.
12902         [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
12903         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Use
12904         math_narrow_eval on overflowing return value.
12905         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r):
12906         Likewise.
12907         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
12908         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Likewise.
12909         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r):
12910         Likewise.
12911         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
12913 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
12915         * include/math.h: Remove __isinf_ns, __isinf_nsf, __isinf_nsl.
12916         * math/Makefile: Remove isinf_ns.c.
12917         * math/divtc3.c (__divtc3): Replace __isinf_nsl with isinf.
12918         * math/multc3.c (__multc3): Likewise.
12919         * math/s_casin.c (__casin): Likewise.
12920         * math/s_casinf.c (__casinf): Likewise.
12921         * math/s_casinl.c (__casinl): Likewise.
12922         * math/s_cproj.c (__cproj): Likewise.
12923         * math/s_cprojf.c (__cprojf): Likewise.
12924         * math/s_cprojl.c (__cprofl): Likewise.
12925         * math/s_ctan.c (__ctan): Likewise.
12926         * math/s_ctanf.c (__ctanf): Likewise.
12927         * math/s_ctanh.c (__ctanh): Likewise.
12928         * math/s_ctanhf.c (__ctanhf): Likewise.
12929         * math/s_ctanhl.c (__ctanhl): Likewise.
12930         * math/s_ctanl.c (__ctanl): Likewise.
12931         * math/w_fmod.c (__fmod): Likewise.
12932         * math/w_fmodf.c (__fmodf): Likewise.
12933         * math/w_fmodl.c (_fmodl): Likewise.
12934         * math/w_remainder.c (__remainder): Likewise.
12935         * math/w_remainderf.c (__remainderf): Likewise.
12936         * math/w_remainderl.c (__remainderl): Likewise.
12937         * math/w_scalb.c (__scalb): Likewise.
12938         * math/w_scalbf.c (__scalbf): Likewise.
12939         * math/w_scalbl.c (__scalbl): Likewise.
12940         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Deleted file.
12941         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Replace __isinf_ns
12942         with isinf.
12943         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Deleted file.
12944         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Deleted file.
12945         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Replace
12946         __isinf_nsf with isinf.
12947         * sysdeps/ieee754/flt-32/math_private.h: Deleted file.
12948         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Deleted file.
12949         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Deleted file.
12950         * sysdeps/ieee754/ldbl-128/s_sincosl.c (__sincosl): Replace __isinf_nsl
12951         with isinf.
12952         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c(__cprojll): Replace
12953         __isinf_nsl with isinf.
12954         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c(__ctanl): Replace __isinf_nsl
12955         with isinf.
12956         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Deleted file.
12957         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Replace
12958         __isinf_nsl with isinf.
12959         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Deleted file.
12960         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Replace __isinf_nsl
12961         with isinf.
12963 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
12965         * resolv/base64.c (rcsid): Remove unused static.
12966         * sysdeps/ieee754/dbl-64/atnat2.h (qpi1): Remove unused
12967         static.  (tqpi1): Likewise.
12968         * sysdeps/ieee754/dbl-64/uexp.h (one): Likewise.
12969         * sysdeps/ieee754/dbl-64/upow.h (sqrt_2): Likewise.
12970         * sysdeps/ieee754/flt-32/e_log10f.c (one): Likewise.
12971         * sysdeps/ieee754/flt-32/s_cosf.c (one): Likewise.
12972         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (zero): Likewise.
12973         * sysdeps/ieee754/ldbl-128/s_erfl.c (half): Likewise.
12974         * sysdeps/ieee754/ldbl-128/s_log1pl.c (maxlog): Likewise.
12975         * timezone/private.h (time_t_min): Likewise.  (time_t_max):
12976         Likewise.
12978 2015-09-18  H.J. Lu  <hongjiu.lu@intel.com>
12980         * sysdeps/nptl/jmp-unwind.c: Include <libc-lock.h> instead of
12981         <nptl/pthreadP.h>.
12982         (_longjmp_unwind): Use __libc_ptf_call.
12983         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Likewise.
12985 2015-09-18  David Lamparter  <equinox-gentoo@diac24.net>
12987         * sysdeps/arm/setjmp.S: Change PIC to SHARED.
12988         * sysdeps/arm/__longjmp.S: Likewise.
12990 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
12992         * sysdeps/ieee754/dbl-64/s_signbit.c (__signbit):
12993         Use __builtin_signbit.
12994         * sysdeps/ieee754/flt-32/s_signbitf.c (__signbitf):
12995         Use __builtin_signbitf.
12996         * sysdeps/ieee754/ldbl-128/s_signbitl.c (__signbitl):
12997         Use __builtin_signbitl.
12998         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
12999         * sysdeps/ieee754/ldbl-96/s_signbitl.c (__signbitl): Likewise.
13001 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
13003         [BZ #15367]
13004         [BZ #17441]
13006         * math/Makefile: Build test-snan.c with -fsignaling-nans.
13007         * math/math.h (fpclassify): Use __builtin_fpclassify when
13008         available.  (signbit): Use __builtin_signbit(f/l).
13009         (isfinite): Use__builtin_isfinite.  (isnormal): Use
13010         __builtin_isnormal.  (isnan): Use __builtin_isnan.
13011         (isinf): Use __builtin_isinf_sign.
13013 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
13015         * benchtests/Makefile: Add bench-math-inlines, link with libm.
13016         * benchtests/bench-math-inlines.c: New benchmark.
13017         * benchtests/bench-util.h: New file.
13018         * benchtests/bench-util.c: New file.
13019         * benchtests/bench-skeleton.c: Add include of bench-util.c/h.
13021 2015-09-18  Carlos O'Donell  <carlos@redhat.com>
13023         * elf/tst-dlmopen1.c: Define TEST_SO.
13024         (do_test): Use TEST_SO.
13026         * elf/dl-load.c: Include libc-internal.h.
13027         (_dl_map_object_from_fd): Use ALIGN_UP and ALIGN_DOWN.
13029 2015-09-18  Vincent Bernat  <vincent@bernat.im>
13031         [BZ #17887]
13032         * time/strptime_l.c (__strptime_internal): Make %z accept
13033         [+-]HH:MM time zones.
13035 2015-09-18  Vincent Bernat  <vincent@bernat.im>
13037         [BZ #17886]
13038         * time/strptime_l.c (__strptime_internal): Make %z accept Z as a
13039         valid time zone.
13041 2015-09-17  Mike Frysinger  <vapier@gentoo.org>
13043         * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-fdatasync.c): Delete.
13044         * sysdeps/unix/sysv/linux/alpha/fdatasync.c: Delete.
13045         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
13046         (__ASSUME_FDATASYNC): Delete.
13048 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
13050         * conform/linknamespace.pl: Require weak undefined symbols to be
13051         in the standard namespace.
13052         (%strong_syms): Rename to %seen_syms.
13053         (%strong_seen): Rename to %seen_where.
13055 2015-09-17  H.J. Lu  <hongjiu.lu@intel.com>
13057         [BZ #18970]
13058         * misc/error.c (error): Replace pthread_setcancelstate with
13059         __pthread_setcancelstate.
13060         (error_at_line): Likewise.
13061         * posix/wordexp.c (parse_comm): Likewise.
13062         * stdlib/fmtmsg.c (fmtmsg): Likewise.
13063         * nptl/forward.c (pthread_setcancelstate): Renamed to ...
13064         (__pthread_setcancelstate): This.
13065         (pthread_setcancelstate): Add an alias.
13066         * nptl/nptl-init.c (pthread_functions): Replace
13067         ptr_pthread_setcancelstate with ptr___pthread_setcancelstate.
13068         * sysdeps/nptl/pthread-functions.h (pthread_functions): Likewise.
13069         * nptl/pthreadP.h (__pthread_setcancelstate): Mark it with
13070         hidden_proto.
13071         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate): Mark
13072         it with hidden_def.
13073         * sysdeps/nptl/libc-lockP.h (__pthread_setcancelstate): New.
13074         (pthread_setcancelstate): Renamed to ...
13075         (__pthread_setcancelstate): This.
13076         * sysdeps/unix/sysv/linux/fatal-prepare.h (FATAL_PREPARE): Use
13077         __libc_ptf_call with __pthread_setcancelstate.
13079 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
13080             Andreas Schwab  <schwab@suse.de>
13082         [BZ #17118]
13083         * math/s_ctan.c (__ctan): Determine sign of zero real part of
13084         result when imaginary part of argument is infinite using sine and
13085         cosine.
13086         * math/s_ctanf.c (__ctanf): Likewise.
13087         * math/s_ctanl.c (__ctanl): Likewise.
13088         * math/s_ctanh.c (__ctanh): Determine sign of zero imaginary part
13089         of result when real part of argument is infinite using sine and
13090         cosine.
13091         * math/s_ctanhf.c (__ctanhf): Likewise.
13092         * math/s_ctanhl.c (__ctanhl): Likewise.
13093         * math/libm-test.inc (ctan_test_data): Add more tests of ctan.
13094         (ctanh_test_data): Add more tests of ctanh.
13096 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
13098         [BZ #15384]
13099         * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Use same constant as
13100         bit-mask as in subtraction.
13101         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c (__finite):
13102         Likewise.
13103         * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
13104         * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
13105         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (__finitel): Likewise.
13107         [BZ #18951]
13108         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Force
13109         underflow exception for small results.
13110         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
13111         Likewise.
13112         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
13113         Likewise.
13114         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
13115         Likewise.
13116         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
13117         Likewise.
13118         * math/auto-libm-test-in: Add more tests of tgamma.
13119         * math/auto-libm-test-out: Regenerated.
13121 2015-09-17  Andreas Schwab  <schwab@suse.de>
13123         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Readd.
13125 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
13127         [BZ #18977]
13128         * math/bits/mathcalls.h
13129         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j0): Do
13130         not declare.
13131         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j1):
13132         Likewise.
13133         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (jn):
13134         Likewise.
13135         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y0):
13136         Likewise.
13137         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y1):
13138         Likewise.
13139         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (yn):
13140         Likewise.
13141         * conform/data/math.h-data
13142         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0f): Do not expect
13143         function.
13144         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1f): Likewise.
13145         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnf): Likewise.
13146         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0f): Likewise.
13147         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1f): Likewise.
13148         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynf): Likewise.
13149         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0l): Likewise.
13150         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1l): Likewise.
13151         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnl): Likewise.
13152         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0l): Likewise.
13153         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1l): Likewise.
13154         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynl): Likewise.
13156         [BZ #6803]
13157         * math/s_ldexp.c (scalbn): Define as weak alias of __ldexp.
13158         [NO_LONG_DOUBLE] (scalbnl): Define as weak alias of __ldexp.
13159         * math/s_ldexpf.c (scalbnf): Define as weak alias of __ldexpf.
13160         * math/s_ldexpl.c (scalbnl): Define as weak alias of __ldexpl.
13161         * sysdeps/i386/fpu/s_scalbn.S (scalbn): Remove alias.
13162         * sysdeps/i386/fpu/s_scalbnf.S (scalbnf): Likewise.
13163         * sysdeps/i386/fpu/s_scalbnl.S (scalbnl): Likewise.
13164         * sysdeps/ieee754/dbl-64/s_scalbn.c (scalbn): Likewise.
13165         [NO_LONG_DOUBLE] (scalbnl): Likewise.
13166         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (scalbn):
13167         Likewise.
13168         [NO_LONG_DOUBLE] (scalbnl): Likewise.
13169         * sysdeps/ieee754/flt-32/s_scalbnf.c (scalbnf): Likewise.
13170         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (scalbnl): Likewise.
13171         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (scalbnl): Remove
13172         long_double_symbol calls.
13173         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c (scalbnl): Likewise.
13174         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (__ldexpl_2): Define as
13175         strong alias of __ldexpl.
13176         (scalbnl): Define using long_double_symbol.
13177         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(scalbn,suffix)):
13178         Remove alias.
13179         * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c (scalbnl): Likewise.
13180         * sysdeps/x86_64/fpu/s_scalbnl.S (scalbnl): Likewise.
13181         * math/libm-test.inc (scalbn_test_data): Add errno expectations.
13182         (scalbln_test_data): Add more errno expectations.
13184 2015-09-16  Justus Winter  <4winter@informatik.uni-hamburg.de>
13186         Cache the host port like we cache the task port.  This way we do not
13187         need to call the kernel just to get the port.  Furthermore, we no
13188         longer increase the reference count on every invocation of
13189         `mach_host_self'.
13191         * mach/mach/mach_traps.h (__mach_host_self, mach_host_self):
13192         Protect declarations against the macro expansion.
13193         * mach/mach_init.c (__mach_host_self_): New variable.
13194         (mach_init): Initialize `__mach_host_self_'.
13195         * mach/mach_init.h (__mach_host_self_): New declaration.
13196         (__mach_host_self, mach_host_self): New macros.
13197         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup):
13198         Release reference.
13200 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
13202         [BZ #4404]
13203         * po/de.po: Update from Translation Project.
13205         [BZ #16415]
13206         * sysdeps/ieee754/ldbl-128/s_expm1l.c (maxlog): Remove variable.
13207         (__expm1l): Remove code to handle positive infinity and overflow.
13208         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (maxlog): Remove
13209         variable.
13210         (__expm1l): Remove code to handle positive infinity and overflow.
13212 2015-09-16  Paul Eggert  <eggert@cs.ucla.edu>
13213             Paul Pluzhnikov  <ppluzhnikov@google.com>
13215         [BZ #18872]
13216         * stdio-common/Makefile (tst-printf-bz18872): New test.
13217         (tst-printf-bz18872-mem.out): Likewise.
13218         * stdio-common/tst-printf-bz18872.sh: Generate new test.
13219         * stdio-common/vfprintf.c: Fix memory leaks.
13221 2015-09-16  Andreas Schwab  <schwab@suse.de>
13223         [BZ #17244]
13224         * sysdeps/unix/sysv/linux/semctl.c (__old_semctl, __new_semctl):
13225         Remove extra va_start/va_end calls.
13227         [BZ #17243]
13228         * posix/execl.c (execl): Add missing va_end.
13229         * posix/execle.c (execle): Likewise.
13230         * posix/execlp.c (execlp): Likewise.
13232 2015-09-15  Roland McGrath  <roland@hack.frob.com>
13234         * misc/sys/param.h [!MAXHOSTNAMELEN && HOST_NAME_MAX]
13235         (MAXHOSTNAMELEN): Define it to HOST_NAME_MAX.
13237 2015-09-15  Joseph Myers  <joseph@codesourcery.com>
13239         [BZ #18967]
13240         * math/math.h (__MATH_DECLARING_DOUBLE): New macro.  Define and
13241         undefine around includes of <bits/mathcalls.h>.
13242         * math/bits/mathcalls.h [!__USE_MISC && __USE_XOPEN2K] (isnan): Do
13243         not declare function.
13244         [!__USE_MISC && __USE_XOPEN2K] (gamma): Likewise.
13245         [!__USE_MISC && (!__MATH_DECLARING_DOUBLE || __USE_XOPEN2K8)]
13246         (scalb): Likewise.
13247         * math/tgmath.h [!__USE_MISC && __USE_XOPEN_EXTENDED] (scalb): Do
13248         not define macro.
13249         * conform/Makefile (test-xfail-XOPEN2K/math.h/conform): Remove
13250         variable.
13251         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
13252         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
13253         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
13255         [BZ #18857]
13256         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c (__nearbyintl): Just
13257         return non-finite argument without doing ordered comparisons on
13258         it.
13260         [BZ #16296]
13261         * math/fenv.h (fegetround): Use __attribute_pure__.
13262         * include/fenv.h (__fegetround): Likewise.
13264         [BZ #18595]
13265         * math/s_ctan.c (__ctan): Force underflow exception for results
13266         whose real or imaginary part has small absolute value.
13267         * math/s_ctanf.c (__ctanf): Likewise.
13268         * math/s_ctanh.c (__ctanh): Likewise.
13269         * math/s_ctanhf.c (__ctanhf): Likewise.
13270         * math/s_ctanhl.c (__ctanhl): Likewise.
13271         * math/s_ctanl.c (__ctanl): Likewise.
13272         * math/auto-libm-test-in: Do not allow missing underflow for ctan
13273         and ctanh.  Add more tests of ctan and ctanh.
13275         [BZ #15918]
13276         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Simplify
13277         handling of cases where one argument is an infinity.
13279         [BZ #18875]
13280         [BZ #18966]
13281         * sysdeps/i386/fpu/e_exp10.S (dbl_min): New object.
13282         (MO): New macro.
13283         (__ieee754_exp10): For small results, force underflow exception
13284         and remove excess range and precision from return value.
13285         * sysdeps/i386/fpu/e_exp10f.S (flt_min): New object.
13286         (MO): New macro.
13287         (__ieee754_exp10f): For small results, force underflow exception
13288         and remove excess range and precision from return value.
13289         * math/auto-libm-test-in: Add more tests of exp10.
13290         * math/auto-libm-test-out: Regenerated.
13292 2015-09-14  Joseph Myers  <joseph@codesourcery.com>
13294         [BZ #18875]
13295         [BZ #18961]
13296         * sysdeps/i386/fpu/e_exp.S (dbl_min): New object.
13297         (MO): New macro.
13298         (__ieee754_exp): For small results, force underflow exception and
13299         remove excess range and precision from return value.
13300         (__exp_finite): Likewise.
13301         * sysdeps/i386/fpu/e_expf.S (flt_min): New object.
13302         (MO): New macro.
13303         (__ieee754_expf): For small results, force underflow exception and
13304         remove excess range and precision from return value.
13305         (__expf_finite): Likewise.
13306         * math/auto-libm-test-in: Add more tests of exp.
13307         * math/auto-libm-test-out: Regenerated.
13309         [BZ #16521]
13310         [BZ #18875]
13311         * math/e_exp2l.c (__ieee754_exp2l): Force underflow exception for
13312         small results.
13313         * sysdeps/i386/fpu/e_exp2.S (dbl_min): New object.
13314         (MO): New macro.
13315         (__ieee754_exp2): For small results, force underflow exception and
13316         remove excess range and precision from return value.
13317         * sysdeps/i386/fpu/e_exp2f.S (flt_min): New object.
13318         (MO): New macro.
13319         (__ieee754_exp2f): For small results, force underflow exception
13320         and remove excess range and precision from return value.
13321         * sysdeps/i386/fpu/e_exp2l.S (ldbl_min): New object.
13322         (MO): New macro.
13323         (__ieee754_exp2l): Force underflow exception for small results.
13324         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
13325         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
13326         * sysdeps/x86_64/fpu/e_exp2l.S (ldbl_min): New object.
13327         (MO): New macro.
13328         (__ieee754_exp2l): Force underflow exception for small results.
13329         * math/auto-libm-test-in: Add more tests or exp2.
13330         * math/auto-libm-test-out: Regenerated.
13332 2015-09-14  Carlos O'Donell  <carlos@redhat.com>
13334         * malloc/malloc.c (systrim): Use ALIGN_DOWN.
13336         * Makefile ($(objpfx)check-local-headers.out): Redirect stdin from
13337         /dev/null.
13339 2015-09-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13341         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
13342         io fs process)): Drop spurious backslash.
13344 2015-09-12  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
13346         * sysdeps/unix/sysv/linux/getsysstats.c (__get_phys_pages):
13347         Use sysinfo system call instead of parsing /proc/meminfo.
13348         * sysdeps/unix/sysv/linux/getsysstats.c (__get_avphys_pages):
13349         Likewise.
13351 2015-09-11  Mike Frysinger  <vapier@gentoo.org>
13353         [BZ #16985]
13354         * programs/localedef.c (main): Display argv[remaining] when
13355         output_path is NULL.
13357 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
13359         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
13360         asinh, atan, atan2, atanh, cabs, carg, cos, csqrt, erfc, exp,
13361         exp10, exp2, log, log1p, log2, pow, sin, sincos, sinh, tan and
13362         tanh.
13363         * math/auto-libm-test-out: Regenerated.
13364         * sysdeps/i386/fpu/libm-test-ulps: Update.
13365         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
13366         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
13367         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13369 2015-09-11  Roland McGrath  <roland@hack.frob.com>
13371         * sysdeps/nacl/Makefile [$(subdir) = misc] (sysdep_headers):
13372         Use 'override' keyword to freeze the value here, preventing
13373         the addition of sys/mtio.h by sysdeps/gnu/Makefile.
13375 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
13377         [BZ #14912]
13378         * sysdeps/aarch64/bits/atomic.h: Move to ...
13379         * sysdeps/aarch64/atomic-machine.h: ...here.
13380         (_AARCH64_BITS_ATOMIC_H): Rename macro to
13381         _AARCH64_ATOMIC_MACHINE_H.
13382         * sysdeps/alpha/bits/atomic.h: Move to ...
13383         * sysdeps/alpha/atomic-machine.h: ...here.
13384         * sysdeps/arm/bits/atomic.h: Move to ...
13385         * sysdeps/arm/atomic-machine.h: ...here.  Update comments.
13386         * bits/atomic.h: Move to ...
13387         * sysdeps/generic/atomic-machine.h: ...here.
13388         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
13389         * sysdeps/i386/bits/atomic.h: Move to ...
13390         * sysdeps/i386/atomic-machine.h: ...here.
13391         * sysdeps/ia64/bits/atomic.h: Move to ...
13392         * sysdeps/ia64/atomic-machine.h: ...here.
13393         * sysdeps/m68k/coldfire/bits/atomic.h: Move to ...
13394         * sysdeps/m68k/coldfire/atomic-machine.h: ...here.
13395         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
13396         * sysdeps/m68k/m680x0/m68020/bits/atomic.h: Move to ...
13397         * sysdeps/m68k/m680x0/m68020/atomic-machine.h: ...here.
13398         * sysdeps/microblaze/bits/atomic.h: Move to ...
13399         * sysdeps/microblaze/atomic-machine.h: ...here.
13400         * sysdeps/mips/bits/atomic.h: Move to ...
13401         * sysdeps/mips/atomic-machine.h: ...here.
13402         (_MIPS_BITS_ATOMIC_H): Rename macro to _MIPS_ATOMIC_MACHINE_H.
13403         * sysdeps/powerpc/bits/atomic.h: Move to ...
13404         * sysdeps/powerpc/atomic-machine.h: ...here.  Update comments.
13405         * sysdeps/powerpc/powerpc32/bits/atomic.h: Move to ...
13406         * sysdeps/powerpc/powerpc32/atomic-machine.h: ...here.  Update
13407         comments.  Include <atomic-machine.h> instead of <bits/atomic.h>.
13408         * sysdeps/powerpc/powerpc64/bits/atomic.h: Move to ...
13409         * sysdeps/powerpc/powerpc64/atomic-machine.h: ...here.  Include
13410         <atomic-machine.h> instead of <bits/atomic.h>.
13411         * sysdeps/s390/bits/atomic.h: Move to ...
13412         * sysdeps/s390/atomic-machine.h: ...here.
13413         * sysdeps/sparc/sparc32/bits/atomic.h: Move to ...
13414         * sysdeps/sparc/sparc32/atomic-machine.h: ...here.
13415         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
13416         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h: Move to ...
13417         * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: ...here.
13418         * sysdeps/sparc/sparc64/bits/atomic.h: Move to ...
13419         * sysdeps/sparc/sparc64/atomic-machine.h: ...here.
13420         * sysdeps/tile/bits/atomic.h: Move to ...
13421         * sysdeps/tile/atomic-machine.h: ...here.
13422         * sysdeps/tile/tilegx/bits/atomic.h: Move to ...
13423         * sysdeps/tile/tilegx/atomic-machine.h: ...here.  Include
13424         <sysdeps/tile/atomic-machine.h> instead of
13425         <sysdeps/tile/bits/atomic.h>.
13426         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
13427         * sysdeps/tile/tilepro/bits/atomic.h: Move to ...
13428         * sysdeps/tile/tilepro/atomic-machine.h: ...here.  Include
13429         <sysdeps/tile/atomic-machine.h> instead of
13430         <sysdeps/tile/bits/atomic.h>.
13431         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
13432         * sysdeps/unix/sysv/linux/arm/bits/atomic.h: Move to ...
13433         * sysdeps/unix/sysv/linux/arm/atomic-machine.h: ...here.  Include
13434         <sysdeps/arm/atomic-machine.h> instead of
13435         <sysdeps/arm/bits/atomic.h>.
13436         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Move to ...
13437         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: ...here.
13438         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
13439         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Move to ...
13440         * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: ...here.
13441         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
13442         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: Move to ...
13443         * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: ...here.
13444         (_NIOS2_BITS_ATOMIC_H): Rename macro to _NIOS2_ATOMIC_MACHINE_H.
13445         * sysdeps/unix/sysv/linux/sh/bits/atomic.h: Move to ...
13446         * sysdeps/unix/sysv/linux/sh/atomic-machine.h: ...here.
13447         * sysdeps/x86_64/bits/atomic.h: Move to ...
13448         * sysdeps/x86_64/atomic-machine.h: ...here.
13449         * include/atomic.h: Include <atomic-machine.h> instead of
13450         <bits/atomic.h>.
13452         * sysdeps/mips/mips32/libm-test-ulps: Update.
13453         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
13455         [BZ #18952]
13456         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Do
13457         not convert non-integer negative arguments to int to determine the
13458         value of signgam.
13459         * math/auto-libm-test-in: Add more tests of lgamma.
13460         * math/auto-libm-test-out: Regenerated.
13462         * math/auto-libm-test-in: Add more tests of acosh, atanh, cbrt,
13463         cosh, csqrt, erfc, expm1 and lgamma.
13464         * math/auto-libm-test-out: Regenerated.
13465         * sysdeps/i386/fpu/libm-test-ulps: Update.
13466         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13468 2015-09-10  Joseph Myers  <joseph@codesourcery.com>
13470         [BZ #2542]
13471         [BZ #2543]
13472         [BZ #2558]
13473         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Call
13474         __lgamma_neg for arguments from -28.0 to -2.0.
13475         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Call
13476         __lgamma_negf for arguments from -15.0 to -2.0.
13477         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
13478         Call __lgamma_negl for arguments from -48.0 or -50.0 to -2.0.
13479         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (__ieee754_lgammal_r):
13480         Call __lgamma_negl for arguments from -33.0 to -2.0.
13481         * sysdeps/ieee754/dbl-64/lgamma_neg.c: New file.
13482         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
13483         * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
13484         * sysdeps/ieee754/flt-32/lgamma_productf.c: Likewise.
13485         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
13486         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
13487         * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
13488         * sysdeps/ieee754/ldbl-128ibm/lgamma_productl.c: Likewise.
13489         * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
13490         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
13491         * sysdeps/ieee754/ldbl-96/lgamma_productl.c: Likewise.
13492         * sysdeps/generic/math_private.h (__lgamma_negf): New prototype.
13493         (__lgamma_neg): Likewise.
13494         (__lgamma_negl): Likewise.
13495         (__lgamma_product): Likewise.
13496         (__lgamma_productl): Likewise.
13497         * math/Makefile (libm-calls): Add lgamma_neg and lgamma_product.
13498         * math/auto-libm-test-in: Add more tests of lgamma.
13499         * math/auto-libm-test-out: Regenerated.
13500         * sysdeps/i386/fpu/libm-test-ulps: Update.
13501         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13503 2015-09-09  Justin Maggard  <jmaggard@netgear.com>
13505         [BZ #18675]
13506         * sysdeps/posix/fpathconf.c (__fpathconf): Use __fstatvfs64.
13508 2015-09-08  Joseph Myers  <joseph@codesourcery.com>
13510         [BZ #14912]
13511         * bits/libc-lock.h: Move to ...
13512         * sysdeps/generic/libc-lock.h: ...here.
13513         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
13514         * sysdeps/mach/hurd/bits/libc-lock.h: Move to ...
13515         * sysdeps/mach/hurd/libc-lock.h: ...here.
13516         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
13517         [_LIBC]: Include <libc-lockP.h> instead of <bits/libc-lockP.h>.
13518         * sysdeps/mach/bits/libc-lock.h: Move to ...
13519         * sysdeps/mach/libc-lock.h: ...here.
13520         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
13521         * sysdeps/nptl/bits/libc-lock.h: Move to ...
13522         * sysdeps/nptl/libc-lock.h: ...here.
13523         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
13524         * sysdeps/nptl/bits/libc-lockP.h: Move to ...
13525         * sysdeps/nptl/libc-lockP.h: ...here.
13526         (_BITS_LIBC_LOCKP_H): Rename macro to _LIBC_LOCKP_H.
13527         * crypt/crypt_util.c: Include <libc-lock.h> instead of
13528         <bits/libc-lock.h>.
13529         * dirent/scandir-tail.c: Likewise.
13530         * dlfcn/dlerror.c: Likewise.
13531         * elf/dl-close.c: Likewise.
13532         * elf/dl-iteratephdr.c: Likewise.
13533         * elf/dl-lookup.c: Likewise.
13534         * elf/dl-open.c: Likewise.
13535         * elf/dl-support.c: Likewise.
13536         * elf/dl-writev.h: Likewise.
13537         * elf/rtld.c: Likewise.
13538         * grp/fgetgrent.c: Likewise.
13539         * gshadow/fgetsgent.c: Likewise.
13540         * gshadow/sgetsgent.c: Likewise.
13541         * iconv/gconv_conf.c: Likewise.
13542         * iconv/gconv_db.c: Likewise.
13543         * iconv/gconv_dl.c: Likewise.
13544         * iconv/gconv_int.h: Likewise.
13545         * iconv/gconv_trans.c: Likewise.
13546         * include/link.h: Likewise.
13547         * inet/getnameinfo.c: Likewise.
13548         * inet/getnetgrent.c: Likewise.
13549         * inet/getnetgrent_r.c: Likewise.
13550         * intl/bindtextdom.c: Likewise.
13551         * intl/dcigettext.c: Likewise.
13552         * intl/finddomain.c: Likewise.
13553         * intl/gettextP.h: Likewise.
13554         * intl/loadmsgcat.c: Likewise.
13555         * intl/localealias.c: Likewise.
13556         * intl/textdomain.c: Likewise.
13557         * libidn/idn-stub.c: Likewise.
13558         * libio/libioP.h: Likewise.
13559         * locale/duplocale.c: Likewise.
13560         * locale/freelocale.c: Likewise.
13561         * locale/newlocale.c: Likewise.
13562         * locale/setlocale.c: Likewise.
13563         * login/getutent_r.c: Likewise.
13564         * login/getutid_r.c: Likewise.
13565         * login/getutline_r.c: Likewise.
13566         * login/utmp-private.h: Likewise.
13567         * login/utmpname.c: Likewise.
13568         * malloc/mtrace.c: Likewise.
13569         * misc/efgcvt.c: Likewise.
13570         * misc/error.c: Likewise.
13571         * misc/fstab.c: Likewise.
13572         * misc/getpass.c: Likewise.
13573         * misc/mntent.c: Likewise.
13574         * misc/syslog.c: Likewise.
13575         * nis/nis_call.c: Likewise.
13576         * nis/nis_callback.c: Likewise.
13577         * nis/nss-default.c: Likewise.
13578         * nis/nss_compat/compat-grp.c: Likewise.
13579         * nis/nss_compat/compat-initgroups.c: Likewise.
13580         * nis/nss_compat/compat-pwd.c: Likewise.
13581         * nis/nss_compat/compat-spwd.c: Likewise.
13582         * nis/nss_nis/nis-alias.c: Likewise.
13583         * nis/nss_nis/nis-ethers.c: Likewise.
13584         * nis/nss_nis/nis-grp.c: Likewise.
13585         * nis/nss_nis/nis-hosts.c: Likewise.
13586         * nis/nss_nis/nis-network.c: Likewise.
13587         * nis/nss_nis/nis-proto.c: Likewise.
13588         * nis/nss_nis/nis-pwd.c: Likewise.
13589         * nis/nss_nis/nis-rpc.c: Likewise.
13590         * nis/nss_nis/nis-service.c: Likewise.
13591         * nis/nss_nis/nis-spwd.c: Likewise.
13592         * nis/nss_nisplus/nisplus-alias.c: Likewise.
13593         * nis/nss_nisplus/nisplus-ethers.c: Likewise.
13594         * nis/nss_nisplus/nisplus-grp.c: Likewise.
13595         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
13596         * nis/nss_nisplus/nisplus-initgroups.c: Likewise.
13597         * nis/nss_nisplus/nisplus-network.c: Likewise.
13598         * nis/nss_nisplus/nisplus-proto.c: Likewise.
13599         * nis/nss_nisplus/nisplus-pwd.c: Likewise.
13600         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
13601         * nis/nss_nisplus/nisplus-service.c: Likewise.
13602         * nis/nss_nisplus/nisplus-spwd.c: Likewise.
13603         * nis/ypclnt.c: Likewise.
13604         * nptl/libc_pthread_init.c: Likewise.
13605         * nss/getXXbyYY.c: Likewise.
13606         * nss/getXXent.c: Likewise.
13607         * nss/getXXent_r.c: Likewise.
13608         * nss/nss_db/db-XXX.c: Likewise.
13609         * nss/nss_db/db-netgrp.c: Likewise.
13610         * nss/nss_db/nss_db.h: Likewise.
13611         * nss/nss_files/files-XXX.c: Likewise.
13612         * nss/nss_files/files-alias.c: Likewise.
13613         * nss/nsswitch.c: Likewise.
13614         * posix/regex_internal.h: Likewise.
13615         * posix/wordexp.c: Likewise.
13616         * pwd/fgetpwent.c: Likewise.
13617         * resolv/res_hconf.c: Likewise.
13618         * resolv/res_libc.c: Likewise.
13619         * shadow/fgetspent.c: Likewise.
13620         * shadow/lckpwdf.c: Likewise.
13621         * shadow/sgetspent.c: Likewise.
13622         * socket/opensock.c: Likewise.
13623         * stdio-common/reg-modifier.c: Likewise.
13624         * stdio-common/reg-printf.c: Likewise.
13625         * stdio-common/reg-type.c: Likewise.
13626         * stdio-common/vfprintf.c: Likewise.
13627         * stdio-common/vfscanf.c: Likewise.
13628         * stdlib/abort.c: Likewise.
13629         * stdlib/cxa_atexit.c: Likewise.
13630         * stdlib/fmtmsg.c: Likewise.
13631         * stdlib/random.c: Likewise.
13632         * stdlib/setenv.c: Likewise.
13633         * string/strsignal.c: Likewise.
13634         * sunrpc/auth_none.c: Likewise.
13635         * sunrpc/bindrsvprt.c: Likewise.
13636         * sunrpc/create_xid.c: Likewise.
13637         * sunrpc/key_call.c: Likewise.
13638         * sunrpc/rpc_thread.c: Likewise.
13639         * sysdeps/arm/backtrace.c: Likewise.
13640         * sysdeps/generic/ldsodefs.h: Likewise.
13641         * sysdeps/generic/stdio-lock.h: Likewise.
13642         * sysdeps/generic/unwind-dw2-fde.c: Likewise.
13643         * sysdeps/i386/backtrace.c: Likewise.
13644         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
13645         * sysdeps/m68k/backtrace.c: Likewise.
13646         * sysdeps/mach/hurd/cthreads.c: Likewise.
13647         * sysdeps/mach/hurd/dirstream.h: Likewise.
13648         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
13649         * sysdeps/nptl/malloc-machine.h: Likewise.
13650         * sysdeps/nptl/stdio-lock.h: Likewise.
13651         * sysdeps/posix/dirstream.h: Likewise.
13652         * sysdeps/posix/getaddrinfo.c: Likewise.
13653         * sysdeps/posix/system.c: Likewise.
13654         * sysdeps/pthread/aio_suspend.c: Likewise.
13655         * sysdeps/s390/s390-32/backtrace.c: Likewise.
13656         * sysdeps/s390/s390-64/backtrace.c: Likewise.
13657         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
13658         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
13659         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c: Likewise.
13660         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c: Likewise.
13661         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c: Likewise.
13662         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
13663         * sysdeps/unix/sysv/linux/system.c: Likewise.
13664         * sysdeps/x86_64/backtrace.c: Likewise.
13665         * time/alt_digit.c: Likewise.
13666         * time/era.c: Likewise.
13667         * time/tzset.c: Likewise.
13668         * wcsmbs/wcsmbsload.c: Likewise.
13669         * nptl/tst-initializers1.c (do_test): Refer to <libc-lock.h>
13670         instead of <bits/libc-lock.h> in comment.
13672 2015-09-08  Andrew Bennett  <andrew.bennett@imgtec.com>
13674         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIO32] (MIPS_PUSH_MIPS2):
13675         Only use .set mips2 if the current ISA is below mips2.
13676         * sysdeps/mips/sys/tas.h [_MIPS_SIM == _ABIO32] (_test_and_set):
13677         Likewise.
13678         * sysdeps/mips/nptl/tls.h (READ_THREAD_POINTER): Only use .set
13679         mips32r2 if the current ISA is below mips32r2.
13680         * sysdeps/mips/tls-macros.h (TLS_RDHWR): New define.
13681         (TLS_IE): Updated to use the TLD_RDHWR macro.
13682         (TLS_LE): Likewise.
13683         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Moved out of #ifdef
13684         __ASSEMBLER__ condition.
13686 2015-09-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13688         Fix parallel build of before-compile targets.
13690         * sysdeps/mach/Makefile ($(patsubst
13691         mach%,m\%h%,$(mach-before-compile))): Move rule to dedicated
13692         mach-before-compile target.
13693         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
13694         io fs process)): Move rule to dedicated hurd-before-compile target.
13696 2015-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13698         Fix rules generating headers in hurd/ and mach/ when initial make call
13699         has subdir= explicitly set.
13701         * sysdeps/mach/Makefile ($(patsubst
13702         mach%,m\%h%,$(mach-before-compile))): Force subdir to mach when
13703         calling $(MAKE).
13704         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
13705         io fs process)): Force subdir to hurd when calling $(MAKE).
13706         ($(common-objpfx)hurd/../mach/RPC_task_get_sampled_pcs.c): Force
13707         subdir to mach when calling $(MAKE).
13709 2015-09-06  Manolis Ragkousis  <manolis837@gmail.com>
13711         Check sysheaders when looking for Mach and Hurd headers
13713         * sysdeps/mach/configure.ac: Add sysheaders check.
13714         * sysdeps/mach/configure: Regenerate.
13715         * sysdeps/mach/hurd/configure.ac: Add sysheaders check.
13716         * sysdeps/mach/hurd/configure: Regenerate.
13718 2015-09-04  Roland McGrath  <roland@hack.frob.com>
13720         [BZ #18921]
13721         * sysdeps/posix/opendir.c (need_isdir_precheck) [O_DIRECTORY]:
13722         Fix inverted sense of test of 'o_directory_works' value.
13723         Reported by Pádraig Brady <P@draigBrady.com>, diagnosed by
13724         Bernhard Voelker <mail@bernhard-voelker.de>.
13726 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
13728         [BZ #14912]
13729         * bits/linkmap.h: Move to ...
13730         * sysdeps/generic/linkmap.h: ...here.
13731         * sysdeps/aarch64/bits/linkmap.h: Move to ...
13732         * sysdeps/aarch64/linkmap.h: ...here.
13733         * sysdeps/arm/bits/linkmap.h: Move to ...
13734         * sysdeps/arm/linkmap.h: ...here.
13735         * sysdeps/hppa/bits/linkmap.h: Move to ...
13736         * sysdeps/hppa/linkmap.h: ...here.
13737         * sysdeps/ia64/bits/linkmap.h: Move to ...
13738         * sysdeps/ia64/linkmap.h: ...here.
13739         * sysdeps/mips/bits/linkmap.h: Move to ...
13740         * sysdeps/mips/linkmap.h: ...here.
13741         * sysdeps/s390/bits/linkmap.h: Move to ...
13742         * sysdeps/s390/linkmap.h: ...here.
13743         * sysdeps/sh/bits/linkmap.h: Move to ...
13744         * sysdeps/sh/linkmap.h: ...here.
13745         * sysdeps/x86/bits/linkmap.h: Move to ...
13746         * sysdeps/x86/linkmap.h: ...here.
13747         * include/link.h: Include <linkmap.h> instead of <bits/linkmap.h>.
13749 2015-09-04  Andreas Schwab  <schwab@suse.de>
13751         [BZ #18635]
13752         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S
13753         (__makecontext): Terminate FDE before return label.
13754         (__novec_makecontext): Likewise.
13756 2015-09-04  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
13758         * sysdeps/unix/sysv/linux/socketpair.c: Use the address of the
13759         first member of struct sv in syscall macro.
13761 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
13763         [BZ #14912]
13764         * bits/stdio-lock.h: Move to ...
13765         * sysdeps/generic/stdio-lock.h: ...here.
13766         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
13767         * sysdeps/nptl/bits/stdio-lock.h: Move to ...
13768         * sysdeps/nptl/stdio-lock.h: ...here.
13769         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
13770         * include/libio.h: Include <stdio-lock.h> instead of
13771         <bits/stdio-lock.h>.
13772         * sysdeps/nptl/fork.c: Likewise.
13773         * sysdeps/pthread/flockfile.c: Likewise.
13774         * sysdeps/pthread/ftrylockfile.c: Likewise.
13775         * sysdeps/pthread/funlockfile.c: Likewise.
13777         [BZ #14912]
13778         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Move to ...
13779         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: ...here.
13780         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Include
13781         <m68k-vdso.h> instead of <bits/m68k-vdso.h>.
13782         * sysdeps/unix/sysv/linux/m68k/init-first.c: Likewise.
13783         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
13784         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
13786 2015-09-03  Roland McGrath  <roland@hack.frob.com>
13788         * elf/Makefile (test-xfail-tst-protected1a): New variable.
13789         (test-xfail-tst-protected1b): New variable.
13791 2015-09-03  Joseph Myers  <joseph@codesourcery.com>
13793         [BZ #14912]
13794         * bits/libc-tsd.h: Move to ...
13795         * sysdeps/generic/libc-tsd.h: ...here.
13796         (_GENERIC_BITS_LIBC_TSD_H): Rename macro to _GENERIC_LIBC_TSD_H.
13797         * sysdeps/mach/hurd/bits/libc-tsd.h: Move to ...
13798         * sysdeps/mach/hurd/libc-tsd.h: ...here.
13799         (_BITS_LIBC_TSD_H): Rename macro to _LIBC_TSD_H.
13800         * include/ctype.h: Include <libc-tsd.h> instead of
13801         <bits/libc-tsd.h>.
13802         * include/rpc/rpc.h: Likewise.
13803         * locale/localeinfo.h: Likewise.
13804         * sunrpc/rpc_thread.c: Likewise.
13805         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
13806         * sysdeps/nptl/malloc-machine.h: Likewise.
13808         * Makefile (headers): Remove bits/libc-lock.h.
13809         * libio/Makefile (headers): Remove bits/stdio-lock.h.
13811         * libio/libio.h [_IO_MTSAFE_IO]: Remove include of
13812         <bits/stdio-lock.h> and commented-out include of <comthread.h>.
13813         * include/libio.h [!_ISOMAC && _IO_MTSAFE_IO]: Include
13814         <bits/stdio-lock.h>.
13815         * stdio-common/scanf15.c (_IO_MTSAFE_IO): Undefine.
13816         * stdio-common/scanf17.c (_IO_MTSAFE_IO): Likewise.
13818 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
13820         [BZ #18757]
13821         * libio/iofopncook.c (_IO_fopencookie): Set errno on failure.
13822         * libio/test-fmemopen.c (do_bz18820): Extend the test to cover
13823         BZ #18757.
13825 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
13827         * malloc/mtrace.pl: Filter out NULL entries.
13829 2015-09-01  Joseph Myers  <joseph@codesourcery.com>
13831         * inet/netinet/in.h (IPPROTO_MPLS): New enum value and macro.
13832         * sysdeps/unix/sysv/linux/bits/in.h (IP_BIND_ADDRESS_NO_PORT): New
13833         macro.
13835         * sysdeps/gnu/netinet/tcp.h (TCP_NOTSENT_LOWAT): New macro.
13836         (TCP_CC_INFO): Likewise.
13837         (TCP_SAVE_SYN): Likewise.
13838         (TCP_SAVED_SYN): Likewise.
13840 2015-08-31  Brett Neumeier <brett@neumeier.us>
13842         [BZ #18870]
13843         * sysdeps/sparc/sparc32/sem_open.c: Add missing #include
13845 2015-08-31  Paul Eggert  <eggert@cs.ucla.edu>
13847         [BZ #18873]
13848         Fix broken overflow check in posix_fallocate
13849         * sysdeps/posix/posix_fallocate.c (posix_fallocate):
13850         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
13851         Fix parenthesization typo.
13853 2015-08-28  Mike Frysinger  <vapier@gentoo.org>
13855         [BZ #18887]
13856         * misc/Makefile (tests): Add tst-mntent-blank-corrupt and
13857         tst-mntent-blank-passno.
13858         * misc/mntent_r.c (__getmntent_r): Do not read past buffer[0].
13859         * misc/tst-mntent-blank-corrupt.c: New test.
13860         * misc/tst-mntent-blank-passno.c: New test ripped from ...
13861         * misc/tst-mntent.c (do_test): ... here.
13863 2015-08-29  Mike Frysinger  <vapier@gentoo.org>
13865         [BZ #4404]
13866         * po/de.po: Fix SIGALRM typo.
13868 2015-08-28  James Perkins  <james@loowit.net>
13870         * time/tst-strptime2.c (tests): Replace short list of test
13871         strings for strptime %z specifier with code which exhaustively
13872         tests every combination of sign and 0 to 5 digits. Tests for
13873         rejection of invalid strings.
13875 2015-08-28  James Perkins  <james@loowit.net>
13877         [BZ #16141]
13878         * time/strptime_l.c (__strptime_internal): Fix %z minutes
13879         calculation, removing incorrect decimal time rounding, so that
13880         all minute values result in a valid seconds value.
13881         * time/strptime_l.c (__strptime_internal): Extend %z time zone
13882         offset range limits to UTC-99:59 through UTC+99:59 to parse
13883         current and historical use cases.
13884         * time/tst-strptime2.c (tests): Modify and add tests for the
13885         strptime %z input field descriptor, specifically conversion of
13886         minutes to seconds and validating an offset range of -9959 to
13887         +9959.
13889 2015-08-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13890             Dmitry V. Levin  <ldv@altlinux.org>
13892         [BZ #18877]
13893         * posix/Makefile (tests): Add tst-mmap-offset.
13894         * posix/tst-mmap.c: New file.
13895         * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c (__mmap): Fix
13896         offset calculation for negative values.
13898 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
13900         * sysdeps/i386/init-arch.h: New file.
13901         * sysdeps/i386/i586/init-arch.h: Likewise.
13902         * sysdeps/i386/i686/init-arch.h: Likewise.
13903         * sysdeps/x86/cpu-features.c (init_cpu_features): Set bit_I586
13904         bit if CX8 is available.  Set bit_I686 bit if CMOV is available.
13905         * sysdeps/x86/cpu-features.h (bit_I586): New.
13906         (bit_I686): Likewise.
13907         (bit_CX8): Likewise.
13908         (bit_CMOV): Likewise.
13909         (index_CX8): Likewise.
13910         (index_CMOV): Likewise.
13911         (index_I586): Likewise.
13912         (index_I686): Likewise.
13913         (reg_CX8): Likewise.
13914         (reg_CMOV): Likewise.
13915         (HAS_I586): Defined as HAS_ARCH_FEATURE (I586) if i586 isn't
13916         available at compile-time.
13917         (HAS_I686): Defined as HAS_ARCH_FEATURE (I686) if i686 isn't
13918         available at compile-time.
13919         * sysdeps/x86/init-arch.h (USE_I586): New macro.
13920         (USE_I686): Likewise.
13922 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
13924         * sysdeps/i386/bcopy.S: New file.
13925         * sysdeps/i386/bzero.S: Likewise.
13926         * sysdeps/i386/memcpy.S: Likewise.
13927         * sysdeps/i386/memmove.S: Likewise.
13928         * sysdeps/i386/mempcpy.S: Likewise.
13929         * sysdeps/i386/memset.S: Likewise.
13930         * sysdeps/i386/bzero.c: Removed.
13931         * sysdeps/i386/memset.c: Likewise.
13932         * sysdeps/i386/i586/memcpy_chk.S: Likewise.
13933         * sysdeps/i386/i586/mempcpy_chk.S: Likewise.
13934         * sysdeps/i386/i586/memset_chk.S: Likewise.
13935         * sysdeps/i386/i686/memcpy_chk.S: Moved to ...
13936         * sysdeps/i386/memcpy_chk.S: Here.
13937         * sysdeps/i386/i686/memmove_chk.S: Moved to ...
13938         * sysdeps/i386/memmove_chk.S: Here.
13939         * sysdeps/i386/i686/mempcpy_chk.S: Moved to ...
13940         * sysdeps/i386/mempcpy_chk.S: Likewise.
13941         * sysdeps/i386/i686/memset_chk.S: Moved to ...
13942         * sysdeps/i386/memset_chk.S: Likewise.
13944 2015-08-27  Steve Ellcey  <sellcey@imgtec.com>
13946         * soft-fp/fmasf4.c: Add include of sys/cdefs.h.
13947         Move DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT to front of
13948         file, move DIAG_POP_NEEDS_COMMENT to end of file.
13949         * soft-fp/fmadf4.c: Ditto.
13950         * soft-fp/fmatf4.c: Ditto.
13952 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
13954         * sysdeps/i386/i586/Implies: Removed.
13955         * sysdeps/i386/i686/Implies: Likewise.
13957 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
13959         * sysdeps/i386/i486/strlen.S: Moved to ...
13960         * sysdeps/i386/strlen.S: Here.
13962 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
13964         * sysdeps/i386/i486/strcat.S: Moved to ...
13965         * sysdeps/i386/strcat.S: Here.
13967 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
13969         * sysdeps/i386/i486/pthread_spin_trylock.S: Moved to ...
13970         * sysdeps/i386/pthread_spin_trylock.S: Here.
13971         * sysdeps/i386/i586/pthread_spin_trylock.S: Removed.
13972         * sysdeps/i386/i686/pthread_spin_trylock.S: Updated.
13974 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
13976         * sysdeps/i386/i486/string-inlines.c: Moved to ...
13977         * sysdeps/i386/string-inlines.c: Here.
13979 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
13981         * sysdeps/i386/i486/htonl.S: Moved ...
13982         * sysdeps/i386/htonl.S: here.
13984 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
13986         * sysdeps/i386/i486/bits/atomic.h: Moved to ...
13987         * sysdeps/i386/bits/atomic.h: Here.
13989 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
13991         * sysdeps/i386/i486/Versions: Removed.
13993 2015-08-27  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
13995         [BZ #2898]
13996         * misc/mktemp.c: Add mkdtemp to the link_warning message.
13997         Based on patch by Aurelien Jarno.
13999 2015-08-26  Stan Shebs  <stanshebs@google.com>
14001         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <libc-internal.h>.
14002         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
14004 2015-08-26  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
14006         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_HTM_NOSC.
14007         * sysdeps/powerpc/dl-procinfo.c:
14008         (_dl_powerpc_cap_flags): Added descriptor for this hwcap
14009         feature so it shows when LD_SHOW_AUXV=1.
14011 2015-08-26  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14013         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
14014         (__arch_compare_and_exchange_val_32_acq): Remove and use common
14015         definition.  ISA 2.07B no longer requires full sync.
14017 2015-08-26  Mike Frysinger  <vapier@gentoo.org>
14019         [BZ #18863]
14020         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (siginfo_t): Add _sigsys.
14021         (si_call_addr): Define.
14022         (si_syscall): Define.
14023         (si_arch): Define.
14025 2015-08-26  H.J. Lu  <hongjiu.lu@intel.com>
14027         * sysdeps/i386/i586/bzero.S (USE_AS_BZERO): New.
14028         * sysdeps/i386/i686/bzero.S (USE_AS_BZERO): Likewise.
14029         * sysdeps/i386/i586/memset.S (BZERO_P): Removed.
14030         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
14031         (__memset_zero_constant_len_parameter): New.
14032         * sysdeps/i386/i686/memset.S (BZERO_P): Removed.
14033         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
14034         (__memset_zero_constant_len_parameter): Don't define if
14035         __memset_chk or USE_AS_BZERO are defined.
14037         * sysdeps/i386/i586/memcpy.S (MEMPCPY_P): Removed.
14038         Check USE_AS_MEMPCPY/SHARED instead of MEMPCPY_P/PIC.
14039         * sysdeps/i386/i586/mempcpy.S (USE_AS_MEMPCPY): New.
14041         * sysdeps/x86/Makefile [$(subdir) == elf] (CFLAGS-.os,
14042         tests-special, $(objpfx)tst-ld-sse-use.out): Moved to ...
14043         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os,
14044         tests-special, $(objpfx)tst-ld-sse-use.out): Here.  Update
14045         comments.
14046         * sysdeps/x86_64/Makefile [$(subdir) == elf] (CFLAGS-.os): Add
14047         -mno-mmx for $(all-rtld-routines).
14048         * sysdeps/x86/tst-ld-sse-use.sh: Moved to ...
14049         * sysdeps/i386/tst-ld-sse-use.sh: Here.  Replace x86-64 with
14050         i386.
14052 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
14054         * sysdeps/generic/unwind.h
14055         (_Unwind_Word): Use __mode__(__unwind_word__)
14056         instead of __mode__(__word__).
14057         (_Unwind_Sword): Likewise.
14059         * sysdeps/s390/s390-64/utf8-utf16-z9.c
14060         (MAX_NEEDED_INPUT): New define.
14061         (MAX_NEEDED_OUTPUT): New define.
14063         * NEWS: New item for IBM z13 string optimizations.
14065         * sysdeps/s390/multiarch/memrchr-c.c: New File.
14066         * sysdeps/s390/multiarch/memrchr-vx.S: Likewise.
14067         * sysdeps/s390/multiarch/memrchr.c: Likewise.
14068         * sysdeps/s390/multiarch/Makefile
14069         (sysdep_routines): Add memrchr functions.
14070         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
14071         (__libc_ifunc_impl_list_common): Add ifunc test for memrchr.
14073         * sysdeps/s390/multiarch/wmemcmp-c.c: New File.
14074         * sysdeps/s390/multiarch/wmemcmp-vx.S: Likewise.
14075         * sysdeps/s390/multiarch/wmemcmp.c: Likewise.
14076         * sysdeps/s390/multiarch/Makefile
14077         (sysdep_routines): Add wmemcmp functions.
14078         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
14079         (__libc_ifunc_impl_list_common): Add ifunc test for wmemcmp.
14080         * benchtests/bench-wmemcmp.c: New File.
14081         * benchtests/Makefile (wcsmbs-bench): Add wmemcmp.
14083         * sysdeps/s390/multiarch/wmemset-c.c: New File.
14084         * sysdeps/s390/multiarch/wmemset-vx.S: Likewise.
14085         * sysdeps/s390/multiarch/wmemset.c: Likewise.
14086         * sysdeps/s390/multiarch/Makefile
14087         (sysdep_routines): Add wmemset functions.
14088         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
14089         (__libc_ifunc_impl_list_common): Add ifunc test for wmemset.
14090         * wcsmbs/wmemset.c: Use WMEMSET if defined.
14091         * string/test-memset.c: Add wmemset support.
14092         * wcsmbs/test-wmemset.c: New File.
14093         * wcsmbs/Makefile (strop-tests): Add wmemset.
14094         * benchtests/bench-memset.c: Add wmemset support.
14095         * benchtests/bench-wmemset.c: New File.
14096         * benchtests/Makefile (wcsmbs-bench): Add wmemset.
14098         * sysdeps/s390/multiarch/memccpy-c.c: New File.
14099         * sysdeps/s390/multiarch/memccpy-vx.S: Likewise.
14100         * sysdeps/s390/multiarch/memccpy.c: Likewise.
14101         * sysdeps/s390/multiarch/Makefile
14102         (sysdep_routines): Add memccpy functions.
14103         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
14104         (__libc_ifunc_impl_list_common): Add ifunc test for memccpy.
14105         * string/memccpy.c: Use MEMCCPY if defined.
14107         * sysdeps/s390/multiarch/memchr-vx.S: New File.
14108         * sysdeps/s390/multiarch/memchr.c: Likewise.
14109         * sysdeps/s390/multiarch/rawmemchr-c.c: Likewise.
14110         * sysdeps/s390/multiarch/rawmemchr-vx.S: Likewise.
14111         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
14112         * sysdeps/s390/multiarch/wmemchr-c.c: Likewise.
14113         * sysdeps/s390/multiarch/wmemchr-vx.S: Likewise.
14114         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
14115         * sysdeps/s390/s390-32/multiarch/memchr.c: Likewise.
14116         * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
14117         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memchr, wmemchr
14118         and rawmemchr functions.
14119         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
14120         (__libc_ifunc_impl_list_common): Add ifunc test for memchr, rawmemchr
14121         and wmemchr.
14122         * wcsmbs/wmemchr.c: Use WMEMCHR if defined.
14123         * string/test-memchr.c: Add wmemchr support.
14124         * wcsmbs/test-wmemchr.c: New File.
14125         * wcsmbs/Makefile (strop-tests): Add wmemchr.
14126         * benchtests/bench-memchr.c: Add wmemchr support.
14127         * benchtests/bench-wmemchr.c: New File.
14128         * benchtests/Makefile (wcsmbs-bench): wmemchr.
14130         * sysdeps/s390/multiarch/strcspn-c.c: New File.
14131         * sysdeps/s390/multiarch/strcspn-vx.S: Likewise.
14132         * sysdeps/s390/multiarch/strcspn.c: Likewise.
14133         * sysdeps/s390/multiarch/wcscspn-c.c: Likewise.
14134         * sysdeps/s390/multiarch/wcscspn-vx.S: Likewise.
14135         * sysdeps/s390/multiarch/wcscspn.c: Likewise.
14136         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcspn and
14137         wcscspn functions.
14138         * sysdeps/s390/multiarch/ifunc-impl-list.c
14139         (__libc_ifunc_impl_list): Add ifunc test for strcspn, wcscspn.
14140         * wcsmbs/wcscspn.c: Use WCSCSPN if defined.
14141         * string/test-strcspn.c: Add wcscspn support.
14142         * wcsmbs/test-wcscspn.c: New File.
14143         * wcsmbs/Makefile (strop-tests): Add wcscspn.
14144         * benchtests/bench-strcspn.c: Add wcscspn support.
14145         * benchtests/bench-wcscspn.c: New File.
14146         * benchtests/Makefile (wcsmbs-bench): Add wcscspn.
14148         * sysdeps/s390/multiarch/strpbrk-c.c: New File.
14149         * sysdeps/s390/multiarch/strpbrk-vx.S: Likewise.
14150         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
14151         * sysdeps/s390/multiarch/wcspbrk-c.c: Likewise.
14152         * sysdeps/s390/multiarch/wcspbrk-vx.S: Likewise.
14153         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
14154         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strpbrk and
14155         wcspbrk functions.
14156         * sysdeps/s390/multiarch/ifunc-impl-list.c
14157         (__libc_ifunc_impl_list): Add ifunc test for strpbrk, wcspbrk.
14158         * wcsmbs/wcspbrk.c: Use WCSPBRK if defined.
14159         * string/test-strpbrk.c: Add wcspbrk support.
14160         * wcsmbs/test-wcspbrk.c: New File.
14161         * wcsmbs/Makefile (strop-tests): Add wcspbrk.
14162         * benchtests/bench-strpbrk.c: Add wcspbrk support.
14163         * benchtests/bench-wcspbrk.c: New File.
14164         * benchtests/Makefile (wcsmbs-bench): Add wcspbrk.
14166         * sysdeps/s390/multiarch/strspn-c.c: New File.
14167         * sysdeps/s390/multiarch/strspn-vx.S: Likewise.
14168         * sysdeps/s390/multiarch/strspn.c: Likewise.
14169         * sysdeps/s390/multiarch/wcsspn-c.c: Likewise.
14170         * sysdeps/s390/multiarch/wcsspn-vx.S: Likewise.
14171         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
14172         * wcsmbs/wcsspn.c: Use WCSSPN if defined.
14173         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strspn and
14174         wcsspn functions.
14175         * sysdeps/s390/multiarch/ifunc-impl-list.c
14176         (__libc_ifunc_impl_list): Add ifunc test for strspn, wcsspn.
14177         * string/test-strspn.c: Add wcsspn support.
14178         * wcsmbs/test-wcsspn.c: New File.
14179         * wcsmbs/Makefile (strop-tests): Add wcsspn.
14180         * benchtests/bench-strspn.c: Add wcsspn support.
14181         * benchtests/bench-wcsspn.c: New File.
14182         * benchtests/Makefile (wcsmbs-bench): Add wcsspn.
14184         * sysdeps/s390/multiarch/strrchr-c.c: New File.
14185         * sysdeps/s390/multiarch/strrchr-vx.S: Likewise.
14186         * sysdeps/s390/multiarch/strrchr.c: Likewise.
14187         * sysdeps/s390/multiarch/wcsrchr-c.c: Likewise.
14188         * sysdeps/s390/multiarch/wcsrchr-vx.S: Likewise.
14189         * sysdeps/s390/multiarch/wcsrchr.c: Likewise.
14190         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strrchr and
14191         wcsrchr functions.
14192         * sysdeps/s390/multiarch/ifunc-impl-list.c
14193         (__libc_ifunc_impl_list): Add ifunc test for strrchr, wcsrchr.
14194         * benchtests/bench-wcsrchr.c: New File.
14195         * benchtests/Makefile (wcsmbs-bench): Add wcsrchr.
14197         * sysdeps/s390/multiarch/strchrnul-c.c: New File.
14198         * sysdeps/s390/multiarch/strchrnul-vx.S: Likewise.
14199         * sysdeps/s390/multiarch/strchrnul.c: Likewise.
14200         * sysdeps/s390/multiarch/wcschrnul-c.c: Likewise.
14201         * sysdeps/s390/multiarch/wcschrnul-vx.S: Likewise.
14202         * sysdeps/s390/multiarch/wcschrnul.c: Likewise.
14203         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchrnul and
14204         wcschrnul functions.
14205         * sysdeps/s390/multiarch/ifunc-impl-list.c
14206         (__libc_ifunc_impl_list): Add ifunc test for strchrnul, wcschrnul.
14207         * wcsmbs/wcschrnul.c: Use WCSCHRNUL if defined.
14208         * string/test-strchr.c: Add wcschrnul support.
14209         * wcsmbs/test-wcschrnul.c: New File.
14210         * wcsmbs/Makefile (strop-tests): Add wcschrnul.
14211         * benchtests/bench-strchr.c: Add wcschrnul support.
14212         * benchtests/bench-wcschrnul.c: New File.
14213         * benchtests/Makefile (wcsmbs-bench): Add wcschrnul.
14215         * sysdeps/s390/multiarch/strchr-c.c: New File.
14216         * sysdeps/s390/multiarch/strchr-vx.S: Likewise.
14217         * sysdeps/s390/multiarch/strchr.c: Likewise.
14218         * sysdeps/s390/multiarch/wcschr-c.c: Likewise.
14219         * sysdeps/s390/multiarch/wcschr-vx.S: Likewise.
14220         * sysdeps/s390/multiarch/wcschr.c: Likewise.
14221         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchr and
14222         wcschr functions.
14223         * sysdeps/s390/multiarch/ifunc-impl-list.c
14224         (__libc_ifunc_impl_list): Add ifunc test for strchr, wcschr.
14225         * string/strchr.c (STRCHR): Define and use macro.
14226         * benchtests/bench-wcschr.c: New File.
14227         * benchtests/Makefile (wcsmbs-bench): Add wcschr.
14229         * sysdeps/s390/multiarch/strncmp-c.c: New File.
14230         * sysdeps/s390/multiarch/strncmp-vx.S: Likewise.
14231         * sysdeps/s390/multiarch/strncmp.c: Likewise.
14232         * sysdeps/s390/multiarch/wcsncmp-c.c: Likewise.
14233         * sysdeps/s390/multiarch/wcsncmp-vx.S: Likewise.
14234         * sysdeps/s390/multiarch/wcsncmp.c: Likewise.
14235         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncmp and
14236         wcsncmp functions.
14237         * sysdeps/s390/multiarch/ifunc-impl-list.c
14238         (__libc_ifunc_impl_list): Add ifunc test for strncmp, wcsncmp.
14239         * wcsmbs/wcsncmp.c (WCSNCMP): Define and use macro.
14240         * benchtests/bench-strncmp.c: Add wcsncmp support.
14241         * benchtests/bench-wcsncmp.c: New File.
14242         * benchtests/Makefile (wcsmbs-bench): Add wcsncmp.
14244         * sysdeps/s390/multiarch/strcmp-vx.S: New File.
14245         * sysdeps/s390/multiarch/strcmp.c: Likewise.
14246         * sysdeps/s390/multiarch/wcscmp-c.c: Likewise.
14247         * sysdeps/s390/multiarch/wcscmp-vx.S: Likewise.
14248         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
14249         * sysdeps/s390/s390-32/multiarch/strcmp.c: Likewise.
14250         * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
14251         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcmp and
14252         wcscmp functions.
14253         * sysdeps/s390/multiarch/ifunc-impl-list.c
14254         (__libc_ifunc_impl_list): Add ifunc test for strcmp, wcscmp.
14255         * string/strcmp.c (STRCMP): Define and use macro.
14256         * benchtests/bench-wcscmp.c: New File.
14257         * benchtests/Makefile (wcsmbs-bench): Add wcscmp.
14258         * sysdeps/s390/bits/string.h: Fix typo: _HAVE_STRING_ARCH_strcmp
14259         instead of _HAVE_STRING_ARCH_memchr.
14261         * sysdeps/s390/multiarch/strncat-c.c: New File.
14262         * sysdeps/s390/multiarch/strncat-vx.S: Likewise.
14263         * sysdeps/s390/multiarch/strncat.c: Likewise.
14264         * sysdeps/s390/multiarch/wcsncat-c.c: Likewise.
14265         * sysdeps/s390/multiarch/wcsncat-vx.S: Likewise.
14266         * sysdeps/s390/multiarch/wcsncat.c: Likewise.
14267         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncat and
14268         wcsncat functions.
14269         * sysdeps/s390/multiarch/ifunc-impl-list.c
14270         (__libc_ifunc_impl_list): Add ifunc test for strncat, wcsncat.
14271         * wcsmbs/wcsncat.c (WCSNCAT): Define and use macro.
14272         * string/test-strncat.c: Add wcsncat support.
14273         * wcsmbs/test-wcsncat.c: New File.
14274         * wcsmbs/Makefile (strop-tests): Add wcsncat.
14275         * benchtests/bench-strncat.c: Add wcsncat support.
14276         * benchtests/bench-wcsncat.c: New File.
14277         * benchtests/Makefile (wcsmbs-bench): Add wcsncat.
14279         * sysdeps/s390/multiarch/strcat-c.c: New File.
14280         * sysdeps/s390/multiarch/strcat-vx.S: Likewise.
14281         * sysdeps/s390/multiarch/strcat.c: Likewise.
14282         * sysdeps/s390/multiarch/wcscat-c.c: Likewise.
14283         * sysdeps/s390/multiarch/wcscat-vx.S: Likewise.
14284         * sysdeps/s390/multiarch/wcscat.c: Likewise.
14285         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcat and
14286         wcscat functions.
14287         * sysdeps/s390/multiarch/ifunc-impl-list.c
14288         (__libc_ifunc_impl_list): Add ifunc test for strcat, wcscat.
14289         * string/strcat.c (STRCAT): Define and use macro.
14290         * wcsmbs/wcscat.c: Use WCSCAT if defined.
14291         * string/test-strcat.c: Add wcscat support.
14292         * wcsmbs/test-wcscat.c: New File.
14293         * wcsmbs/Makefile (strop-tests): Add wcscat.
14294         * benchtests/bench-strcat.c: Add wcscat support.
14295         * benchtests/bench-wcscat.c: New File.
14296         * benchtests/Makefile (wcsmbs-bench): Add wcscat.
14298         * sysdeps/s390/multiarch/stpncpy-c.c: New File.
14299         * sysdeps/s390/multiarch/stpncpy-vx.S: Likewise.
14300         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
14301         * sysdeps/s390/multiarch/wcpncpy-c.c: Likewise.
14302         * sysdeps/s390/multiarch/wcpncpy-vx.S: Likewise.
14303         * sysdeps/s390/multiarch/wcpncpy.c: Likewise.
14304         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpncpy and
14305         wcpncpy functions.
14306         * sysdeps/s390/multiarch/ifunc-impl-list.c
14307         (__libc_ifunc_impl_list): Add ifunc test for stpncpy, wcpncpy.
14308         * wcsmbs/wcpncpy.c: Use WCPNCPY if defined.
14309         * string/test-stpncpy.c: Add wcpncpy support.
14310         * wcsmbs/test-wcpncpy.c: New File.
14311         * wcsmbs/Makefile (strop-tests): Add wcpncpy.
14312         * benchtests/bench-stpncpy.c: Add wcpncpy support.
14313         * benchtests/bench-wcpncpy.c: New File.
14314         * benchtests/Makefile (wcsmbs-bench): Add wcpncpy.
14316         * sysdeps/s390/multiarch/strncpy-vx.S: New File.
14317         * sysdeps/s390/multiarch/strncpy.c: Likewise.
14318         * sysdeps/s390/multiarch/wcsncpy-c.c: Likewise.
14319         * sysdeps/s390/multiarch/wcsncpy-vx.S: Likewise.
14320         * sysdeps/s390/multiarch/wcsncpy.c: Likewise.
14321         * sysdeps/s390/s390-32/multiarch/strncpy.c: Likewise.
14322         * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
14323         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncpy and
14324         wcsncpy functions.
14325         * wcsmbs/wcsncpy.c: Use WCSNCPY if defined.
14326         * sysdeps/s390/multiarch/ifunc-impl-list.c
14327         (__libc_ifunc_impl_list): Add ifunc test for strncpy, wcsncpy.
14328         * string/test-strncpy.c: Add wcsncpy support.
14329         * wcsmbs/test-wcsncpy.c: New File.
14330         * wcsmbs/Makefile (strop-tests): Add wcsncpy.
14331         * benchtests/bench-strncpy.c: Add wcsncpy support.
14332         * benchtests/bench-wcsncpy.c: New File.
14333         * benchtests/Makefile (wcsmbs-bench): Add wcsncpy
14335         * sysdeps/s390/multiarch/stpcpy-c.c: New File.
14336         * sysdeps/s390/multiarch/stpcpy-vx.S: Likewise.
14337         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
14338         * sysdeps/s390/multiarch/wcpcpy-c.c: Likewise.
14339         * sysdeps/s390/multiarch/wcpcpy-vx.S: Likewise.
14340         * sysdeps/s390/multiarch/wcpcpy.c: Likewise.
14341         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpcpy and
14342         wcpcpy functions.
14343         * string/stpcpy.c: Use STPCPY if defined.
14344         * wcsmbs/wcpcpy.c: Use WCPCPY if defined.
14345         * sysdeps/s390/multiarch/ifunc-impl-list.c
14346         (__libc_ifunc_impl_list): Add ifunc test for stpcpy, wcpcpy.
14347         * string/test-stpcpy.c: Add wcpcpy support.
14348         * wcsmbs/test-wcpcpy.c: New File.
14349         * wcsmbs/Makefile (strop-tests): Add wcpcpy.
14350         * benchtests/bench-stpcpy.c: Add wcpcpy support.
14351         * benchtests/bench-wcpcpy.c: New File.
14352         * benchtests/Makefile (wcsmbs-bench): Add wcpcpy.
14354         * sysdeps/s390/multiarch/strcpy-vx.S: New File.
14355         * sysdeps/s390/multiarch/strcpy.c: Likewise.
14356         * sysdeps/s390/multiarch/wcscpy-c.c: Likewise.
14357         * sysdeps/s390/multiarch/wcscpy-vx.S: Likewise.
14358         * sysdeps/s390/multiarch/wcscpy.c: Likewise.
14359         * sysdeps/s390/s390-32/multiarch/strcpy.c: Likewise.
14360         * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
14361         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcpy and
14362         wcscpy functions.
14363         * sysdeps/s390/multiarch/ifunc-impl-list.c
14364         (__libc_ifunc_impl_list): Add ifunc test for strcpy, wcscpy.
14365         * benchtests/bench-wcscpy.c: New File.
14366         * benchtests/Makefile (wcsmbs-bench): Add wcscpy.
14368         * sysdeps/s390/multiarch/strnlen-c.c: New File.
14369         * sysdeps/s390/multiarch/strnlen-vx.S: Likewise.
14370         * sysdeps/s390/multiarch/strnlen.c: Likewise.
14371         * sysdeps/s390/multiarch/wcsnlen-c.c: Likewise.
14372         * sysdeps/s390/multiarch/wcsnlen-vx.S: Likewise.
14373         * sysdeps/s390/multiarch/wcsnlen.c: Likewise.
14374         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strnlen and
14375         wcsnlen functions.
14376         * sysdeps/s390/multiarch/ifunc-impl-list.c
14377         (__libc_ifunc_impl_list): Add ifunc test for strnlen, wcsnlen.
14378         * wcsmbs/wcsnlen.c: Use WCSNLEN if defined.
14379         * string/test-strnlen.c: Add wcsnlen support.
14380         * wcsmbs/test-wcsnlen.c: New File.
14381         * wcsmbs/Makefile (strop-tests): Add wcsnlen.
14382         * benchtests/bench-strnlen.c: Add wcsnlen support.
14383         * benchtests/bench-wcsnlen.c: New File.
14384         * benchtests/Makefile (wcsmbs-bench): Add wcsnlen.
14386         * sysdeps/s390/multiarch/Makefile: New File.
14387         * sysdeps/s390/multiarch/strlen-c.c: Likewise.
14388         * sysdeps/s390/multiarch/strlen-vx.S: Likewise.
14389         * sysdeps/s390/multiarch/strlen.c: Likewise.
14390         * sysdeps/s390/multiarch/wcslen-c.c: Likewise.
14391         * sysdeps/s390/multiarch/wcslen-vx.S: Likewise.
14392         * sysdeps/s390/multiarch/wcslen.c: Likewise.
14393         * string/strlen.c (STRLEN): Define and use macro.
14394         * sysdeps/s390/multiarch/ifunc-impl-list.c
14395         (IFUNC_VX_IMPL): New macro function.
14396         (__libc_ifunc_impl_list): Add ifunc test for strlen, wcslen.
14397         * benchtests/Makefile (wcsmbs-bench): New variable.
14398         (string-bench-all): Added wcsmbs-bench.
14399         * benchtests/bench-wcslen.c: New File.
14401         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_vx_libc_ifunc,
14402         s390_vx_libc_ifunc2): New macro function.
14404         * config.h.in (HAVE_S390_VX_ASM_SUPPORT): New macro undefine.
14405         * sysdeps/s390/configure.ac: Add test for S390 vector instruction
14406         assembler support.
14407         * sysdeps/s390/configure: Regenerated.
14409         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z13.
14410         * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
14412         * sysdeps/s390/dl-procinfo.c (_dl_s390_platforms): Add vector flag.
14413         * sysdeps/s390/dl-procinfo.h: Add vector capability.
14414         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h (HWCAP_S390_VX): Define.
14416         * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
14417         Remove ifunc-resolve, add memset-s390, memcpy-s390, memcmp-s390.
14418         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Delete File.
14419         * sysdeps/s390/s390-32/multiarch/memcmp.S: Move to ...
14420         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: ... here.
14421         (memcmp, bcmp): Use __memcmp_default as alias source.
14422         * sysdeps/s390/s390-32/multiarch/memcmp.c: New File.
14423         * sysdeps/s390/s390-32/memcmp.S (__memcmp_g5):
14424         Rename to __memcmp_default.
14425         * sysdeps/s390/s390-32/multiarch/memcpy.S: Move to ...
14426         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: ... here.
14427         (memcpy): Use __memcpy_default as alias source.
14428         * sysdeps/s390/s390-32/multiarch/memcpy.c: New File.
14429         * sysdeps/s390/s390-32/memcpy.S (__memcpy_g5):
14430         Rename to __memcpy_default.
14431         * sysdeps/s390/s390-32/multiarch/memset.S: Move to ...
14432         * sysdeps/s390/s390-32/multiarch/memset-s390.S: ... here.
14433         (memset): Use __memset_default as alias source.
14434         * sysdeps/s390/s390-32/multiarch/memset.c: New File.
14435         * sysdeps/s390/s390-32/memset.S (__memset_g5):
14436         Rename to __memset_default.
14437         * sysdeps/s390/s390-64/multiarch/Makefile (sysdep_routines):
14438         Remove ifunc-resolve, add memset-s390x, memcpy-s390x, memcmp-s390x.
14439         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Delete File.
14440         * sysdeps/s390/s390-64/multiarch/memcmp.S: Move to ...
14441         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: ... here.
14442         (memcmp, bcmp): Use __memcmp_default as alias source.
14443         * sysdeps/s390/s390-64/multiarch/memcmp.c: New File.
14444         * sysdeps/s390/s390-64/memcmp.S (__memcmp_z900):
14445         Rename to __memcmp_default.
14446         * sysdeps/s390/s390-64/multiarch/memcpy.S: Move to ...
14447         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: ... here.
14448         (memcpy): Use __memcpy_default as alias source.
14449         * sysdeps/s390/s390-64/multiarch/memcpy.c: New File.
14450         * sysdeps/s390/s390-64/memcpy.S (__memcpy_z900):
14451         Rename to __memcpy_default.
14452         * sysdeps/s390/s390-64/multiarch/memset.S: Move to ...
14453         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: ... here.
14454         (memset): Use __memset_default as alias source.
14455         * sysdeps/s390/s390-64/multiarch/memset.c: New File.
14456         * sysdeps/s390/s390-64/memset.S (__memset_z900):
14457         Rename to __memset_default.
14458         * sysdeps/s390/multiarch/ifunc-resolve.h: New File.
14459         * sysdeps/s390/multiarch/ifunc-impl-list.c: New File.
14461         [BZ #18610]
14462         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Rename
14463         __ieee_instruction_pointer to __unused.
14464         * sysdeps/s390/fpu/fesetenv.c (__fesetenv): Remove usage of
14465         __ieee_instruction_pointer.
14466         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Fix dxc-field handling.
14467         * sysdeps/s390/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
14468         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
14469         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
14470         * sysdeps/s390/fpu/fpu_control.h (_FPU_RESERVED):
14471         Mark dxc-field as reserved.
14473 2015-08-25  Roland McGrath  <roland@hack.frob.com>
14475         * sysdeps/nacl/start.c (_start): Call __nacl_main instead of main
14476         if the weak reference is not null.
14478 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
14480         * sysdeps/x86_64/strcmp.S: Remove "#if !IS_IN (libc)".
14482         [BZ #11214]
14483         * sysdeps/unix/sysv/linux/Makefile (tst-getpid2-ENV): Removed.
14485 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
14487         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: Define new macros.
14488         * sysdeps/unix/sysv/linux/accept.c: Call direct system call.
14489         * sysdeps/unix/sysv/linux/bind.c: Call direct system call.
14490         * sysdeps/unix/sysv/linux/connect.c: Call direct system call.
14491         * sysdeps/unix/sysv/linux/getpeername.c: Call direct system call.
14492         * sysdeps/unix/sysv/linux/getsockname.c: Call direct system call.
14493         * sysdeps/unix/sysv/linux/getsockopt.c: Call direct system call.
14494         * sysdeps/unix/sysv/linux/listen.c: Call direct system call.
14495         * sysdeps/unix/sysv/linux/recv.c: Call direct system call.
14496         * sysdeps/unix/sysv/linux/recvfrom.c: Call direct system call.
14497         * sysdeps/unix/sysv/linux/recvmsg.c: Call direct system call.
14498         * sysdeps/unix/sysv/linux/send.c: Call direct system call.
14499         * sysdeps/unix/sysv/linux/sendmsg.c: Call direct system call.
14500         * sysdeps/unix/sysv/linux/sendto.c: Call direct system call.
14501         * sysdeps/unix/sysv/linux/setsockopt.c: Call direct system call.
14502         * sysdeps/unix/sysv/linux/shutdown.c: Call direct system call.
14503         * sysdeps/unix/sysv/linux/socket.c: Call direct system call.
14504         * sysdeps/unix/sysv/linux/socketpair.c: Call direct system call.
14506 2015-08-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14508         * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION): Use
14509         register other than r0 for tabort, it has special meaning.
14510         * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION): Likewise.
14511         * sysdeps/unix.sysv/linux/powerpc/syscall.S (syscall): Abort
14512         transaction before starting syscall.
14514 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
14516         * sysdeps/powerpc/powerpc64/power7/strstr.S: Handle worst case.
14518 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
14520         * sysdeps/x86_64/strlen.S: Replace %xmm[8-12] with %xmm[0-4].
14522         * sysdeps/x86_64/rtld-memcmp.c: Removed.
14523         * sysdeps/x86_64/rtld-memset.S: Likewise.
14524         * sysdeps/x86_64/rtld-strchr.S: Likewise.
14525         * sysdeps/x86_64/rtld-strlen.S: Likewise.
14526         * sysdeps/x86_64/multiarch/rtld-memcmp.c: Likewise.
14527         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
14529         * sysdeps/x86_64/memset.S: Replace %xmm8 with %xmm0.
14531 2015-08-25  Ondřej Bílka  <neleai@seznam.cz>
14533         * debug/strcpy_chk.c: Improve performance.
14534         * debug/stpcpy_chk.c: Likewise.
14535         * sysdeps/x86_64/strcpy_chk.S: Remove.
14536         * sysdeps/x86_64/stpcpy_chk.S: Remove.
14538         [BZ #18240]
14539         * misc/hsearch_r.c (__hcreate_r): Handle overflow.
14541 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
14543         [BZ #15128]
14544         * sysdeps/x86_64/Makefile [$(subdir) == elf] (tests): Add
14545         ifuncmain8.
14546         (modules-names): Add ifuncmod8.
14547         ($(objpfx)ifuncmain8): New rule.
14548         * sysdeps/x86_64/dl-machine.h: Include <dl-procinfo.h> and
14549         <cpuid.h>.
14550         (elf_machine_runtime_setup): Use _dl_runtime_resolve_sse,
14551         _dl_runtime_resolve_avx, or _dl_runtime_resolve_avx512,
14552         _dl_runtime_profile_sse, _dl_runtime_profile_avx, or
14553         _dl_runtime_profile_avx512, based on HAS_ARCH_FEATURE.
14554         * sysdeps/x86_64/dl-trampoline.S: Rewrite.
14555         * sysdeps/x86_64/dl-trampoline.h: Likewise.
14556         * sysdeps/x86_64/ifuncmain8.c: New file.
14557         * sysdeps/x86_64/ifuncmod8.c: Likewise.
14558         * sysdeps/x86_64/nptl/tcb-offsets.sym (RTLD_SAVESPACE_SSE):
14559         Removed.
14560         * sysdeps/x86_64/nptl/tls.h (__128bits): Removed.
14561         (tcbhead_t): Change rtld_must_xmm_save to __glibc_unused1.
14562         Change rtld_savespace_sse to __glibc_unused2.
14563         (RTLD_CHECK_FOREIGN_CALL): Removed.
14564         (RTLD_ENABLE_FOREIGN_CALL): Likewise.
14565         (RTLD_PREPARE_FOREIGN_CALL): Likewise.
14566         (RTLD_FINALIZE_FOREIGN_CALL): Likewise.
14568 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
14570         * sysdeps/aarch64/bzero.S (__bzero): Remove.
14572 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
14574         * sysdeps/aarch64/fpu/math_private.h (libc_feholdsetround_aarch64_ctx):
14575         Unconditionally set __fpcr to avoid uninialized warning.
14576         (libc_feholdsetround_noex_aarch64_ctx): Likewise.
14578 2015-08-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
14580         * malloc/arena.c (arena_get_retry): Don't use main_arena if it
14581         is corrupt.
14583         * malloc/arena.c (arena_get2): Drop unused argument.
14584         (arena_lock): Adjust.
14585         (arena_get_retry): Likewise.
14587 2015-08-24  Andreas Schwab  <schwab@suse.de>
14589         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_IPC64):
14590         Don't define.
14591         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
14592         (__ASSUME_IPC64): Don't undef.
14593         * sysdeps/unix/sysv/linux/msgctl.c: Don't check for __ASSUME_IPC64.
14594         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
14595         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
14596         * sysdeps/unix/sysv/linux/i386/msgctl.c: Remove.
14597         * sysdeps/unix/sysv/linux/i386/semctl.c: Remove.
14598         * sysdeps/unix/sysv/linux/i386/shmctl.c: Remove.
14599         * sysdeps/unix/sysv/linux/m68k/msgctl.c: Remove.
14600         * sysdeps/unix/sysv/linux/m68k/semctl.c: Remove.
14601         * sysdeps/unix/sysv/linux/m68k/shmctl.c: Remove.
14602         * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: Remove.
14603         * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: Remove.
14604         * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: Remove.
14605         * sysdeps/unix/sysv/linux/sh/msgctl.c: Remove.
14606         * sysdeps/unix/sysv/linux/sh/semctl.c: Remove.
14607         * sysdeps/unix/sysv/linux/sh/shmctl.c: Remove.
14608         * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: Remove.
14609         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Remove.
14610         * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: Remove.
14611         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Remove.
14612         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Remove.
14613         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Remove.
14615 2015-08-21  Mike Frysinger  <vapier@gentoo.org>
14617         * manual/Makefile (install): Only build manual when perl is available.
14619 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
14621         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Replace
14622         '#undef memcpy' by '#undef memchr'.
14624 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
14626         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: Make
14627         memchr not point to the internal __GI_memchr implementation.
14629 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
14631         * timezone/Makefile (CFLAGS-zdump.c): Remove
14632         -Wno-strict-prototypes.
14633         (CFLAGS-zic.c): Likewise.
14634         (CFLAGS-ialloc.c): Likewise.
14635         (CFLAGS-scheck.c): Likewise.
14637         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Do not add
14638         -Wno-error=undef.
14640 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
14642         * i386/i686/multiarch/strcasestr-c.c: Removed.
14643         * x86_64/multiarch/strcasestr.c: Likewise.
14644         * x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
14645         Remove strcasestr.
14647 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
14649         * math/Makefile (CFLAGS): Don't add -Wno-uninitialized.
14651         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Always initialize
14652         variables for high and low parts before possibly modifying them.
14654 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
14656         * sysdeps/i386/i686/multiarch/init-arch.h: Removed.
14657         * sysdeps/unix/sysv/linux/x86/init-arch.h: Likewise.
14658         * sysdeps/x86_64/cacheinfo.c: Include <init-arch.h> instead
14659         of "multiarch/init-arch.h".
14660         * sysdeps/x86_64/multiarch/init-arch.h: Renamed to ...
14661         * sysdeps/x86/init-arch.h: This.
14663 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
14665         * sysdeps/i386/i686/multiarch/init-arch.c: Removed.
14666         * sysdeps/unix/sysv/linux/x86/init-arch.c: Likewise.
14668 2015-08-20  Ondřej Bílka  <neleai@seznam.cz>
14670         [BZ #17787]
14671         * manual/macros.texi: Add twoexp macro.
14672         * manual/filesys.texi: Fix exponents.
14673         * manual/llio.texi: Likewise.
14674         * manual/stdio.texi: Likewise.
14676 2015-08-20  Florian Weimer  <fweimer@redhat.com>
14678         * sysdeps/x86/elide.h (ELIDE_UNLOCK): Document crash due to
14679         incorrect use.
14681 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
14683         [BZ #18370]
14684         * math/s_csqrt.c (__csqrt): Force underflow exception for results
14685         whose real or imaginary part has small absolute value.
14686         * math/s_csqrtf.c (__csqrtf): Likewise.
14687         * math/s_csqrtl.c (__csqrtl): Likewise.
14688         * math/auto-libm-test-in: Add more tests of csqrt.
14689         * math/auto-libm-test-out: Regenerated.
14690         * sysdeps/i386/fpu/libm-test-ulps: Update.
14692 2015-08-19  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
14694         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_set_ppr_med_high,
14695         __ppc_set_ppr_very_low): New functions.
14696         * manual/platform.texi: Add documentation about
14697         __ppc_set_ppr_med_high and __ppc_set_ppr_very_low.
14699 2015-08-19  Wilco Dijkstra  <wdijkstr@arm.com>
14701         * string/stpncpy.c (stpncpy): Improve performance using
14702         __strnlen/memcpy/memset.
14704 2015-08-19  Andrew Senkevich  <andrew.senkevich@intel.com>
14706         [BZ #18796]
14707         * scripts/test-installation.pl: Don't add -lmvec to build options if
14708         libmvec wasn't built.
14710 2015-08-19   Petar Jovanovic  <petar.jovanovic@rt-rk.com>
14712         [BZ #14341]
14713         * elf/dynamic-link.h (elf_machine_lazy_rel): Properly handle the
14714         case when there is a gap between DT_REL and DT_JMPREL sections.
14715         * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc.
14716         (LDFLAGS-tst-split-dynreloc): New.
14717         (tst-split-dynreloc-ENV): Likewise.
14718         * sysdeps/x86_64/tst-split-dynreloc.c: New file.
14719         * sysdeps/x86_64/tst-split-dynreloc.lds: Likewise.
14721 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
14723         [BZ #18822]
14724         * sysdeps/unix/sysv/linux/xstatconv.h (__xstat_conv): Add
14725         attribute_hidden.
14726         (__xstat64_conv): Likewise.
14727         (__xstat32_conv): Likewise.
14729 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
14731         [BZ #18822]
14732         * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
14733         Don't load %ebx when calling __setcontext.  Call __setcontext
14734         with HIDDEN_JUMPTARGET.
14735         * sysdeps/unix/sysv/linux/i386/setcontext.S (__setcontext): Add
14736         libc_hidden_def.
14738 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
14740         * sysdeps/i386/i686/Makefile
14741         [$(subdir) == string] (sysdep_routines): Moved to ...
14742         * sysdeps/i386/Makefile: Here.
14743         * sysdeps/i386/i686/cacheinfo.c: Moved to ...
14744         * sysdeps/i386/cacheinfo.c: Here.
14745         * sysdeps/unix/sysv/linux/i386/sysconf.c: Removed.
14746         * sysdeps/unix/sysv/linux/i386/i686/sysconf.c: Likewise.
14747         * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Moved to ...
14748         * sysdeps/unix/sysv/linux/x86/sysconf.c: Here.
14750 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
14752         * sysdeps/x86/cpu-features.h (HAS_I586): Defined to 1 if
14753         __i586__ is defined.
14754         (HAS_I686): Defined to 1 if __i686__ is defined.
14756 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
14758         * elf/Makefile [$(have-z-execstack) = yes]
14759         (CPPFLAGS-tst-execstack.c): New variable.
14761         * login/tst-utmp.c [_HAVE_UT_TYPE || defined UTMPX]: Change
14762         conditional to [defined UTMPX || _HAVE_UT_TYPE].
14763         [_HAVE_UT_TV || defined UTMPX]: Change conditional to [defined
14764         UTMPX || _HAVE_UT_TV].
14765         [_HAVE_UT_TV - 0 || defined UTMPX]: Change conditional to [defined
14766         UTMPX || _HAVE_UT_TV - 0].
14768 2015-08-18  Joseph Myers  <joseph@codesourcery.com>
14770         * sysdeps/mips/dl-machine.h [__mips_isa_rev < 6]: Change
14771         conditionals to [!defined __mips_isa_rev || __mips_isa_rev < 6].
14772         * sysdeps/mips/machine-gmon.h [__mips_isa_rev < 6]: Likewise.
14774 2015-08-18  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
14776         * sysdeps/powerpc/dl-procinfo.c:
14777         (_dl_powerpc_cap_flags): Added missing strings for some
14778         hwcap features.
14779         * sysdeps/powerpc/dl-procinfo.h: Updated hwcap bit count.
14781 2015-08-18  Paul Eggert  <eggert@cs.ucla.edu>
14783         Port the 0x7efe...feff pattern to GCC 6.
14784         See Steve Ellcey's bug report in:
14785         https://sourceware.org/ml/libc-alpha/2015-07/msg00673.html
14786         * string/memrchr.c (MEMRCHR):
14787         * string/rawmemchr.c (RAWMEMCHR):
14788         * string/strchr.c (strchr):
14789         * string/strchrnul.c (STRCHRNUL):
14790         Rewrite code to avoid issues with signed shift overflow.
14792 2015-08-18  H.J. Lu  <hongjiu.lu@intel.com>
14794         * sysdeps/x86/cpu-features.c (init_cpu_features): Check
14795         whether cpuid is available only if HAS_CPUID is 0.
14796         * sysdeps/x86/cpu-features.h (HAS_CPUID): New.
14797         (HAS_I586): Likewise.
14798         (HAS_I686): Likewise.
14800 2015-08-18  Zack Weinberg  <zackw@panix.com>
14802         * misc/Versions (libc): Add GLIBC_2.23.
14804 2015-08-18  Alan Modra  <amodra@gmail.com>
14806         [BZ #18421]
14807         * sysdeps/hppa/start.S [SHARED]: Use .section .data.rel.ro and define
14808         .Lp__global.
14809         (_start): Load %dp via .Lp__global.
14810         [!SHARED]: Use .section .rodata.
14812 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
14814         * sysdeps/unix/sysv/linux/hppa/bits/timerfd.h: New file.
14815         * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Delete.
14817 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
14819         * sysdeps/unix/sysv/linux/hppa/bits/signalfd.h: New file.
14820         * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h: Delete.
14822 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
14824         * sysdeps/unix/sysv/linux/hppa/bits/inotify.h: New file.
14825         * sysdeps/unix/sysv/linux/hppa/sys/inotify.h: Delete.
14827 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
14829         * sysdeps/unix/sysv/linux/hppa/bits/eventfd.h: New file.
14830         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Delete.
14832 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
14834         * sysdeps/unix/sysv/linux/hppa/bits/epoll.h: New file.
14835         * sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Delete.
14837 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
14839         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h (SA_RESETHAND,
14840         SA_NODEFER, SA_RESTART): Define when __USE_XOPEN2K8 is defined.
14842 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
14844         * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHM_EXEC): Define.
14846 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
14848         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Delete
14849         kernel-features.h include.  Delete __ASSUME_LWS_CAS checks.
14850         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
14851         (__ASSUME_LWS_CAS): Delete.
14853 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
14855         * sysdeps/hppa/configure.ac: Delete binutils tls checks.
14856         * sysdeps/hppa/configure: Regenerated.
14857         * sysdeps/hppa/dl-machine.h: Delete USE_TLS and USE___THREAD checks.
14858         * sysdeps/hppa/libc-tls.c: Delete USE_TLS checks.
14859         * sysdeps/hppa/nptl/tls.h: Likewise.
14861 2015-08-17  Joseph Myers  <joseph@codesourcery.com>
14863         [BZ #18823]
14864         * math/s_csqrt.c (__csqrt): Increase threshold and scale factor
14865         for scaling up small arguments.
14866         * math/s_csqrtf.c (__csqrtf): Likewise.
14867         * math/s_csqrtl.c (__csqrtl): Likewise.
14868         * math/auto-libm-test-in: Add more tests of csqrt.
14869         * math/auto-libm-test-out: Regenerated.
14871 2015-08-17  Andreas Schwab  <schwab@suse.de>
14873         * sysdeps/unix/sysv/linux/powerpc/Versions (libm): Add empty
14874         version set GLIBC_2.19.
14876 2015-08-16  Zack Weinberg  <zackw@panix.com>
14878         [BZ #18681]
14879         * misc/regexp.h: This interface is no longer supported.
14880         Remove all contents, leaving only an #error directive.
14881         * misc/regexp.c (loc1, loc2, locs, step, advance):
14882         Demote to compatibility symbols.
14884 2015-08-15  Paul Pluzhnikov  <ppluzhnikov@google.com>
14886         [BZ #18084]
14887         * debug/tst-backtrace2.c (do_test): Add test for BZ #18084.
14888         * sysdeps/arm/backtrace.c (__backtrace): Handle size <= 0.
14889         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
14890         * sysdeps/m68k/backtrace.c (__backtrace): Likewise.
14891         * sysdeps/microblaze/backtrace.c (__backtrace): Likewise.
14892         * sysdeps/s390/s390-32/backtrace.c (__backtrace): Likewise.
14893         * sysdeps/s390/s390-64/backtrace.c (__backtrace): Likewise.
14894         * sysdeps/sparc/backtrace.c (__backtrace): Likewise.
14895         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
14897 2015-08-15  Zack Weinberg  <zackw@panix.com>
14899         [BZ #18795]
14900         * string/bits/string3.h (stpncpy): Call __stpncpy_chk if the
14901         buffer length is known to be too large, not if it's known to be
14902         small enough.
14903         * debug/tst-chk1.c (do_test): Do all tests for catching a buffer
14904         overflow at runtime, involving a length parameter, twice: once
14905         with a compile-time constant length parameter, once without.
14907 2015-08-14  Joseph Myers  <joseph@codesourcery.com>
14909         [BZ #18824]
14910         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Increase threshold for
14911         scaling x * y up instead of down.
14912         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
14913         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
14914         * math/auto-libm-test-in: Add more tests of fma.
14915         * math/auto-libm-test-out: Regenerated.
14917 2015-08-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
14919         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
14921 2015-08-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
14923         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove
14924         unnecessary movq.
14925         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint):
14926         Likewise.
14928 2015-08-13  Joseph Myers  <joseph@codesourcery.com>
14930         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
14931         asinh, atan, atan2, atanh, cabs, cbrt, cosh, csqrt, erf, erfc,
14932         exp, exp2, lgamma, log, log1p, log2, pow, sin, sincos, tan, tanh
14933         and tgamma.
14934         * math/auto-libm-test-out: Regenerated.
14935         * sysdeps/i386/fpu/libm-test-ulps: Update.
14936         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14938         [BZ #16520]
14939         * sysdeps/ieee754/dbl-64/s_tanh.c: Include <float.h>.
14940         (__tanh): Force underflow exception for arguments with small
14941         absolute value.
14942         * sysdeps/ieee754/flt-32/s_tanhf.c: Include <float.h>.
14943         (__tanhf): Force underflow exception for arguments with small
14944         absolute value.
14945         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include <float.h>.
14946         (__tanhl): Force underflow exception for arguments with small
14947         absolute value.
14948         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Include <float.h>.
14949         (__tanhl): Force underflow exception for arguments with small
14950         absolute value.
14951         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include <float.h>.
14952         (__tanhl): Force underflow exception for arguments with small
14953         absolute value.
14954         * math/auto-libm-test-in: Add more tests of tanh.
14955         * math/auto-libm-test-out: Regenerated.
14956         * sysdeps/i386/fpu/libm-test-ulps: Update.
14958 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
14960         * sysdeps/x86/cpu-features.c (init_cpu_features): Call
14961         __get_cpuid_max if not compiling for i586, i686 nor x86-64.
14963 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
14965         * sysdeps/unix/sysv/linux/x86/elision-conf.h: Don't include
14966         <cpuid.h>.
14968 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
14970         * sysdeps/unix/sysv/linux/x86/elision-conf.c (elision_init):
14971         Replace HAS_RTM with HAS_CPU_FEATURE (RTM).
14973 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
14975         * math/Makefile ($(addprefix $(objpfx), $(libm-vec-tests))):
14976         Remove $(objpfx)init-arch.o.
14977         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Remove
14978         init-arch.
14979         * sysdeps/x86_64/fpu/math-tests-arch.h (avx_usable): Removed.
14980         (INIT_ARCH_EXT): Defined as empty.
14981         (CHECK_ARCH_EXT): Replace HAS_XXX with HAS_ARCH_FEATURE (XXX).
14982         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Remove
14983         __init_cpu_features call.  Replace HAS_XXX with
14984         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
14985         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Likewise.
14986         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Likewise.
14987         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Likewise.
14988         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Likewise.
14989         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
14990         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Likewise.
14991         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Likewise.
14992         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
14993         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Likewise.
14994         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Likewise.
14995         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
14996         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Likewise.
14997         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Likewise.
14998         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
14999         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Likewise.
15000         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Likewise.
15001         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
15002         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
15003         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: Likewise.
15004         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: Likewise.
15005         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
15006         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: Likewise.
15007         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: Likewise.
15008         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
15009         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: Likewise.
15010         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: Likewise.
15011         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
15012         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: Likewise.
15013         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: Likewise.
15014         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
15015         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S: Likewise.
15016         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S: Likewise.
15017         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
15018         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: Likewise.
15019         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: Likewise.
15021 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
15023         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Replace HAS_XXX
15024         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
15025         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
15026         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
15027         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Likewise.
15028         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Likewise.
15029         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Likewise.
15030         * sysdeps/i386/i686/multiarch/s_fma.c: Likewise.
15031         * sysdeps/i386/i686/multiarch/s_fmaf.c: Likewise.
15032         * sysdeps/i386/i686/multiarch/bcopy.S: Remove __init_cpu_features
15033         call.  Merge SHARED and !SHARED.  Add LOAD_GOT_AND_RTLD_GLOBAL_RO.
15034         Use LOAD_FUNC_GOT_EAX to load function address.  Replace HAS_XXX
15035         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
15036         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
15037         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
15038         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
15039         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
15040         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
15041         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
15042         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
15043         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
15044         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
15045         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
15046         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
15047         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
15048         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
15049         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
15050         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
15051         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
15052         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
15053         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
15054         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
15055         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
15056         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
15057         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
15058         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
15059         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
15060         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
15061         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
15062         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
15063         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
15064         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
15065         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
15067 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
15069         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Replace HAS_XXX with
15070         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
15071         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
15072         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
15073         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
15074         * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
15075         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
15076         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Likewise.
15077         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
15078         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
15079         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
15080         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Use
15081         LOAD_RTLD_GLOBAL_RO_RDX and HAS_CPU_FEATURE (SSE4_1).
15082         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Likewise.
15083         * sysdeps/x86_64/fpu/multiarch/s_floor.S: Likewise.
15084         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Likewise.
15085         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S : Likewise.
15086         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Likewise.
15087         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Likewise.
15088         * sysdeps/x86_64/fpu/multiarch/s_rintf.S : Likewise.
15089         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
15090         * sysdeps/x86_64/multiarch/sched_cpucount.c: Likewise.
15091         * sysdeps/x86_64/multiarch/strstr.c: Likewise.
15092         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
15093         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
15094         * sysdeps/x86_64/multiarch/test-multiarch.c: Likewise.
15095         * sysdeps/x86_64/multiarch/memcmp.S: Remove __init_cpu_features
15096         call.  Add LOAD_RTLD_GLOBAL_RO_RDX.  Replace HAS_XXX with
15097         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
15098         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
15099         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
15100         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
15101         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
15102         * sysdeps/x86_64/multiarch/memset.S: Likewise.
15103         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
15104         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
15105         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
15106         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
15107         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
15108         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
15109         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
15110         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
15111         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
15113 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
15115         * sysdeps/i386/dl-machine.h: Include <cpu-features.c>.
15116         (dl_platform_init): Call init_cpu_features.
15117         * sysdeps/i386/dl-procinfo.c (_dl_x86_cpu_features): New.
15118         * sysdeps/i386/i686/cacheinfo.c
15119         (DISABLE_PREFERRED_MEMORY_INSTRUCTION): Removed.
15120         * sysdeps/i386/i686/multiarch/Makefile (aux): Remove init-arch.
15121         * sysdeps/i386/i686/multiarch/Versions: Removed.
15122         * sysdeps/i386/i686/multiarch/ifunc-defines.sym (KIND_OFFSET):
15123         Removed.
15124         * sysdeps/i386/ldsodefs.h: Include <cpu-features.h>.
15125         * sysdeps/unix/sysv/linux/x86/Makefile
15126         (libpthread-sysdep_routines): Remove init-arch.
15127         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include
15128         <sysdeps/x86_64/dl-procinfo.c> instead of
15129         sysdeps/generic/dl-procinfo.c>.
15130         * sysdeps/x86/Makefile [$(subdir) == csu] (gen-as-const-headers):
15131         Add cpu-features-offsets.sym and rtld-global-offsets.sym.
15132         [$(subdir) == elf] (sysdep-dl-routines): Add dl-get-cpu-features.
15133         [$(subdir) == elf] (tests): Add tst-get-cpu-features.
15134         [$(subdir) == elf] (tests-static): Add
15135         tst-get-cpu-features-static.
15136         * sysdeps/x86/Versions: New file.
15137         * sysdeps/x86/cpu-features-offsets.sym: Likewise.
15138         * sysdeps/x86/cpu-features.c: Likewise.
15139         * sysdeps/x86/cpu-features.h: Likewise.
15140         * sysdeps/x86/dl-get-cpu-features.c: Likewise.
15141         * sysdeps/x86/libc-start.c: Likewise.
15142         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
15143         * sysdeps/x86/tst-get-cpu-features-static.c: Likewise.
15144         * sysdeps/x86/tst-get-cpu-features.c: Likewise.
15145         * sysdeps/x86_64/dl-procinfo.c: Likewise.
15146         * sysdeps/x86_64/cacheinfo.c (__cpuid_count): Removed.
15147         Assume USE_MULTIARCH is defined and don't check it.
15148         (is_intel): Replace __cpu_features with GLRO(dl_x86_cpu_features).
15149         (is_amd): Likewise.
15150         (max_cpuid): Likewise.
15151         (intel_check_word): Likewise.
15152         (__cache_sysconf): Don't call __init_cpu_features.
15153         (__x86_preferred_memory_instruction): Removed.
15154         (init_cacheinfo): Don't call __init_cpu_features. Replace
15155         __cpu_features with GLRO(dl_x86_cpu_features).
15156         * sysdeps/x86_64/dl-machine.h: <cpu-features.c>.
15157         (dl_platform_init): Call init_cpu_features.
15158         * sysdeps/x86_64/ldsodefs.h: Include <cpu-features.h>.
15159         * sysdeps/x86_64/multiarch/Makefile (aux): Remove init-arch.
15160         * sysdeps/x86_64/multiarch/Versions: Removed.
15161         * sysdeps/x86_64/multiarch/cacheinfo.c: Likewise.
15162         * sysdeps/x86_64/multiarch/init-arch.c: Likewise.
15163         * sysdeps/x86_64/multiarch/ifunc-defines.sym (KIND_OFFSET):
15164         Removed.
15165         * sysdeps/x86_64/multiarch/init-arch.h: Rewrite.
15167 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
15169         [BZ #18820]
15170         * libio/Makefile (test-fmemopen-mem): New test.
15171         * libio/test-fmemopen.c (do_bz18820): New test.
15172         * libio/fmemopen.c (__fmemopen): Fix memory leak.
15173         * libio/oldfmemopen.c (__old_fmemopen): Likewise.
15175 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
15177         [BZ #16734]
15178         * libio/libioP.h (ROUND_TO_PAGE, ALLOC_BUF, ALLOC_WBUF): Delete.
15179         (FREE_BUF): Delete.
15180         * libio/libio.h (_IO_FILE_complete): Delete unused _freeres_size.
15181         * libio/genops.c (_IO_setb): Use malloc and free directly.
15182         (_IO_default_doallocate, _IO_default_finish): Likewise.
15183         ( _IO_unbuffer_all): Likewise.
15184         ( libc_freeres_fn): Likewise.
15185         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
15186         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
15187         * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Likewise.
15188         (_IO_wdefault_doallocate): Likewise.
15190 2015-08-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
15192         [BZ #18086]
15193         * sysdeps/posix/nice.c (nice): Restore old errno.
15194         * posix/tst-nice.c (do_test): Add test for BZ #18086.
15196 2015-08-10  Ondrej Bilka  <neleai@seznam.cz>
15198         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Fix ifunc.
15200 2015-08-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15202         * sysdeps/powerpc/powerpc64/power7/memmove.S (bcopy): Changing to
15203         __bcopy and add a weak_alias to bcopy.
15204         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen
15205         for static build.
15207         * string/stpcpy.c (__stpcpy): Use STPCPY to redefine symbol name and
15208         cleanup macro usage.
15209         * string/strcpy.c (strcpt): Use STRCPY to redefine symbol name.
15210         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.S: Remove file.
15211         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
15212         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.S: Likewise.
15213         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
15214         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: Likewise.
15215         * sysdeps/powerpc/powerpc64/power7/strcpy.S: Likewise.
15216         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
15217         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
15218         * sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
15219         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
15220         [SHARED && IS_IN (libc)]: Include <string/strcpy.c>.
15221         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
15222         [SHARED && IS_IN (libc)]: Include <string/stpcpy.c>.
15223         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
15224         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: Likewise.
15225         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: Likewise.
15226         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: Likewise.
15227         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
15229         * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add
15230         libc_hidden_def.
15231         (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def.
15233         * sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
15234         (sysdep_routines): Add strstr-ppc64.
15235         * sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
15237 2015-08-10  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
15239         [BZ #18778]
15240         * elf/Makefile (tests): Add Add tst-nodelete2.
15241         (modules-names): Add tst-nodelete2mod.
15242         (tst-nodelete2mod.so-no-z-defs): New.
15243         ($(objpfx)tst-nodelete2): Likewise.
15244         ($(objpfx)tst-nodelete2.out): Likewise.
15245         (LDFLAGS-tst-nodelete2): Likewise.
15246         * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
15247         out of loop through all loaded libraries.
15248         * elf/tst-nodelete2.c: New file.
15249         * elf/tst-nodelete2mod.c: Likewise.
15250         * elf/tst-znodelete-zlib.cc: Delete.
15252 2015-08-11  Andreas Schwab  <schwab@suse.de>
15254         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define.
15255         * sysdeps/unix/sysv/linux/wordsize-64/openat.c
15256         (__openat64_nocancel): Likewise.
15258 2015-08-11  Joseph Myers  <joseph@codesourcery.com>
15260         * math/auto-libm-test-in: Add more tests of acosh, asin, asinh,
15261         atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10,
15262         expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma.
15263         * math/auto-libm-test-out: Regenerated.
15264         * sysdeps/i386/fpu/libm-test-ulps: Update.
15265         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15267 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
15269         [BZ #18790]
15270         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase
15271         threshold for returning +/- 1.
15272         * math/auto-libm-test-in: Add more tests of tanh.
15273         * math/auto-libm-test-out: Regenerated.
15274         * sysdeps/i386/fpu/libm-test-ulps: Update.
15276 2015-08-10  Andreas Schwab  <schwab@suse.de>
15278         [BZ #18781]
15279         * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add
15280         MORE_OFLAGS to oflag.
15281         * io/test-lfs.c (do_test): Test openat64.
15283 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
15285         [BZ #18789]
15286         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use
15287         smaller threshold for returning the argument.
15288         * math/auto-libm-test-in: Add more tests of sinh.
15289         * math/auto-libm-test-out: Regenerated.
15290         * sysdeps/i386/fpu/libm-test-ulps: Update.
15292 2015-08-09  H.J. Lu  <hongjiu.lu@intel.com>
15294         [BZ #18674]
15295         * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing
15296         break.
15298 2015-08-09  Andreas Schwab  <schwab@linux-m68k.org>
15300         * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define.
15301         (generated): Don't add $(addprefix z.,$(tzfiles)).
15303 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
15305         * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
15306         * scripts/sysd-rules.awk: Likewise.
15308 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
15310         * iconvdata/tst-tables.sh: Change echo -n to printf.
15311         * nss/db-Makefile: Likewise.
15312         * posix/tst-getconf.sh: Likewise.
15313         * stdio-common/tst-unbputc.sh: Likewise.
15315 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
15317         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all
15318         MADV_*_PAGES defines behind this feature check.
15320 2015-08-09  John David Anglin  <danglin@gcc.gnu.org>
15322         [BZ #18480]
15323         * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
15324         LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
15325         Define.
15326         (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
15327         LOAD_REGS_5, LOAD_REGS_6): Update.
15328         (INTERNAL_SYSCALL): Update using new LOAD defines.
15329         (INTERNAL_SYSCALL_NCS): Likewise.
15330         * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
15332 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
15334         [BZ #16734]
15335         * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
15337 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
15339         [BZ #17905]
15340         * catgets/Makefile (tst-catgets-mem): New test.
15341         * catgets/catgets.c (catopen): Don't use unbounded alloca.
15342         * catgets/open_catalog.c (__open_catalog): Likewise.
15343         * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
15345 2015-08-08  John David Anglin  <danglin@gcc.gnu.org>
15347         [BZ #18787]
15348         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
15349         clobber registers.
15350         (atomic_compare_and_exchange_val_acq): Use register asms to assign
15351         operand registers.  Use register %r20 for EAGAIN and EDEADLOCK checks.
15352         Cast return to __typeof (oldval).
15354 2015-08-08  Mike Frysinger  <vapier@gentoo.org>
15356         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
15357         in _LINUX_MICROBLAZE_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h
15358         and delete sys/syscall.h include.
15360 2015-08-07  Joseph Myers  <joseph@codesourcery.com>
15362         [BZ #16517]
15363         * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
15364         (tan): Force underflow exception for arguments with small absolute
15365         value.
15366         * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
15367         (__kernel_tanf): Force underflow exception for arguments with
15368         small absolute value.
15369         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
15370         (__kernel_tanl): Force underflow exception for arguments with
15371         small absolute value.
15372         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
15373         (__kernel_tanl): Force underflow exception for arguments with
15374         small absolute value.
15375         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
15376         (__kernel_tanl): Force underflow exception for arguments with
15377         small absolute value.
15378         * math/auto-libm-test-in: Add more tests of tan.
15379         * math/auto-libm-test-out: Regenerated.
15381 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15383         Fix sysdeps/i386/fpu/s_scalbn.S build
15385         * math/Versions (libc: GLIBC_2_22): New (empty) version set.
15387 2015-08-07  Mike Frysinger  <vapier@gentoo.org>
15389         * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
15391 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15393         Fix gcrt0.o compilation
15395         When static-start-installed-name is different from
15396         start-installed-name, we must not use the shared objects.
15398         * csu/Makefile
15399         (extra-objs): Add gmon-start.o when building shared library and
15400         $(static-start-installed-name) is different from
15401         $(start-installed-name).
15402         $(objpfx)g$(static-start-installed-name): When building shared
15403         library and $(static-start-installed-name) is different from
15404         $(static-start-installed-name), revert to non-shared rule,
15405         i.e. using $(objpfx)% and gmon-start.o.
15407 2015-08-06  Joseph Myers  <joseph@codesourcery.com>
15409         [BZ #16519]
15410         * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
15411         (__ieee754_sinh): Force underflow exception for arguments with
15412         small absolute value.
15413         * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
15414         (__ieee754_sinhf): Force underflow exception for arguments with
15415         small absolute value.
15416         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
15417         (__ieee754_sinhl): Force underflow exception for arguments with
15418         small absolute value.
15419         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
15420         (__ieee754_sinhl): Force underflow exception for arguments with
15421         small absolute value.
15422         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
15423         (__ieee754_sinhl): Force underflow exception for arguments with
15424         small absolute value.
15425         * math/auto-libm-test-in: Add more tests of sinh.
15426         * math/auto-libm-test-out: Regenerated.
15427         * sysdeps/i386/fpu/libm-test-ulps: Update.
15429 2015-08-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
15431         * libio/oldfileops.c: Include unistd.h.
15433 2015-08-06  Mike Frysinger  <vapier@gentoo.org>
15435         * stdlib/isomac.c: Include ctype.h.
15437 2015-08-06  Arjun Shankar  <arjun.is@lostca.se>
15439         * dirent/tst-seekdir.c (main): Converted to ...
15440         (do_test): ... this.
15441         (TEST_FUNCTION): New macro.
15442         Include test-skeleton.c.
15443         * elf/tst-dlmodcount.c (main): Converted to ...
15444         (do_test): ... this.
15445         (TEST_FUNCTION): New macro.
15446         Include test-skeleton.c.
15447         * elf/tst-order-main.c (main): Converted to ...
15448         (do_test): ... this.
15449         (TEST_FUNCTION): New macro.
15450         Include test-skeleton.c.
15451         * elf/tst-pie2.c (main): Converted to ...
15452         (do_test): ... this.
15453         (TEST_FUNCTION): New macro.
15454         Include test-skeleton.c.
15455         * inet/tst-ether_aton.c (main): Converted to ...
15456         (do_test): ... this.
15457         (TEST_FUNCTION): New macro.
15458         Include test-skeleton.c.
15459         * misc/tst-mntent.c (main): Converted to ...
15460         (do_test): ... this.
15461         (TEST_FUNCTION): New macro.
15462         Include test-skeleton.c.
15463         * misc/tst-tsearch.c (main): Converted to ...
15464         (do_test): ... this.
15465         (TEST_FUNCTION): New macro.
15466         Include test-skeleton.c.
15467         * posix/tst-regexloc.c (main): Converted to ...
15468         (do_test): ... this.
15469         (TEST_FUNCTION): New macro.
15470         Include test-skeleton.c.
15471         * resolv/tst-aton.c (main): Converted to ...
15472         (do_test): ... this.
15473         (TEST_FUNCTION): New macro.
15474         Include test-skeleton.c.
15475         * stdio-common/test-fwrite.c (main): Converted to ...
15476         (do_test): ... this.
15477         (TEST_FUNCTION): New macro.
15478         Include test-skeleton.c.
15479         * stdio-common/tst-ferror.c (main): Converted to ...
15480         (do_test): ... this.
15481         (TEST_FUNCTION): New macro.
15482         Include test-skeleton.c.
15483         * stdio-common/tst-printf.c (main): Converted to ...
15484         (do_test): ... this.
15485         (TEST_FUNCTION): New macro.
15486         Include test-skeleton.c.
15487         * stdio-common/tst-printfsz.c (main): Converted to ...
15488         (do_test): ... this.
15489         (TEST_FUNCTION): New macro.
15490         Include test-skeleton.c.
15491         * stdlib/tst-strtod.c (main): Converted to ...
15492         (do_test): ... this.
15493         (TEST_FUNCTION): New macro.
15494         Include test-skeleton.c.
15495         * string/tst-strlen.c (main): Converted to ...
15496         (do_test): ... this.
15497         (TEST_FUNCTION): New macro.
15498         Include test-skeleton.c.
15499         * string/tst-svc.c (main): Converted to ...
15500         (do_test): ... this.
15501         (TEST_FUNCTION): New macro.
15502         Include test-skeleton.c.
15503         * time/tst-strptime.c (main): Converted to ...
15504         (do_test): ... this.
15505         (TEST_FUNCTION): New macro.
15506         Include test-skeleton.c.
15507         * timezone/tst-timezone.c (main): Converted to ...
15508         (do_test): ... this.
15509         (TEST_FUNCTION): New macro.
15510         Include test-skeleton.c.
15512 2015-08-05  Zack Weinberg  <zackw@panix.com>
15514         * misc/regexp.h: Update comments.
15516 2015-08-05  Andreas Schwab  <schwab@linux-m68k.org>
15518         [BZ #18635]
15519         * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
15520         before return label.
15522 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
15524         [BZ #18661]
15525         * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
15526         when calling __errno_location.
15527         * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
15528         * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
15530 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
15532         [BZ #18661]
15533         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
15534         (__lll_timedwait_tid): Align stack to 16 bytes when calling
15535         __gettimeofday.
15537 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
15539         [BZ #18661]
15540         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
15541         (__start_context): Don't use pop to restore %rdi so that stack
15542         is aligned to 16 bytes when calling __setcontext.
15544 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
15546         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
15547         only for libc.
15548         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
15550 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
15552         * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
15553         (__mempcpy): Likewise.  (__mempcpy_inline): New inline function.
15554         * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
15556 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
15558         * string/memccpy.c (memccpy):
15559         Improve performance by using memchr/memcpy/__mempcpy.
15561 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
15563         * string/strncpy.c (strncpy):
15564         Improve performance by using __strnlen/memcpy.
15566 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
15568         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
15569         Optimize to avoid an unnecessary FPCR read.
15571 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
15573         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
15574         Optimize to reduce FPCR/FPSR accesses.
15576 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
15578         * locale/loadarchive.c (_nl_archive_subfreeres): Also check
15579         dead->data[category] != NULL.
15581 2015-08-05  Joseph Myers  <joseph@codesourcery.com>
15583         [BZ #18647]
15584         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
15585         and |x| close to 1, use absolute value of x when computing log.
15586         * math/auto-libm-test-in: Add more tests of pow.
15587         * math/auto-libm-test-out: Regenerated.
15589 2015-08-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15591         * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
15592         * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
15593         * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
15595 2015-08-05  Marko Myllynen  <myllynen@redhat.com>
15597         [BZ #18525]
15598         * locales/km_KH: Remove timezone definition.
15599         * locales/lo_LA: Likewise.
15600         * locales/my_MM: Likewise.
15601         * locales/nan_TW@latin: Likewise.
15602         * locales/th_TH: Likewise.
15603         * locales/uk_UA: Likewise.
15605 2015-08-05  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
15607         [BZ #18265]
15608         * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
15609         (wcsncat): Likewise.
15610         (wcscmp): Likewise.
15611         (wcsncmp): Likewise.
15613 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
15615         * test-skeleton.c (usage): New function.
15616         (main): Call usage when opt is '?'.
15618 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
15620         * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
15621         before first use.
15623 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
15625         * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
15626         bottom and under _STACK_GROWS_DOWN.  Move the stacktop assignment
15627         in there too.
15629 2015-08-05  Carlos O'Donell  <carlos@systemhalted.org>
15631         * version.h (RELEASE): Set to "development".
15632         (VERSION): Set to "2.22.90"
15634         * version.h (RELEASE): Set to "stable".
15635         (VERSION): Set to "2.22"
15636         * include/features.h (__GLIBC_MINOR__): Set to 22.
15638 2015-08-04  Chris Metcalf  <cmetcalf@ezchip.com>
15640         * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
15641         Restructure macro to avoid "value computed is not used" warning.
15642         (atomic_compare_and_exchange_val_acq): Likewise.
15644 2015-08-04  Andreas Schwab  <schwab@suse.de>
15646         [BZ #18635]
15647         * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
15648         ret.
15649         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
15651 2015-08-01  Carlos O'Donell  <carlos@redhat.com>
15653         * po/pl.po: Updated translation.
15654         * po/uk.po: Likewise.
15655         * po/fi.po: Likewise.
15656         * po/ko.po: Likewise.
15657         * po/ru.po: Likewise.
15658         * po/vi.po: Likewise.
15660 2015-07-31  Zack Weinberg  <zackw@panix.com>
15662         [BZ #18681]
15663         * regexp.h: Add unconditional #warning stating that this header
15664         will be removed soon.  Revise banner comment to match.
15665         (compile): Consistently use ERROR instead of RETURN to report
15666         errors (partial fix for bz#18681).
15667         * regexp.c: Don't include regexp.h. Remove some unnecessary
15668         declarations.
15670 2015-07-31  Carlos O'Donell  <carlos@redhat.com>
15672         * po/libc.pot: Regenerated.
15674 2015-07-30  Andrew Senkevich  <andrew.senkevich@intel.com>
15676         [BZ #18740]
15677         * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
15678         float-vlen4-arch-ext-cflags): Removed.
15679         * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
15680         CFLAGS-test-float-vlen4-wrappers.c): Likewise.
15682 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
15684         [BZ #14113]
15685         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
15686         aligned to __aligned__.
15687         (pthread_cond_t, pthread_rwlock_t): Likewise.
15689 2015-07-30  Torvald Riegel  <triegel@redhat.com>
15691         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
15693 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
15695         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
15696         (struct sigaction): Change sa_flags from a long to an int, and add
15697         __glibc_reserved0 before it for padding when __WORDSIZE is 64.
15699 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
15701         * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
15702         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
15703         sysdeps/generic/sysdep.h include.
15704         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
15705         _LINUX_HPPA_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h and
15706         sysdeps/hppa/sysdep.h.
15707         (ENTRY, PSEUDO): Undefine before defining.
15709 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
15711         * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
15712         from scratch to use INTERNAL_SYSCALL.
15714 2015-07-29  H.J. Lu  <hongjiu.lu@intel.com>
15716         [BZ #18078]
15717         * scripts/check-localplt.awk: Support alternate relocations.
15718         * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
15719         sections.
15720         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
15721         malloc entries with + REL R_386_GLOB_DAT.
15722         * sysdeps/x86_64/localplt.data: New file.
15724 2015-07-29  Andrew Senkevich  <andrew.senkevich@intel.com>
15726         [BZ #18731]
15727         * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
15728         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
15729         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
15731 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
15733         * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
15735 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
15737         * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
15738         directly in terms of __sync_fetch_and_add and delete (int) cast.
15740 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
15742         * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
15743         the -D_ASM_IA64_CURRENT_H flag.
15745 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
15747         [BZ #18641]
15748         * pwd/pwd.h (putpwent): Delete __nonnull markings.
15750 2015-07-27  Andreas Schwab  <schwab@suse.de>
15752         * conform/conformtest.pl (checknamespace): Filter out string
15753         literals while tokenizing.
15755 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
15757         * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
15758         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
15759         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
15761 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
15763         * nptl/tst-join7mod.c: Add #include <string.h>.
15765 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
15767         * sysdeps/nios2/libm-test-ulps: Update.
15769 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
15771         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
15772         Fix order of arguments to the rt_sigprocmask syscall.
15773         * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
15774         Likewise.
15776 2015-07-24  Roland McGrath  <roland@hack.frob.com>
15778         * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
15780 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
15782         [BZ #18457]
15783         * nptl/Makefile (tests): New test case tst-join7.
15784         (modules-names): New test case module tst-join7mod.
15785         * nptl/tst-join7.c: New file.
15786         * nptl/tst-join7mod.c: New file.
15787         * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
15788         all translation units in libc.so, libpthread.so and rtld.
15790 2015-07-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15792         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15794 2015-07-24  Andrew Senkevich  <andrew.senkevich@intel.com>
15796         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
15797         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
15798         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
15799         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
15800         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
15801         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
15802         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
15803         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
15804         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
15805         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
15806         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
15807         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
15808         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
15809         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
15810         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
15811         implementation.
15813 2015-07-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
15815         [BZ #17711]
15816         * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
15817         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
15818         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
15819         * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
15820         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
15821         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
15823 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
15825         * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
15826         instead of just saying load lock in the comments.
15828 2015-07-23  Roland McGrath  <roland@hack.frob.com>
15830         * sysdeps/unix/Subdirs: Moved ...
15831         * sysdeps/posix/Subdirs: ... here.
15832         * login/pty.h (struct termios, struct winsize): Add forward decls.
15833         * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
15834         * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
15835         * sysdeps/arm/nacl/libc.abilist: Updated.
15836         * sysdeps/nacl/libutil.abilist: New file.
15838         * bits/signum.h: Update comments to mention 1003.1-2013 too.
15839         (SIGWINCH): New macro.
15841         * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
15842         * sysdeps/arm/nacl/libc.abilist: Add it.
15844 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
15846         * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
15848 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
15850         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
15851         Swap __glibc_reserved0 and sa_flags order.
15853 2015-07-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
15855         [BZ #18657]
15856         * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
15857         are pending TLS destructor calls.
15858         * include/link.h (struct link_map): Add concurrency note for
15859         L_TLS_DTOR_COUNT.
15860         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
15861         Don't touch the link map flag.  Atomically increment
15862         l_tls_dtor_count.
15863         (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
15864         Avoid taking the load lock and don't touch the link map flag.
15865         * stdlib/tst-tls-atexit-nodelete.c: New test case.
15866         * stdlib/Makefile (tests): Use it.
15867         * stdlib/tst-tls-atexit.c (do_test): dlopen
15868         tst-tls-atexit-lib.so again before dlclose.  Add conditionals
15869         to allow tst-tls-atexit-nodelete test case to use it.
15871 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
15873         * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
15874         to bits/types.h.
15875         (msgqnum_t): New typedef.
15876         (msglen_t): Likewise.
15877         (struct msqid_ds): Update comment.  Change msg_qnum type to msgqnum_t
15878         and msg_qbytes type to msglen_t.
15880 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
15882         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
15883         pad0 to __glibc_reserved0.
15884         (struct stat64): Likewise.
15886 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
15888         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
15889         Change sa_flags from a long to an int and add __glibc_reserved0 before
15890         it for padding.
15892 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
15894         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
15895         anonymous by deleting "siginfo" name.
15897 2015-07-21  Roland McGrath  <roland@hack.frob.com>
15899         * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
15900         * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
15901         rather than __nacl_irt_filename.
15902         * sysdeps/nacl/xstat.c (__xstat): Likewise.
15904         * NEWS: New item for arm-nacl port.
15905         * sysdeps/arm/nacl/libc.abilist: New file.
15906         * sysdeps/nacl/ld.abilist: New file.
15907         * sysdeps/nacl/libBrokenLocale.abilist: New file.
15908         * sysdeps/nacl/libanl.abilist: New file.
15909         * sysdeps/nacl/libcrypt.abilist: New file.
15910         * sysdeps/nacl/libdl.abilist: New file.
15911         * sysdeps/nacl/libm.abilist: New file.
15912         * sysdeps/nacl/libpthread.abilist: New file.
15913         * sysdeps/nacl/libresolv.abilist: New file.
15914         * sysdeps/nacl/librt.abilist: New file.
15916 2015-07-21  Chris Metcalf  <cmetcalf@ezchip.com>
15918         * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
15919         __startcontext to initialize the new context.
15920         * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
15921         up CFI directive to forbid further backtracing.
15923 2015-07-21  Marko Myllynen  <myllynen@redhat.com>
15925         * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
15926         reference.
15927         * charmaps/ANSI_X3.4-1968: Likewise.
15928         * charmaps/BS_4730: Likewise.
15929         * charmaps/BS_VIEWDATA: Likewise.
15930         * charmaps/CP1250: Likewise.
15931         * charmaps/CP1251: Likewise.
15932         * charmaps/CP1252: Likewise.
15933         * charmaps/CP1253: Likewise.
15934         * charmaps/CP1254: Likewise.
15935         * charmaps/CP1255: Likewise.
15936         * charmaps/CP1256: Likewise.
15937         * charmaps/CSN_369103: Likewise.
15938         * charmaps/EBCDIC-DK-NO: Likewise.
15939         * charmaps/GB_1988-80: Likewise.
15940         * charmaps/GREEK-CCITT: Likewise.
15941         * charmaps/GREEK7: Likewise.
15942         * charmaps/INIS-8: Likewise.
15943         * charmaps/ISIRI-3342: Likewise.
15944         * charmaps/ISO_2033-1983: Likewise.
15945         * charmaps/ISO_5427-EXT: Likewise.
15946         * locales/POSIX: Likewise.
15947         * locales/ar_SA: Likewise.
15948         * locales/be_BY: Likewise.
15949         * locales/be_BY@latin: Likewise.
15950         * locales/ca_ES: Likewise.
15951         * locales/cs_CZ: Likewise.
15952         * locales/da_DK: Likewise.
15953         * locales/de_BE: Likewise.
15954         * locales/de_CH: Likewise.
15955         * locales/de_LU: Likewise.
15956         * locales/en_AU: Likewise.
15957         * locales/en_BW: Likewise.
15958         * locales/en_CA: Likewise.
15959         * locales/en_DK: Likewise.
15960         * locales/en_GB: Likewise.
15961         * locales/en_IE: Likewise.
15962         * locales/en_NZ: Likewise.
15963         * locales/en_ZA: Likewise.
15964         * locales/en_ZW: Likewise.
15965         * locales/es_AR: Likewise.
15966         * locales/es_BO: Likewise.
15967         * locales/es_CL: Likewise.
15968         * locales/es_CO: Likewise.
15969         * locales/es_DO: Likewise.
15970         * locales/es_EC: Likewise.
15971         * locales/es_ES: Likewise.
15972         * locales/es_HN: Likewise.
15973         * locales/es_MX: Likewise.
15974         * locales/es_PA: Likewise.
15975         * locales/es_PE: Likewise.
15976         * locales/es_PY: Likewise.
15977         * locales/es_SV: Likewise.
15978         * locales/es_US: Likewise.
15979         * locales/es_UY: Likewise.
15980         * locales/es_VE: Likewise.
15981         * locales/et_EE: Likewise.
15982         * locales/fa_IR: Likewise.
15983         * locales/fo_FO: Likewise.
15984         * locales/fr_CA: Likewise.
15985         * locales/fr_CH: Likewise.
15986         * locales/gv_GB: Likewise.
15987         * locales/he_IL: Likewise.
15988         * locales/hr_HR: Likewise.
15989         * locales/id_ID: Likewise.
15990         * locales/is_IS: Likewise.
15991         * locales/it_CH: Likewise.
15992         * locales/iw_IL: Likewise.
15993         * locales/kl_GL: Likewise.
15994         * locales/ko_KR: Likewise.
15995         * locales/kw_GB: Likewise.
15996         * locales/lg_UG: Likewise.
15997         * locales/lt_LT: Likewise.
15998         * locales/lv_LV: Likewise.
15999         * locales/mi_NZ: Likewise.
16000         * locales/nhn_MX: Likewise.
16001         * locales/nl_BE: Likewise.
16002         * locales/pl_PL: Likewise.
16003         * locales/sk_SK: Likewise.
16004         * locales/sl_SI: Likewise.
16005         * locales/sv_FI: Likewise.
16006         * locales/tl_PH: Likewise.
16007         * locales/tr_TR: Likewise.
16008         * locales/vi_VN: Likewise.
16010 2015-07-21  Khem Raj  <raj.khem@gmail.com>
16012         [BZ #17475]
16013         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
16014         of tu_IN and bh_IN.
16016 2015-07-21  Mike Frysinger  <vapier@gentoo.org>
16018         [BZ #18694]
16019         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
16020         bits/wordsize.h.
16021         (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
16023 2015-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
16025         * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
16026         * stdlib/tst-tls-atexit.c: (is_loaded): New function.
16027         (spawn_thread): New function.
16028         (load): Rename to reg_dtor_and_close.  Move dlopen to...
16029         (do_test): ... here.  Use IS_LOADED to test for its
16030         availability.
16032 2015-07-21  Andreas Schwab  <schwab@linux-m68k.org>
16034         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
16036 2015-07-20  H.J. Lu  <hongjiu.lu@intel.com>
16038         [BZ #18696]
16039         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
16040         si_addr_bnd.
16041         (si_lower): New.
16042         (si_upper): Likewise.
16044 2015-07-16  David S. Miller  <davem@davemloft.net>
16046         * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
16048 2015-07-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16050         * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
16051         buffer.
16052         * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
16053         fail output information.
16055 2015-07-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
16057         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
16058         and strstr-ppc64..
16059         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
16060         * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
16061         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
16062         * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
16063         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
16065 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
16067         * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
16068         * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
16069         * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
16070         * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
16072 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
16074         * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
16075         * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
16076         rtld_hidden_proto.
16077         * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
16079 2015-07-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
16081         * tst-nodelete-opened.c (do_test): Add comment to clarify how
16082         the test can fail.
16084         * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
16086         [BZ #18676]
16087         * elf/tst-nodelete-opened.c: New test case.
16088         * elf/tst-nodelete-opened-lib.c: New test case module.
16089         * elf/Makefile (tests, modules-names): Use them.
16090         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
16091         early.
16093 2015-07-15  David S. Miller  <davem@davemloft.net>
16095         * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
16096         futex-intenal.h
16097         * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
16098         * sysdeps/sparc/sparc64/Makefile: Likewise.
16099         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
16100         Remove space from macro define.
16101         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
16103 2015-07-15  Pravin Satpute  <psatpute@redhat.com>
16105         [BZ #17475]
16106         * locale/iso-639.def: Update Bhili and Tulu language codes as
16107         per iso639-3.
16109 2015-07-15  Arjun Shankar  <arjun.is@lostca.se>
16111         * elf/tst-leaks1.c (main): Converted to ...
16112         (do_test): ... this.
16113         (TEST_FUNCTION): New macro.
16114         Include test-skeleton.c.
16115         * localedata/tst-langinfo.c (main): Converted to ...
16116         (do_test): ... this.
16117         (TEST_FUNCTION): New macro.
16118         Include test-skeleton.c.
16119         * math/test-fpucw.c (main): Converted to ...
16120         (do_test): ... this.
16121         (TEST_FUNCTION): New macro.
16122         Include test-skeleton.c.
16123         * math/test-tgmath.c (main): Converted to ...
16124         (do_test): ... this.
16125         (TEST_FUNCTION): New macro.
16126         Include test-skeleton.c.
16127         * math/test-tgmath2.c (main): Converted to ...
16128         (do_test): ... this.
16129         (TEST_FUNCTION): New macro.
16130         Include test-skeleton.c.
16131         * setjmp/tst-setjmp.c (main): Converted to ...
16132         (do_test): ... this.
16133         (TEST_FUNCTION): New macro.
16134         Include test-skeleton.c.
16135         * stdio-common/tst-sscanf.c (main): Converted to ...
16136         (do_test): ... this.
16137         (TEST_FUNCTION): New macro.
16138         Include test-skeleton.c.
16139         * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
16140         (do_test): ... this.
16141         (TEST_FUNCTION): New macro.
16142         Include test-skeleton.c.
16144         * elf/tst-audit9.c (main): Converted to ...
16145         (do_test): ... this.
16146         (TEST_FUNCTION): New macro.
16147         Include test-skeleton.c.
16149 2015-07-15  Mike Frysinger  <vapier@gentoo.org>
16151         * timezone/tst-tzset.c (TIMEOUT): Define to 5.
16153 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
16155         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
16156         New variable.
16158 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
16160         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
16162 2015-07-14  Roland McGrath  <roland@hack.frob.com>
16164         * sysdeps/generic/dl-fileid.h: New file.
16165         * sysdeps/posix/dl-fileid.h: New file.
16166         * sysdeps/nacl/dl-fileid.h: New file.
16167         * include/link.h: Include <dl-fileid.h>.
16168         (struct link_map): Replace l_dev and l_ino with l_file_id.
16169         * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
16170         than __fxstat64.  Use _dl_file_id_match_p rather than comparing l_dev
16171         and l_ino directly.  Initialize l_file_id rather than l_dev and l_ino.
16173 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
16175         * stdlib/tst-tls-atexit.c (do_test): Fix typo.
16177 2015-07-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16179         * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
16180         Add iff $CXX is set.
16181         [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
16182         Likewise.
16183         (tst-nodelete-zmodiff): Likewise.
16184         * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
16186 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
16188         * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
16190 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
16192         * sysdeps/aarch64/fpu/math_private.h
16193         (define math_opt_barrier): Add AArch64 version.
16194         (math_force_eval): Likewise.
16196 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
16198         * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
16200 2015-07-11  H.J. Lu  <hongjiu.lu@intel.com>
16202         * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
16203         %ld with %jd and cast to intmax_t.
16204         (do_test_length_zero): Likewise.
16206 2015-07-10  Roland McGrath  <roland@hack.frob.com>
16208         * sysdeps/nacl/pthread_condattr_setclock.c: New file.
16210 2015-07-10  Chris Metcalf  <cmetcalf@ezchip.com>
16212         * sysdeps/tile/libm-test-ulps: Regenerated.
16214         * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
16215         Comment out the whole function, not just its body.
16217 2015-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
16219         * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
16220         locks.
16222         * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
16224 2015-07-10  Torvald Riegel  <triegel@redhat.com>
16226         * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
16227         (sem_assume_only_signals_cause_futex_EINTR): Remove.
16229 2015-07-10  Torvald Riegel  <triegel@redhat.com>
16231         * sysdeps/nptl/futex-internal.h: New file.
16232         * sysdeps/nacl/futex-internal.h: New file.
16233         * sysdeps/unix/sysv/linux/futex-internal.h: New file.
16234         * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
16235         error checking.
16236         (setxid_unmark_thread): Likewise.
16237         (__nptl_setxid): Likewise.
16238         (__wait_lookup_done): Likewise.
16239         * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
16240         * nptl/nptl-init.c (sighandler_setxid): Likewise.
16241         * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
16242         * nptl/pthread_once.c (clear_once_control): Likewise.
16243         (__pthread_once_slow): Likewise.
16244         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
16245         * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
16246         * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
16247         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
16248         * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
16249         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
16250         Likewise.
16251         (__pthread_rwlock_rdlock): Likewise.
16252         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
16253         Likewise.
16254         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
16255         Likewise.
16256         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
16257         Likewise.
16258         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
16259         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
16260         Likewise.
16261         * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
16262         __ASSUME_PRIVATE_FUTEX check.
16263         * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
16264         Check that shared futexes are supported.
16265         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
16266         wrappers with error checking.
16267         * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
16268         remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
16269         * nptl/pthread_barrierattr_setpshared.c
16270         (pthread_barrierattr_setpshared): Check that shared futexes are
16271         supported.
16272         * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
16273         Likewise.
16274         * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
16275         Likewise.
16276         * nptl/sem_init.c (futex_private_if_supported): Remove.
16277         (__new_sem_init): Adapt and check that shared futexes are supported.
16278         * nptl/sem_open.c (sem_open): Likewise.
16279         * nptl/sem_post.c (futex_wake): Remove.
16280         * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
16281         (do_futex_wait): Use futex wrappers with error checking.
16282         * nptl/sem_wait.c: Include lowlevellock.h.
16283         * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
16284         Use futex_supports_pshared.
16285         * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
16286         Use futex wrappers with error checking.
16287         * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
16288         Likewise.
16289         * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
16290         * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
16291         * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
16292         * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
16293         (futex_wake): Likewise.
16294         (sem_assume_only_signals_cause_futex_EINTR): Likewise.
16295         (do_futex_wait): Use futex wrappers with error checking.
16296         (__new_sem_wait_slow): Update EINTR handling.
16297         * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
16299 2015-07-09  Martin Sebor  <msebor@redhat.com>
16301         [BZ #18435]
16302         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
16303         Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
16304         * nptl/Makefile (test-xfail-tst-once5): Define.
16306 2015-07-09  Roland McGrath  <roland@hack.frob.com>
16308         * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
16309         * elf/dl-minimal.c: For readability, reorder some definitions and
16310         introduce more page breaks.  Include <stdio.h>.
16311         (__libc_fatal): New function.
16313         * include/unistd.h: Add rtld_hidden_proto for _exit.
16314         * posix/_exit.c: Add rtld_hidden_def.
16315         * sysdeps/mach/hurd/_exit.c: Likewise.
16316         * sysdeps/nacl/_exit.c: Likewise.
16317         * sysdeps/unix/sysv/linux/_exit.c: Likewise.
16318         * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
16320 2015-07-09  H.J. Lu  <hongjiu.lu@intel.com>
16322         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
16323         bndmov encoding with zero displacement.
16325 2015-07-09  Igor Zamyatin  <igor.zamyatin@intel.com>
16326             H.J. Lu  <hongjiu.lu@intel.com>
16328         [BZ #18134]
16329         * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
16330         * sysdeps/i386/configure: Regenerated.
16331         * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
16332         (_dl_runtime_profile): Save and restore Intel MPX return bound
16333         registers when calling _dl_call_pltexit.  Add
16334         PRESERVE_BND_REGS_PREFIX before return.
16335         * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
16336         (LRV_BND1_OFFSET): Likewise.
16337         * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
16338         lrv_bnd1.
16339         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
16340         typo in bndmov encoding.
16341         * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
16342         Intel MPX bound registers.  Add PRESERVE_BND_REGS_PREFIX before
16343         branch instructions to preserve bounds.
16345 2015-07-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16347         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
16348         [GLIBC_2.22]: Add fmemopen.
16350 2015-07-09  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16352         * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
16353         returns an error, also try to use host port from __mach_host_self for
16354         the __vm_wire call.
16355         * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
16357 2015-07-09  Szabolcs Nagy  <szabolcs.nagy@arm.com>
16359         [BZ #18400]
16360         [BZ #18648]
16361         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
16362         Fix pr_uid and pr_gid members.
16363         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
16364         definition to elf_greg_t.
16366 2015-07-08  Roland McGrath  <roland@hack.frob.com>
16368         [BZ #18383]
16369         * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
16370         Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
16371         * sysdeps/arm/configure: Regenerated.
16372         * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
16373         (test-xfail-tst-tlsalign-static): Variable removed.
16375         * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
16376         * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
16377         rather than explicit 'ln -s'.
16379         * resolv/rpc/netdb.h: New file.
16380         * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
16382 2015-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16384         * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
16385         length buffers.
16386         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
16387         test-skeleton.c.
16389         [BZ #6544]
16390         [BZ #11216]
16391         [BZ #12836]
16392         [BZ #13151]
16393         [BZ #13152]
16394         [BZ #14292]
16395         * include/stdio.h (fmemopen): Remove hidden prototype.
16396         (__fmemopen): Add new hidden prototype.
16397         * libio/Makefile: Add oldfmemopen object.
16398         * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
16399         * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
16400         compliance.
16401         * libio/oldfmemopen.c: New file: old fmemopen implementation for
16402         symbol compatibility.
16403         * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
16404         * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
16405         fmemopen.
16406         * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
16407         on append and read mode.
16408         * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
16409         fmemopen.
16410         * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
16411         * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
16412         * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
16413         * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
16414         Likewise.
16415         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
16416         [GLIBC_2.22]: Likewise.
16417         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
16418         Likewise.
16419         * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
16420         Likewise.
16421         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
16422         [GLIBC_2.22]: Likewise.
16423         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
16424         [GLIBC_2.22]: Likewise.
16425         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
16426         [GLIBC_2.22]: Likewise.
16427         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
16428         [GLIBC_2.22]: Likewise.
16429         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
16430         [GLIBC_2.22]: Likewise.
16431         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
16432         [GLIBC_2.22]: Likewise.
16433         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
16434         [GLIBC_2.22]: Likewise.
16435         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
16436         Likewise.
16437         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
16438         Likewise.
16439         * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
16440         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
16441         [GLIBC_2.22]: Likewise.
16442         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
16443         [GLIBC_2.22]: Likewise.
16444         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
16445         [GLIBC_2.22]: Likewise.
16446         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
16447         [GLIBC_2.22]: Likewise.
16448         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
16449         Likewise.
16450         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
16451         Likewise.
16452         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
16453         Likewise.
16454         * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
16455         * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
16457 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
16459         [BZ #18643]
16460         * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
16461         IPV6_PATHMTU, and IPV6_DONTFRAG.
16463 2015-07-08  Feng Gao  <gfree.wind@gmail.com>
16465         * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
16466         and _IO_UNBUFFERED.
16467         * libio/oldfileops.c: Likewise.
16468         * libio/wfileops.c: Likewise.
16470 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
16472         * nscd/selinux.c: Delete selinux/flask.h include.
16474 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
16476         [BZ #18641]
16477         * pwd/pwd.h (fgetpwent): Add __nonnull markings.
16478         (putpwent): Likewise.
16479         (getpwnam): Likewise.
16480         (getpwent_r): Likewise.
16481         (getpwuid_r): Likewise.
16482         (getpwnam_r): Likewise.
16483         (fgetpwent_r): Likewise.
16485 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
16487         [BZ #18557]
16488         * inet/rcmd.c (__validuser2_sa): Check user first to
16489         short-circuit host check.
16491 2015-07-07  Pavel Kopyl  <p.kopyl@samsung.com>
16492             Mikhail Ilin  <m.ilin@samsung.com>
16494         [BZ #17833]
16495         * elf/Makefile (tests): Add tst-nodelete.
16496         (modules-names): Add tst-nodelete-uniquemod.
16497         (tst-nodelete-uniquemod.so-no-z-defs): New.
16498         (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
16499         (tst-nodelete-zmod.so-no-z-defs): Likewise.
16500         ($(objpfx)tst-nodelete): Likewise.
16501         ($(objpfx)tst-nodelete.out): Likewise.
16502         (LDFLAGS-tst-nodelete): Likewise.
16503         (LDFLAGS-tst-nodelete-zmod.so): Likewise.
16504         * elf/dl-close.c (_dl_close_worker): Add a parameter to
16505         implement forced object deletion.
16506         (_dl_close): Pass false to _dl_close_worker.
16507         * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
16508         * elf/tst-nodelete.cc: New file.
16509         * elf/tst-nodeletelib.cc: Likewise.
16510         * elf/tst-znodeletelib.cc: Likewise.
16511         * include/dlfcn.h (_dl_close_worker): Add a new parameter.
16513 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
16515         [BZ #18508]
16516         * stdlib/Makefile ($(objpfx)tst-makecontext3):
16517         Depend on $(libdl).
16518         * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
16519         is not called infinitely times.
16520         (backtrace_helper): New function.
16521         (trace_arg): New struct.
16522         (st1): Enlarge stack size.
16523         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
16524         (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
16525         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
16526         Likewise.
16528 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
16530         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
16532 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
16534         * sysdeps/unix/sysv/linux/s390/bits/sem.h:
16535         Include sys/types.h instead of bits/types.h.
16536         Remove inclusion of bits/wordsize.h.
16538 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
16540         * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
16541         * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
16542         * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
16543         * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
16544         * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
16545         * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
16547 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
16549         * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
16550         link-defines.sym.
16551         * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
16552         (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
16553         LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
16554         and LR_SIZE.
16555         * sysdeps/i386/link-defines.sym: New file.
16557 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
16559         * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
16560         (modules-names): Add tst-auditmod3a tst-auditmod3b.
16561         ($(objpfx)tst-audit3): New rule.
16562         ($(objpfx)tst-audit3.out): Likewise.
16563         * sysdeps/i386/tst-audit3.c: New file.
16564         * sysdeps/i386/tst-audit3.h: Likewise.
16565         * sysdeps/i386/tst-auditmod3a.c: Likewise.
16566         * sysdeps/i386/tst-auditmod3b.c: Likewise.
16568 2015-07-07  Torvald Riegel  <triegel@redhat.com>
16570         [BZ #18633]
16571         * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
16572         pointer in C code.
16573         (__strcat_c): Likewise.
16574         (__strcat_g): Likewise.
16576 2015-07-07  Cyril Hrubis <chrubis@suse.cz>
16578         [BZ #18592]
16579         * misc/sbrk.c: Set errno to ENOMEM on overflow.
16581 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
16583         * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
16584         New function.  (__ieee754_sqrtf): New function.
16585         * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
16586         New function.
16587         * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
16588         New function.
16590 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
16592         * sysdeps/ieee754/support.c: Remove unused file.
16594 2015-07-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
16596         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
16597         registers instead of d ones so the layout is kernel abi compatible.
16598         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
16599         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
16600         Likewise.
16602 2015-07-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
16604         * sysdeps/aarch64/libm-test-ulps: Regenerated.
16606 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
16608         [BZ #18619]
16609         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
16610         and return argument in case of subnormal argument.
16612 2015-07-01  Martin Sebor  <msebor@redhat.com>
16614         [BZ #18435]
16615         * nptl/Makefile: Add tst-once5.cc.
16616         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
16617         Remove macro redefinitions.
16618         * nptl/tst-once5.cc: New test.
16620 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
16622         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
16624         * sysdeps/arm/libm-test-ulps: Regenerated.
16626         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
16627         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
16629 2015-06-30  Torvald Riegel  <triegel@redhat.com>
16631         * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
16632         lll_lock_wait_private and lll_futex_wake probes.
16634         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
16635         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
16636         Likewise.
16637         * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
16638         atomic_spin_nop.
16639         * sysdeps/x86_64/bits/atomic.h: Likewise.
16640         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
16641         to atomic_spin_nop and move ...
16642         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
16643         ... here and ...
16644         * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
16645         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
16646         atomic_spin_nop instead of BUSY_WAIT_NOP.
16647         * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
16648         Likewise.
16649         * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
16650         * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
16651         (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
16652         * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
16653         instead of atomic_delay.
16655 2015-06-29  Joseph Myers  <joseph@codesourcery.com>
16657         [BZ #18613]
16658         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
16659         X_ADJ not X when adjusting exponent.
16660         (__ieee754_gamma_r): Do intermediate computations in
16661         round-to-nearest then adjust overflowing and underflowing results
16662         as needed.
16663         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
16664         of X_ADJ not X when adjusting exponent.
16665         (__ieee754_gammaf_r): Do intermediate computations in
16666         round-to-nearest then adjust overflowing and underflowing results
16667         as needed.
16668         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
16669         log of X_ADJ not X when adjusting exponent.
16670         (__ieee754_gammal_r): Do intermediate computations in
16671         round-to-nearest then adjust overflowing and underflowing results
16672         as needed.  Use 1.0L not 1.0f as numerator of division.
16673         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
16674         log of X_ADJ not X when adjusting exponent.
16675         (__ieee754_gammal_r): Do intermediate computations in
16676         round-to-nearest then adjust overflowing and underflowing results
16677         as needed.  Use 1.0L not 1.0f as numerator of division.
16678         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
16679         of X_ADJ not X when adjusting exponent.
16680         (__ieee754_gammal_r): Do intermediate computations in
16681         round-to-nearest then adjust overflowing and underflowing results
16682         as needed.  Use 1.0L not 1.0f as numerator of division.
16683         * math/libm-test.inc (tgamma_test_data): Remove one test.  Moved
16684         to auto-libm-test-in.
16685         (tgamma_test): Use ALL_RM_TEST.
16686         * math/auto-libm-test-in: Add one test of tgamma.  Mark some other
16687         tests of tgamma with spurious-overflow.
16688         * math/auto-libm-test-out: Regenerated.
16689         * math/gen-libm-have-vector-test.sh: Do not check for START.
16690         * sysdeps/i386/fpu/libm-test-ulps: Update.
16691         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16693         [BZ #18612]
16694         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
16695         arguments, just return 0.5 times the argument, with underflow
16696         forced as needed.
16697         * math/auto-libm-test-in: Add more tests of j1.
16698         * math/auto-libm-test-out: Regenerated.
16700         [BZ #16559]
16701         * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
16702         (__ieee754_j1): Force underflow exception for small results.
16703         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
16704         * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
16705         (__ieee754_j1f): Force underflow exception for small results.
16706         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
16707         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
16708         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
16709         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
16710         (__ieee754_j1l): Force underflow exception for small results.
16711         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
16712         * math/auto-libm-test-in: Add more tests of j1 and jn.
16713         * math/auto-libm-test-out: Regenerated.
16715         * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
16716         * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
16717         (PF_MPLS): Likewise.
16718         (AF_IB): Likewise.
16719         (AF_MPLS): Likewise.
16720         * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
16721         value and macro.
16722         (MS_RMT_MASK): Include MS_LAZYTIME.
16724 2015-06-26  Mel Gorman  <mgorman@suse.de>
16726         [BZ #18502]
16727         * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
16728         already minimal.
16730 2015-06-26  Matthew Fortune  <matthew.fortune@imgtec.com>
16732         * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
16733         (DT_MIPS_NUM): Update.
16734         * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
16735         DT_MIPS_RLD_MAP_REL.
16737 2015-06-25  Joseph Myers  <joseph@codesourcery.com>
16739         [BZ #16559]
16740         [BZ #18602]
16741         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
16742         round-to-nearest internally then recompute results that
16743         underflowed to zero in the original rounding mode.
16744         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
16745         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
16746         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
16747         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
16748         * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
16749         * sysdeps/i386/fpu/libm-test-ulps: Update.
16750         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16752 2015-06-25  Andrew Senkevich  <andrew.senkevich@intel.com>
16754         * NEWS: Fixed description of link with vector math library.
16756 2015-06-25  Andreas Schwab  <schwab@suse.de>
16758         [BZ #18549]
16759         * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
16760         * libio/test-fmemopen.c (do_test): Add test for it.
16762 2015-06-25  H.J. Lu  <hongjiu.lu@intel.com>
16764         [BZ #17841]
16765         * Makeconfig (no-pie-ldflag): New.
16766         (+link): Set to $(+link-pie) if default to PIE.
16767         (+link-tests): Set to $(+link-pie-tests) if default to PIE.
16768         * config.make.in (build-pie-default): New.
16769         * configure.ac (libc_cv_pie_default): New.  Set to yes if -fPIE
16770         is default.  AC_SUBST.
16771         * configure: Regenerated.
16772         * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
16774 2015-06-24  Roland McGrath  <roland@hack.frob.com>
16776         * nptl/descr.h (struct pthread): Change type of field setxid_futex
16777         to 'unsigned int'.
16779         * resolv/gai_misc.h (struct waitlist): Change type of field
16780         counterp to 'volatile unsigned int *'.
16781         * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
16782         FUTEXADDR and OLDVAL.
16783         * resolv/getaddrinfo_a.c (getaddrinfo_a):
16784         Give local variable TOTAL type 'volatile unsigned int'.
16785         (struct async_waitlist): Change type of field counter to 'unsigned int'.
16786         * resolv/gai_suspend.c (gai_suspend):
16787         Give local variable CNTR type 'unsigned int'.
16789         * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
16790         counterp to 'volatile unsigned int *'.
16791         * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
16792         (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
16793         (aio_suspend): Give local variable CNTR type 'unsigned int'.
16794         * sysdeps/pthread/lio_listio.c (lio_listio_internal):
16795         Give local variable TOTAL type 'volatile unsigned int'.
16796         (struct async_waitlist): Change type of field counter to 'unsigned int'.
16798 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
16800         [BZ #18383]
16801         * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
16802         TCB_OFFSET to MAX_ALIGN, not just TCBALIGN.  Add comment.
16803         * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
16804         comment for i386/x86-64.
16805         (test-xfail-tst-tlsalign-extern-static): Removed.
16807 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
16809         * math/test-double.h: New file.
16810         * math/test-float.h: Likewise.
16811         * math/test-ldouble.h: Likewise.
16812         * math/test-math-inline.h: Likewise.
16813         * math/test-math-no-inline.h: Likewise.
16814         * math/test-math-scalar.h: Likewise.
16815         * math/test-math-vector.h: Likewise.
16816         * math/test-vec-loop.h: Remove file.  Contents moved into
16817         test-math-vector.h.
16818         * math/libm-test.inc (MATHCONST): Do not document macro.
16819         * math/test-double.c: Include test-double.h, test-math-no-inline.h
16820         and test-math-scalar.h.
16821         (FUNC): Remove macro.
16822         (FUNC_TEST): Likewise.
16823         (FLOAT): Likewise.
16824         (MATHCONST): Likewise.
16825         (PRINTF_EXPR): Likewise.
16826         (PRINTF_XEXPR): Likewise.
16827         (PRINTF_NEXPR): Likewise.
16828         (TEST_DOUBLE): Likewise.
16829         (TEST_MATHVEC): Likewise.
16830         (__NO_MATH_INLINES): Likewise.
16831         * math/test-float.c: Include test-float.h, test-math-no-inline.h
16832         and test-math-scalar.h.
16833         (FUNC): Remove macro.
16834         (FUNC_TEST): Likewise.
16835         (FLOAT): Likewise.
16836         (MATHCONST): Likewise.
16837         (PRINTF_EXPR): Likewise.
16838         (PRINTF_XEXPR): Likewise.
16839         (PRINTF_NEXPR): Likewise.
16840         (TEST_FLOAT): Likewise.
16841         (TEST_MATHVEC): Likewise.
16842         (__NO_MATH_INLINES): Likewise.
16843         * math/test-idouble.c: Include test-double.h, test-math-inline.h
16844         and test-math-scalar.h.
16845         (FUNC): Remove macro.
16846         (FUNC_TEST): Likewise.
16847         (FLOAT): Likewise.
16848         (MATHCONST): Likewise.
16849         (PRINTF_EXPR): Likewise.
16850         (PRINTF_XEXPR): Likewise.
16851         (PRINTF_NEXPR): Likewise.
16852         (TEST_DOUBLE): Likewise.
16853         (TEST_MATHVEC): Likewise.
16854         (TEST_INLINE): Likewise.
16855         (__NO_MATH_INLINES): Likewise.
16856         * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
16857         test-math-scalar.h.
16858         (FUNC): Remove macro.
16859         (FUNC_TEST): Likewise.
16860         (FLOAT): Likewise.
16861         (MATHCONST): Likewise.
16862         (PRINTF_EXPR): Likewise.
16863         (PRINTF_XEXPR): Likewise.
16864         (PRINTF_NEXPR): Likewise.
16865         (TEST_FLOAT): Likewise.
16866         (TEST_MATHVEC): Likewise.
16867         (TEST_INLINE): Likewise.
16868         (__NO_MATH_INLINES): Likewise.
16869         * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
16870         and test-math-scalar.h.
16871         (FUNC): Remove macro.
16872         (FUNC_TEST): Likewise.
16873         (FLOAT): Likewise.
16874         (MATHCONST): Likewise.
16875         (PRINTF_EXPR): Likewise.
16876         (PRINTF_XEXPR): Likewise.
16877         (PRINTF_NEXPR): Likewise.
16878         (TEST_LDOUBLE): Likewise.
16879         (TEST_MATHVEC): Likewise.
16880         (TEST_INLINE): Likewise.
16881         (__NO_MATH_INLINES): Likewise.
16882         * math/test-ldouble.c: Include test-ldouble.h,
16883         test-math-no-inline.h and test-math-scalar.h.
16884         (FUNC): Remove macro.
16885         (FUNC_TEST): Likewise.
16886         (FLOAT): Likewise.
16887         (MATHCONST): Likewise.
16888         (PRINTF_EXPR): Likewise.
16889         (PRINTF_XEXPR): Likewise.
16890         (PRINTF_NEXPR): Likewise.
16891         (TEST_LDOUBLE): Likewise.
16892         (TEST_MATHVEC): Likewise.
16893         (__NO_MATH_INLINES): Likewise.
16894         * math/test-double-vlen2.h: Include test-double.h,
16895         test-math-no-inline.h and test-math-vector.h.
16896         (FLOAT): Remove macro.
16897         (FUNC): Likewise.
16898         (MATHCONST): Likewise.
16899         (PRINTF_EXPR): Likewise.
16900         (PRINTF_XEXPR): Likewise.
16901         (PRINTF_NEXPR): Likewise.
16902         (TEST_DOUBLE): Likewise.
16903         (TEST_MATHVEC): Likewise.
16904         (__NO_MATH_INLINES): Likewise.
16905         (CNCT): Likewise.
16906         (CONCAT): Likewise.
16907         (WRAPPER_NAME): Likewise.
16908         (WRAPPER_DECL): Likewise.
16909         (WRAPPER_DECL_ff): Likewise.
16910         (WRAPPER_DECL_fFF): Likewise.
16911         (VECTOR_WRAPPER): Likewise.
16912         (VECTOR_WRAPPER_ff): Likewise.
16913         (VECTOR_WRAPPER_fFF): Likewise.
16914         (VEC_LEN): New macro.
16915         * math/test-double-vlen4.h: Include test-double.h,
16916         test-math-no-inline.h and test-math-vector.h.
16917         (FLOAT): Remove macro.
16918         (FUNC): Likewise.
16919         (MATHCONST): Likewise.
16920         (PRINTF_EXPR): Likewise.
16921         (PRINTF_XEXPR): Likewise.
16922         (PRINTF_NEXPR): Likewise.
16923         (TEST_DOUBLE): Likewise.
16924         (TEST_MATHVEC): Likewise.
16925         (__NO_MATH_INLINES): Likewise.
16926         (CNCT): Likewise.
16927         (CONCAT): Likewise.
16928         (WRAPPER_NAME): Likewise.
16929         (WRAPPER_DECL): Likewise.
16930         (WRAPPER_DECL_ff): Likewise.
16931         (WRAPPER_DECL_fFF): Likewise.
16932         (VECTOR_WRAPPER): Likewise.
16933         (VECTOR_WRAPPER_ff): Likewise.
16934         (VECTOR_WRAPPER_fFF): Likewise.
16935         (VEC_LEN): New macro.
16936         * math/test-double-vlen8.h: Include test-double.h,
16937         test-math-no-inline.h and test-math-vector.h.
16938         (FLOAT): Remove macro.
16939         (FUNC): Likewise.
16940         (MATHCONST): Likewise.
16941         (PRINTF_EXPR): Likewise.
16942         (PRINTF_XEXPR): Likewise.
16943         (PRINTF_NEXPR): Likewise.
16944         (TEST_DOUBLE): Likewise.
16945         (TEST_MATHVEC): Likewise.
16946         (__NO_MATH_INLINES): Likewise.
16947         (CNCT): Likewise.
16948         (CONCAT): Likewise.
16949         (WRAPPER_NAME): Likewise.
16950         (WRAPPER_DECL): Likewise.
16951         (WRAPPER_DECL_ff): Likewise.
16952         (WRAPPER_DECL_fFF): Likewise.
16953         (VECTOR_WRAPPER): Likewise.
16954         (VECTOR_WRAPPER_ff): Likewise.
16955         (VECTOR_WRAPPER_fFF): Likewise.
16956         (VEC_LEN): New macro.
16957         * math/test-float-vlen4.h: Include test-float.h,
16958         test-math-no-inline.h and test-math-vector.h.
16959         (FLOAT): Remove macro.
16960         (FUNC): Likewise.
16961         (MATHCONST): Likewise.
16962         (PRINTF_EXPR): Likewise.
16963         (PRINTF_XEXPR): Likewise.
16964         (PRINTF_NEXPR): Likewise.
16965         (TEST_FLOAT): Likewise.
16966         (TEST_MATHVEC): Likewise.
16967         (__NO_MATH_INLINES): Likewise.
16968         (CNCT): Likewise.
16969         (CONCAT): Likewise.
16970         (WRAPPER_NAME): Likewise.
16971         (WRAPPER_DECL): Likewise.
16972         (WRAPPER_DECL_ff): Likewise.
16973         (WRAPPER_DECL_fFF): Likewise.
16974         (VECTOR_WRAPPER): Likewise.
16975         (VECTOR_WRAPPER_ff): Likewise.
16976         (VECTOR_WRAPPER_fFF): Likewise.
16977         (VEC_LEN): New macro.
16978         * math/test-float-vlen8.h: Include test-float.h,
16979         test-math-no-inline.h and test-math-vector.h.
16980         (FLOAT): Remove macro.
16981         (FUNC): Likewise.
16982         (MATHCONST): Likewise.
16983         (PRINTF_EXPR): Likewise.
16984         (PRINTF_XEXPR): Likewise.
16985         (PRINTF_NEXPR): Likewise.
16986         (TEST_FLOAT): Likewise.
16987         (TEST_MATHVEC): Likewise.
16988         (__NO_MATH_INLINES): Likewise.
16989         (CNCT): Likewise.
16990         (CONCAT): Likewise.
16991         (WRAPPER_NAME): Likewise.
16992         (WRAPPER_DECL): Likewise.
16993         (WRAPPER_DECL_ff): Likewise.
16994         (WRAPPER_DECL_fFF): Likewise.
16995         (VECTOR_WRAPPER): Likewise.
16996         (VECTOR_WRAPPER_ff): Likewise.
16997         (VECTOR_WRAPPER_fFF): Likewise.
16998         (VEC_LEN): New macro.
16999         * math/test-float-vlen16.h: Include test-float.h,
17000         test-math-no-inline.h and test-math-vector.h.
17001         (FLOAT): Remove macro.
17002         (FUNC): Likewise.
17003         (MATHCONST): Likewise.
17004         (PRINTF_EXPR): Likewise.
17005         (PRINTF_XEXPR): Likewise.
17006         (PRINTF_NEXPR): Likewise.
17007         (TEST_FLOAT): Likewise.
17008         (TEST_MATHVEC): Likewise.
17009         (__NO_MATH_INLINES): Likewise.
17010         (CNCT): Likewise.
17011         (CONCAT): Likewise.
17012         (WRAPPER_NAME): Likewise.
17013         (WRAPPER_DECL): Likewise.
17014         (WRAPPER_DECL_ff): Likewise.
17015         (WRAPPER_DECL_fFF): Likewise.
17016         (VECTOR_WRAPPER): Likewise.
17017         (VECTOR_WRAPPER_ff): Likewise.
17018         (VECTOR_WRAPPER_fFF): Likewise.
17019         (VEC_LEN): New macro.
17020         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
17021         test-vec-loop.h.
17022         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
17023         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
17024         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
17025         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
17026         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
17027         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
17028         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
17030 2015-06-24  Roland McGrath  <roland@hack.frob.com>
17032         * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
17033         (__getlogin_r): ... this.
17035 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
17037         [BZ #18594]
17038         * math/s_ccosh.c (__ccosh): Compare with least normal value
17039         instead of comparing class with FP_SUBNORMAL.
17040         * math/s_ccoshf.c (__ccoshf): Likewise.
17041         * math/s_ccoshl.c (__ccoshl): Likewise.
17042         * math/s_cexp.c (__cexp): Likewise.
17043         * math/s_cexpf.c (__cexpf): Likewise.
17044         * math/s_cexpl.c (__cexpl): Likewise.
17045         * math/s_csin.c (__csin): Likewise.
17046         * math/s_csinf.c (__csinf): Likewise.
17047         * math/s_csinh.c (__csinh): Likewise.
17048         * math/s_csinhf.c (__csinhf): Likewise.
17049         * math/s_csinhl.c (__csinhl): Likewise.
17050         * math/s_csinl.c (__csinl): Likewise.
17051         * math/s_ctan.c (__ctan): Likewise.
17052         * math/s_ctanf.c (__ctanf): Likewise.
17053         * math/s_ctanh.c (__ctanh): Likewise.
17054         * math/s_ctanhf.c (__ctanhf): Likewise.
17055         * math/s_ctanhl.c (__ctanhl): Likewise.
17056         * math/s_ctanl.c (__ctanl): Likewise.
17057         * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
17058         csin, csinh, ctan and ctanh.
17059         * math/auto-libm-test-out: Regenerated.
17060         * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
17061         * sysdeps/i386/fpu/libm-test-ulps: Update.
17062         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17064 2015-06-24  Roland McGrath  <roland@hack.frob.com>
17066         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
17067         return value is wrong, print the expected value too.
17069 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
17071         [BZ #18585]
17072         * elf/readlib.c (is_gdb_python_file): New.
17073         (process_file): Don't issue errors on filenames with -gdb.py
17074         suffix.
17076 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
17078         * math/auto-libm-test-in: Add more tests of csin and csinh.
17079         * math/auto-libm-test-out: Regenerated.
17080         * math/libm-test.inc (csin_test_data): Remove tests moved to
17081         auto-libm-test-in.
17082         (csinh_test_data): Likewise.
17084         [BZ #18593]
17085         * math/s_csin.c (__csin): Negate before rather than after possibly
17086         overflowing multiplication.
17087         * math/s_csinf.c (__csinf): Likewise.
17088         * math/s_csinh.c (__csinh): Likewise.
17089         * math/s_csinhf.c (__csinhf): Likewise.
17090         * math/s_csinhl.c (__csinhl): Likewise.
17091         * math/s_csinl.c (__csinl): Likewise.
17092         * math/auto-libm-test-in: Add some tests of csin and csinh.
17093         * math/auto-libm-test-out: Regenerated.
17094         * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
17095         (csinh_test_data): Likewise.
17096         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17098         [BZ #18586]
17099         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
17100         underflow exception for small results.
17102 2015-06-24  Andrew Senkevich  <andrew.senkevich@intel.com>
17104         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
17105         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
17106         variable and included header.
17107         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
17108         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
17109         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
17110         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
17111         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
17112         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
17113         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
17114         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
17115         * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
17116         * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
17117         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
17118         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
17119         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
17120         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
17121         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
17122         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
17124 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
17126         [BZ #16526]
17127         [BZ #16538]
17128         * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
17129         (__sin): Force underflow exception for arguments with small
17130         absolute value.
17131         * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
17132         (__kernel_sinf): Force underflow exception for arguments with
17133         small absolute value.
17134         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
17135         (__kernel_sincosl): Force underflow exception for arguments with
17136         small absolute value.
17137         * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
17138         (__kernel_sinl): Force underflow exception for arguments with
17139         small absolute value.
17140         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
17141         (__kernel_sincosl): Force underflow exception for arguments with
17142         small absolute value.
17143         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
17144         (__kernel_sinl): Force underflow exception for arguments with
17145         small absolute value.
17146         * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
17147         (__kernel_sinl): Force underflow exception for arguments with
17148         small absolute value.
17149         * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
17150         (__kernel_sinf): Force underflow exception for arguments with
17151         small absolute value.
17152         * math/auto-libm-test-in: Add more tests of sin and sincos.
17153         * math/auto-libm-test-out: Regenerated.
17155         [BZ #18245]
17156         [BZ #18583]
17157         * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
17158         (__kernel_standard_l): Use feholdexcept and fesetenv around
17159         conversion to double instead of special-casing overflow and
17160         underflow.
17161         * math/libm-test.inc (fmod_test_data): Add more tests.
17162         (remainder_test_data): Likewise.
17163         (sqrt_test_data): Likewise.
17165 2015-06-23  Torvald Riegel  <triegel@redhat.com>
17167         [BZ #17403]
17168         * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
17169         atomic_read_barrier, atomic_write_barrier): Define.
17170         * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
17171         atomic_read_barrier, atomic_write_barrier): Define.
17173 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
17175         * math/Makefile [$(PERL) != no]
17176         ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
17177         dependency on libm-test.stmp below the inclusion of Rules.
17179 2015-06-23  Andrew Senkevich  <andrew.senkevich@intel.com>
17181         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
17182         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
17183         and included header.
17184         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
17185         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
17186         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
17187         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
17188         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
17189         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
17190         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
17191         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
17192         * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
17193         * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
17194         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
17195         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
17196         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
17197         * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
17198         * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
17199         * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
17200         * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
17201         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
17202         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
17204 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
17206         [BZ #18371]
17207         * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
17208         intermediate but not final result might underflow.
17209         * math/s_csqrtf.c (__csqrtf): Likewise.
17210         * math/s_csqrtl.c (__csqrtl): Likewise.
17211         * math/auto-libm-test-in: Add more tests of csqrt.
17212         * math/auto-libm-test-out: Regenerated.
17213         * sysdeps/i386/fpu/libm-test-ulps: Update.
17215         [BZ #18219]
17216         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
17217         threshold on absolute value of exponent for which scaling is used.
17218         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
17219         * math/auto-libm-test-in: Add more tests of exp2.
17220         * math/auto-libm-test-out: Regenerated.
17222 2015-06-23  Dmitry V. Levin  <ldv@altlinux.org>
17224         [BZ #17977]
17225         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
17226         when initializing interface list, based on the bug analysis
17227         and the patch proposed by Eric Newton.
17228         * resolv/tst-res_hconf_reorder.c: New test.
17229         * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
17230         tst-res_hconf_reorder.
17231         ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
17232         and $(shared-thread-library).
17233         (tst-res_hconf_reorder-ENV): New variable.
17235         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
17236         in comment.
17238 2015-06-22  Joseph Myers  <joseph@codesourcery.com>
17240         [BZ #16353]
17241         * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
17242         (__expm1): Force underflow exception for arguments with small
17243         absolute value.
17244         * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
17245         (__expm1f): Force underflow exception for arguments with small
17246         absolute value.
17247         * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
17248         (__expm1): Force underflow exception for arguments with small
17249         absolute value.
17250         * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
17251         (__expm1f): Force underflow exception for arguments with small
17252         absolute value.
17253         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
17254         Check for small arguments before calling __expm1.
17255         * math/auto-libm-test-in: Do not mark underflow exceptions as
17256         possibly missing for bug 16353.
17257         * math/auto-libm-test-out: Regenerated.
17259 2015-06-22  Andreas Schwab  <schwab@suse.de>
17261         [BZ #18513]
17262         * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
17263         PTR queries.
17265 2015-06-22  Leonhard Holz  <leonhard.holz@web.de>
17267         * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
17269         * string/strcoll_l.c: Remove unused struct element idxnow.
17271 2015-06-21  Joseph Myers  <joseph@codesourcery.com>
17273         [BZ #18569]
17274         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
17275         underflow and return argument in case of subnormal argument.
17276         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
17277         Likewise.
17278         * math/auto-libm-test-in: Add more tests of expm1.
17279         * math/auto-libm-test-out: Regenerated.
17281         [BZ #16361]
17282         * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
17283         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
17284         tiny results.
17285         * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
17286         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
17287         tiny results.
17288         * math/auto-libm-test-in: Add more tests of exp and exp10.  Do not
17289         mark underflow exceptions as possibly missing for bug 16361.
17290         * math/auto-libm-test-out: Regenerated.
17292 2015-06-19  Joseph Myers  <joseph@codesourcery.com>
17294         * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
17295         * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
17296         Remove variable.
17297         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
17298         (test-xfail-XOPEN2K8/utmpx.h/conform).
17300         * conform/conformtest.pl ($xerrors): New variable.
17301         (note_error): New function.
17302         (compiletest): New argument $xfail.  Use not_error.
17303         (runtest): Likewise.
17304         (top level): Handle xfail- lines.  Update calls to compiletest and
17305         runtest.  Handle xfail- and optional- in headers listed with
17306         allow-header.
17307         * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
17308         (O_EXEC): Likewise.
17309         (O_SEARCH): Likewise.
17310         * conform/data/stropts.h-data (ioctl): Likewise.
17311         * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
17312         * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
17313         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
17314         (msghdr.msg_controllen): Likewise.
17315         (cmsghdr.cmsg_len): Likewise.
17316         * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
17317         * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
17318         variable.
17319         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
17320         (test-xfail-XPG4/stropts.h/conform): Likewise.
17321         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
17322         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
17323         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
17324         (test-xfail-UNIX98/stropts.h/conform): Likewise.
17325         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
17326         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
17327         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
17328         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
17329         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
17330         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
17331         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
17332         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
17333         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
17334         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
17335         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
17336         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
17337         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
17338         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
17339         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
17341 2015-06-19  Andrew Senkevich  <andrew.senkevich@intel.com>
17343         * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
17344         __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
17345         definitions for proper unfolding of __MATHDECL_VEC.
17347 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
17349         * benchtests/bench-strcoll.c:
17350         Include string.h.
17351         (main): Remove unused variable res.
17353 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
17355         * timezone/Makefile (%/UTC %/Universal):
17356         Generate test-result files for UTC and Universal.
17358 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
17360         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
17362 2015-06-18  Joseph Myers  <joseph@codesourcery.com>
17364         [BZ #16350]
17365         * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
17366         for arguments with small absolute value.
17367         * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
17368         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
17369         * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
17370         (__asinh): Force underflow exception for arguments with small
17371         absolute value.
17372         * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
17373         (__asinhf): Force underflow exception for arguments with small
17374         absolute value.
17375         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
17376         (__asinhl): Force underflow exception for arguments with small
17377         absolute value.
17378         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
17379         (__asinhl): Force underflow exception for arguments with small
17380         absolute value.
17381         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
17382         (__asinhl): Force underflow exception for arguments with small
17383         absolute value.
17384         * math/auto-libm-test-in: Do not mark underflow exceptions as
17385         possibly missing for bug 16350.
17386         * math/auto-libm-test-out: Regenerated.
17388         * include/bits/ipc.h: Remove file.
17389         * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
17390         variable.
17391         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
17392         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
17393         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
17394         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
17395         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
17396         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
17397         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
17398         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
17399         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
17401         * math/auto-libm-test-in: Remove spurious underflow allowance for
17402         tests of cexp.
17403         * math/auto-libm-test-out: Regenerated.
17405         [BZ #18558]
17406         * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
17407         unconditional definition.
17408         (MCAST_BLOCK_SOURCE): Likewise.
17409         (MCAST_UNBLOCK_SOURCE): Likewise.
17410         (MCAST_LEAVE_GROUP): Likewise.
17411         (MCAST_JOIN_SOURCE_GROUP): Likewise.
17412         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
17413         (MCAST_MSFILTER): Likewise.
17414         * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
17415         Remove variable.
17416         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
17417         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
17418         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
17419         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
17420         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
17422 2015-06-18  Andrew Senkevich  <andrew.senkevich@intel.com>
17424         * NEWS: Mention addition of x86_64 vector sincosf.
17425         * math/test-float-vlen16.h: Added wrapper for sincosf tests.
17426         * math/test-float-vlen4.h: Likewise.
17427         * math/test-float-vlen8.h: Likewise.
17428         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
17429         * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
17430         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
17431         * sysdeps/x86_64/fpu/Versions: New versions added.
17432         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
17433         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
17434         Added build of SSE, AVX2 and AVX512 IFUNC versions.
17435         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
17436         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
17437         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
17438         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
17439         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
17440         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
17441         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
17442         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
17443         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
17444         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
17445         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
17446         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
17447         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
17448         * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
17449         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
17450         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
17451         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
17452         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
17453         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
17454         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
17455         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
17457         * NEWS: Mention addition of x86_64 vector sincos.
17458         * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
17459         * math/math.h (__MATHDECL_VEC): New macro.
17460         * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
17461         * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
17462         declaration under condition.
17463         * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
17464         * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
17465         TEST_VEC_LOOP change.
17466         * math/test-double-vlen4.h: Likewise.
17467         * math/test-double-vlen8.h: Likewise.
17468         * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
17469         * math/test-float-vlen4.h: Likewise.
17470         * math/test-float-vlen8.h: Likewise.
17471         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
17472         * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
17473         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
17474         * sysdeps/x86_64/fpu/Versions: New versions added.
17475         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
17476         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
17477         Added build of SSE, AVX2 and AVX512 IFUNC versions.
17478         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
17479         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
17480         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
17481         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
17482         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
17483         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
17484         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
17485         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
17486         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
17487         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
17488         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
17489         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
17490         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
17491         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
17492         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
17493         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
17494         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
17495         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
17496         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
17497         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
17498         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
17500         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
17501         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
17502         redirections for powf.
17503         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
17504         * sysdeps/x86_64/fpu/Versions: New versions added.
17505         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
17506         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
17507         Added build of SSE, AVX2 and AVX512 IFUNC versions.
17508         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
17509         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
17510         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
17511         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
17512         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
17513         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
17514         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
17515         * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
17516         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
17517         * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
17518         * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
17519         * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
17520         * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
17521         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
17522         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
17523         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
17524         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
17525         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
17526         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
17527         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
17528         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
17529         * math/test-float-vlen16.h: Fixed 2 argument macro.
17530         * math/test-float-vlen4.h: Likewise.
17531         * math/test-float-vlen8.h: Likewise.
17532         * NEWS: Mention addition of x86_64 vector powf.
17534 2015-06-17  Joseph Myers  <joseph@codesourcery.com>
17536         * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
17537         and redefine.
17538         * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
17539         and redefine.
17540         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
17541         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
17542         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
17544         [BZ #18553]
17545         * resource/getpriority.c (getpriority): Rename to __getpriority
17546         and define as weak alias of __getpriority.
17547         * resource/setpriority.c (setpriority): Rename to __setpriority
17548         and define as weak alias of __setpriority.
17549         * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
17550         __getpriority and define as weak alias of __getpriority.
17551         * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
17552         __setpriority and define as weak alias of __setpriority.
17553         * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
17554         strong name.
17555         (setpriority): Use __setpriority as strong name.
17556         * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
17557         __getpriority and define as weak alias of __getpriority.
17558         * include/sys/resource.h (__getpriority): Declare.  Use
17559         libc_hidden_proto.
17560         (__setpriority): Likewise.
17561         (getpriority): Don't use libc_hidden_proto.
17562         (setpriority): Likewise.
17563         * sysdeps/posix/nice.c (nice): Call __getpriority instead of
17564         getpriority.  Call __setpriority instead of setpriority.
17565         * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
17566         Remove variable.
17568         [BZ #18547]
17569         * misc/getttyent.c (getttynam): Rename to __getttynam and define
17570         as weak alias of __getttynam.  Use prototype function definition.
17571         Call __setttyent, __getttyent and __endttyent instead of
17572         setttyent, getttyent and endttyent.
17573         (getttyent): Rename to __getttyent and define as weak alias of
17574         __getttyent.  Call __setttyent instead of setttyent.  Call
17575         __fgets_unlocked instead of fgets_unlocked.
17576         (setttyent): Rename to __setttyent and define as weak alias of
17577         __setttyent.
17578         (endttyent): Rename to __endttyent and define as weak alias of
17579         __endttyent.
17580         * include/ttyent.h (__getttyent): Declare.  Use libc_hidden_proto.
17581         (__setttyent): Likewise.
17582         (__endttyent): Likewise.
17583         (getttyent): Don't use libc_hidden_proto.
17584         (setttyent): Likewise.
17585         (endttyent): Likewise.
17586         * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
17587         __endttyent instead of setttyent, getttyent and endttyent.
17588         * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
17589         Remove variable.
17591         [BZ #18546]
17592         * socket/recv.c (__recv): Use libc_hidden_def.
17593         * socket/socket.c (__socket): Likewise.
17594         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
17595         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
17596         * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
17597         * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
17598         * sysdeps/unix/sysv/linux/socket.c (__socket): Use
17599         libc_hidden_def.
17600         * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
17601         libc_hidden_weak.
17602         * include/sys/socket.h (__socket): Do not use attribute_hidden.
17603         Use libc_hidden_proto.
17604         (__recv): Likewise.
17605         * socket/Versions (libc): Export __recv and __socket at version
17606         GLIBC_PRIVATE.
17607         * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
17608         instead of recv.
17609         (init_mq_netlink): Call __socket instead of socket.
17610         * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
17611         Remove variable.
17613         [BZ #18545]
17614         * rt/mq_timedreceive.c (mq_timedreceive): Rename to
17615         __mq_timedreceive and define as alias of __mq_timedreceive.  Use
17616         hidden_weak.
17617         * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
17618         define as alias of __mq_timedsend.  Use hidden_weak.
17619         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
17620         __mq_timedsend as strong name.
17621         (mq_timedreceive): Use __mq_timedreceive as strong name.
17622         * include/mqueue.h (__mq_timedsend): Declare.  Use hidden_proto.
17623         (__mq_timedreceive): Likewise.
17624         * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
17625         __mq_timedreceive instead of mq_timedreceive.
17626         * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
17627         instead of mq_timedsend.
17628         * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
17629         Remove variable.
17631         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
17632         hidden_def and hidden_weak instead of libc_hidden_def and
17633         libc_hidden_weak.
17634         (top level): Refer to hidden_def in comment.
17635         * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
17636         macro.  Use it instead of libc_hidden_def.
17637         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
17638         specify __GI_* name explicitly.
17639         (mq_timedreceive): Likewise.
17640         (mq_setattr): Likewise.
17642         [BZ #18544]
17643         * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
17644         __pthread_barrier_init and define as weak alias of
17645         __pthread_barrier_init.
17646         * sysdeps/sparc/nptl/pthread_barrier_init.c
17647         (pthread_barrier_init): Likewise.
17648         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
17649         __pthread_barrier_wait and define as weak alias of
17650         __pthread_barrier_wait.
17651         * sysdeps/sparc/nptl/pthread_barrier_wait.c
17652         (pthread_barrier_wait): Likewise.
17653         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
17654         (pthread_barrier_wait): Likewise.
17655         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
17656         (pthread_barrier_wait): Likewise.
17657         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
17658         (pthread_barrier_wait): Likewise.
17659         * nptl/Versions (libpthread): Export __pthread_barrier_init and
17660         __pthread_barrier_wait at version GLIBC_PRIVATE.
17661         * include/pthread.h (__pthread_barrier_init): Declare.
17662         (__pthread_barrier_wait): Likewise.
17663         * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
17664         Call __pthread_barrier_wait instead of pthread_barrier_wait.
17665         (helper_thread): Likewise.
17666         (init_mq_netlink): Call __pthread_barrier_init instead of
17667         pthread_barrier_init.
17669         [BZ #18542]
17670         * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
17671         (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
17672         * include/wchar.h (__vswscanf): Declare.  Use libc_hidden_proto.
17673         * libio/swscanf.c (__swscanf): Call __vswscanf instead of
17674         vswscanf.
17675         * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
17676         Remove variable.
17678         [BZ #18540]
17679         * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
17680         strong alias of _IO_fflush.  Use libc_hidden_def.
17681         * libio/iofflush_u.c (fflush_unlocked): Rename to
17682         __fflush_unlocked and define as weak alias of __fflush_unlocked.
17683         Use libc_hidden_weak.
17684         * include/stdio.h (__fflush_unlocked): Declare.  Use
17685         libc_hidden_proto.
17686         * misc/getpass.c (getpass): Call __fflush_unlocked instead of
17687         fflush_unlocked.
17688         * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
17689         Remove variable.
17691         [BZ #18539]
17692         * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
17693         define as weak alias of __addseverity.
17694         * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
17695         Remove variable.
17696         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
17697         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
17698         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
17700         [BZ #18536]
17701         * misc/tsearch.c (__tsearch): Use libc_hidden_def.
17702         (__tfind): Likewise.
17703         (__tdelete): Likewise.
17704         (__twalk): Likewise.
17705         * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
17706         __twalk to GLIBC_PRIVATE.
17707         * include/search.h (__tsearch): Use libc_hidden_proto.
17708         (__tfind): Likewise.
17709         (__tdelete): Likewise.
17710         (__twalk): Likewise.
17711         * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
17712         Call __tdelete instead of tdelete.
17713         * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
17714         tfind.  Call __tsearch instead of tsearch.
17715         * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
17716         * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
17717         Remove variable.
17718         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
17720         [BZ #18534]
17721         * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
17722         (dprintf): Define as a weak alias of __dprintf, not a strong
17723         alias.
17724         * include/stdio.h (__dprintf): Declare.  Use libc_hidden_proto.
17725         * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
17726         dprintf.
17727         * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
17728         Remove variable.
17729         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
17730         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
17732         [BZ #18533]
17733         * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
17734         not a strong alias.
17735         * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
17736         Remove variable.
17738         [BZ #18532]
17739         * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
17740         define as weak alias of __in6addr_any.  Use libc_hidden_data_weak.
17741         (in6addr_loopback): Rename to __in6addr_loopback and define as
17742         weak alias of __in6addr_loopback.  Use libc_hidden_data_weak.
17743         * include/netinet/in.h (__in6addr_loopback): Declare.  Use
17744         libc_hidden_proto.
17745         (__in6addr_any): Likewise.
17746         * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
17747         in6addr_any.
17748         * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
17749         variable.
17750         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
17752 2015-06-17  Andrew Senkevich  <andrew.senkevich@intel.com>
17754         * bits/libm-simd-decl-stubs.h: Added stubs for pow.
17755         * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
17756         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
17757         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
17758         redirections for pow.
17759         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
17760         * sysdeps/x86_64/fpu/Versions: New versions added.
17761         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
17762         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
17763         build of SSE, AVX2 and AVX512 IFUNC versions.
17764         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
17765         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
17766         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
17767         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
17768         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
17769         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
17770         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
17771         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
17772         * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
17773         * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
17774         * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
17775         * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
17776         * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
17777         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
17778         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
17779         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
17780         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
17781         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
17782         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
17783         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
17784         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
17785         * NEWS: Mention addition of x86_64 vector pow.
17787         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
17788         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
17789         redirections for expf.
17790         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
17791         * sysdeps/x86_64/fpu/Versions: New versions added.
17792         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
17793         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
17794         build of SSE, AVX2 and AVX512 IFUNC versions.
17795         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
17796         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
17797         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
17798         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
17799         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
17800         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
17801         * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
17802         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
17803         * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
17804         * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
17805         * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
17806         * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
17807         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
17808         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
17809         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
17810         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
17811         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
17812         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
17813         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
17814         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
17815         * NEWS: Mention addition of x86_64 vector expf.
17817         * bits/libm-simd-decl-stubs.h: Added stubs for exp.
17818         * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
17819         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
17820         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
17821         redirections for exp.
17822         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
17823         * sysdeps/x86_64/fpu/Versions: New versions added.
17824         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
17825         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
17826         build of SSE, AVX2 and AVX512 IFUNC versions.
17827         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
17828         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
17829         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
17830         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
17831         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
17832         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
17833         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
17834         * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
17835         * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
17836         * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
17837         * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
17838         * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
17839         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
17840         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
17841         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
17842         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
17843         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
17844         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
17845         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
17846         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
17847         * NEWS: Mention addition of x86_64 vector exp.
17849         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
17850         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
17851         redirections for logf.
17852         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
17853         * sysdeps/x86_64/fpu/Versions: New versions added.
17854         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
17855         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
17856         build of SSE, AVX2 and AVX512 IFUNC versions.
17857         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
17858         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
17859         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
17860         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
17861         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
17862         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
17863         * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
17864         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
17865         * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
17866         * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
17867         * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
17868         * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
17869         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
17870         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
17871         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
17872         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
17873         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
17874         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
17875         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
17876         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
17877         * NEWS: Mention addition of x86_64 vector logf.
17879         * bits/libm-simd-decl-stubs.h: Added stubs for log.
17880         * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
17881         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
17882         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
17883         redirections for log.
17884         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
17885         * sysdeps/x86_64/fpu/Versions: New versions added.
17886         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
17887         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
17888         build of SSE, AVX2 and AVX512 IFUNC versions.
17889         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
17890         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
17891         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
17892         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
17893         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
17894         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
17895         * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
17896         * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
17897         * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
17898         * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
17899         * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
17900         * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
17901         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
17902         test.
17903         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
17904         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
17905         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
17906         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
17907         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
17908         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
17909         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
17910         * NEWS: Mention addition of x86_64 vector log.
17912 2015-06-17  Szabolcs Nagy  <szabolcs.nagy@arm.com>
17914         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
17915         cfi_adjust_cfa_offset argument.
17916         (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
17917         (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
17919         [BZ #18034]
17920         * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
17921         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
17922         (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
17923         ordering using ldar.
17924         (_dl_tlsdesc_dynamic): Likewise.
17925         (_dl_tlsdesc_return_lazy): Likewise.
17926         * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
17927         relaxed atomics instead of volatile and synchronize with release store.
17928         (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
17929         volatile.
17930         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
17932 2015-06-15  Andrew Senkevich  <andrew.senkevich@intel.com>
17934         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
17935         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
17936         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
17937         * sysdeps/x86_64/fpu/Versions: New versions added.
17938         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
17939         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
17940         build of SSE, AVX2 and AVX512 IFUNC versions.
17941         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
17942         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
17943         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
17944         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
17945         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
17946         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
17947         * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
17948         * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
17949         * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
17950         * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
17951         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
17952         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
17953         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
17954         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
17955         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
17956         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
17957         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
17958         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
17959         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
17960         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
17961         * NEWS: Mention addition of x86_64 vector sinf.
17963 2015-06-14  Joseph Myers  <joseph@codesourcery.com>
17965         * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
17966         and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
17967         * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
17968         Remove variable.
17969         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
17970         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
17972 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
17974         [BZ #18530]
17975         * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
17976         strong alias of _IO_fputs.  Use libc_hidden_def.
17977         * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
17978         and define as weak alias of __fputs_unlocked.  Use
17979         libc_hidden_weak.
17980         * include/stdio.h (__fputs_unlocked): Declare.  Use
17981         libc_hidden_proto.
17982         * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
17983         fputs_unlocked.
17985         [BZ #18529]
17986         * resolv/netdb.h [__USE_POSIX]: Change condition to
17987         [__USE_XOPEN2K].
17988         * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
17989         not expect.
17990         [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
17991         [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
17992         [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
17993         [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
17994         [XPG4 || UNIX98] (AI_ALL): Likewise.
17995         [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
17996         [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
17997         [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
17998         [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
17999         [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
18000         [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
18001         [XPG4 || UNIX98] (NI_DGRAM): Likewise.
18002         [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
18003         [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
18004         [XPG4 || UNIX98] (EAI_FAIL): Likewise.
18005         [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
18006         [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
18007         [XPG4 || UNIX98] (EAI_NONAME): Likewise.
18008         [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
18009         [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
18010         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
18011         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
18012         [XPG4 || UNIX98] (freeaddrinfo): Likewise.
18013         [XPG4 || UNIX98] (gai_strerror): Likewise.
18014         [XPG4 || UNIX98] (getaddrinfo): Likewise.
18015         [XPG4 || UNIX98] (getnameinfo): Likewise.
18017         [BZ #18528]
18018         * grp/grp.h (endgrent): Condition on [__USE_MISC ||
18019         __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
18020         __USE_XOPEN2K8].
18021         (getgrent): Likewise.
18022         * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
18023         expect.
18024         [XPG3 || POSIX2008] (endgrent): Likewise.
18025         [XPG3] (setgrent): Likewise.
18026         * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
18027         variable.
18028         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
18030         [BZ #18527]
18031         * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
18032         define as weak alias of __getlogin_r.  Use libc_hidden_weak.
18033         * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
18034         * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
18035         * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
18036         * include/unistd.h (__getlogin_r): Declare.  Use
18037         libc_hidden_proto.
18038         * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
18039         * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
18040         variable.
18041         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
18042         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
18043         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
18045 2015-06-12  Martin Sebor  <msebor@redhat.com>
18047         [BZ #18512]
18048         * Makerules (check-install-supported): New target.
18049         (install): Add check-install-supported as a dependency.
18050         * manual/install.texi (Installing the C Library): Document
18051         that overriding prefix and exec_prefix is not supported.
18052         Mention DESTDIR.
18053         * INSTALL: Regenerate from the above.
18055 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
18057         [BZ #18519]
18058         * posix/Versions (libc): Export __libc_pread at version
18059         GLIBC_PRIVATE.
18060         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
18061         instead of pread.
18062         * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
18063         variable.
18065         [BZ #18522]
18066         * misc/efgcvt_r.c
18067         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
18068         (cvt_symbol): Use weak_alias instead of strong_alias.
18069         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
18070         * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
18071         Remove variable.
18072         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
18073         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
18075         [BZ #18520]
18076         * inet/herrno.c (h_errno): Rename to __h_errno.
18077         (__libc_h_errno): Define as alias of __h_errno not h_errno.
18078         * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
18079         to __h_errno instead of h_errno.
18080         * nptl/herrno.c (h_errno): Rename to __h_errno.
18081         (__h_errno_location): Refer to __h_errno not h_errno.
18082         * resolv/Versions (h_errno): Rename to __h_errno.
18083         * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
18084         Remove variable.
18085         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
18087 2015-06-11  Andrew Senkevich  <andrew.senkevich@intel.com>
18089         * configure.ac: More strict check for AVX512 assembler support.
18090         * configure: Regenerated.
18092         * bits/libm-simd-decl-stubs.h: Added stubs for sin.
18093         * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
18094         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
18095         * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
18096         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
18097         * sysdeps/x86_64/fpu/Versions: New versions added.
18098         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
18099         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
18100         Added build of SSE, AVX2 and AVX512 IFUNC versions.
18101         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
18102         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
18103         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
18104         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
18105         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
18106         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
18107         * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
18108         * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
18109         * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
18110         * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
18111         * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
18112         * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
18113         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
18114         test.
18115         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
18116         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
18117         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
18118         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
18119         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
18120         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
18121         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
18122         * NEWS: Mention addition of x86_64 vector sin.
18124 2015-06-11  Florian Weimer  <fweimer@redhat.com>
18126         * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
18127         comment.
18129 2015-06-10  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
18131         [BZ #18479]
18132         * nptl/pt-interp.c: New file.
18133         * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
18134         Add pt-interp.
18135         [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
18136         $(common-objpfx)runtime-linker.h.
18138 2015-06-10  Dmitry V. Levin  <ldv@altlinux.org>
18140         * Makeconfig (+interp): Remove unused variable.
18141         * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
18142         only.  Depend on $(common-objpfx)runtime-linker.h instead of
18143         $(elf-objpfx)runtime-linker.h.
18144         ($(elf-objpfx)runtime-linker.h): Rename to
18145         $(common-objpfx)runtime-linker.h and move ...
18146         * Makerules [$(build-shared) = yes]: ... here.
18147         * elf/interp.c: Include <runtime-linker.h> instead of
18148         <elf/runtime-linker.h>.
18150 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18152         * sysdeps/unix/sysv/linux/i386/gettimeofday.c
18153         (__gettimeofday_syscall): Remove vsyscall fallback.
18154         * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
18155         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
18156         Add syscall fallback function.
18157         (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
18158         if vDSO is not present.
18159         * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
18160         fallback function.
18161         (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
18162         present.
18163         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
18164         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
18166 2015-06-09  Joseph Myers  <joseph@codesourcery.com>
18168         [BZ #18497]
18169         * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
18170         of wcscmp.
18171         (wcscmp): Define as weak alias of WCSCMP.
18172         * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
18173         wcscoll.
18174         (USE_HIDDEN_DEF): Define.
18175         [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
18176         __wcscoll.  Don't use libc_hidden_weak.
18177         * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
18178         wcscmp.
18179         * sysdeps/i386/i686/multiarch/wcscmp-c.c
18180         [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
18181         __GI_wcscmp.
18182         (weak_alias): Undefine and redefine.
18183         * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
18184         __wcscmp and define as weak alias of __wcscmp.
18185         * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
18186         * include/wchar.h (__wcscmp): Declare.  Use libc_hidden_proto.
18187         (__wcscoll): Likewise.
18188         (wcscmp): Don't use libc_hidden_proto.
18189         (wcscoll): Likewise.
18190         * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
18191         wcscoll.
18192         * posix/regexec.c (check_node_accept_bytes): Likewise.
18193         * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
18194         variable.
18195         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
18196         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
18198         [BZ #18507]
18199         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
18200         __fstatvfs and define as weak alias of __fstatvfs.  Use
18201         libc_hidden_weak.
18202         * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
18203         and define as weak alias of __statvfs.  Use libc_hidden_weak.
18204         * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
18205         Define as alias of __fstatvfs, not fstatvfs.
18206         (fstatvfs64): Likewise.
18207         * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
18208         Define as alias of __statvfs, not statvfs.
18209         (statvfs64): Likewise.
18210         * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
18211         Remove variable.
18213 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18215         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
18216         (HAVE_GETCPU_VSYSCALL): Define.
18217         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
18218         (HAVE_GETCPU_VSYSCALL): Likewise.
18219         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
18220         * sysdeps/unix/sysv/linux/sched_getcpu.c
18221         (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
18222         (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
18223         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
18224         prototype.
18225         * sysdeps/unix/sysv/linux/x86_64/init-first.c
18226         (__vdso_platform_setup): Remove vsyscall getcpu fallback.
18227         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
18228         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
18229         Define.
18230         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
18231         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
18232         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
18233         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
18235 2015-06-09  Andrew Senkevich  <andrew.senkevich@intel.com>
18237         * sysdeps/x86_64/fpu/Makefile: New file.
18238         * sysdeps/x86_64/fpu/Versions: New file.
18239         * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
18240         * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
18241         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
18242         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
18243         * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
18244         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
18245         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
18246         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
18247         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
18248         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
18249         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
18250         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
18251         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
18252         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
18253         Added build of SSE, AVX2 and AVX512 IFUNC versions.
18254         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
18255         * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
18256         * sysdeps/x86_64/configure.ac: Options for libmvec build.
18257         * sysdeps/x86_64/configure: Regenerated.
18258         * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
18259         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
18260         * manual/install.texi (Configuring and compiling): Document
18261         --disable-mathvec.
18262         * INSTALL: Regenerated.
18263         * NEWS: Mention addition of libmvec and x86_64 vector cos.
18265         * math/Makefile: Added rules for vector tests.
18266         * math/gen-libm-have-vector-test.sh: Added generation of wrapper
18267         declaration under condition.
18268         * math/test-double-vlen2.h: New file.
18269         * math/test-double-vlen4.h: New file.
18270         * math/test-double-vlen8.h: New file.
18271         * math/test-vec-loop.h: Added initialization macro.
18272         * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
18273         * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
18274         * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
18275         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
18276         * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
18277         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
18278         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
18279         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
18280         * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
18281         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
18282         * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
18284         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
18285         * sysdeps/x86_64/fpu/Versions: New versions added.
18286         * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
18287         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
18288         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
18289         * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
18290         * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
18291         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
18292         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
18293         * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
18294         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
18295         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
18296         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
18297         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
18298         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
18299         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
18300         Added build of SSE, AVX2 and AVX512 IFUNC versions.
18301         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
18302         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
18303         * NEWS: Mention addition of x86_64 vector cosf.
18305         * math/Makefile: Added CFLAGS for new tests.
18306         * math/test-float-vlen16.h: New file.
18307         * math/test-float-vlen4.h: New file.
18308         * math/test-float-vlen8.h: New file.
18309         * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
18310         * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
18311         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
18312         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
18313         * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
18314         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
18315         * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
18316         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
18317         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
18318         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
18319         * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
18321 2015-06-09 Marko Myllynen  <myllynen@redhat.com>
18323         * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
18324         * locale/programs/ld-ctype.c: Likewise.
18326 2015-06-08  Andrew Senkevich  <andrew.senkevich@intel.com>
18328         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
18329         bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
18330         bit_ZMM16_31_state): New macro.
18331         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18332         Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
18334 2015-06-08  Joseph Myers  <joseph@codesourcery.com>
18336         * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
18338 2015-06-06  Justus Winter  <4winter@informatik.uni-hamburg.de>
18340         * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
18342 2015-06-05  Joseph Myers  <joseph@codesourcery.com>
18344         [BZ #18498]
18345         * libio/memstream.c (open_memstream): Rename to __open_memstream
18346         and define as weak alias of __open_memstream.
18347         * include/stdio.h (__open_memstream): Declare.  Use
18348         libc_hidden_proto.
18349         (open_memstream): Don't use libc_hidden_proto.
18350         * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
18351         open_memstream.
18352         * posix/getopt.c (_getopt_internal_r): Likewise.
18353         * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
18354         variable.
18355         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
18356         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
18357         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
18359         [BZ #18496]
18360         * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
18361         instead of wcrtomb.
18363         [BZ #18483]
18364         * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
18365         [__USE_XOPEN2K8].  Remove redundant #endif.
18366         [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
18367         Remove redundant #if.
18368         * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
18369         Remove variable.
18370         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
18371         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
18373         [BZ #18495]
18374         * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
18375         (__iswlower): Likewise.
18376         * include/wctype.h (__iswalnum): Declare.  Use libc_hidden_proto.
18377         (__iswlower): Likewise.
18378         * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
18379         instead of towlower.
18380         * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
18381         instead of iswlower.  Call __towupper instead of towupper.
18382         * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
18383         instead of iswalnum.
18385 2015-06-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
18387         * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
18388         errors to stderr.
18390 2015-06-05  Florian Weimer  <fweimer@redhat.com>
18392         [BZ #15661]
18393         [BZ #17322]
18394         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
18395         Check for overflow properly.  Check for O_APPEND.  Ignore large
18396         file system block sizes.  Add comments about problems.
18397         * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
18398         * manual/filesys.texi (Storage Allocation): New node.
18400 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18402         * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
18403         cancellable syscalls.
18404         (SYS_ify): Add guard to no redefine it.
18405         (INLINE_SYSCALL): Likewise.
18406         * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
18407         LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
18408         SYSCALL_CANCEL instead.
18409         * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
18410         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
18411         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
18412         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
18413         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
18414         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
18415         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
18416         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
18417         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
18418         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
18419         * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
18420         * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
18421         * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
18422         * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
18423         * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
18424         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
18425         Likewise.
18426         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
18427         (__libc_pread64): Likewise.
18428         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
18429         (__libc_preadv): Likewise.
18430         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
18431         (__libc_readv64): Likewise.
18432         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
18433         (__libc_pwrite): Likewise.
18434         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
18435         (__libc_pwrite64): Likewise.
18436         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
18437         (__libc_pwritev): Likewise.
18438         * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
18439         (__libc_pwritev64): Likewise.
18440         * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
18441         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
18442         (sync_file_range): Likewise.
18443         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
18444         Likewise.
18445         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
18446         Likewise.
18447         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
18448         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
18449         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
18450         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
18451         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
18452         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
18453         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
18454         * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
18455         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
18456         Likewise.
18457         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
18458         (__libc_read64): Likewise.
18459         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
18460         Likewise.
18461         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
18462         Likewise.
18463         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
18464         Likewise.
18465         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
18466         Likewise.
18467         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
18468         (__libc_pread64): Likewise.
18469         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
18470         Likewise.
18471         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
18472         (__libc_pwrite64): Likewise.
18473         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
18474         (sync_file_range): Likewise.
18475         * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
18476         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
18477         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
18478         * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
18479         * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
18480         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
18481         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
18482         * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
18483         * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
18484         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
18485         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
18486         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
18487         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
18488         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
18489         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
18490         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
18491         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
18492         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
18493         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
18494         Likewise.
18495         * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
18496         Likewise.
18497         * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
18498         * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
18499         Likewise.
18500         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
18501         * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
18502         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
18503         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
18504         Likewise.
18505         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
18506         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
18507         * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
18508         * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
18509         * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
18511 2015-06-04  Nathan Lynch  <nathan_lynch@codesourcery.com>
18513         * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
18514         Include dl-vdso.
18515         * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
18516         Use VDSO routines for gettimeofday, clock_gettime if
18517         available.
18518         * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
18519         Declare VDSO symbols.
18520         * sysdeps/unix/sysv/linux/arm/sysdep.h:
18521         [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
18522         [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
18523         * sysdeps/unix/sysv/linux/arm/Versions: Add
18524         __vdso_clock_gettime.
18526 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18528         * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
18529         be an inline implementation regardless of library is built within.
18530         (open_not_cancel_2): Likewise.
18531         (__read_nocancel): Likewise.
18532         (__write_nocancel): Likewise.
18533         (openat_not_cancel): Likewise.
18534         (openat_not_cancel_3): Likewise.
18535         (openat64_not_cancel): Likewise.
18536         (openat64_not_cancel_3): Likewise.
18537         (__close_nocancel): Likewise.
18538         (pause_not_cancel): Likewise.
18539         (nanosleep_not_cancel): Likewise.
18540         (sigsuspend_not_cancel): Likewise.
18542 2015-06-04  Torvald Riegel  <triegel@redhat.com>
18544         [BZ #14958]
18545         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
18546         wake-up.
18547         (__pthread_rwlock_rdlock_slow): Likewise.
18548         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
18549         Likewise.
18550         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
18551         Likewise.
18552         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
18553         * nptl/tst-rwlock16.c: New file.
18554         * nptl/Makefile (tests): Add new test.
18556 2015-06-04  Torvald Riegel  <triegel@redhat.com>
18558         [BZ #18324]
18559         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
18560         missing wake-up of readers.
18561         * nptl/tst-rwlock15.c: New file.
18562         * nptl/Makefile (tests): Add new test.
18564 2015-06-03  Roland McGrath  <roland@hack.frob.com>
18566         * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
18567         (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
18568         * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
18569         and __nacl_supply_interface_rtld.
18570         * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
18571         * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
18572         * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
18573         Add __nacl_supply_interface_rtld.
18574         (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
18576 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
18578         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
18579         isfinite.
18580         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
18581         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
18583 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
18585         * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
18586         __signbit* with standard C99 macros.
18587         * math/e_exp10l.c: Likewise.
18588         * math/e_exp2l.c: Likewise.
18589         * math/e_scalb.c: Likewise.
18590         * math/e_scalbf.c: Likewise.
18591         * math/e_scalbl.c: Likewise.
18592         * math/s_ldexp.c: Likewise.
18593         * math/s_ldexpf.c: Likewise.
18594         * math/s_ldexpl.c: Likewise.
18595         * math/w_atan2.c: Likewise.
18596         * math/w_atan2f.c: Likewise.
18597         * math/w_atan2l.c: Likewise.
18598         * math/w_cosh.c: Likewise.
18599         * math/w_coshf.c: Likewise.
18600         * math/w_coshl.c: Likewise.
18601         * math/w_exp10.c: Likewise.
18602         * math/w_exp10f.c: Likewise.
18603         * math/w_exp10l.c: Likewise.
18604         * math/w_exp2.c: Likewise.
18605         * math/w_exp2f.c: Likewise.
18606         * math/w_exp2l.c: Likewise.
18607         * math/w_fmod.c: Likewise.
18608         * math/w_fmodf.c: Likewise.
18609         * math/w_fmodl.c: Likewise.
18610         * math/w_hypot.c: Likewise.
18611         * math/w_hypotf.c: Likewise.
18612         * math/w_hypotl.c: Likewise.
18613         * math/w_jnl.c: Likewise.
18614         * math/w_lgamma.c: Likewise.
18615         * math/w_lgamma_r.c: Likewise.
18616         * math/w_lgammaf.c: Likewise.
18617         * math/w_lgammaf_r.c: Likewise.
18618         * math/w_lgammal.c: Likewise.
18619         * math/w_lgammal_r.c: Likewise.
18620         * math/w_pow.c: Likewise.
18621         * math/w_powf.c: Likewise.
18622         * math/w_powl.c: Likewise.
18623         * math/w_remainder.c: Likewise.
18624         * math/w_remainderf.c: Likewise.
18625         * math/w_remainderl.c: Likewise.
18626         * math/w_scalb.c: Likewise.
18627         * math/w_scalbf.c: Likewise.
18628         * math/w_scalbl.c: Likewise.
18629         * math/w_scalbln.c: Likewise.
18630         * math/w_scalblnf.c: Likewise.
18631         * math/w_scalblnl.c: Likewise.
18632         * math/w_sinh.c: Likewise.
18633         * math/w_sinhf.c: Likewise.
18634         * math/w_sinhl.c: Likewise.
18635         * math/w_tgamma.c: Likewise.
18636         * math/w_tgammaf.c: Likewise.
18637         * math/w_tgammal.c: Likewise.
18638         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
18639         * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
18640         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
18641         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
18642         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
18643         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
18644         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
18645         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
18646         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
18647         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
18648         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
18649         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
18650         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
18651         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
18652         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
18653         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
18654         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
18655         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
18656         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
18657         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
18658         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
18659         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
18660         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
18661         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
18662         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
18663         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
18664         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
18665         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
18666         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
18667         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
18668         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
18669         * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
18670         * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
18671         * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
18672         * stdio-common/printf_fp.c: Likewise.
18673         * stdio-common/printf_fphex.c: Likewise.
18674         * stdio-common/printf_size.c: Likewise.
18676 2015-06-03  Joseph Myers  <joseph@codesourcery.com>
18678         [BZ #18470]
18679         * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
18680         strnlen.
18681         * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
18682         Remove variable.
18683         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
18684         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
18685         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
18686         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
18687         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
18688         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
18689         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
18690         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
18691         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
18692         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
18694         [BZ #18468]
18695         * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
18696         weak alias of __wmemchr.  Use libc_hidden_weak.
18697         * include/wchar.h (__wmemchr): Declare.  Use libc_hidden_proto.
18698         * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
18699         instead of wmemchr.
18701 2015-06-02  Roland McGrath  <roland@hack.frob.com>
18703         [BZ #18383]
18704         * elf/tst-tlsalign-extern.c: New file.
18705         * elf/tst-tlsalign-extern-static.c: New file.
18706         * elf/tst-tlsalign-vars.c: New file.
18707         * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
18708         [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
18709         ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
18710         ($(objpfx)tst-tlsalign-extern-static): Likewise.
18711         (test-xfail-tst-tlsalign-extern-static): New variable.
18713 2015-06-02  Joseph Myers  <joseph@codesourcery.com>
18715         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
18716         Use variable name _sc_err instead of err.
18717         [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
18718         instead of ret.
18719         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
18720         (INLINE_SYSCALL): Use variable name _sc_err instead of err.
18721         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
18722         (INLINE_SYSCALL): Likewise.
18724         * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
18725         * include/string.h (__strnlen): Use libc_hidden_proto.
18726         * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
18727         * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
18728         (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
18729         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
18730         (libc_hidden_def): Undefine and redefine.
18731         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
18732         [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
18733         __GI_strnlen.
18734         * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
18735         libc_hidden_def.
18736         * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
18738         [BZ #18469]
18739         * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
18740         weak alias of __towlower.  Use libc_hidden_weak.
18741         (towupper): Rename to __towupper and define as weak alias of
18742         __towupper.  Use libc_hidden_weak.
18743         * include/wctype.h (__towlower): Declare.  Use libc_hidden_proto.
18744         (__towupper): Likewise.
18745         * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
18746         __towlower instead of towlower.
18748 2015-06-02  Roland McGrath  <roland@hack.frob.com>
18750         * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
18751         "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
18753 2015-06-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
18755         * sysdeps/aarch64/libm-test-ulps: Update.
18757 2015-06-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18759         * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
18760         Define.
18761         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
18762         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
18763         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
18764         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
18765         * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
18766         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
18767         * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
18769 2015-06-01  Martin Sebor  <msebor@redhat.com>
18771         [BZ #18116]
18772         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
18773         (__setcontext): Use extended four-operand version of mtsf whenever
18774         possible.
18775         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
18776         (__novec_swapcontext): Likewise.
18778 2015-06-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
18780         * benchtests/scripts/compare_bench.py: New file.
18781         * benchtests/scripts/import_bench.py (mean): New function.
18782         (split_list): Likewise.
18783         (do_for_all_timings): Likewise.
18784         (compress_timings): Likewise.
18786         * benchtests/scripts/import_bench.py: New file.
18787         * benchtests/scripts/validate_benchout.py: Import import_bench
18788         instead of jsonschema.
18789         (validate_bench): Remove function.
18790         (main): Use import_bench.
18792 2015-06-01  Steve Ellcey  <sellcey@imgtec.com>
18794         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
18795         copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
18797 2015-05-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18799         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18801 2015-05-28  Roland McGrath  <roland@hack.frob.com>
18803         * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
18804         set THREAD_SELF->tid to a magic value and futex-wake it.
18805         Pass its address to the thread_exit system call.
18806         * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
18807         bit is clear.
18808         * sysdeps/nacl/lowlevellock.h: New file.
18809         * sysdeps/nacl/lll_timedwait_tid.c: New file.
18811         * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
18812         Add TIMEOUT to current time, don't subtract it.
18814 2015-05-28  H.J. Lu  <hongjiu.lu@intel.com>
18816         [BZ #2981]
18817         [BZ #18422]
18818         * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
18819         ($(objpfx)tst-audit2.out): Also depend on
18820         $(objpfx)tst-auditmod9b.so.
18821         * elf/tst-audit2.c: Include <dlfcn.h>.
18822         (calloc_called): New.
18823         (calloc): Allow to be called more than once.
18824         (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
18826 2015-05-28  Wilco Dijkstra  <wdijkstr@arm.com>
18828         * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
18829         * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
18831 2015-05-27  Marko Myllynen  <myllynen@redhat.com>
18833         * stdlib/monetary.h: Fix comment.
18835 2015-05-26  Chris Metcalf  <cmetcalf@ezchip.com>
18837         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
18838         Avoid using variables in #defines that might cause shadowing.
18839         (INTERNAL_VSYSCALL_CALL): Likewise.
18841 2015-05-26  Roland McGrath  <roland@hack.frob.com>
18843         * sysdeps/nacl/lll_timedlock_wait.c: New file.
18845         * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
18846         * nptl/lll_timedlock_wait.c: ... to this new file.
18847         * nptl/Makefile (libpthread-routines): Add it.
18848         * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
18849         * nptl/lll_timedwait_tid.c: ... to this new file.
18850         * nptl/Makefile (libpthread-routines): Add it.
18851         * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
18852         * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
18853         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
18854         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
18855         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
18856         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
18857         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
18858         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
18859         * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
18860         * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
18862 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18864         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
18865         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
18866         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
18867         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
18868         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
18869         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
18870         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
18871         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
18872         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
18873         * sysdeps/unix/sysv/linux/tile/sysdep.h
18874         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
18875         * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
18876         using vDSO syscall macro.
18878 2015-05-26  Andriy Rysin  <arysin@gmail.com>
18880         [BZ #17293]
18881         * uk_UA: Fix sorting order for Ukrainian locale
18883 2015-05-26  Marko Myllynen  <myllynen@redhat.com>
18885         * stdlib/monetary.h: Fix comment.
18887 2015-05-26  Szabolcs Nagy  <szabolcs.nagy@arm.com>
18889         [BZ #18234]
18890         * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
18891         st_mtim and st_ctim members.
18892         * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
18893         st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
18894         * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
18895         (struct stat64): Likewise.
18896         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
18897         (struct stat64): Likewise.
18898         * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
18899         (struct stat64): Likewise.
18901 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18903         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
18904         Define and include sysdep-vdso.h.
18905         * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
18906         Likewise.
18907         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
18908         Likewise.
18909         * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
18910         Define with VDSO_SYMBOL and use PTR_MANGLE.
18911         (__vdso_clock_gettime): Likewise.
18912         (__vdso_clock_getres): Likewise.
18913         (_libc_vdso_platform_setup): Likewise.
18914         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
18915         Likewise.
18916         (_libc_vdso_platform_setup): Likewise.
18917         * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
18918         Likewise.
18919         (__vdso_clock_gettime): Likewise.
18920         (__vdso_clock_getres): Likewise.
18921         (__vdso_get_tbfreq): Likewise.
18922         (__vdso_getcpu): Likewise.
18923         (__vdso_time): Likewise.
18924         (__vdso_sigtramp_rt64): Likewise.
18925         (__vdso_signtramp32): Likewise.
18926         (__vdso_sigtramp_rt32): Likewise.
18927         (_libc_vdso_platform_setup): Likewise.
18928         * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
18929         Likewise.
18930         (__vdso_clock_gettime): Likewise.
18931         (__vdso_clock_getres): Likewise.
18932         (_libc_vdso_platform_setup): Likewise.
18933         * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
18934         Likewise.
18935         (__vdso_clock_gettime): Likewise.
18936         (_libc_vdso_platform_setup): Likewise.
18937         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
18938         Likewise.
18939         (__vdso_getcpu): Likewise.
18940         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
18941         Use VDSO_SYMBOL macro to define.
18942         (__vdso_clock_gettime): Likewise.
18943         (__vdso_clock_getres): Likewise.
18944         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
18945         Likewise.
18946         (__vdso_clock_gettime): Likewise.
18947         (__vdso_clock_getres): Likewise.
18948         (__vdso_get_tbfreq): Likewise.
18949         (__vdso_getcpu): Likewise.
18950         (__vdso_time): Likewise.
18951         (__vdso_sigtramp_rt64): Likewise.
18952         (__vdso_signtramp32): Likewise.
18953         (__vdso_sigtramp_rt32): Likewise.
18954         * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
18955         Likewise.
18956         (__vdso_clock_gettime): Likewise.
18957         (__vdso_clock_getres): Likewise.
18958         * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
18959         Likewise.
18960         (__vdso_clock_gettime): Likewise.
18961         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
18962         Likewise.
18963         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL):  Remove
18964         macro.
18965         (INTERNAL_VSYSCALL): Likewise.
18966         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
18967         Remove macro.
18968         (INTERNAL_VSYSCALL): Likewise.
18969         (INTERNAL_VSYSCALL_NCS): Likewise.
18970         (INTERNAL_VSYSCALL_CALL): New macro.
18971         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
18972         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
18973         Likewise.
18974         (INTERNAL_VSYSCALL): Likewise.
18975         (INTERNAL_VSYSCALL_NCS): Likewise.
18976         (INTERNAL_VSYSCALL_CALL): New macro.
18977         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
18978         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
18979         (INLINE_VSYSCALL): Remove macro.
18980         (INTERNAL_VSYSCALL): Remove macro.
18981         (INTERNAL_VSYSCALL_NCS): Remove macro.
18982         (INTERNAL_VSYSCALL_CALL): New macro.
18983         (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
18984         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
18985         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
18986         (HAVE_CLOCK_GETRES_VSYSCALL): New define.
18987         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
18988         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
18989         (INLINE_VSYSCALL): Remove macro.
18990         (INTERNAL_VSYSCALL): Likewise.
18991         (INTERNAL_VSYSCALL_NCS): Likewise.
18992         (INTERNAL_VSYSCALL_CALL): New macro.
18993         (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
18994         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
18995         PTR_DEMANGLE on vDSO pointer.
18996         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
18997         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
18998         macro.
18999         (INTERNAL_SYSCALL): Likewise.
19000         (INTERNAL_VSYSCALL_NCS): Remove macro.
19001         (INTERNAL_VSYSCALL_CALL): New macro.
19002         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
19003         Remove macro.
19004         (INTERNAL_VSYSCALL): Likewise.
19005         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
19006         sysdep-vdso.h instead of libc-vdso.h.
19007         * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
19008         definition.
19009         (INLINE_VSYSCALL): Likewise.
19010         (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
19011         * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
19012         definition.
19013         (INLINE_VSYSCALL): Likewise.
19014         (INTERNAL_VSYSCALL): Likewise.
19015         (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
19016         * sysdeps/unix/sysv/linux/timespec_get.c
19017         (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
19018         (timespec_get): Use ANSI prototype.
19019         * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
19020         and definition for Linux.
19022 2015-05-25  Andrew Senkevich  <andrew.senkevich@intel.com>
19024         * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
19025         * include/libc-symbols.h: libmvec_hidden_* macro series added.
19027 2015-05-22  H.J. Lu  <hongjiu.lu@intel.com>
19029         [BZ #2981]
19030         [BZ #18410]
19031         * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
19032         for missing DT_PLTRELSZ.
19034 2015-05-22  Paul Eggert  <eggert@cs.ucla.edu>
19036         Remove obsolete aliases that broke 'locale -a'
19037         [BZ #18412]
19038         * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
19039         which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
19040         breaking some applications that use 'locale -a' output.
19041         Change the encoding of this file from Latin-1 to ASCII to avoid
19042         other potential problems with people grepping this file.
19044 2015-05-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19046         * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
19047         -fasynchronous-unwind-tables.
19048         (CFLAGS-sendto.c): Likewise.
19049         (CFLAGS-sendmsg.c): Likewise.
19050         (CFLAGS-connect.c): Likewise.
19051         (CFLAGS-recvmsg.c): Likewise.
19052         (CFLAGS-recvfrom.c): Likewise.
19053         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
19054         (SOCKETCALL): New macro: non-cancellable socketcall.
19055         (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
19056         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
19057         internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
19058         * sysdeps/unix/sysv/linux/accept.c: New file.
19059         * sysdeps/unix/sysv/linux/bind.c: Likewise.
19060         * sysdeps/unix/sysv/linux/connect.c: Likewise.
19061         * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
19062         * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
19063         * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
19064         * sysdeps/unix/sysv/linux/listen.c: Likewise.
19065         * sysdeps/unix/sysv/linux/recv.c: Likewise.
19066         * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
19067         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
19068         * sysdeps/unix/sysv/linux/send.c: Likewise.
19069         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
19070         * sysdeps/unix/sysv/linux/sendto.c: Likewise.
19071         * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
19072         * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
19073         * sysdeps/unix/sysv/linux/socket.c: Likewise.
19074         * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
19075         * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
19076         prototype.
19077         (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
19078         (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
19079         instead of __internal_xxx function.
19080         * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
19081         prototype.
19082         (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
19083         (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
19084         instead of __internal_xxx function.
19085         * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
19086         prototype.
19087         (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
19088         (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
19089         instead of __internal_xxx function.
19090         * sysdeps/unix/sysv/linux/accept.S: Remove file.
19091         * sysdeps/unix/sysv/linux/bind.S: Likewise.
19092         * sysdeps/unix/sysv/linux/connect.S: Likewise.
19093         * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
19094         * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
19095         * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
19096         * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
19097         * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
19098         * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
19099         * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
19100         * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
19101         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
19102         * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
19103         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
19104         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
19105         * sysdeps/unix/sysv/linux/listen.S: Likewise.
19106         * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
19107         * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
19108         * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
19109         * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
19110         * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
19111         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
19112         * sysdeps/unix/sysv/linux/recv.S: Likewise.
19113         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
19114         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
19115         * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
19116         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
19117         * sysdeps/unix/sysv/linux/send.S: Likewise.
19118         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
19119         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
19120         * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
19121         * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
19122         * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
19123         * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
19124         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
19125         * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
19126         * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
19127         * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
19128         * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
19129         socketcall is implemented in GLIBC.
19131 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
19133         * soft-fp/fmadf4.c: Include <libc-internal.h>.
19134         (__fma): Ignore uninitialized warnings around packing.
19135         * soft-fp/fmasf4.c: Include <libc-internal.h>.
19136         (__fmaf): Ignore uninitialized warnings around packing.
19137         * soft-fp/fmatf4.c: Include <libc-internal.h>.
19138         (__fmal): Ignore uninitialized warnings around packing.
19140         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
19141         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
19142         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
19143         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
19145         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
19146         switch statement into default case.
19147         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
19149         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
19150         a conditional in forcing "inexact".
19151         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
19152         Likewise.
19154 2015-05-22  Roland McGrath  <roland@hack.frob.com>
19156         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
19157         Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
19158         for each INTERNAL_SYSCALL use.
19160 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
19162         [BZ #438]
19163         * posix/unistd.h (_POSIX2_C_VERSION): New macro.
19164         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
19165         variable.
19167         [BZ #18444]
19168         * string/basename.c (basename): Rename to __basename and define as
19169         weak alias of __basename.  Use libc_hidden_weak.
19170         * include/string.h (__basename): Declare.  Use libc_hidden_proto.
19171         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
19172         __basename instead of basename.
19173         * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
19174         Remove variable.
19175         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
19177 2015-05-18  Florian Weimer  <fweimer@redhat.com>
19179         * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
19180         (_IO_JUMPS_FILE_plus): New.
19181         (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
19182         _IO_CAST_FIELD_ACCESS.
19183         * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
19184         mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
19185         * libio/freopen.c (freopen): Likewise.
19186         * libio/freopen64.c (freopen64): Likewise.
19187         * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
19188         * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
19189         * libio/iofwide.c (_IO_fwide): Likewise.
19190         * libio/memstream.c (open_memstream): Likewise.
19191         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
19192         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
19193         * libio/oldiopopen.c (_IO_old_popen): Likewise.
19195 2015-05-21  Joseph Myers  <joseph@codesourcery.com>
19197         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
19198         (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
19199         NADJ.
19200         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
19201         (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
19202         NADJ.
19203         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
19204         (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
19205         NADJ.
19207         * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
19208         (p == 4) case.
19210         * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
19211         * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
19212         Remove variable.
19213         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
19214         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
19215         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
19217 2015-05-21  Florian Weimer  <fweimer@redhat.com>
19219         * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
19220         Adjust jump table label generation macros.
19222 2015-05-21  Florian Weimer  <fweimer@redhat.com>
19224         * stdio-common/vfprintf.c (vfprintf): Move local variables
19225         args_malloced, specs, specs_malloced, and the code after
19226         do_positional to the printf_positional function.
19227         (printf_positional): New function.
19229 2015-05-21  Florian Weimer  <fweimer@redhat.com>
19231         * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
19232         function.
19233         (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
19234         STEP4_TABLE, process_arg): Move macro definitions
19235         out of the vfprintf function.  (Cosmetic change only.)
19237 2015-05-21  Carlos O'Donell  <carlos@redhat.com>
19239         * benchtests/Makefile (stdio-common-bench): Define.
19240         (benchset): Add stdio-common-bench.
19241         * sprintf-inputs: New file.
19242         * sprintf-source.c: New file.
19244 2015-05-21  Andreas Schwab  <schwab@suse.de>
19246         [BZ #13028]
19247         [BZ #17053]
19248         * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
19249         of struct __res_state.
19250         * resolv/res_send.c (__libc_res_nsend): Likewise.
19251         (get_nsaddr): New function.
19252         (res_ourserver_p, send_vc, reopen): Use it instead of accessing
19253         statp directly.
19255 2015-05-20  Joseph Myers  <joseph@codesourcery.com>
19257         * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
19258         -D_POSIX_C_SOURCE=199506L.
19260         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
19262         * conform/data/unistd.h-data (_POSIX_VERSION): Require.
19263         (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
19264         Do not mention otherwise.
19265         [POSIX] (_XOPEN_VERSION): Do not expect.
19266         [POSIX] (_XOPEN_XCU_VERSION): Likewise.
19267         [POSIX] (_POSIX2_C_BIND): Likewise.
19268         [POSIX] (_POSIX2_VERSION): Likewise.
19269         [POSIX] (_XOPEN_XPG2): Likewise.
19270         [POSIX] (_XOPEN_XPG3): Likewise.
19271         [POSIX] (_XOPEN_XPG4): Likewise.
19272         [POSIX] (_XOPEN_UNIX): Likewise.
19273         [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
19274         [POSIX] (_POSIX_BARRIERS): Likewise.
19275         [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
19276         [POSIX] (_POSIX_CPUTIME): Likewise.
19277         [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
19278         [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
19279         [POSIX] (_POSIX_SHELL): Likewise.
19280         [POSIX] (_POSIX_SPAWN): Likewise.
19281         [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
19282         [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
19283         [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
19284         [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
19285         [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
19286         [POSIX] (_XBS5_ILP32_OFF32): Likewise.
19287         [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
19288         [POSIX] (_XBS5_LP64_OFF64): Likewise.
19289         [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
19290         [POSIX] (_POSIX_TIMEOUTS): Likewise.
19291         [POSIX] (_POSIX2_PBS): Likewise.
19292         [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
19293         [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
19294         [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
19295         [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
19296         [POSIX] (_POSIX2_PBS_TRACK): Likewise.
19297         [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
19298         [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
19299         [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
19300         [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
19301         [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
19302         [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
19303         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
19304         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
19305         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
19306         [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
19307         [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
19308         [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
19309         [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
19310         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
19311         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
19312         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
19313         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
19314         [POSIX] (_SC_2_C_BIND): Likewise.
19315         [POSIX] (_SC_2_C_VERSION): Likewise.
19316         [POSIX] (_SC_2_PBS): Likewise.
19317         [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
19318         [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
19319         [POSIX] (_SC_2_PBS_LOCATE): Likewise.
19320         [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
19321         [POSIX] (_SC_2_PBS_TRACK): Likewise.
19322         [POSIX] (_SC_ATEXIT_MAX): Likewise.
19323         [POSIX] (_SC_BARRIERS): Likewise.
19324         [POSIX] (_SC_BASE): Likewise.
19325         [POSIX] (_SC_CLOCK_SELECTION): Likewise.
19326         [POSIX] (_SC_DEVICE_IO): Likewise.
19327         [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
19328         [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
19329         [POSIX] (_SC_FD_MGMT): Likewise.
19330         [POSIX] (_SC_FIFO): Likewise.
19331         [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
19332         [POSIX] (_SC_FILE_LOCKING): Likewise.
19333         [POSIX] (_SC_FILE_SYSTEM): Likewise.
19334         [POSIX] (_SC_IOV_MAX): Likewise.
19335         [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
19336         [POSIX] (_SC_NETWORKING): Likewise.
19337         [POSIX] (_SC_PAGE_SIZE): Likewise.
19338         [POSIX] (_SC_PASS_MAX): Likewise.
19339         [POSIX] (_SC_PIPE): Likewise.
19340         [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
19341         [POSIX] (_SC_REGEXP): Likewise.
19342         [POSIX] (_SC_SHELL): Likewise.
19343         [POSIX] (_SC_SIGNALS): Likewise.
19344         [POSIX] (_SC_SINGLE_PROCESS): Likewise.
19345         [POSIX] (_SC_SPIN_LOCKS): Likewise.
19346         [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
19347         [POSIX] (_SC_USER_GROUPS): Likewise.
19348         [POSIX] (_SC_USER_GROUPS_R): Likewise.
19349         [POSIX] (_SC_STREAMS): Likewise.
19350         [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
19351         [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
19352         [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
19353         [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
19354         [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
19355         [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
19356         [POSIX] (_PC_FILESIZEBITS): Likewise.
19357         [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
19358         [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
19359         [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
19360         [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
19361         [POSIX] (uid_t): Likewise.
19362         [POSIX] (gid_t): Likewise.
19363         [POSIX] (off_t): Likewise.
19364         [POSIX] (pid_t): Likewise.
19365         [POSIX] (cuserid): Allow.
19366         (_SC_2_CHAR_TERM): Require constant.
19367         (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
19368         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
19369         variable.
19371 2015-05-20  Roland McGrath  <roland@hack.frob.com>
19373         * sysdeps/nacl/pthread-pids.h: New file.
19374         * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
19375         (create_thread): Use __nacl_get_tid to initialize PD->tid.
19377         * nptl/pthread-pids.h: New file.
19378         * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
19379         * nptl/nptl-init.c: Include <pthread-pids.h>.
19380         (__pthread_initialize_minimal_internal):
19381         Call __pthread_initialize_pids instead of set_tid_address syscall.
19383         * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
19384         * sysdeps/posix/usleep.c: ... here.
19386 2015-05-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19388         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
19389         call_pselect6 object.
19390         [$(subdir) = io]: Remove call_sync_file_range object.
19391         * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
19392         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
19393         * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
19394         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
19396 2015-05-20  Wilco Dijkstra  <wdijkstr@arm.com>
19398         * math/s_cproj.c: Add include "math_private.h".
19399         * math/s_cprojf.c: Likewise.
19400         * math/s_cprojl.c: Likewise.
19402 2015-05-19  Joseph Myers  <joseph@codesourcery.com>
19404         [BZ #18244]
19405         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
19406         high mantissa bit when testing whether P is a NaN.
19407         * math/libm-test.inc (remainder_test_data): Add more tests.
19408         (remquo_test_data): Likewise.
19410         [BZ #18049]
19411         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
19412         below -32, return the argument, with underflow if subnormal.
19413         * math/auto-libm-test-in: Add more tests of atanh.
19414         * math/auto-libm-test-out: Regenerated.
19416 2015-05-19  Roland McGrath  <roland@hack.frob.com>
19418         [BZ #18434]
19419         * nptl/tst-sem15.c: New file.
19420         * nptl/Makefile (tests): Add it.
19421         * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
19422         s/<</>>/ to fix typo in EOVERFLOW check.
19423         * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
19425 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
19427         * manual/strings.texi (envz_remove): Fix typo in safety
19428         annotations.
19430 2015-05-19  Paul Eggert  <eggert@cs.ucla.edu>
19431             Steve Ellcey  <sellcey@imgtec.com>
19433         * inet/rcmd.c (rresvport_af): Change ss to anonymous union
19434         in order to avoid strict alias warnings.
19435         (iruserok_af): Ditto for ra.
19437 2015-05-19  James Lemke  <jwlemke@codesourcery.com>
19439         [BZ #17581]
19440         * malloc/hooks.c
19441         (magicbyte): Convert to a function and avoid returning 0x01.
19442         (mem2mem_check): Avoid using a length byte equal to the magic byte.
19443         (mem2chunk_check): Fix unsigned comparisons to zero.
19444         Hoist defs of sz and magic.
19446 2015-05-19  Richard Henderson  <rth@redhat.com>
19448         * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
19450         * sysdeps/alpha/fpu/libm-test-ulps: Update.
19452 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
19454         [BZ #16159]
19455         * malloc/Makefile (tests): New test case tst-malloc-backtrace.
19456         * malloc/arena.c (arena_lock): Check if arena is corrupt.
19457         (reused_arena): Find a non-corrupt arena.
19458         (heap_trim): Pass arena to unlink.
19459         * malloc/hooks.c (malloc_check_get_size): Pass arena to
19460         malloc_printerr.
19461         (top_check): Likewise.
19462         (free_check): Likewise.
19463         (realloc_check): Likewise.
19464         * malloc/malloc.c (malloc_printerr): Add arena argument.
19465         (unlink): Likewise.
19466         (munmap_chunk): Adjust.
19467         (ARENA_CORRUPTION_BIT): New macro.
19468         (arena_is_corrupt): Likewise.
19469         (set_arena_corrupt): Likewise.
19470         (sysmalloc): Use mmap if there are no usable arenas.
19471         (_int_malloc): Likewise.
19472         (__libc_malloc): Don't fail if arena_get returns NULL.
19473         (_mid_memalign): Likewise.
19474         (__libc_calloc): Likewise.
19475         (__libc_realloc): Adjust for additional argument to
19476         malloc_printerr.
19477         (_int_free): Likewise.
19478         (malloc_consolidate): Likewise.
19479         (_int_realloc): Likewise.
19480         (_int_memalign): Don't touch corrupt arenas.
19481         * malloc/tst-malloc-backtrace.c: New test case.
19483         * Makefile (summarize-tests): Fix return value on success.
19485         * manual/string.texi (Envz Functions): Add envz_remove.
19487 2015-05-18  Roland McGrath  <roland@hack.frob.com>
19489         * sysdeps/posix/opendir.c: Include <stdbool.h>.
19490         (invalid_name): New function, broken out of ...
19491         (__opendirat): ... here.  Call it.
19492         (need_isdir_precheck): New function, broken out of ...
19493         (__opendirat): ... here.  Call it.
19494         Use __fxstatat64, not __xstatat64.
19495         (opendir_oflags): New function, broken out of ...
19496         (__opendirat): ... here.  Call it.
19497         (opendir_tail): New function, broken out of ...
19498         (__opendirat): ... here.  Call it.
19499         (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
19500         opendir_tail, rather than punting to __opendirat.
19501         (__opendirat): Conditionalize function definition on [IS_IN (libc)].
19503 2015-05-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
19505         * .gitignore: Ignore generated *.pyc.
19507 2015-05-18  Arjun Shankar  <arjun.is@lostca.se>
19509         * include/stdio.h: Define __need_wint_t.
19510         * test-skeleton.c: Avoid `for' loop initial declaration.
19511         * nptl/tst-initializers1.c: Use test-skeleton.c.
19513 2015-05-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19515         [BZ #18418]
19516         * stdlib/tst-setcontext3.sh: Remove non-portable array use.
19518 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
19520         [BZ #16352]
19521         * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
19522         (__ieee754_atanh): Force underflow exception for results with
19523         small absolute value.
19524         * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
19525         (__ieee754_atanhf): Force underflow exception for results with
19526         small absolute value.
19527         * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
19528         (__ieee754_atanh): Force underflow exception for results with
19529         small absolute value.
19530         * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
19531         (__ieee754_atanhf): Force underflow exception for results with
19532         small absolute value.
19533         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
19534         (__ieee754_atanhl): Force underflow exception for results with
19535         small absolute value.
19536         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
19537         (__ieee754_atanhl): Force underflow exception for results with
19538         small absolute value.
19539         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
19540         (__ieee754_atanhl): Force underflow exception for results with
19541         small absolute value.
19542         * math/auto-libm-test-in: Do not allow missing underflow
19543         exceptions from atanh.
19544         * math/auto-libm-test-out: Regenerated.
19546         [BZ #18221]
19547         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
19548         2**-28 as threshold for returning x or +/- 1/x.
19549         * math/auto-libm-test-in: Add more tests of tan.
19550         * math/auto-libm-test-out: Regenerated.
19552         [BZ #18220]
19553         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
19554         2**26 not 2**58 as threshold for returning x * (log (x) - 1).
19555         * math/auto-libm-test-in: Add another test of lgamma.
19556         * math/auto-libm-test-out: Regenerated.
19558 2015-05-15  Wilco Dijkstra  <wdijkstr@arm.com>
19560         * stdio-common/printf_fp.c (___printf_fp): Use abs.
19561         * stdlib/gmp-impl.h (ABS): Remove define.  (ABSIZ): Remove.
19562         * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
19563         * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
19564         (ESUB): Use fabs.  (ADD2): Use fabs.  (SUB2): Use fabs.
19565         (ADD2A): Use fabs.  (SUB2A): Use fabs.
19566         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
19567         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
19568         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
19569         (log1): Use fabs.  (my_log2): Use fabs.
19570         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
19571         * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
19572         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
19573         * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
19574         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
19575         (__cos): Use fabs.  (slow): Use fabs.  (slow2): Use fabs.
19576         (sloww): Use fabs.  (sloww1): Use fabs.  (sloww2): Use fabs.
19577         (bslow1): Use fabs.  (bslow2): Use fabs.  (cslow2): Use fabs.
19578         (csloww): Use fabs.  (csloww1): Use fabs.  (csloww2): Use fabs.
19579         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
19580         * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
19582 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
19584         [BZ #18217]
19585         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
19586         as threshold for returning 1 - x.
19587         * math/auto-libm-test-in: Add more tests of erfc.
19588         * math/auto-libm-test-out: Regenerated.
19590 2015-05-14  Joseph Myers  <joseph@codesourcery.com>
19592         [BZ #18196]
19593         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
19594         threshold for large arguments.
19595         * math/auto-libm-test-in: Add another test of atan.
19596         * math/auto-libm-test-out: Regenerated.
19598         [BZ #16339]
19599         * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
19600         (__log1p): Force underflow exception for results with small
19601         absolute value.
19602         * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
19603         (__log1pf): Force underflow exception for results with small
19604         absolute value.
19605         * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
19606         (__log1p): Force underflow exception for results with small
19607         absolute value.
19608         * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
19609         (__log1pf): Force underflow exception for results with small
19610         absolute value.
19611         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
19612         (__log1pl): Force underflow exception for results with small
19613         absolute value.
19614         * math/auto-libm-test-in: Do not allow missing underflow
19615         exceptions from log1p.
19616         * math/auto-libm-test-out: Regenerated.
19618 2015-05-14  Jakub Bogusz  <qboosh@pld-linux.org>
19619             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19621         [BZ #16704]
19622         * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
19624 2015-05-14  Andrew Senkevich  <andrew.senkevich@intel.com>
19626         * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
19627         (libmvec): New variable.
19628         * configure.ac: Added option for mathvec build.
19629         * configure: Regenerated.
19630         * mathvec/Depend: New file.
19631         * mathvec/Makefile: New file.
19632         * shlib-versions: Added libmvec.
19633         * math/Makefile: Added rule for libm.so installation.
19635         * bits/math-vector.h: New file.
19636         * bits/libm-simd-decl-stubs.h: New header.
19637         * math/Makefile (headers): Added new header
19638         libm-simd-decl-stubs.h.
19639         * math/math.h (__MATHCALL_VEC): New macro.
19641         * math/gen-libm-have-vector-test.sh: Script generates series of macros
19642         for conditions in testing functions.
19643         * math/Makefile: Added call of libm-have-vector-test.sh.
19644         * math/libm-test.inc (HAVE_VECTOR): New macros.
19646         * math/libm-test.inc: START refactored.
19647         * math/test-double.c (TEST_MATHVEC): Add define.
19648         * math/test-float.c: Likewise.
19649         * math/test-idouble.c: Likewise.
19650         * math/test-ifloat.c: Likewise.
19651         * math/test-ildoubl.c: Likewise.
19652         * math/test-ldouble.c: Likewise.
19653         * sysdeps/generic/math-tests-arch.h
19654         (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
19655         architecture check.
19657         * math/test-double.c (FUNC_TEST): New macro.
19658         * math/test-float.c: Likewise.
19659         * math/test-idouble.c: Likewise.
19660         * math/test-ifloat.c: Likewise.
19661         * math/test-ildoubl.c: Likewise.
19662         * math/test-ldouble.c: Likewise.
19663         * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
19665 2015-05-13  Roland McGrath  <roland@hack.frob.com>
19667         * sysdeps/nacl/fdopendir.c: New file.
19669         * dirent/scandir-tail.c: New file.
19670         * dirent/scandir64-tail.c: New file.
19671         * dirent/Makefile (routines): Add them.
19672         (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
19673         * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
19674         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
19675         [!SCANDIR] (SCANDIR_TAIL): New macro.
19676         (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
19677         * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
19678         (SCANDIRAT): Macro removed.
19679         (SCANDIR_TAIL): New macro.
19680         * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
19681         [!SCANDIRAT] (SCANDIR_TAIL): New macro.
19682         (SCANDIRAT): Just call __opendirat and __scandir_tail.
19683         * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
19684         (READDIR): Macro removed.
19685         (SCANDIR_TAIL): New macro.
19686         * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
19687         (SCANDIR_TAIL): New macro.
19689         * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
19690         * dirent/scandir-cancel.c: ... to this new file.
19691         * dirent/Makefile (routines): Add it.
19692         * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
19693         * sysdeps/unix/sysv/linux/i386/scandir64.c
19694         (SKIP_SCANDIR_CANCEL): Macro removed.
19695         * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
19697         * dirent/tst-scandir.c: New file.
19698         * dirent/tst-scandir64.c: New file.
19699         * dirent/Makefile (tests): Add them.
19701 2015-05-13  H.J. Lu  <hongjiu.lu@intel.com>
19703         [BZ #18409]
19704         * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
19706 2015-05-13  Szabolcs Nagy  <szabolcs.nagy@arm.com>
19708         * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
19709         list.
19711 2015-05-13  Leonhard Holz  <leonhard.holz@web.de>
19713         * benchtests/bench-strcoll.c: New benchmark.
19714         * benchtests/Makefile: Generate locales and run benchmark.
19715         * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
19716         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
19717         * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
19718         * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
19719         * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
19720         * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
19721         * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
19722         * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
19723         * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
19724         * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
19725         * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
19726         * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
19727         * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
19728         * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
19729         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
19730         * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
19731         * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
19732         * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
19733         * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
19734         * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
19735         * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
19736         * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
19737         * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
19738         * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
19740 2015-05-12  Ondřej Bílka  <neleai@seznam.cz>
19742         * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
19743         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
19745 2015-05-12  Roland McGrath  <roland@hack.frob.com>
19747         * posix/uname-values.h: New file.
19748         * posix/uname.c: Include that instead of <config-name.h>.
19749         * sysdeps/nacl/uname-values.h: New file.
19750         * sysdeps/arm/nacl/uname-values.h: New file.
19752 2015-05-12  Joseph Myers  <joseph@codesourcery.com>
19754         * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
19755         splitting into fields.
19757 2015-05-12  Leonhard Holz  <leonhard.holz@web.de>
19759         * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
19760         * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
19761         * locale/localeinfo.h: Add enum collation_encoding_type.
19762         * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
19763         * programs/ld-collate.c (collate_output): Add encoding type info.
19764         * string/strcoll_l.c (STRDIFF): New function.
19765         * (STRCOLL): Use STRDIFF to skip over equal prefix.
19766         * wcsmbs/wcscoll_l.c: Define STRDIFF.
19768 2015-05-11  Joseph Myers  <joseph@codesourcery.com>
19770         [BZ #18397]
19771         * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
19772         * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here.  Include
19773         <fpu_control.h> instead of <math/fpu_control.c>.
19774         * sysdeps/mips/mips32/fpu/Makefile: New file.
19776 2015-05-11  Andreas Schwab  <schwab@suse.de>
19778         [BZ #18007]
19779         * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
19780         nss_endgrent.
19781         (_nss_compat_endgrent): Call nss_endgrent.
19782         * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
19783         nss_endpwent.
19784         (_nss_compat_endpwent): Call nss_endpwent.
19785         * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
19786         needent, call nss_setspent only if non-zero.
19787         (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
19788         (internal_endspent): Don't call nss_endspent.
19789         (_nss_compat_endspent): Call nss_endspent.
19790         * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
19791         Remove.  All uses removed.
19792         (internal_setent): Remove parameter stayopen, add parameter
19793         stream.  Use it instead of global variable.
19794         (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
19795         (internal_endent, internal_getent): Add parameter stream.  Use it
19796         instead of global variable.
19797         (CONCAT(_nss_files_end,ENTNAME))
19798         (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
19799         (_nss_files_get##name##_r): Pass local stream.  Remove locking.
19800         * nss/nss_files/files-alias.c (position, last_use): Remove.  All
19801         uses removed.
19802         (internal_setent, internal_endent): Add parameter stream.  Use it
19803         instead of global variable.
19804         (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
19805         stream.
19806         (get_next_alias): Add parameter stream.
19807         (_nss_files_getaliasent_r): Pass global stream.
19808         (_nss_files_getaliasbyname_r): Pass local stream.  Remove locking.
19809         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
19810         (_nss_files_gethostbyname4_r): Pass local stream to
19811         internal_setent, internal_getent and internal_endent.  Remove
19812         locking.
19814 2015-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
19816         * tst-strfmon1.c (tests): Update expected currency symbol.
19818 2015-05-08  Roland McGrath  <roland@hack.frob.com>
19820         * sysdeps/nacl/gethostname.c: New file.
19822 2015-05-08  Joseph Myers  <joseph@codesourcery.com>
19824         * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
19825         and sinh.
19826         * math/auto-libm-test-out: Regenerated.
19827         * sysdeps/i386/fpu/libm-test-ulps: Update.
19828         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19830 2015-05-08  Carlos O'Donell  <carlos@redhat.com>
19832         [BZ #18125]
19833         * stdlib/tst-setcontext3.c: New file.
19834         * stdlib/tst-setcontext3.sh: New file.
19835         * stdlib/Makefile (tests): Add tst-setcontext3.
19836         (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
19837         to verify test program created output file.
19838         * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
19839         * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
19840         * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
19841         * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
19843 2015-05-06  Roland McGrath  <roland@hack.frob.com>
19845         [BZ #18383]
19846         * elf/tst-tlsalign.c: New file.
19847         * elf/tst-tlsalign-static.c: New file.
19848         * elf/tst-tlsalign-lib.c: New file.
19849         * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
19850         (tests-static): Add tst-tlsalign-static.
19851         (modules-names): Add tst-tlsalign-lib.
19852         (test-xfail-tst-tlsalign): New variable.
19853         (test-xfail-tst-tlsalign-static): New variable.
19855         * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
19856         Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
19858 2015-05-06  Joseph Myers  <joseph@codesourcery.com>
19860         * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
19861         csqrt, erfc, sin and sincos.
19862         * math/auto-libm-test-out: Regenerated.
19863         * sysdeps/i386/fpu/libm-test-ulps: Update.
19864         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19866 2015-05-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
19868         * sysdeps/aarch64/libm-test-ulps: Update.
19870 2015-05-05  Joseph Myers  <joseph@codesourcery.com>
19872         * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
19873         clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
19874         * math/auto-libm-test-out: Regenerated.
19875         * sysdeps/i386/fpu/libm-test-ulps: Update.
19876         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19878 2015-04-30  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
19880         [BZ #18265]
19881         * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
19882         (wcsncpy): Likewise.
19884 2015-05-05  Florian Weimer  <fweimer@redhat.com>
19886         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
19887         Assume __ASSUME_FALLOCATE is always true.
19888         * sysdeps/unix/sysv/linux/posix_fallocate64.c
19889         (__posix_fallocate64_l64): Likweise.
19890         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
19891         (posix_fallocate): Likewise.
19892         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
19893         (__posix_fallocate64_l64): Likewise.
19894         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
19895         [!__ASSUME_FALLOCATE]: Add comment.
19897 2015-05-05  Florian Weimer  <fweimer@redhat.com>
19899         * sysdeps/unix/sysv/linux/i386/Makefile
19900         (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
19901         (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
19902         * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
19903         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
19904         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
19905         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
19906         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
19908 2015-05-02  Joseph Myers  <joseph@codesourcery.com>
19910         * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
19911         cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
19912         tgamma.
19913         * math/auto-libm-test-out: Regenerated.
19914         * sysdeps/i386/fpu/libm-test-ulps: Update.
19915         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19917 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
19919         * math/auto-libm-test-in: Add more tests of tgamma.
19920         * math/auto-libm-test-out: Regenerated.
19921         * sysdeps/i386/fpu/libm-test-ulps: Update.
19922         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19924         * math/auto-libm-test-in: Add more tests of tanh.
19925         * math/auto-libm-test-out: Regenerated.
19926         * sysdeps/i386/fpu/libm-test-ulps: Update.
19927         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19929         * math/auto-libm-test-in: Add more tests of tan.
19930         * math/auto-libm-test-out: Regenerated.
19931         * sysdeps/i386/fpu/libm-test-ulps: Update.
19932         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19934         * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
19935         * math/auto-libm-test-out: Regenerated.
19936         * sysdeps/i386/fpu/libm-test-ulps: Update.
19937         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19939         * math/auto-libm-test-in: Add another test of pow.
19940         * math/auto-libm-test-out: Regenerated.
19941         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19943         * math/auto-libm-test-in: Add more tests of lgamma.
19944         * math/auto-libm-test-out: Regenerated.
19945         * sysdeps/i386/fpu/libm-test-ulps: Update.
19946         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19948         * math/auto-libm-test-in: Add more tests of log, log10, log2 and
19949         log1p.
19950         * math/auto-libm-test-out: Regenerated.
19951         * sysdeps/i386/fpu/libm-test-ulps: Update.
19952         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19954 2015-05-01  Mark Wielaard  <mjw@redhat.com>
19956         * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
19957         Elf64_Chdr structs and ELFCOMPRESS constants.
19959 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
19961         * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
19962         expm1.
19963         * math/auto-libm-test-out: Regenerated.
19964         * sysdeps/i386/fpu/libm-test-ulps: Update.
19965         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19967         * math/auto-libm-test-in: Add more tests of erf and erfc.
19968         * math/auto-libm-test-out: Regenerated.
19969         * sysdeps/i386/fpu/libm-test-ulps: Update.
19970         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19972 2015-05-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
19974         * config.h.in (HAVE_AARCH64_BE): Add.
19976 2015-04-30  Joseph Myers  <joseph@codesourcery.com>
19978         * math/auto-libm-test-in: Add more tests of csqrt.
19979         * math/auto-libm-test-out: Regenerated.
19980         * sysdeps/i386/fpu/libm-test-ulps: Update.
19981         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19983         * math/auto-libm-test-in: Add more tests of cosh and sinh.
19984         * math/auto-libm-test-out: Regenerated.
19985         * sysdeps/i386/fpu/libm-test-ulps: Update.
19986         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19988         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
19990 2015-04-29  Roland McGrath  <roland@hack.frob.com>
19992         * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
19993         * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
19995         * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
19996         (euidaccess, eaccess): Define as weak aliases.
19998         * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
19999         __SLONGWORD_TYPE rather than __S32_TYPE.  They are the same size,
20000         but __suseconds_t is often 'long int' so some sources assume that
20001         type is being used (e.g. they use %ld to print tv_usec).
20003 2015-04-29  Florian Weimer  <fweimer@redhat.com>
20005         [BZ #18007]
20006         * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
20007         (CVE-2014-8121)
20008         * nss/tst-nss-getpwent.c: New file.
20009         * nss/Makefile (tests): Add new test.
20011 2015-04-28  Joseph Myers  <joseph@codesourcery.com>
20013         [BZ #18346]
20014         * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
20015         exponents less than 48 as cases where high part of mantissa needs
20016         examining to determine whether argument is integral.
20017         * math/libm-test.inc (round_test_data): Add more tests.
20019 2015-04-28  Mark Wielaard  <mjw@redhat.com>
20021         * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
20023 2015-04-27  David S. Miller  <davem@davemloft.net>
20025         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
20026         __tls_get_addr.
20027         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
20029 2015-04-27  H.J. Lu  <hongjiu.lu@intel.com>
20031         [BZ#18333]
20032         * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
20034 2015-04-27  Florian Weimer  <fweimer@redhat.com>
20036         [BZ#18333]
20037         * time/tzset.c (parse_tzname): Return error on memory allocation
20038         failure.
20039         * test-skeleton.c (struct temp_name_list): Change type of name
20040         member to non-const.
20041         (add_temp_file): Create a copy of the file name.
20042         (delete_temp_files): Deallocate memory.
20043         (create_temp_file): Add comment.
20045 2015-04-24  Florian Weimer  <fweimer@redhat.com>
20047         * io/posix_fallocate.c (posix_fallocate): Do not set errno.
20048         * io/posix_fallocate64.c (posix_fallocate64): Likewise.
20050 2015-04-24  Roland McGrath  <roland@hack.frob.com>
20052         * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
20053         * sysdeps/arm/configure: Regenerated.
20055 2015-04-24  Florian Weimer  <fweimer@redhat.com>
20057         [BZ #17715]
20058         * time/tzfile.c (__tzfile_read): Check for large values of
20059         tzh_ttisstdcnt and tzh_ttisgmtcnt.  Use malloc instead of alloca.
20060         * time/tzset.c (__tzstring_len): New function, based on the old
20061         __tzstring function.
20062         (__tzstring): Call __tzstring_len.
20063         (parse_tzname): New helper function extracted from
20064         __tzset_parse_tz.  Call __tzstring_len, without making a copy of
20065         the input string.
20066         (parse_offset): New helper function extracted from
20067         __tzset_parse_tz.  Replace switch with fallthrough with
20068         initialization before sscanf.
20069         (parse_rule): Likewise.
20070         (__tzset_parse_tz): Rewrite using the new helper functions.  Use
20071         new-style function definition.
20072         * timezone/Makefile (tests): Add tst-tzset.
20073         (tst-tzset.out): Dependencies on time zone files.
20074         (tst-tzset-ENV): Set TZDIR.
20075         (testdata/XT%): Copy crafted time zone files.
20076         * timezone/README: Mention crafted time zone files.
20077         * timezone/testdata/XT1, timezone/testdata/XT2,
20078         timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
20079         files.
20080         * timezone/tst-tzset.c: New test.
20082 2015-04-24  Florian Weimer  <fweimer@redhat.com>
20084         * Makeconfig (+gccwarn): Remove -Winline.
20086 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
20088         * sysdeps/s390/fpu/libm-test-upls: Regenerate.
20090 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
20092         * NEWS: Mention sysconf() cache information support for s390.
20093         * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
20095 2015-04-22  Wilco Dijkstra  <wdijkstr@arm.com>
20097         * math/k_casinh.c (__kernel_casinh): Use __copysign.
20098         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
20099         (__nearbyint): Likewise.
20100         * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
20101         (copysignl): Likewise.
20103 2015-04-21  Arjun Shankar  <arjun.is@lostca.se>
20105         [BZ #18287]
20106         * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
20107         based on padding.  (CVE-2015-1781)
20109 2015-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20111         * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
20112         libc-vdso.h.
20113         * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
20114         * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
20115         * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
20116         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
20117         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
20118         * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
20119         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
20120         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
20121         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
20122         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
20123         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
20124         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
20125         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
20126         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
20127         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
20128         * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
20129         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
20130         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
20131         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
20132         * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
20133         * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
20134         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
20135         * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
20137 2015-04-19  Paul Eggert  <eggert@cs.ucla.edu>
20139         * stdlib/setenv.c (__add_to_environ):
20140         Dump core quickly if setenv (..., NULL, ...) is called.
20141         This time, do it the right way, and pacify GCC with a pragma.
20143 2015-04-17  Roland McGrath  <roland@hack.frob.com>
20145         * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
20146         IMAP->l_prev cannot be null, and #if out the code for the contrary
20147         case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
20148         believe that NS (&_dl_ns[NSID]) could point outside the array.
20150         * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
20151         check.  Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
20152         before using NSID as an index.
20154 2015-04-17  Il'ya Malakhov <ilmalakhov@yandex.ru>
20156         [BZ #17825]
20157         * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
20158         * sysdeps/sparc/sparc64/memcmp.S: Likewise.
20159         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
20161 2015-04-17  Roland McGrath  <roland@hack.frob.com>
20163         Add preliminary port to Google Native Client on ARM.
20164         * abi-tags (.*-.*-nacl.*): New entry.
20165         * sysdeps/arm/nacl: New directory.
20166         * sysdeps/nacl: New directory.
20168 2015-04-16  David S. Miller  <davem@davemloft.net>
20170         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
20171         lowlevellock-futex.h
20173 2015-04-16  Chris Metcalf  <cmetcalf@ezchip.com>
20175         * sysdeps/tile/configure.ac: New file.
20176         * sysdeps/tile/configure: Regenerated.
20178 2015-04-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20180         * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr.  Remove
20181         conditionals for weak_alias and libc_hidden_weak.
20182         * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
20183         libc_hidden_weak and weak_alias.
20184         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
20185         Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
20186         and weak_alias for static one.
20188 2015-04-15  David S. Miller  <davem@davemloft.net>
20190         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
20192 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
20194         [BZ #18206]
20195         * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
20196           Use signed comparision instead of substraction to avoid
20197           overflow bug.
20198         * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
20199           Take the sign of ret.
20200         * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
20201           Do not expect precise return values. Only the sign matters.
20202         * wcsmbs/Makefile (strop-tests): Add wcsncmp.
20203         * wcsmbs/test-wcsncmp.c: New File.
20204         * string/test-strncmp.c: Add wcsncmp support.
20206 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
20208         [BZ #6792]
20209         * math/w_log1p.c: New file.
20210         * math/w_log1pf.c: Likewise.
20211         * math/w_log1pl.c: Likewise.
20212         * math/Makefile (libm-calls): Add w_log1p.
20213         * math/s_log1pl.c (log1pl): Remove weak_alias.
20214         * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
20215         * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
20216         * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
20217         * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
20218         * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
20219         [NO_LONG_DOUBLE] (log1pl): Likewise.
20220         * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
20221         * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
20222         * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
20223         (log1p): Remove long_double_symbol.
20224         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
20225         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
20226         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
20227         * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
20228         remove weak_alias for corresponding log1p function.
20229         * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
20230         * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
20231         * sysdeps/ia64/fpu/w_log1p.c: New file.
20232         * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
20233         * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
20234         * math/libm-test.inc (log1p_test_data): Add errno expectations.
20236 2015-04-10  Joseph Myers  <joseph@codesourcery.com>
20238         [BZ #18247]
20239         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
20240         decimal exponent by 1.
20241         * stdlib/tst-strtod-round-data: Add more tests.
20242         * stdlib/tst-strtod-round.c (tests): Regenerated.
20244 2015-04-09  Joseph Myers  <joseph@codesourcery.com>
20246         * math/auto-libm-test-in: Add more tests of clog and clog10.
20247         * math/auto-libm-test-out: Regenerated.
20248         * sysdeps/i386/fpu/libm-test-ulps: Update.
20249         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20251 2015-04-09  Roland McGrath  <roland@hack.frob.com>
20253         * Makeconfig (module-cppflags): Exclude all .v.i files.
20254         (skip-module-cppflags): Variable removed.
20256         * configure.ac (libc_config_ok): Initialize before reading
20257         preconfigure scripts, not after.
20258         * configure: Regenerated.
20260         * test-skeleton.c (TIMEOUT): Move #define to top level.
20261         (main): Grok environment variable TEST_DIRECT.  If set, print
20262         test expectation details into that file and then behave as if
20263         given --direct.
20265 2015-04-09  Florian Weimer  <fweimer@redhat.com>
20267         * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
20268         warning on 32-bit.
20270 2015-04-08  David S. Miller  <davem@davemloft.net>
20272         * sysdeps/sparc/fpu/libm-test-ulps: Update.
20274 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
20276         * math/auto-libm-test-in: Add more tests of atanh.
20277         * math/auto-libm-test-out: Regenerated.
20278         * sysdeps/i386/fpu/libm-test-ulps: Update.
20279         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20281         * math/auto-libm-test-in: Add more tests of atan.
20282         * math/auto-libm-test-out: Regenerated.
20283         * sysdeps/i386/fpu/libm-test-ulps: Update.
20284         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20286 2015-04-08  Florian Weimer  <fweimer@redhat.com>
20288         * elf/pldd.c (main): Rewrite to use struct
20289         scratch_buffer instead of extend_alloca.
20290         * elf/pldd-xx.c (find_maps): Likewise.
20291         * grp/initgroups.c: Include <scratch_buffer.h> instead of
20292         <alloca.h>.
20293         * grp/compat-initgroups.c (compat_call): Rewrite to use struct
20294         scratch_buffer instead of extend_alloca.
20295         * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
20296         grp/compat-initgroups.c.
20297         * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
20298         Rewrite to use struct scratch_buffer instead of extend_alloca.
20299         * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
20300         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
20302 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
20304         * math/auto-libm-test-in: Add more tests of cbrt.
20305         * math/auto-libm-test-out: Regenerated.
20306         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20308         * math/auto-libm-test-in: Add more tests of cabs.
20309         * math/auto-libm-test-out: Regenerated.
20310         * sysdeps/i386/fpu/libm-test-ulps: Update.
20311         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20313         [BZ #18210]
20314         [BZ #18211]
20315         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
20316         (__ieee754_atan2): Set FE_TONEAREST mode for internal
20317         computations.
20318         * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
20319         clog10.
20320         * math/auto-libm-test-out: Regenerated.
20321         * sysdeps/i386/fpu/libm-test-ulps: Update.
20322         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20324         [BZ #18197]
20325         * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
20326         (atan): Set FE_TONEAREST mode for internal computations.
20327         * math/auto-libm-test-in: Add more tests of atan.
20328         * math/auto-libm-test-out: Regenerated.
20330 2015-04-07  James Cowgill  <james410@cowgill.org.uk>
20332         [BZ #17930]
20333         * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
20335 2015-04-07  Florian Weimer  <fweimer@redhat.com>
20337         * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
20339 2015-04-07  Florian Weimer  <fweimer@redhat.com>
20341         * include/scratch_buffer.h: New file.
20342         * malloc/scratch_buffer_grow.c: Likewise.
20343         * malloc/scratch_buffer_grow_preserve.c: Likewise.
20344         * malloc/scratch_buffer_set_array_size.c: Likewise.
20345         * malloc/tst-scratch_buffer.c: Likewise.
20346         * malloc/Makefile (routines): Add scratch_buffer_grow.
20347         (tests): Add test case.
20348         * malloc/Versions (GLIBC_PRIVATE): Export
20349         __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
20350         __libc_scratch_buffer_set_array_size.
20352 2015-04-06  Richard Henderson  <rth@redhat.com>
20354         * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
20355         * sysdeps/alpha/fpu/libm-test-ulps: Update.
20357         * math/test-fenvinline.c (feenable_test): Cast fe_exc to
20358         unsigned int before printing.
20360 2015-04-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
20362         [BZ #17596]
20363         * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
20364         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
20366 2015-04-02  Florian Weimer  <fweimer@redhat.com>
20368         * include/libc-internal.h (libc_max_align_t): Define.
20370 2015-04-02  Andreas Schwab  <schwab@suse.de>
20372         [BZ #16850]
20373         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
20375 2015-04-02  Mel Gorman  <mgorman@suse.de>
20377         [BZ #17195]
20378         * malloc/arena.c (free): Apply trim threshold to per-thread heaps
20379         as well as the main arena.
20381 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
20383         [BZ #18185]
20384         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
20385         sharing L2 cache to 2 for Silvermont/Knights Landing.
20387 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
20389         [BZ #17711]
20390         * config.make.in (have-protected-data): New.
20391         * configure.ac: Check linker support for protected data symbol.
20392         * configure: Regenerated.
20393         * elf/Makefile (modules-names): Add tst-protected1moda and
20394         tst-protected1modb if $(have-protected-data) is yes.
20395         (tests): Add tst-protected1a and tst-protected1b if
20396         $(have-protected-data) is yes.
20397         ($(objpfx)tst-protected1a): New.
20398         ($(objpfx)tst-protected1b): Likewise.
20399         (tst-protected1modb.so-no-z-defs): Likewise.
20400         * elf/tst-protected1a.c: New file.
20401         * elf/tst-protected1b.c: Likewise.
20402         * elf/tst-protected1mod.h: Likewise.
20403         * elf/tst-protected1moda.c: Likewise.
20404         * elf/tst-protected1modb.c: Likewise.
20406 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
20408         [BZ #17711]
20409         * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
20410         indicates it is called from do_lookup_x on relocation against
20411         protected data, skip the data definion in the executable from
20412         copy reloc.
20413         (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
20414         instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
20415         EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
20416         * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
20417         New.  Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
20418         otherwise to 0.
20419         * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
20420         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
20421         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
20422         * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
20423         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
20424         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
20426 2015-03-28  Martin Galvan  <martin.galvan@tallertechnologies.com>
20428         * sysdeps/nptl/pthread.h: Remove duplicate definition of
20429         PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
20431 2015-03-27  Martin Galvan  <martin.galvan@tallertechnologies.com>
20433         * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
20434         THREAD_SETMEM_NC.
20435         * sysdeps/x86_64/nptl/tls.h: Ditto.
20437 2015-03-27  Roland McGrath  <roland@hack.frob.com>
20439         * dlfcn/tststatic.c (main): Converted to ...
20440         (do_test): ... this.
20441         (TEST_FUNCTION): New macro.
20442         Include test-skeleton.c.
20444 2015-03-26  Alan Modra  <amodra@gmail.com>
20446         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
20447         Don't segfault if ifunc resolver returns a NULL.  Do set plt to
20448         zero for undefined weak.
20449         (elf_machine_plt_conflict): Similarly.
20451 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
20453         * math/auto-libm-test-in: Add more tests of acosh, asinh and
20454         atanh.
20455         * math/auto-libm-test-out: Regenerated.
20456         * sysdeps/i386/fpu/libm-test-ulps: Update.
20457         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20459         * math/auto-libm-test-in: Add another test of asin.
20460         * math/auto-libm-test-out: Regenerated.
20461         * sysdeps/i386/fpu/libm-test-ulps: Update.
20462         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20464         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
20465         Remove macro.
20466         (LLL_EBX_REG): Likewise.
20467         (LLL_ENTER_KERNEL): Likewise.
20469         * math/auto-libm-test-in: Add more tests of asin.
20470         * math/auto-libm-test-out: Regenerated.
20471         * sysdeps/i386/fpu/libm-test-ulps: Update.
20472         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20474         [BZ #18138]
20475         * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
20476         libc_do_syscall_args): New structure.
20477         (INTERNAL_SYSCALL_MAIN_0): New macro.
20478         (INTERNAL_SYSCALL_MAIN_1): Likewise.
20479         (INTERNAL_SYSCALL_MAIN_2): Likewise.
20480         (INTERNAL_SYSCALL_MAIN_3): Likewise.
20481         (INTERNAL_SYSCALL_MAIN_4): Likewise.
20482         (INTERNAL_SYSCALL_MAIN_5): Likewise.
20483         (INTERNAL_SYSCALL_MAIN_6): Likewise.  Call __libc_do_syscall.
20484         (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
20485         Replace conditional definitions by conditional definitions of ....
20486         (INTERNAL_SYSCALL_MAIN_INLINE): ... this.  New macro.
20487         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
20488         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
20489         (libpthread-sysdep_routines): Add libc-do-syscall.
20490         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
20491         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
20492         to __NR_futex not 240.
20494 2015-03-25  Alan Modra  <amodra@gmail.com>
20496         * NEWS: Advertise TLS optimization.
20497         * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
20498         (DT_PPC_NUM): Increment.
20499         * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
20500         (CHECK_STATIC_TLS): Use here.
20501         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
20502         TLS descriptors.
20503         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
20504         * sysdeps/powerpc/dl-tls.c: New file.
20505         * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
20506         * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
20507         * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
20508         Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
20509         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
20510         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
20511         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
20513 2015-03-25  Alan Modra  <amodra@gmail.com>
20515         * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
20516         for overlapping .opd entries" to "support...".
20517         * sysdeps/powerpc/powerpc64/configure: Regenerate
20519 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
20521         * math/auto-libm-test-in: Add more tests of acos.
20522         * math/auto-libm-test-out: Regenerated.
20523         * sysdeps/i386/fpu/libm-test-ulps: Update.
20524         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20526         * math/auto-libm-test-in: Add more tests of expm1.
20527         * math/auto-libm-test-out: Regenerated.
20528         * sysdeps/i386/fpu/libm-test-ulps: Update.
20529         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20531 2015-03-24  Joseph Myers  <joseph@codesourcery.com>
20533         * math/auto-libm-test-in: Add more tests of cosh and sinh.
20534         * math/auto-libm-test-out: Regenerated.
20535         * sysdeps/i386/fpu/libm-test-ulps: Update.
20536         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20538         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
20539         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20541         * math/auto-libm-test-in: Add more tests of log2.
20542         * math/auto-libm-test-out: Regenerated.
20543         * sysdeps/i386/fpu/libm-test-ulps: Update.
20544         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20546 2015-03-23  Roland McGrath  <roland@hack.frob.com>
20548         * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
20549         inside [F_GETFL].  Remove POSIX_MODE local variable, just test the
20550         _IO_IS_APPENDING bit in READ_WRITE instead.
20552 2015-03-23  Florian Weimer  <fweimer@redhat.com>
20554         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
20555         (__determine_cpumask_size): Replace extend_alloca with a
20556         variable-length array.  Do not treat res == 0 as an error.
20558 2015-03-23  Florian Weimer  <fweimer@redhat.com>
20560         [BZ #18100]
20561         * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
20562         and integer overflow.
20563         * posix/wordexp-test.c (test_case): Add divide-by-zero test.
20564         (main): Add integer overflow tests.
20565         * manual/pattern.texi (Calling Wordexp): Document additional use
20566         for WRDE_SYNTAX.
20568 2015-03-23  Alan Modra  <amodra@gmail.com>
20570         * config.h.in: Remove HAVE_ASM_PPC_REL16.
20571         * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
20572         and false branch of conditional.
20573         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
20574         Likewise.
20576 2015-03-21  Samuel Thibault  <samuel.thibault@ens-lyon.org
20578         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
20579         libc-modules.h
20580         * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
20581         unused declaration of _hurd_intr_rpc_msg_in_trap.
20582         * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
20583         defined instead of whether it is non-zero.
20584         * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
20585         input constraint instead of both input and output constraint.  Use ecx
20586         clobber instead of %ecx.
20587         * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
20588         mutex_unlock): Use a statement expression instead of an expression list.
20589         * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
20590         type to vm_size_t instead of vm_address_t.
20591         * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
20592         defined instead of whether it is non-zero.
20593         * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
20594         * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
20595         * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
20596         comparisons with mapaddr.
20597         * nscd/nscd-client.h: Include <time.h>.
20598         * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
20599         9th parameter to __vm_region instead of int.
20600         * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
20601         * scripts/check-local-headers.sh (exclude): Add device/,
20602         hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
20603         cthreads.h.
20605 2015-03-19  Roland McGrath  <roland@hack.frob.com>
20607         * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
20608         to account for alignment padding.
20609         * sysdeps/arm/memmove.S: Likewise.
20611 2015-03-19  Chris Metcalf  <cmetcalf@ezchip.com>
20613         * sysdeps/unix/sysv/linux/generic/README: New file.
20615 2015-03-18  Joseph Myers  <joseph@codesourcery.com>
20617         [BZ #18138]
20618         * nptl/sem_waitcommon.c: Include <kernel-features.h>.
20619         (futex_abstimed_wait)
20620         [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
20621         Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
20622         of lll_futex_timed_wait.
20624 2015-03-18  Brad Hubbard  <bhubbard@redhat.com>
20626         [BZ #17542]
20627         * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
20629 2015-03-17  Alexandre Oliva <aoliva@redhat.com>
20631         [BZ #17090]
20632         [BZ #17620]
20633         [BZ #17621]
20634         [BZ #17628]
20635         * NEWS: Update.
20636         * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
20637         entries with Static TLS too.  Skip entries past the end of the
20638         allocated DTV, from Alan Modra.
20639         (tls_get_addr_tail): Update to glibc_likely/unlikely.  Move
20640         Static TLS DTV entry set up from...
20641         (_dl_allocate_tls_init): ... here (fix modid assertion), ...
20642         * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
20643         * nptl/allocatestack.c (init_one_static_tls): ... and here...
20644         * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
20645         for Static TLS.
20646         * elf/tlsdeschtab.h (map_generation): Return size_t.  Check
20647         that the slot we find is associated with the given map before
20648         using its generation count.
20649         * nptl_db/db_info.c: Include ldsodefs.h.
20650         (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
20651         * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
20652         (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
20653         (link_map::l_tls_offset): New struct field.
20654         (dtv_t::counter): Likewise.
20655         (rtld_global): New struct.
20656         (_rtld_global): New rtld variable.
20657         (dl_tls_dtv_slotinfo_list): New rtld global field.
20658         (dtv_slotinfo_list): New struct.
20659         (dtv_slotinfo): Likewise.
20660         * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
20661         (td_lookup): Rename to...
20662         (td_mod_lookup): ... this.  Use new mod parameter instead of
20663         LIBPTHREAD_SO.
20664         * nptl_db/td_thr_tlsbase.c: Include link.h.
20665         (dtv_slotinfo_list, dtv_slotinfo): New functions.
20666         (td_thr_tlsbase): Check DTV generation.  Compute Static TLS
20667         addresses even if the DTV is out of date or missing them.
20668         * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
20669         index zero-length arrays.
20670         * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
20671         (td_lookup): Make it a macro implemented in terms of...
20672         (td_mod_lookup): ... this declaration.
20673         * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
20674         (DB_MAIN_VARIABLE): Likewise.
20676 2015-03-16  H.J. Lu  <hongjiu.lu@intel.com>
20678         [BZ #18134]
20679         * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
20681 2015-03-15  Paul Eggert  <eggert@cs.ucla.edu>
20683         * stdlib/setenv.c (__add_to_environ): Revert previous change.
20685 2015-03-14  Andreas Schwab  <schwab@linux-m68k.org>
20687         [BZ #18128]
20688         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
20689         (atomic_add, atomic_increment_and_test)
20690         (atomic_decrement_and_test): Fix 64-bit arithmetic.
20692 2015-03-13  Paul Eggert  <eggert@cs.ucla.edu>
20694         * stdlib/setenv.c (__add_to_environ):
20695         Dump core quickly if setenv (..., NULL, ...) is called.
20697 2015-03-13  Roland McGrath  <roland@hack.frob.com>
20699         * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
20700         (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
20701         all the necessary asm magic in one place.
20702         (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
20703         using those.
20705 2015-03-13  Carlos O'Donell  <carlos@redhat.com>
20707         [BZ #14906]
20708         * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
20709         traced file mtime. Use consistent log message.
20710         * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
20711         (register_traced_file): Call install_watches. Always set mtime.
20712         (invalidate_cache): Iterate over all trace files. Call install_watches.
20713         (inotify_check_files): Don't inline. Handle watching parent
20714         directories and configuration file movement in and out.
20715         (handle_inotify_events): New function.
20716         (main_loop_poll): Call handle_inotify_events.
20717         (main_loop_epoll): Likewise.
20718         * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
20719         (struct traced_file): Use array of inotify fds. Add parent directory,
20720         and basename.
20721         (struct database_dyn): Remove unused file_mtime.
20722         (init_traced_file): New inline function.
20723         (define_traced_file): New macro.
20724         * nss/nss_db/db-init.c: Use define_traced_file.
20725         (_nss_db_init): Use init_traced_file.
20726         * nss/nss_files/files-init.c: Use define_traced_file.
20727         (_nss_files_init): Use init_traced_file.
20729 2015-03-12  Joseph Myers  <joseph@codesourcery.com>
20731         * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
20732         [_LIBC]: Do not include <stdlib.h>.
20733         [!_LIBC] (abort): Remove declaration.
20734         * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
20735         _FP_STATIC_ASSERT instead of conditionally calling abort.
20736         * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
20737         (_FP_EXTEND_CNAN): Likewise.
20738         (FP_TRUNC): Likewise.
20739         (__FP_CLZ): Likewise.
20740         * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
20742 2015-03-12  Yaakov Selkowitz  <yselkowi@redhat.com>
20744         * manual/string.texi (XPG basename): Fix prototype.
20746 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
20748         [BZ #18080]
20749         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
20750         (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
20751         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
20752         (__setcontext): Likewise.
20753         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
20754         (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
20755         Call rt_sigprocmask syscall one time to set new signal mask
20756         and retrieve the current signal mask instead of two calls.
20757         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
20758         (__swapcontext): Likewise.
20759         * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
20760         * stdlib/tst-setcontext2.c: New file.
20762 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
20764         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
20766 2015-03-11  Aurelien Jarno  <aurelien@aurel32.net>
20768         [BZ #18093]
20769         * elf/cache.c (load_aux_cache): Regenerate the cache if it has
20770         the wrong size.
20772 2015-03-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
20774         [BZ #18043]
20775         * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
20777 2015-03-11  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
20779         * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
20780         * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
20781         Remove define.
20782         [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
20783         [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
20784         [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
20785         [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
20786         [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
20787         * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
20788         define.
20789         * nptl_db/td_symbol_list.c (td_lookup): Remove
20790         HAVE_ASM_GLOBAL_DOT_NAME code.
20791         * sysdeps/powerpc/powerpc64/configure.ac: Remove
20792         HAVE_ASM_GLOBAL_DOT_NAME check.
20793         * sysdeps/powerpc/powerpc64/configure: Regenerate.
20794         * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
20795         (DOT_LABEL): Remove define.
20796         [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
20797         [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
20798         [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
20799         * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
20800         (__TLS_GET_ADDR): Likewise.
20801         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
20802         [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
20804 2015-03-11  Carlos O'Donell  <carlos@redhat.com>
20806         [BZ #18111]
20807         * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
20808         (_FPU_SETCW): Initialize cw from fpsr before storing.
20809         * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
20810         (fesetexceptflag): Rewrite using fpu_control.h.
20811         * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
20813 2015-03-11  John David Anglin  <danglin@gcc.gnu.org>
20815         [BZ #18110]
20816         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
20817         asms.
20818         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
20820 2015-03-11  Joseph Myers  <joseph@codesourcery.com>
20822         * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
20823         * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
20824         abort.
20825         (_FP_FMA): Likewise.
20826         (_FP_DIV): Likewise.
20828 2015-03-10  Roland McGrath  <roland@hack.frob.com>
20830         * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
20831         with 0 in that case.
20832         * Makefile (summarize-tests): New canned sequence, factored out of
20833         commands for targets tests and xtests.  Display summary lines that
20834         don't start with PASS: or XFAIL: rather than ones that do start with
20835         ERROR: or FAIL:.  Make the commands fail if any summary lines fail
20836         to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
20837         do start with ERROR: or FAIL:.
20838         * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
20839         (except for [$(build-shared) = yes]).
20840         (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
20841         (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
20842         ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
20843         * nptl/Makefile: Revert 2015-03-04 changes.
20844         [$(CXX) empty] (tests-unsupported): New variable.
20845         * debug/Makefile: Likewise.
20847         * posix/regcomp.c: Fix comment typos and formatting to harmonize with
20848         gnulib file.  Replace __attribute with __attribute__ throughout.
20850 2015-03-10  Carlos O'Donell  <carlos@redhat.com>
20852         * sysdeps/hppa/fpu/libm-test-ulps: Update.
20854 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
20856         [BZ #18104]
20857         * math/auto-libm-test-in: Add another test of pow.
20858         * math/auto-libm-test-out: Regenerated.
20860 2015-03-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20862         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
20863         $(config-cflags-nofma).
20865 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
20867         * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
20868         * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
20869         * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
20870         * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
20871         * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
20872         * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
20873         * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
20874         * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
20875         * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
20876         * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
20877         Add comment on closing #endif.
20879 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
20881         * posix/wordexp.c (CHAR_IN_SET): New macro.
20882         (parse_param): Use it.
20884 2015-03-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20886         * sysdeps/powerpc/fpu/libm-test-ulps: update.
20888 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
20890         [BZ #18043]
20891         * posix/wordexp.c (parse_param): Fix buffer overflow.
20892         * posix/wordexp-test.c (test_case): Add test case.
20894 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
20896         [BZ #18042]
20897         * posix/wordexp.c (parse_backtick): Fix off-by-one.
20898         * posix/wordexp-test.c (test_case): Add test for BZ #18042.
20900 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
20902         [BZ #18043]
20903         * posix/wordexp-test.c (test_case): Add test for BZ #18043
20904         (do_bz18043): Delete.
20905         (at_page_end): New.
20906         (testit): Refactor to have words at the edge of unreadable page.
20908 2015-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
20910         [BZ #16734]
20911         * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
20912         Cleanup read-only streams as well.
20913         (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
20915 2015-03-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20917         * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
20918         <bits/libc-lockP.h>
20920 2015-03-07  Joseph Myers  <joseph@codesourcery.com>
20922         * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro.  Define depending
20923         on [__KERNEL__].
20924         * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
20925         * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
20926         * soft-fp/op-common.h (_FP_DECL): Likewise.
20928 2015-03-06  H.J. Lu  <hongjiu.lu@intel.com>
20930         * elf/ifuncdep2.c (global): Replace
20931         __attribute__((visibility("protected"))) with
20932         asm (".protected global").
20933         * elf/ifuncmod1.c (global): Likewise.
20934         * elf/ifuncmod5.c (global): Likewise.
20936 2015-03-06  Joseph Myers  <joseph@codesourcery.com>
20938         * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
20939         <asm/sfp-machine.h> instead of <sfp-machine.h>.
20941 2015-03-06  Roland McGrath  <roland@hack.frob.com>
20943         * manual/install.texi (Configuring and compiling):
20944         Document test-wrapper-env-only.
20945         * INSTALL: Regenerated.
20947 2015-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
20949         [BZ #18043]
20950         * posix/wordexp.c (parse_param): Fix buffer overflow.
20951         * posix/wordexp-test.c (do_bz18043): Add test case.
20953 2015-03-06  Vincent Bernat  <vincent@bernat.im>
20955         * time/tst-strptime2.c (do_test): Ensure failing tests are
20956         reported correctly.
20957         * time/tst-strptime3.c (do_test): Likewise.
20959 2015-03-06  Samuel Thibault  <samuel.thibault@inria.fr>
20961         Fix aio_error thread-safety.
20962         * sysdeps/pthread/aio_error.c: New file
20963         * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
20964         synchronization.
20966 2015-03-06  Florian Weimer  <fweimer@redhat.com>
20968         * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
20969         (group_number, vfprintf): Use it.
20970         (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
20971         (JUMP, REF): Use it.
20972         (WORK_BUFFER_SIZE): New enum constant.
20973         (process_arg, vfprintf): Use it.
20975 2015-03-06  Rical Jasan  <ricaljasan@pacific.net>
20977         * manual/errno.texi (Error Messages): Complete example function
20978         by adding missing #define.
20979         (program_invocation_name): Add statement indicating GNU
20980         extension and reference which header file declares the variable.
20981         (program_invocation_short_name): Likewise.
20983 2015-03-06  Mike Frysinger  <vapier@gentoo.org>
20985         * manual/errno.texi (Error Messages): Delete strerror ISO C89
20986         compatibility note.
20988 2015-03-05  Roland McGrath  <roland@hack.frob.com>
20990         * Makeconfig (test-wrapper-env-only): New variable.
20991         * Rules (make-test-out): If variable $*-ENV-only is nonempty,
20992         then use that with $(test-wrapper-env-only) rather than using
20993         $(test-wrapper-env) $(run-program-env) $($*-ENV).
20995 2015-03-05  H.J. Lu  <hongjiu.lu@intel.com>
20997         [BZ #18082]
20998         * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
20999         ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
21000         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
21001         * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
21002         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
21003         * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
21004         * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
21005         * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
21006         Likewise.
21007         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
21008         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
21009         Likewise.
21010         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
21011         Likewise.
21012         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
21013         Likewise.
21014         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
21015         Likewise.
21016         * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
21017         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
21018         Likewise.
21019         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
21020         Likewise.
21021         * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
21022         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
21024 2015-03-04  Roland McGrath  <roland@hack.frob.com>
21026         * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
21027         (ETH_ALEN): New macro.
21028         (struct ether_addr): Use it for length of ether_addr_octet.
21030         * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
21031         (setdb): Don't call __nss_configure_lookup for "rpc".
21032         (do_test): Don't call test_rpc.
21033         (output_rpcent, test_rpc): Functions moved ...
21034         * sunrpc/test-rpcent.c: ... to this new file.
21035         * sunrpc/Makefile (tests): Add it.
21037         * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
21038         __xpg_sigpause.
21039         * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
21040         * nptl/tst-signal6.c: Likewise.
21041         * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
21042         * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
21044         * configure.ac (libc_cv_cxx_link_ok): New check.
21045         Reset CXX to empty if it fails to link.
21046         * configure: Regenerated.
21047         * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
21048         bug-atexit3-lib only if $(CXX) is nonempty.
21049         * nptl/Makefile (tests): Likewise for tst-cancel24.
21050         (tests, tests-static): Likewise for tst-cancel24-static.
21051         * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
21052         tst-lfschk4, tst-lfschk5, and tst-lfschk6.
21053         * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
21054         tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
21056 2015-03-04  Andreas Schwab  <schwab@suse.de>
21058         [BZ #17631]
21059         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
21060         for non-GCC compilers.
21061         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
21062         Likewise.
21064 2015-03-03 Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
21066         [BZ #17776]
21067         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
21068         integer before bitwise and assembly operations.
21069         (feclearexcept): Likewise.
21070         * math/test-fenvinline.c: New file.
21071         * math/Makefile: Add test-fenvinline test.
21073 2015-03-03  Alan Modra  <amodra@gmail.com>
21075         [BZ #16512]
21076         * scripts/localplt.awk: Strip off symbol version.
21077         * NEWS: Mention bug fix.
21079 2015-03-02  Roland McGrath  <roland@hack.frob.com>
21081         * sysdeps/pthread/timer_routines.c
21082         (timer_free_list, thread_free_list, thread_active_list): Make static.
21084 2015-03-02  Joseph Myers  <joseph@codesourcery.com>
21086         [BZ #17779]
21087         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
21088         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
21089         Undefine.
21090         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
21091         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
21092         Likewise.
21093         * sysdeps/unix/sysv/linux/sh/kernel-features.h
21094         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
21095         Likewise.
21097 2015-03-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
21099         [BZ #18036]
21100         * posix/fnmatch_loop.c (END): Detect invalid pattern.
21101         * posix/tst-fnmatch3.c (do_bz18036): Add test case.
21103 2015-03-02  Andreas Schwab  <schwab@suse.de>
21105         * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
21106         variable name.
21108 2015-03-02  Florian Weimer  <fweimer@redhat.com>
21110         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
21111         Return error status.
21113 2015-02-27  Alexandre Oliva <aoliva@redhat.com>
21115         [BZ #15969]
21116         * locale/findlocale.c (_nl_find_locale): Introduce const
21117         version of loc_name and drop unsafe type casts.
21119 2015-02-27  Roland McGrath  <roland@hack.frob.com>
21121         * dlfcn/tststatic2.c (main): Converted to ...
21122         (do_test): ... this.
21123         (TEST_FUNCTION): New macro.
21124         Include test-skeleton.c.
21126 2015-02-27  H.J. Lu  <hongjiu.lu@intel.com>
21128         [BZ #17711]
21129         * elf/Makefile (tests): Add vismain only if PIE is enabled.
21130         (tests-pie): Add vismain.
21131         (CFLAGS-vismain.c): New.
21132         * elf/vismain.c: Add comments for PIE requirement.
21134 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
21136         [BZ #18046]
21137         [BZ #18047]
21138         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
21139         0x1p-56L as threshold for just returning the argument.
21140         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
21141         0x1p-32L as threshold for just returning the argument.
21142         * math/auto-libm-test-in: Add more tests of atanh.
21143         * math/auto-libm-test-out: Regenerated.
21144         * sysdeps/i386/fpu/libm-test-ulps: Update.
21145         * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
21147 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
21149         * string/bcopy.c (bcopy): Call memmove for performance.
21151 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
21153         * string/bzero.c (__bzero): Call memset for performance.
21155 2015-02-27  John David Anglin  <dave.anglin@bell.net>
21157         [BZ #18068]
21158         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
21159         to 00100000.
21161 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
21163         * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
21165 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
21167         * sysdeps/ieee754/k_standard.c (CSTR): New macro.
21168         (__kernel_standard): Use CSTR macro when setting exc.name.
21169         * sysdeps/ieee754/Makefile [$(subdir) = math]
21170         (CFLAGS-k_standard.c): Remove variable.
21172         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
21173         setting p and q from "else if" to "else".
21174         (qzero): Likewise.
21175         * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
21176         (qone): Likewise.
21177         * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
21178         (qzerof): Likewise.
21179         * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
21180         (qonef): Likewise.
21181         * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
21182         (qzero): Likewise.
21183         * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
21184         (qone): Likewise.
21186         [BZ #18038]
21187         [BZ #18039]
21188         * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
21189         return pi/2 for arguments below 0x1p-113L.
21190         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
21191         return pi/2 for arguments below 0x1p-106L.
21192         * math/auto-libm-test-in: Add more tests of acos.
21193         * math/auto-libm-test-out: Regenerated.
21195         [BZ #16351]
21196         * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
21197         (MO): New macro.
21198         (__ieee754_asin): Force underflow exception for results with small
21199         absolute value.
21200         * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
21201         (MO): New macro.
21202         (__ieee754_asinf): Force underflow exception for results with
21203         small absolute value.
21204         * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
21205         (__ieee754_asin): Force underflow exception for results with small
21206         absolute value.
21207         * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
21208         (__ieee754_asinf): Force underflow exception for results with
21209         small absolute value.
21210         * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
21211         (__ieee754_asinl): Force underflow exception for results with
21212         small absolute value.
21213         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
21214         (__ieee754_asinl): Force underflow exception for results with
21215         small absolute value.
21216         * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
21217         (__ieee754_asinl): Force underflow exception for results with
21218         small absolute value.
21219         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
21220         Include <math.h>.
21221         * math/auto-libm-test-in: Do not mark underflow exceptions as
21222         possibly missing for bug 16351.
21223         * math/auto-libm-test-out: Regenerated.
21225         [BZ #18030]
21226         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
21227         of power of 2 down when low part has opposite sign.
21228         * math/libm-test.inc (logb_test_data): Add more tests.
21230 2015-02-26  Andreas Schwab  <schwab@suse.de>
21232         [BZ #18032]
21233         * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
21234         over collating symbol inside a bracket expression.  Minor cleanup.
21235         * posix/tst-fnmatch3.c (do_test): Add test case.
21237 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
21239         [BZ #18029]
21240         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
21241         Adjust exponent of power of 2 down when low part has opposite
21242         sign.
21243         * math/libm-test.inc (ilogb_test_data): Add more tests.
21245 2015-02-26  Alexandre Oliva  <aoliva@redhat.com>
21247         [BZ #15969]
21248         * locale/findlocale.c (_nl_find_locale): Fix constness error in
21249         the previous change.
21251         [BZ #15969]
21252         * locale/findlocale.c (_nl_find_locale): Retry archive search
21253         after alias expansion.
21255 2015-02-25  Roland McGrath  <roland@hack.frob.com>
21257         * iconv/tst-iconv3.c (main): Converted to ...
21258         (do_test): ... this.
21259         (TEST_FUNCTION): New macro.
21260         Include test-skeleton.c.
21262         * iconv/tst-iconv5.c (testcode, number): Make variables static const.
21263         (convert): Make function static.
21264         (test_unalign): Likewise.  Add const to argument pointee types.
21265         (main): Replace with static function do_test.
21266         Print "Succeeded." only if RET is zero.
21267         (TEST_FUNCTION): New macro.
21268         Include test-skeleton.c.
21270         * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
21271         returns a null pointer.
21273 2015-02-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21275         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
21276         to __memcpy_ppc only for static builds.
21278 2015-02-25  Joseph Myers  <joseph@codesourcery.com>
21280         [BZ #18020]
21281         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
21282         2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
21283         * math/auto-libm-test-in: Add more tests of asinh.
21284         * math/auto-libm-test-out: Regenerated.
21285         * sysdeps/i386/fpu/libm-test-ulps: Update.
21286         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21288 2015-02-25  Cong Wang  <xiyou.wangcong@gmail.com>
21290         [BZ #15850]
21291         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
21292         and ip6_mtuinfo definitions here.
21293         * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
21294         in this define too.  Update comment.
21296 2015-02-24  Benno Schulenberg  <bensberg@justemail.net>
21298         * elf/sprof.c (load_shobj): Tweak error message to match others.
21300 2015-02-24  Kevin Easton  <kevin@guarana.org>
21302         [BZ #16145] (partial fix)
21303         * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
21304         to reduce lock contention.
21306 2015-02-24  Miroslav Lichvar  <mlichvar@redhat.com>
21308         * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
21309         (struct timex): Update time comment.
21310         (ADJ_SETOFFSET): Define.
21312 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
21314         [BZ #18019]
21315         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
21316         2**56 not 2**28 as threshold for log (2x) formula.
21317         * math/auto-libm-test-in: Add more tests of acosh.
21318         * math/auto-libm-test-out: Regenerated.
21319         * sysdeps/i386/fpu/libm-test-ulps: Update.
21320         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21322 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
21324         * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
21325         parenthesis around the buf assignment.
21326         [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
21328 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
21330         [BZ #16783]
21331         * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
21332         arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
21333         * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
21334         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
21335         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
21336         * math/libm-test.inc (scalb_test_data): Add more tests.
21338 2015-02-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
21340         [BZ #17916]
21341         * libio/fileops.c (_IO_new_file_fopen): Limit stack use
21342         * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
21344 2015-02-24  Eric Rannaud  <e@nanocritical.com>
21346         [BZ #17523]
21347         * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
21348         * io/bits/fcntl2.h (open): Use it.
21349         (openat): Likewise.
21350         * io/open.c (__libc_open): Likewise.
21351         * io/open64.c (__libc_open64): Likewise.
21352         * io/open64_2.c (__open64_2): Likewise.
21353         * io/open_2.c (__open_2): Likewise.
21354         * io/openat.c (__openat): Likewise.
21355         * io/openat64.c (__openat64): Likewise.
21356         * io/openat64_2.c (__openat64_2): Likewise.
21357         * io/openat_2.c (__openat_2): Likewise.
21358         * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
21359         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
21360         * sysdeps/posix/open64.c (__libc_open64): Likewise.
21361         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
21362         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
21363         (__open_nocancel): Likewise.
21364         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
21365         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
21366         * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
21368 2015-02-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
21370         [BZ #14841]
21371         * resolv/gethnamaddr.c (getanswer): Skip logging if
21372         RES_USE_DNSSEC is set.
21373         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
21375 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
21377         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
21379 2015-02-23  Alexandre Oliva <aoliva@redhat.com>
21381         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
21382         201304L, for Unicode 7.
21384 2015-02-23  H.J. Lu  <hongjiu.lu@intel.com>
21386         [BZ #17836]
21387         * csu/Makefile (extra-objs): Add gmon-start.o if not builing
21388         shared library.  Add gmon-start.os otherwise.
21389         ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
21390         $(objpfx)gmon-start.os if builing shared library.
21391         ($(objpfx)g$(static-start-installed-name)): Likewise.
21393 2015-02-23  Andreas Schwab  <schwab@suse.de>
21395         * elf/Makefile (CFLAGS-tst-audit2.c): Define.
21397 2015-02-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
21399         [BZ #17269]
21400         * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
21401         (enlarge_userbuf): Likewise.
21403 2015-02-22  Chung-Lin Tang  <cltang@codesourcery.com>
21405         * libio/tst-memstream2.c (TIMEOUT): Define as 100.
21406         * math/atest-exp.c (TIMEOUT): Adjust to 200.
21407         * math/atest-exp2.c (TIMEOUT): Adjust to 300.
21408         * math/atest-sincos.c (TIMEOUT): Adjust to 600.
21410 2015-02-20  Joseph Myers  <joseph@codesourcery.com>
21412         * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
21413         expression inside statement expression.
21415 2015-02-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
21417         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
21418         <sysdeps/nptl/lowlevellock.h> and remove macros and
21419         functions that are now defined there.
21420         (SYS_futex): Remove.
21421         (lll_compare_and_swap): Remove.
21422         * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
21424 2015-02-19  Joseph Myers  <joseph@codesourcery.com>
21426         [BZ #17999]
21427         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
21428         instead of scandirat.
21429         * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
21430         [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
21431         [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
21432         __scandirat.
21433         * include/dirent.h (scandirat): Do not use libc_hidden_proto.
21434         (__scandirat): Declare.  Use libc_hidden_proto.
21435         * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
21436         Remove variable.
21437         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
21439 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
21441         [BZ #15319]
21442         * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
21443         (MO): New macro.
21444         (__ieee754_atan2): For results with small absolute value, force
21445         underflow exception and remove excess range and precision from
21446         return value.
21447         * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
21448         (MO): New macro.
21449         (__ieee754_atan2f): For results with small absolute value, force
21450         underflow exception and remove excess range and precision from
21451         return value.
21452         * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
21453         (MO): New macro.
21454         (__atan): For results with small absolute value, force underflow
21455         exception and remove excess range and precision from return value.
21456         * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
21457         (MO): New macro.
21458         (__atanf): For results with small absolute value, force underflow
21459         exception and remove excess range and precision from return value.
21460         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
21461         <math.h>.
21462         (__ieee754_atan2): Force underflow exception for results with
21463         small absolute value.
21464         * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
21465         <math_private.h>.
21466         (atan): Force underflow exception for results with small absolute
21467         value.
21468         * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
21469         (__atanf): Force underflow exception for results with small
21470         absolute value.
21471         * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
21472         <math.h>.
21473         (__atanl): Force underflow exception for results with small
21474         absolute value.
21475         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
21476         (__atanl): Force underflow exception for results with small
21477         absolute value.
21478         * sysdeps/x86/fpu/bits/mathinline.h
21479         [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
21480         (__ieee754_atan2): Only define inline for long double.
21481         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
21482         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
21483         * math/auto-libm-test-in: Do not mark underflow exceptions as
21484         possibly missing for bug 15319.  Add more tests of atan2.
21485         * math/auto-libm-test-out: Regenerated.
21486         * math/libm-test.inc (casin_test_data): Do not mark underflow
21487         exceptions as possibly missing for bug 15319.
21488         (casinh_test_data): Likewise.
21489         * sysdeps/i386/fpu/libm-test-ulps: Update.
21491 2015-02-18  Steve Ellcey  <sellcey@imgtec.com>
21493         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
21494         * sysdeps/mips/bits/endian.h: Fix comments.
21496 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
21498         [BZ #17996]
21499         * include/search.h (hcreate_r): Don't use libc_hidden_proto.
21500         (hdestroy_r): Likewise.
21501         (hsearch_r): Likewise.
21502         (__hcreate_r): Declare and use libc_hidden_proto.
21503         (__hdestroy_r): Likewise.
21504         (__hsearch_r): Likewise.
21505         * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
21506         (hcreate): Call __hcreate_r instead of hcreate_r.
21507         (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
21508         * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
21509         as weak alias of __hcreate_r.
21510         (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
21511         __hdestroy_r.
21512         (hsearch_r): Rename to __hsearch_r and define as weak alias of
21513         __hsearch_r.
21514         * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
21515         Remove variable.
21516         (test-xfail-XPG4/search.h/linknamespace): Likewise.
21517         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
21518         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
21519         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
21521 2015-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
21523         * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
21524         arena_lock into a single arena_get.
21526 2015-02-17  Carlos O'Donell  <carlos@redhat.com>
21528         * dl-reloc.c: Inlucde libc-internal.h.
21529         (_dl_try_allocate_static_tls): Call ALIGN_UP.
21530         (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
21531         (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
21532         * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
21533         (grow_heap): Likewise.
21534         * malloc/malloc.c: Include libc-internal.h.
21535         (do_check_malloc): Call powerof2.
21536         (sysmalloc): Use pagesize. Call ALIGN_UP.
21537         (systrim): Use pagesize.
21538         (mremap_chunk): Use pagesize. Call ALIGN_UP.
21539         (__libc_valloc): Use pagesize.
21540         (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
21542 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
21544         [BZ #17991]
21545         * include/sys/resource.h (__getrlimit64): Declare.  Use
21546         libc_hidden_proto.
21547         * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
21548         and define as weak alias of __getrlimit64.  Use libc_hidden_weak.
21549         * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
21550         getrlimit64.
21551         * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
21552         __getrlimit64.
21553         [!getrlimit64] (getrlimit64): Define as weak alias of
21554         __getrlimit64.  Use libc_hidden_weak.
21555         * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
21556         using __getrlimit64 not __new_getrlimit64.
21557         (__GI_getrlimit64): Likewise.
21558         * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
21559         Likewise.
21560         (__GI_getrlimit64): Likewise.
21561         (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
21562         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
21563         (getrlimit): Add __getrlimit64 alias.
21564         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
21565         Likewise.
21566         * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
21567         Remove variable.
21568         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
21569         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
21571 2015-02-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
21573         * libio/fileops.c: Add missing sys/mman.h
21574         * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
21576 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
21578         * manual/math.texi (Errors in Math Functions): Clarify goals
21579         regarding inexact and underflow exceptions.
21581 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
21583         * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
21584         * sysdeps/mips/memset.S: Ditto.
21586 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
21588         * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
21590 2015-02-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
21592         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
21593         (__v1longjmp): Remove versioned symbol.
21594         (__v1siglongjmp): Remove alias and versioned symbol.
21595         (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
21596         (__v2siglongjmp): Likewise.
21598 2015-02-16  Torvald Riegel  <triegel@redhat.com>
21600         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
21602 2015-02-16  Mike Frysinger  <vapier@gentoo.org>
21604         * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
21606 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
21608         [BZ #17987]
21609         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
21610         zero result does not depend on the sign resulting from
21611         subtraction.
21612         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
21613         Likewise.
21614         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
21615         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
21616         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
21617         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
21618         * math/libm-test.inc (remquo_test_data): Add more tests.
21620 2015-02-16  Paul Eggert  <eggert@cs.ucla.edu>
21622         * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
21623         Problem reported by J William Piggott.
21625 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
21627         [BZ #17978]
21628         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
21629         products 4 * y and 2 * y where those would overflow.
21630         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
21631         Likewise.
21632         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
21633         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
21634         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
21635         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
21636         * math/libm-test.inc (remquo_test_data): Add more tests.
21638         * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
21640         * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
21641         [defined _COMPILING_NEWLIB].
21642         * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
21643         * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
21645         * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
21646         [!defined __mips_isa_rev || __mips_isa_rev < 6].
21648 2015-02-16  Torvald Riegel  <triegel@redhat.com>
21650         * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
21651         acquired.
21653 2015-02-15  Matthew Fortune <Matthew.Fortune@imgtec.com>
21655         [BZ #17792]
21656         * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
21657         (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
21658         HOST_STACK_END_ADDR): Likewise.
21660 2015-02-13  Steve Ellcey  <sellcey@imgtec.com>
21662         * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
21663         * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
21664         * sysdeps/mips/memset.S (__MIPSEB): Ditto.
21666 2015-02-13  Roland McGrath  <roland@hack.frob.com>
21668         * sysdeps/generic/c++-types.data: New file.
21669         * sysdeps/generic/ld.abilist: New file.
21670         * sysdeps/generic/libBrokenLocale.abilist: New file.
21671         * sysdeps/generic/libanl.abilist: New file.
21672         * sysdeps/generic/libc.abilist: New file.
21673         * sysdeps/generic/libcrypt.abilist: New file.
21674         * sysdeps/generic/libdl.abilist: New file.
21675         * sysdeps/generic/libm.abilist: New file.
21676         * sysdeps/generic/libpthread.abilist: New file.
21677         * sysdeps/generic/libresolv.abilist: New file.
21678         * sysdeps/generic/librt.abilist: New file.
21680 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
21682         [BZ #17569]
21683         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
21684         Compute absolute value of x as modified by fmod, not original
21685         value of x.
21686         * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
21687         RUN_TEST_ffI_f1_mod8.  Check extra return value mod 8.
21688         (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8.  Call
21689         RUN_TEST_ffI_f1_mod8.
21690         (remquo_test_data): Add more tests.
21692 2015-02-13  Roland McGrath  <roland@hack.frob.com>
21694         * sysdeps/init_array/pt-crti.S: New file.
21696 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
21698         [BZ #17967]
21699         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
21700         __builtin_fmaf instead of relying on contraction of a * b + c.
21702 2015-02-12  J William Piggott  <elseifthen@gmx.com>
21704         [BZ #17969]
21705         * manual/time.texi: correct the zoneinfo path in the TZ Variable
21706         node.
21708 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
21710         [BZ #17964]
21711         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
21712         __builtin_fma instead of relying on contraction of a * b + c.
21714 2015-02-12  Roland McGrath  <roland@hack.frob.com>
21716         * Makeconfig (ASFLAGS): Add -Werror=undef.
21717         * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
21718         * sysdeps/unix/make-syscalls.sh: Always emit #define's for
21719         SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
21721         * Makeconfig (after-link): New variable.
21722         (+link-pie, +link-pie-tests): Use it.
21723         (+link-static, +link-static-tests): Likewise.
21724         (+link, +link-tests): Likewise.
21725         * Makerules (build-module, build-module-asneeded): Likewise.
21726         (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
21727         Likewise.
21728         * elf/Makefile ($(objpfx)ld.so): Likewise.
21730 2015-02-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
21732         [BZ #17965]
21733         * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
21734         both struct timeval and struct timespec.
21736 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
21738         [BZ #16560]
21739         * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
21740         and redefine.
21741         (__ieee754_exp2l): Do not multiply small fractional parts by
21742         M_LN2l.
21743         * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
21744         small argument.
21745         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
21746         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
21747         * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
21748         * math/auto-libm-test-in: Add more tests of exp2.
21749         * math/auto-libm-test-out: Regenerated.
21751 2015-02-12  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
21753         * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
21754         unaligned path.
21756 2015-02-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21758         * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
21759         little endian.
21761 2015-02-12  Andreas Schwab  <schwab@suse.de>
21763         [BZ #15790]
21764         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
21765         Filter out elision flags from value returned in kind.
21766         * nptl/Makefile (tests): Add tst-pthread-mutexattr.
21767         * nptl/tst-pthread-mutexattr.c: New file.
21769 2015-02-11  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21771         * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
21772         * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
21773         into gnu-gnu, and update comment to refer to abi-tags.
21775 2015-02-11  Joseph Myers  <joseph@codesourcery.com>
21777         [BZ #15467]
21778         * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
21779         (__sincos): Set errno to EDOM for infinite argument.
21780         * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
21781         (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
21782         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
21783         (__sincosl): Set errno to EDOM for infinite argument.
21784         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
21785         (__sincosl): Set errno to EDOM for infinite argument.
21786         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
21787         (__sincosl): Set errno to EDOM for infinite argument.
21788         * math/libm-test.inc (sincos_test_data): Test errno setting.
21790 2015-02-11  Leonhard Holz  <leonhard.holz@web.de>
21792         * string/strxfrm_l.c: Remove #define STRCMP.
21793         * string/strcoll_l.c: Remove #define STRLEN.
21794         * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
21795         * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
21797 2015-02-10  Joseph Myers  <joseph@codesourcery.com>
21799         * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
21800         * sysdeps/mips/mips32/sfp-machine.h: ... here.
21801         * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
21802         * sysdeps/mips/mips64/Makefile: ... here.
21803         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
21804         * sysdeps/mips/mips64/e_sqrtl.c: ... here.
21805         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
21806         * sysdeps/mips/mips64/sfp-machine.h: ... here.
21807         * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
21808         * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
21809         * sysdeps/mips/mips64/n64/Implies: Likewise.
21811 2015-02-10  Roland McGrath  <roland@hack.frob.com>
21813         * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
21814         <sys/time.h>, <string.h>, and <errno.h>.
21815         (dest_offset, dest_address, value, zero): Remove unused variables.
21816         (ldouble): Remove typedef.
21817         (myFPsighandler): Use simple handler signature, not SA_SIGINFO
21818         signature.  Pass 1 to siglongjmp rather than 0 (which is converted to
21819         1).  Fix code style.
21820         (set_sigaction_FP, remove_sigaction_FP): Functions removed.
21821         (check): Function removed.
21822         (CHECK): New macro.
21823         (TEST_FUNC): Fix code style.  Use CHECK macro rather than repeating
21824         boilerplate feclearexcept + feenableexcept + sigsetjmp code.
21825         Don't call set_sigaction_FP and remove_sigaction_FP here.
21826         (ldouble_test): Just use 'long double' as macro argument, no need for
21827         the 'ldouble' typedef.
21828         (do_test): Set up SIGFPE handler at start, using plain signal rather
21829         than sigaction.  Fix code style.
21831 2015-02-10  Evangelos Foutras  <evangelos@foutrelis.com>
21833         [BZ #17949]
21834         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
21835         jump label.
21837 2015-02-09  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
21839         * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
21840         * sysdeps/powerpc/powerpc32/configure: Regenerated.
21842         * sysdeps/powerpc/configure.ac: Remove file.
21843         * sysdeps/powerpc/configure: Likewise.
21845         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
21846         [sysdep_routines]: Remove wordcopy-power6 object.
21847         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
21848         (__memmove_power7): Use local call for wordcopy and memcpy symbols.
21849         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
21850         (__memmove_ppc32): Likewise.
21851         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
21852         file.
21853         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
21854         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
21855         Remove preprocessor.
21857         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
21858         [sysdep_routines]: Remove wide chars objects.
21859         [wcsmbs]: New rule for wide char objects.
21861         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
21862         Remove wordcopy-power6 obejct.
21863         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
21864         Use local call for wordcopy and memcpy symbols.
21865         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
21866         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
21867         implementation for loader.
21868         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
21870         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
21871         Remove wordcopy-power7 object.
21872         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
21873         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
21874         (_wordcopy_fwd_aligned): Remove POWER7 specialization.
21875         (_wordcopy_fwd_dest_aligned): Likewise.
21876         (_wordcopy_bwd_aligned): Likewise.
21877         (_wordcopy_bwd_dest_aligned): Likewise.
21879         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
21880         Rewrite to call __memmove_ppc instead of include default
21881         implementation.
21883         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
21884         Remove wide chars objects.
21885         [wcsmbs]: New rule for wide char objects.
21887 2015-02-09  Andreas Schwab  <schwab@suse.de>
21889         [BZ #17912]
21890         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
21891         in terms of __O_DIRECTORY.
21893 2015-02-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21895         * time/getdate.c: Include <stdbool.h>.
21896         * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
21897         call PTR_MANGLE.
21898         [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
21899         PTR_DEMANGLE.
21901 2015-02-07  Paul Eggert  <eggert@cs.ucla.edu>
21903         Add ersatz _Static_assert on older C hosts
21904         * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
21905         pre-C11 C platform that is not known to support _Static_assert.
21907 2015-02-07  Richard Braun  <rbraun@sceen.net>
21909         * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
21910         sigstate.
21911         * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
21913 2015-02-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21915         * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
21916         priority against unexistent AIO_PRIO_DELTA_MAX.
21917         * misc/chflags.c (chflags): Set flags parameter type to unsigned long
21918         instead of int.
21919         * misc/fchflags.c (fchflags): Likewise.
21920         * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
21921         * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
21922         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
21923         UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
21924         SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
21925         Declare macros.
21926         [__USE_MISC] (chflags, fchflags): Declare functions.
21927         * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
21928         EINVAL when nfds is greater than FD_SETSIZE.
21929         * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
21930         NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
21931         45.
21932         * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
21933         __mach_msg.  If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
21934         * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
21935         MACH_RCV_TIMED_OUT.
21936         * hurd/hurd/signal.h (_hurd_self_sigstate,
21937         _hurd_critical_section_lock, _hurd_critical_section_unlock):
21938         Explicit casts from void *.
21939         * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
21940         * abi-tags: Rename gnu-gnu os into gnu.
21942         [BZ #4719]
21943         * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
21944         _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
21945         _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
21946         _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
21947         _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
21948         _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
21950         [BZ #17944]
21951         * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
21952         duplicates ADDR->sun_path with sockaddr LEN limitation.
21953         * sysdeps/mach/hurd/connect.c: Include <string.h>
21954         (__connect): Give result of _hurd_sun_path_dupa to name lookup.
21955         * sysdeps/mach/hurd/sendmsg.c: Likewise.
21956         * sysdeps/mach/hurd/sendto.c: Likewise.
21957         * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
21958         implementing it by hand.
21960 2015-02-06  Roland McGrath  <roland@hack.frob.com>
21962         * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
21963         Use sfi_breg on ldr.
21964         [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
21965         Likewise.
21967         * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
21968         it's defined.
21969         * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
21970         Test SIGSETXID only if it's defined.
21972         * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
21974         * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
21975         will not be used.  Use NULL rather than 0 for .sigev_notify_attributes.
21977         * nptl/tst-align2.c: Moved ...
21978         * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
21979         * nptl/Makefile (tests): Remove tst-align2.
21980         * sysdeps/unix/sysv/linux/Makefile
21981         [$(subdir) = nptl] (tests): Add tst-align-clone.
21982         * nptl/tst-getpid1.c: Moved ...
21983         * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
21984         * nptl/tst-getpid2.c: Moved ...
21985         * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
21986         * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
21987         * sysdeps/unix/sysv/linux/Makefile
21988         [$(subdir) = nptl] (tests): ... here.
21989         * nptl/Makefile (tst-getpid2-ENV): Move variable ...
21990         * sysdeps/unix/sysv/linux/Makefile
21991         [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
21993         * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
21994         Drop trailing \n from perror argument.  Use return rather than exit.
21996         * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
21997         on [SA_SIGINFO].
21998         * nptl/tst-cancel21.c (do_test): Likewise.
21999         * debug/tst-backtrace6.c: Include <signal.h> first thing.
22000         Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
22001         [!SA_SIGINFO]: Make it a stub test.
22003         * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
22004         SIGCHLD; it's redundant with SIG_IGN as sa_handler.
22006         * posix/tst-getlogin.c: Move to ...
22007         * login/tst-getlogin.c: ... here.
22008         * posix/Makefile (tests): Move tst-getlogin to ...
22009         * login/Makefile (tests): ... here.
22011         * libio/tst-atime.c (do_test): Move local variables SV and E
22012         inside [ST_NOATIME] conditional.
22014         * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
22016         * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
22018         * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
22019         (wait_code): New function replaces macro.
22020         Call nanosleep rather than syscall.
22022         * nptl/pt-system.c: Rewritten.  Put everything under
22023         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
22024         Use IFUNC to redirect when possible.
22026         * nptl/pt-longjmp.c: Rewritten.  Put everything under
22027         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
22028         Use IFUNC to redirect when possible.
22030         * nptl/pt-fork.c: Rewritten.  Put everything under
22031         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
22032         Use IFUNC to redirect when possible.
22033         * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
22035         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
22036         code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
22037         unconditionally nowadays.  This included the only reference to
22038         __vdso_clock_gettime that appears outside libc proper.
22039         * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
22040         Remove version set (containing only __vdso_clock_gettime).
22041         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
22042         Add attribute_hidden.
22043         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
22044         Likewise.  Drop __attribute__ ((nocommon)), libc_hidden_proto, and
22045         libc_hidden_data_def.
22046         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
22047         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
22049         * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
22050         getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
22051         setrpcent, and getrpcport to ...
22052         * sunrpc/Versions (libc: GLIBC_2.0): ... here.
22053         * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
22054         getrpcbynumber_r, and getrpcent_r to ...
22055         * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
22056         * inet/getrpcbyname.c: Moved ...
22057         * sunrpc/getrpcbyname.c: ... here.
22058         * inet/getrpcbyname_r.c: Moved ...
22059         * sunrpc/getrpcbyname_r.c: ... here.
22060         * inet/getrpcbynumber.c: Moved ...
22061         * sunrpc/getrpcbynumber.c: ... here.
22062         * inet/getrpcbynumber_r.c: Moved ...
22063         * sunrpc/getrpcbynumber_r.c: ... here.
22064         * inet/getrpcent.c: Moved ...
22065         * sunrpc/getrpcent.c: ... here.
22066         * inet/getrpcent_r.c: Moved ...
22067         * sunrpc/getrpcent_r.c: ... here.
22068         * inet/Makefile (routines): Move those to ...
22069         * sunrpc/Makefile (routines): ... here.
22070         * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
22071         the $(subdirs) list.
22072         (CPPFLAGS-getent.c): New variable.  Pass -D option to set HAVE_SUNRPC
22073         to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
22074         * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
22075         (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
22077         * elf/Makefile (routines): Include $(all-dl-routines), not just
22078         $(dl-routines).
22079         (rtld-routines): Likewise.  Use = rather than :=.
22080         * sysdeps/aarch64/Makefile [$(subdir) = elf]
22081         (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
22082         dl-tlsdesc to these; sysdep-dl-routines alone is enough.
22083         * sysdeps/arm/Makefile: Likewise.
22084         * sysdeps/i386/Makefile: Likewise.
22085         * sysdeps/x86_64/Makefile: Likewise.
22086         * sysdeps/hppa/Makefile [$(subdir) = elf]
22087         (sysdep_routines, sysdep-rtld-routines): Don't add
22088         $(sysdep-dl-routines) to these.
22089         * sysdeps/ia64/Makefile: Likewise.
22090         * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
22091         * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
22092         [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
22093         Don't add dl-static to these; sysdep-dl-routines alone is enough.
22094         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
22095         * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
22096         * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
22097         * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
22098         * sysdeps/powerpc/Makefile [$(subdir) = elf]
22099         (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
22100         these; sysdep-dl-routines alone is enough.
22102 2015-02-06  Joseph Myers  <joseph@codesourcery.com>
22104         [BZ #17932]
22105         * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
22106         where multiplication results in zero and third argument is finite
22107         and nonzero.
22108         * math/auto-libm-test-in: Add more tests of fma.
22109         * math/auto-libm-test-out: Regenerated.
22111         * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
22112         (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
22113         (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
22114         (_FP_CMP_EQ): Likewise.
22115         (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
22117         * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
22118         extra argument CHECK_NAN.  Redefine as wrapper around
22119         _FP_EXTEND_CNAN.
22121 2015-02-06  Carlos O'Donell  <carlos@systemhalted.org>
22123         * version.h (RELEASE): Set to "stable".
22124         (VERSION): Set to "2.21"
22125         * include/features.h (__GLIBC_MINOR__): Set to 21.
22127         * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
22129 2015-02-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
22130             Paul Eggert  <eggert@cs.ucla.edu>
22132         [BZ #16618]
22133         * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
22134         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
22135         size in bytes. Store needed elements in wpmax. Use needed size
22136         in bytes for extend_alloca.
22138 2015-02-05  Carlos O'Donell  <carlos@systemhalted.org>
22140         * manual/install.texi: Latest tested versions are GCC 4.9.2,
22141         binutls 2.25, and texinfo 5.2.
22142         * INSTALL: Regenerate.
22143         * sysdeps/nios2/configure: Regenerate.
22144         * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
22145         * manual/contrib.texi: Update.
22146         * po/be.po: Update.
22147         * po/bg.po: Update.
22148         * po/ca.po: Update.
22149         * po/cs.po: Update.
22150         * po/da.po: Update.
22151         * po/de.po: Update.
22152         * po/el.po: Update.
22153         * po/eo.po: Update.
22154         * po/es.po: Update.
22155         * po/fi.po: Update.
22156         * po/fr.po: Update.
22157         * po/gl.po: Update.
22158         * po/hr.po: Update.
22159         * po/hu.po: Update.
22160         * po/ia.po: Update.
22161         * po/id.po: Update.
22162         * po/it.po: Update.
22163         * po/ja.po: Update.
22164         * po/ko.po: Update.
22165         * po/lt.po: Update.
22166         * po/nb.po: Update.
22167         * po/nl.po: Update.
22168         * po/pl.po: Update.
22169         * po/pt_BR.po: Update.
22170         * po/ru.po: Update.
22171         * po/rw.po: Update.
22172         * po/sk.po: Update.
22173         * po/sl.po: Update.
22174         * po/sv.po: Update.
22175         * po/tr.po: Update.
22176         * po/uk.po: Update.
22177         * po/vi.po: Update.
22178         * po/zh_CN.po: Update.
22179         * po/zh_TW.po: Update.
22181         * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
22182         * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
22183         * sysdeps/hppa/dl-irel.h: Remove #warning.
22184         * sysdeps/hppa/entry.h: Provide prototype for
22185         __canonicalize_funcptr_for_compare and cast argument.
22186         * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
22187         * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
22188         * sysdeps/hppa/sotruss-lib.c: New file.
22189         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
22190         (atomic_compare_and_exchange_val_acq): Use __typeof__.
22191         (atomic_compare_and_exchange_bool_acq): Likewise.
22192         * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
22193         * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
22195         * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
22196         * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
22197         * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
22199 2015-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
22201         * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
22202         called function in non-PIC case.
22204 2015-01-31  David S. Miller  <davem@davemloft.net>
22206         * sysdeps/sparc/sparc32/bits/atomic.h
22207         (__sparc32_atomic_do_unlock24): Put the memory barrier before the
22208         unlock not after it.
22209         (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
22210         volatile register usage warnings from the compiler.
22212         * sysdeps/sparc/nptl/sem_init.c: Delete.
22213         * sysdeps/sparc/nptl/sem_post.c: Delete.
22214         * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
22215         * sysdeps/sparc/nptl/sem_wait.c: Delete.
22216         * sysdeps/sparc/sparc32/sem_init.c: New file.
22217         * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
22218         * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
22219         padding explicitly initialized.
22220         * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
22221         padding for in-semaphore spinlock.
22222         * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
22223         * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
22224         * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
22225         * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
22226         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
22227         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
22228         * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
22229         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
22230         version.
22231         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
22232         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
22234 2015-01-30  H.J. Lu  <hongjiu.lu@intel.com>
22236         [BZ #17801]
22237         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22238         Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
22239         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
22240         New.
22241         (index_AVX_Fast_Unaligned_Load): Likewise.
22242         (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
22243         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
22244         bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
22245         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
22246         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
22247         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
22248         * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
22249         HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
22250         * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
22252 2015-01-29  Andreas Schwab  <schwab@suse.de>
22254         * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
22256 2015-01-29  Siddhesh Poyarekar <siddhesh@redhat.com>
22258         [BZ #17892]
22259         * nscd/nscd_stat.c (send_stats): Initialize DATA.
22261 2015-01-28  Martin Sebor  <msebor@redhat.com>
22263         * math/README.libm-test: Clarify. Add "How to read the test output."
22265 2015-01-28  Chris Metcalf  <cmetcalf@ezchip.com>
22267         * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
22268         Define to 0.
22270 2015-01-28  Joseph Myers  <joseph@codesourcery.com>
22272         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
22273         (__HAVE_64B_ATOMICS): Define to 0.
22275 2015-01-28  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
22277         [BZ #17885]
22278         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
22279         value to set as new flag.
22281         [BZ #16576]
22282         * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
22283         and use _ARCH_PPCSQ instead.
22284         (__ieee754_sqrt): Likewise.
22285         (__ieee754_sqrtf): Likewise.
22286         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
22287         _ARCH_PPCSQ is defined.
22288         (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
22289         fsqrt instruction.
22290         * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
22291         _ARCH_PPCSQ is defined.
22292         (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
22293         fsqrts instruction.
22294         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
22296 2015-01-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
22298         * iconv/loop.c: Suppress array out of bound warning caused by GCC
22299         bug (GCC BZ #64739).
22301 2015-01-25  Andreas Schwab  <schwab@linux-m68k.org>
22303         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
22304         Mark _retval as used.
22305         (lll_futex_wake_unlock): Likewise.
22306         (lll_futex_timed_wait_requeue_pi): Likewise.
22308         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
22309         (atomic_compare_and_exchange_val_acq): Use uint32_t for the
22310         register variables.
22312         * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
22313         libm_hidden_def.
22315         * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
22316         (__bswap_64): Mark as __always_inline.
22318 2015-01-25  Bram  <bug_rh@spam.wizbit.be>
22320         [BZ #15378]
22321         * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
22322         when none of the search directories exist.
22324 2015-01-24  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
22326         [BZ #17869]
22327         * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
22328         power8 in .machine directive.
22330         [BZ #17868]
22331         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
22332         set dependency from opd value.
22334 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
22336         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22337         Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
22338         architecture.
22340 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
22342         [BZ #17870]
22343         * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
22344         with uint64_t.
22345         * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
22346         (uint64_t) 1.
22347         (__new_sem_wait_fast): Replace unsigned long with uint64_t.
22348         (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
22349         Replace 1UL with (uint64_t) 1.
22350         * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
22351         int with uint64_t.
22353 2015-01-23  Roland McGrath  <roland@hack.frob.com>
22355         * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
22356         (if_freenameindex): Likewise.
22358         * resource/getrlimit64.c: Add missing libc_hidden_def.
22360 2015-01-22  Joseph Myers  <joseph@codesourcery.com>
22362         * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
22363         __label__.
22364         (_FP_FMA): Likewise.
22365         (_FP_TO_INT_ROUND): Likewise.
22366         (_FP_FROM_INT): Likewise.
22368 2015-01-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22370         [BZ #16418]
22371         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
22372         Make code racy and cancel safe.
22374 2015-01-21  Carlos O'Donell  <carlos@redhat.com>
22376         * sysdeps/arm/unwind-resume.h: Fix copyright year.
22377         * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
22378         attribution.
22380         * pwd/tst-getpw.c: Rewrite.
22382         [BZ #17702]
22383         * dlfcn/Makefile (tests): Add tst-rec-dlopen.
22384         (modules-names): Add moddummy1 and moddummy2.
22385         ($(objpfx)tst-rec-dlopen): Define.
22386         * dlfcn/moddummy1.c: New file.
22387         * dlfcn/moddummy2.c: New file.
22388         * dlfcn/tst-rec-dlopen.c: New file.
22389         * elf/dl-cache.c (_dl_load_cache_lookup):
22390         Return char*. Copy result with alloca/strcpy/strdup.
22391         * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
22392         returns char*. Free cached. If not saving realname
22393         free cached.
22394         * elf/dl-open.c (dl_open_worker): Do not assert that
22395         _r_debug->r_state is RT_CONSISTENT.
22396         * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
22397         returns char*.
22399 2015-01-21  Torvald Riegel  <triegel@redhat.com>
22400             Carlos O'Donell  <carlos@redhat.com>
22402         [BZ #12674]
22403         * nptl/sem_waitcommon.c: New file.
22404         * nptl/sem_wait.c: Include sem_waitcommon.c.
22405         (__sem_wait_cleanup, do_futex_wait): Remove.
22406         (__new_sem_wait): Adapt.
22407         (__new_sem_trywait): New function.
22408         (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
22409         * nptl/sem_timedwait.c: Include sem_waitcommon.c.
22410         (__sem_wait_cleanup, do_futex_timed_wait): Remove.
22411         (sem_timedwait): Adapt.
22412         * nptl/sem_post.c (__new_sem_post): Adapt.
22413         (futex_wake): New function.
22414         (__old_sem_post): Add release MO fence.
22415         * nptl/sem_open.c (sem_open): Adapt.
22416         * nptl/sem_init.c (__new_sem_init): Adapt.
22417         (futex_private_if_supported): New function.
22418         * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
22419         (__old_sem_getvalue): Add using previous code.
22420         * sysdeps/nptl/internaltypes.h: Adapt.
22421         * nptl/tst-sem13.c (do_test): Adapt.
22422         * nptl/tst-sem11.c (main): Adapt.
22423         * nptl/sem_trywait.c: Remove.
22424         * nptl/DESIGN-sem.txt: Remove.
22425         * nptl/Makefile (libpthread-routines): Remove sem_trywait.
22426         (gen-as-const-headers): Remove structsem.sym.
22427         * nptl/structsem.sym: Remove.
22428         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
22429         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
22430         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
22431         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
22432         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
22433         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
22434         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
22435         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
22436         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
22437         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
22438         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
22439         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
22440         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
22441         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
22442         * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
22443         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
22444         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
22445         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
22446         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
22447         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
22448         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
22449         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
22451 2015-01-20  Carlos O'Donell  <carlos@redhat.com>
22453         * INSTALL: Regenerated.
22455         * po/libc.pot: Regenerated.
22457 2015-01-18  Chung-Lin Tang  <cltang@codesourcery.com>
22458             Sandra Loosemore  <sandra@codesourcery.com>
22459             Andrew Jenner  <andrew@codesourcery.com>
22460             Joseph Myers  <joseph@codesourcery.com>
22461             Nathan Sidwell  <nathan@codesourcery.com>
22463         * NEWS: Mention new Nios II port.
22464         * sysdeps/nios2/Implies: New file.
22465         * sysdeps/nios2/Makefile: New file.
22466         * sysdeps/nios2/Subdirs: New file.
22467         * sysdeps/nios2/Versions: New file.
22468         * sysdeps/nios2/__longjmp.S: New file.
22469         * sysdeps/nios2/abort-instr.h: New file.
22470         * sysdeps/nios2/backtrace.c: New file.
22471         * sysdeps/nios2/bits/endian.h: New file.
22472         * sysdeps/nios2/bits/fenv.h: New file.
22473         * sysdeps/nios2/bits/link.h: New file.
22474         * sysdeps/nios2/bits/setjmp.h: New file.
22475         * sysdeps/nios2/bsd-_setjmp.S: New file.
22476         * sysdeps/nios2/bsd-setjmp.S: New file.
22477         * sysdeps/nios2/configure: New generated file.
22478         * sysdeps/nios2/configure.ac: New file.
22479         * sysdeps/nios2/crti.S: New file.
22480         * sysdeps/nios2/crtn.S: New file.
22481         * sysdeps/nios2/dl-init.c: New file.
22482         * sysdeps/nios2/dl-machine.h: New file.
22483         * sysdeps/nios2/dl-sysdep.h: New file.
22484         * sysdeps/nios2/dl-tls.h: New file.
22485         * sysdeps/nios2/dl-trampoline.S: New file.
22486         * sysdeps/nios2/gccframe.h: New file.
22487         * sysdeps/nios2/gmp-mparam.h: New file.
22488         * sysdeps/nios2/jmpbuf-offsets.h: New file.
22489         * sysdeps/nios2/jmpbuf-unwind.h: New file.
22490         * sysdeps/nios2/ldsodefs.h: New file.
22491         * sysdeps/nios2/libc-tls.c: New file.
22492         * sysdeps/nios2/libm-test-ulps: New file.
22493         * sysdeps/nios2/machine-gmon.h: New file.
22494         * sysdeps/nios2/math-tests.h: New file.
22495         * sysdeps/nios2/math_private.h: New file.
22496         * sysdeps/nios2/memusage.h: New file.
22497         * sysdeps/nios2/nptl/Makefile: New file.
22498         * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
22499         * sysdeps/nios2/nptl/bits/semaphore.h: New file.
22500         * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
22501         * sysdeps/nios2/nptl/pthreaddef.h: New file.
22502         * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
22503         * sysdeps/nios2/nptl/tls.h: New file.
22504         * sysdeps/nios2/preconfigure: New file.
22505         * sysdeps/nios2/s_fma.c: New file.
22506         * sysdeps/nios2/s_fmaf.c: New file.
22507         * sysdeps/nios2/setjmp.S: New file.
22508         * sysdeps/nios2/sfp-machine.h: New file.
22509         * sysdeps/nios2/sotruss-lib.c: New file.
22510         * sysdeps/nios2/stackguard-macros.h: New file.
22511         * sysdeps/nios2/stackinfo.h: New file.
22512         * sysdeps/nios2/start.S: New file.
22513         * sysdeps/nios2/sysdep.h: New file.
22514         * sysdeps/nios2/tls-macros.h: New file.
22515         * sysdeps/nios2/tst-audit.h: New file.
22516         * sysdeps/unix/sysv/linux/nios2/Implies: New file.
22517         * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
22518         * sysdeps/unix/sysv/linux/nios2/Versions: New file.
22519         * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
22520         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
22521         * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
22522         * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
22523         * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
22524         * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
22525         * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
22526         * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
22527         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
22528         * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
22529         * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
22530         * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
22531         * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
22532         * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
22533         * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
22534         * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
22535         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
22536         * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
22537         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
22538         * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
22539         * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
22540         * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
22541         * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
22542         * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
22543         * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
22544         * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
22545         * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
22546         * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
22547         * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
22548         * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
22549         * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
22550         * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
22551         * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
22552         * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
22553         * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
22554         * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
22555         * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
22556         * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
22557         * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
22558         * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
22559         * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
22561 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
22563         [BZ #17844]
22564         * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
22565         (getutent): Use weak_alias in non SHARED case
22566         and default_symbol_version in SHARED case.
22567         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
22568         (getutent_r, pututline): Likewise.
22569         * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
22570         (getutid): Likewise.
22571         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
22572         (getutid_r): Likewise.
22573         * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
22574         (getutline): Likewise.
22575         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
22576         (getutline_r): Likewise.
22577         * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
22578         (updwtmp): Likewise.
22580 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
22582         [BZ #17848]
22583         * sysdeps/s390/s390-32/memcmp.S
22584         (memcmp_g5): Rename to __memcmp_g5.
22585         * sysdeps/s390/s390-32/memcpy.S
22586         (memcpy_g5): Rename to __memcpy_g5.
22587         Jump to __memcpy_mvcle instead of memcpy_mvcle.
22588         (memcpy_mvcle) Rename to __memcpy_mvcle.
22589         * sysdeps/s390/s390-32/memset.S
22590         (memset_g5): Rename to __memset_g5.
22591         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
22592         (IFUNC_RESOLVE): Prefix ifunc-resolve function
22593         and use prefixed functions.
22594         * sysdeps/s390/s390-32/multiarch/memcmp.S
22595         (memcmp_z196): Rename to __memcmp_z196.
22596         (memcmp_z10): Rename to __memcmp_z10.
22597         (memcmp): Set alias to __memcmp_g5.
22598         (bcmp): Set alias to __memcmp_g5.
22599         * sysdeps/s390/s390-32/multiarch/memcpy.S
22600         (memcpy_z196): Rename to __memcpy_z196.
22601         Jump to __memcpy_mvcle instead of memcpy_mvcle.
22602         (memcpy_z10): Rename to __memcpy_z10.
22603         Jump to __memcpy_mvcle instead of memcpy_mvcle.
22604         (memcpy): Set alias to __memcpy_g5.
22605         * sysdeps/s390/s390-32/multiarch/memset.S
22606         (memset_z196): Rename to __memset_z196.
22607         Jump to __memset_mvcle instead of memset_mvcle.
22608         (memset_z10): Rename to __memset_z10.
22609         Jump to __memset_mvcle instead of memset_mvcle.
22610         (memset_mvcle) Rename to __memset_mvcle.
22611         (memset): Set alias to __memset_g5.
22612         * sysdeps/s390/s390-64/memcmp.S
22613         (memcmp_z900): Rename to __memcmp_z900.
22614         * sysdeps/s390/s390-64/memcpy.S
22615         (memcpy_z900): Rename to __memcpy_z900.
22616         Jump to __memcpy_mvcle instead of memcpy_mvcle.
22617         (memcpy_mvcle) Rename to __memcpy_mvcle.
22618         * sysdeps/s390/s390-64/memset.S
22619         (memset_z900): Rename to __memset_z900.
22620         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
22621         (IFUNC_RESOLVE): Prefix ifunc-resolve function
22622         and use prefixed functions.
22623         * sysdeps/s390/s390-64/multiarch/memcmp.S
22624         (memcmp_z196): Rename to __memcmp_z196.
22625         (memcmp_z10): Rename to __memcmp_z10.
22626         (memcmp): Set alias to __memcmp_z900.
22627         (bcmp): Set alias to __memcmp_z900.
22628         * sysdeps/s390/s390-64/multiarch/memcpy.S
22629         (memcpy_z196): Rename to __memcpy_z196.
22630         Jump to __memcpy_mvcle instead of memcpy_mvcle.
22631         (memcpy_z10): Rename to __memcpy_z10.
22632         Jump to __memcpy_mvcle instead of memcpy_mvcle.
22633         (memcpy): Set alias to __memcpy_z900.
22634         * sysdeps/s390/s390-64/multiarch/memset.S
22635         (memset_z196): Rename to __memset_z196.
22636         Jump to __memset_mvcle instead of memset_mvcle.
22637         (memset_z10): Rename to __memset_z10.
22638         Jump to __memset_mvcle instead of memset_mvcle.
22639         (memset_mvcle) Rename to __memset_mvcle.
22640         (memset): Set alias to __memset_z900.
22642 2015-01-14  Joseph Myers  <joseph@codesourcery.com>
22644         [BZ #17748]
22645         * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
22646         __fesetenv instead of fesetenv.
22648 2015-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
22650         * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
22651         macro.
22653 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22655         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
22656         regression on LE.
22658         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
22659         * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
22660         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
22661         strncmp-power8 object.
22662         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
22663         (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
22664         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
22665         * NEWS: Update.
22667 2015-01-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
22668             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22670         * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
22671         trailing byte check.
22673 2015-01-13  David S. Miller  <davem@davemloft.net>
22675         * include/signal.h (__sigreturn): Guard with __USE_MISC.
22677 2015-01-13  Roland McGrath  <roland@hack.frob.com>
22679         * login/logout.c (logout): Use memset rather than bzero.
22680         * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
22681         * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
22682         * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
22683         (_gethtbyaddr): Likewise.
22684         * locale/programs/simple-hash.c (bcopy): Macro removed.
22686 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22688         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
22689         Add strcmp-power8 object.
22690         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
22691         (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
22692         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
22693         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
22694         __strcmp_power8 implementation.
22695         * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
22696         * NEWS: Update.
22698         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
22699         Add strncpy-power8 and stpncpy-power8 objects.
22700         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
22701         (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
22702         implementations.
22703         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
22704         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
22705         __stpncpy_power8 implementation.
22706         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
22707         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
22708         __strncpy_power8 implementation.
22709         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
22710         * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
22711         * NEWS: Update.
22713         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
22714         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
22715         * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
22717         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
22718         strncat-power8 object.
22719         * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
22720         __strcat_power8 implementation.
22721         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
22722         (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
22723         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
22724         optimized strcat for power8.
22726         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
22727         strcpy-power8 and stpcpy-power8 objects.
22728         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
22729         (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
22730         implementations.
22731         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
22732         multiarch stpcpy implementation for POWER8.
22733         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
22734         multiarch strcpy implementation for POWER8.
22735         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
22736         __strcpy_power8 function.
22737         * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
22738         stpcpy for POWER8.
22739         * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
22740         strcpy for POWER8.
22741         * NEWS: Update.
22743 2015-01-13  Leonhard Holz  <leonhard.holz@web.de>
22745         [BZ #16009]
22746         * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
22747         weights and rules. Use do_xfrm_cached if data fits in cache,
22748         do_xfrm otherwise.  Moved former main loop to...
22749         * (do_xfrm_cached): New function.
22750         * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
22751         find_idx, find_position and stack_push.
22752         * (find_idx): New function.
22753         * (find_position): Likewise.
22754         * localedata/sort-test.sh: Added test run for do_xfrm.
22755         * localedata/xfrm-test.c (main): Added command line option
22756         -nocache to run the test with strings that are too large for
22757         the STRXFRM cache.
22759 2015-01-13  Torvald Riegel  <triegel@redhat.com>
22761         * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
22762         variable to lll_futex_wake call, not the value itself.
22764 2015-01-12  Joseph Myers  <joseph@codesourcery.com>
22766         [BZ #17803]
22767         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
22768         twom64.  Adjust value to 0x1p-64L.
22769         (__scalblnl): Only return standard underflowing result for K <=
22770         -64 not K <= -63; adjust exponent for underflowing result by 64
22771         not 63.
22772         * math/libm-test.inc (scalbn_test_data): Add more tests.
22773         (scalbln_test_data): Likewise.
22775         [BZ #17834]
22776         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
22777         0x1p63L.
22778         (__scalblnl): Get new exponent of adjusted subnormal value from ES
22779         not HX.
22780         * math/libm-test.inc (scalbn_test_data): Add more tests.
22781         (scalbln_test_data): Likewise.
22783 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22784             Stefani Seibold  <stefani@seibold.net>
22786         * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
22787         (sysdep_routines): Add dl-vdso here, ...
22788         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
22789         (sysdep_routines): ... not here.
22790         * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
22791         fallback when vDSO is not presented.
22792         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
22793         Define with libc_hidden_proto/libc_hidden_data_def definitions.
22794         (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
22795         * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
22796         * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
22797         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
22798         * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
22799         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
22800         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
22801         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
22802         * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here.  Also added
22803         fallback configurable symbol when vDSO is not available.
22804         * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
22805         * sysdeps/unix/sysv/linux/x86/time.c: ... here.  Also refactored to
22806         be able to redefine fallback symbol when vDSO is not available.
22807         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
22808         * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
22810 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22812         * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
22813         (TLS_INIT_TP): Add tm_capable initialization.
22814         (TLS_DEFINE_INIT_TP): Likewise.
22815         (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
22816         TCB.
22817         (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
22818         * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
22819         calculation.
22820         * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
22821         transactoion is lock elision is built and TCB tm_capable is set.
22822         * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
22823         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
22824         (INTERNAL_SYSCALL_NCS): Likewise.
22825         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
22826         (INTERNAL_SYSCALL_NCS): Likewise.
22827         * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
22829         * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
22830         for powerpc.
22831         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
22832         [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
22833         and remove it for 32 bits case.
22834         [pthread_rwlock_t] (__rwelision): New field for lock elision.
22835         (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
22836         initialization.
22837         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
22838         Disable lock elision with rdlocks if elision is not available.
22840         * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
22841         (sysdep_routines): Add lock elision objects.
22842         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
22843         [pthread_mutex_t] (__spins): Rework to add lock elision field.
22844         [pthread_mutex_t] (__elision): Add field.
22845         [__PTHREAD_SPINS]: Adjust to init lock elision field.
22846         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
22847         elision definitions for powerpc.
22848         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
22849         implementation of lock elision for powerpc.
22850         * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
22851         implementation of timed lock elision for powerpc.
22852         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
22853         implementation of trylock with lock elision for powerpc.
22854         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
22855         implementaion of unlock for lock elision for powerpc.
22856         * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
22857         automatic enable lock elision for mutexes.
22858         * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
22859         transaction execution definitions for powerpc.
22860         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
22861         definitions.
22862         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
22863         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
22864         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
22865         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
22866         * NEWS: Update.
22868 2015-01-09  Roland McGrath  <roland@hack.frob.com>
22870         * sysdeps/posix/shm-directory.c: Use <> rather than ""
22871         for #include of <shm-directory.h>.
22873 2015-01-09  Chung-Lin Tang  <cltang@codesourcery.com>
22875         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
22876         assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
22878 2015-01-09  Matthew Fortune <matthew.fortune@imgtec.com>
22880         [BZ #17791]
22881         * NEWS: Mention bug fix.
22882         * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
22883         (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
22884         (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
22886 2015-01-09  Torvald Riegel <triegel@redhat.com>
22888         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
22890 2015-01-09  Torvald Riegel <triegel@redhat.com>
22892         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
22894 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
22896         * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
22897         pointer and cast to uintptr_t.
22899 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
22901         * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
22902         removed.
22903         (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
22905 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
22907         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
22908         of 0.
22910 2015-01-08  Roland McGrath  <roland@hack.frob.com>
22912         * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
22913         <nptl/pthreadP.h> instead.
22914         * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
22916         * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
22917         already defined.
22918         [__SIGRTMIN] (init): Function removed.
22919         [__SIGRTMIN] (initialized): Variable removed.
22920         [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
22921         [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
22922         __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
22923         (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
22924         (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
22925         (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
22926         (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
22927         (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
22928         (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
22929         (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
22930         (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
22931         * sysdeps/nptl/allocrtsig.c: New file.
22932         * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
22933         * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
22934         * sysdeps/generic/testrtsig.h: File removed.
22936         * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
22937         (pthread_sigmask): Call sigprocmask, not __sigprocmask.
22939         * nptl/nptl-init.c (pthread_functions): Conditionalize
22940         .ptr__nptl_setxid initialization on [SIGSETXID].
22942         * sysdeps/nptl/sys/procfs.h: New file.
22943         * nptl_db/Makefile (headers): Add it.
22944         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
22946         * nptl/pthreadP.h (check_cpuset_attr): Moved ...
22947         * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
22948         * nptl/pthread_attr_setaffinity.c: Include it.
22949         * nptl/pthread_setattr_default_np.c: Likewise.
22950         * nptl/check-cpuset.h: New file.
22952 2015-01-08  Richard Henderson  <rth@redhat.com>
22954         * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
22955         (CFLAGS-tst-execstack-prog.c): Likewise.
22956         * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
22958 2015-01-08  Chung-Lin Tang  <cltang@codesourcery.com>
22959             Sandra Loosemore  <sandra@codesourcery.com>
22960             Andrew Jenner  <andrew@codesourcery.com>
22961             Joseph Myers  <joseph@codesourcery.com>
22962             Nathan Sidwell  <nathan@codesourcery.com>
22964         * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
22965         (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
22966         (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
22967         (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
22968         (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
22969         (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
22970         (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
22971         (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
22972         (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
22973         (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
22974         (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
22975         (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
22976         (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
22977         (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
22978         (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
22979         (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
22980         (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
22982 2015-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22984         * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
22985         timespec struct member in syscall macro.
22986         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
22987         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
22988         first timeval struct member in syscall macro.
22989         * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
22991 2015-01-07  Joseph Myers  <joseph@codesourcery.com>
22993         [BZ #17748]
22994         * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
22995         * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
22996         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
22997         __feupdateenv and define as weak alias of __feupdateenv.  Use
22998         libm_hidden_weak.
22999         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
23000         libm_hidden_def.
23001         * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
23002         and define as weak alias of __feupdateenv.  Use libm_hidden_weak.
23003         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
23004         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
23005         libm_hidden_def.
23006         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
23007         __feupdateenv and define as weak alias of __feupdateenv.  Use
23008         libm_hidden_weak.
23009         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
23010         libm_hidden_def.
23011         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
23012         __feupdateenv and define as weak alias of __feupdateenv.  Use
23013         libm_hidden_weak.
23014         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
23015         libm_hidden_def.
23016         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
23017         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
23018         (__feupdateenv): Likewise.
23019         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
23020         __feupdateenv and define as weak alias of __feupdateenv.  Use
23021         libm_hidden_weak.
23022         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
23023         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
23024         libm_hidden_def.
23025         * sysdeps/tile/math_private.h (__feupdateenv): New inline
23026         function.
23027         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
23028         libm_hidden_def.
23029         * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
23030         __feupdateenv instead of feupdateenv.
23031         (default_libc_feupdateenv_test): Likewise.
23032         (libc_feresetround_ctx): Likewise.
23034 2015-01-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23036         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
23037         prototype.
23039 2015-01-07  Chris Metcalf  <cmetcalf@ezchip.com>
23041         * posix/regcomp.c (parse_bracket_exp): Initialize type to
23042         COLL_SYM in a couple of places to avoid uninitialized variable
23043         wanings on tilegx gcc 4.8.2.
23045 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
23047         * sysdeps/aarch64/strcpy.S: New file.
23048         * sysdeps/aarch64/stpcpy.S: New file.
23049         * NEWS: Updated.
23051 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
23053         * sysdeps/aarch64/strrchr.S: New file.
23054         * NEWS: Updated.
23056 2015-01-07  Eric Biggers  <ebiggers3@gmail.com>
23058         [BZ #17658]
23059         * stdlib/setenv.c: Fix memory leak when setting large,
23060         duplicate string.
23062 2015-01-06  Vladimir A. Nazarenko  <naszar@ya.ru>
23064         [BZ #17273]
23065         * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
23066         and tabs from buffer before parsing fstab entry.
23067         * misc/tst-mntent.c (main): Add test for mount entry with
23068         trailing spaces and tabs.
23070 2015-01-06  Joseph Myers  <joseph@codesourcery.com>
23072         [BZ #17748]
23073         * include/fenv.h (__fesetround): Declare.  Use libm_hidden_proto.
23074         * math/fesetround.c (fesetround): Rename to __fesetround and
23075         define as weak alias of __fesetround.  Use libm_hidden_weak.
23076         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
23077         * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
23078         * sysdeps/arm/fesetround.c (fesetround): Likewise.
23079         * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
23080         * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
23081         * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
23082         * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
23083         * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
23084         * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
23085         __fesetround_inline.
23086         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
23087         __fesetround_inline instead of __fesetround.
23088         * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
23089         __fesetround and define as weak alias of __fesetround.  Use
23090         libm_hidden_weak.  Call __fesetround_inline instead of
23091         __fesetround.
23092         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
23093         __fesetround and define as weak alias of __fesetround.  Use
23094         libm_hidden_weak.
23095         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
23096         Likewise.
23097         * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
23098         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
23099         * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
23100         * sysdeps/tile/math_private.h (__fesetround): New inline function.
23101         * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
23102         __fesetround and define as weak alias of __fesetround.  Use
23103         libm_hidden_weak.
23104         * sysdeps/generic/math_private.h (default_libc_fesetround): Call
23105         __fesetround instead of fesetround.
23106         (default_libc_feholdexcept_setround): Likewise.
23107         (libc_feholdsetround_ctx): Likewise.
23108         (libc_feholdsetround_noex_ctx): Likewise.
23110         [BZ #17748]
23111         * include/fenv.h (__fesetenv): Use libm_hidden_proto.
23112         * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
23113         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
23114         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
23115         * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
23116         * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
23117         define as weak alias of __fesetenv.  Use libm_hidden_weak.
23118         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
23119         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
23120         * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
23121         define as weak alias of __fesetenv.  Use libm_hidden_weak.
23122         * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
23123         * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
23124         define as weak alias of __fesetenv.  Use libm_hidden_weak.
23125         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
23126         libm_hidden_def.
23127         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
23128         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
23129         Likewise.
23130         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
23131         define as weak alias of __fesetenv.  Use libm_hidden_weak.
23132         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
23133         * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
23134         * sysdeps/tile/math_private.h (__fesetenv): New inline function.
23135         * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
23136         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
23137         * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
23138         __fesetenv instead of fesetenv.
23139         (libc_feresetround_noex_ctx): Likewise.
23140         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
23141         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
23142         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
23143         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
23144         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
23145         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
23146         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
23147         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
23148         (__feupdateenv): Likewise.
23149         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
23150         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
23151         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
23152         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
23154 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
23156         [BZ #17806]
23157         * resolv/res_init.c (__res_iclose): Only clear nsinit if the
23158         addresses have been freed.
23160 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
23162         * resolv/res_init.c (__res_vinit): Improve comments about nserv
23163         and nservall.
23165 2015-01-06  Ondřej Bílka  <neleai@seznam.cz>
23167         * sysdeps/unix/sysv/linux/check_pf.c (make_request):
23168         Clean up check_pf allocation pattern. addresses
23170 2015-01-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23172         * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
23173         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
23174         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
23175         * nptl/pthread_exit.c (__pthread_exit): Likewise.
23176         * nptl/pthread_join.c (pthread_join): Likewise.
23177         * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
23178         * sysdeps/posix/waitid.c (__waitid): Likewise.
23179         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
23180         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
23181         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
23182         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
23183         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
23184         Likewise.
23185         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
23186         (__libc_pread64): Likewise.
23187         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
23188         (__libc_pwrite): Likewise.
23189         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
23190         (__libc_pwrite64): Likewsie.
23191         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
23192         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
23193         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
23194         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
23195         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
23196         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
23197         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
23198         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
23199         Likewise.
23200         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
23201         (__libc_pread64): Likewise.
23202         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
23203         Likewise.
23204         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
23205         (__libc_pwrite64): Likewise.
23206         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
23207         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
23208         * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
23209         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
23210         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
23211         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
23212         * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
23213         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
23214         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
23215         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
23216         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
23217         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
23218         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
23219         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
23220         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
23221         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
23222         Likewise.
23224 2015-01-06  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
23226         * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
23227         (CFLAGS-test-double.c): Likewise.
23228         (CFLAGS-test-ldouble.c): Likewise.
23229         (CPPFLAGS-test-ifloat.c): Likewise.
23230         (CPPFLAGS-test-idouble.c): Likewise.
23231         (CPPFLAGS-test-ildoubl.c): Likewise.
23232         (CFLAGS-test-test-fenv.c): Remove variable.
23233         (CFLAGS-test-misc.c): Likewise.
23235 2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
23237         [BZ #17797]
23238         * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
23239         * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
23240         * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
23241         CLOCKS_PER_SEC == 1000000.
23242         * time/clocktest.c (main): Replace %ld with %jd and cast to
23243         intmax_t.
23245 2015-01-05  Roland McGrath  <roland@hack.frob.com>
23247         * sysdeps/generic/unwind-resume.h: New file.
23248         * sysdeps/gnu/unwind-resume.c: Include it.
23249         (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
23250         (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
23251         argument list.
23252         (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
23253         global rather than static.
23254         (_Unwind_Resume): Update user.
23255         Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
23256         (init): Likewise.  Renamed to __libgcc_s_init, made hidden global
23257         rather than static.  Add __attribute__ ((cold)).
23258         (_Unwind_Resume, __gcc_personality_v0): Update callers.
23259         * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
23260         * sysdeps/arm/arm-unwind-resume.S: New file.
23261         * sysdeps/arm/rt-arm-unwind-resume.S: New file.
23262         * sysdeps/arm/pt-arm-unwind-resume.S: New file.
23263         * sysdeps/arm/Makefile [$(subdir) = csu]
23264         (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
23265         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
23266         Add rt-arm-unwind-resume.
23267         [$(subdir) = nptl]
23268         (libpthread-sysdep_routines, libpthread-shared-only-routines):
23269         Add pt-arm-unwind-resume.
23270         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
23271         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
23273 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
23275         [BZ #17748]
23276         * include/fenv.h (__feholdexcept): Declare.  Use
23277         libm_hidden_proto.
23278         * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
23279         define as weak alias of __feholdexcept.  Use libm_hidden_weak.
23280         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
23281         * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
23282         * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
23283         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
23284         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
23285         * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
23286         * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
23287         * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
23288         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
23289         * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
23290         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
23291         (feholdexcept): Likewise.
23292         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
23293         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
23294         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
23295         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
23296         * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
23297         __feholdexcept instead of feholdexcept.
23298         (default_libc_feholdexcept_setround): Likewise.
23300 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
23302         * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
23303         to avoid using stl/str to align destination.
23305 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
23307         * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
23309 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
23311         [BZ #17796]
23312         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
23313         [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
23314         Define as weak alias not strong alias.
23316 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
23318         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
23319         bltzal with addiupc.
23320         (RTLD_START): Ditto.
23322 2015-01-05  Chris Metcalf  <cmetcalf@ezchip.com>
23324         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
23325         for __vdso_* functions in declarations.
23326         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
23327         definitions.
23328         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
23329         INTERNAL_VSYSCALL): Use struct return types to check for error.
23331         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
23332         && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
23333         function with cast from llround().
23334         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
23335         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
23336         Define.
23338 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
23340         [BZ #17793]
23341         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
23342         Define as weak alias not strong alias.
23344         [BZ #17635]
23345         * ctype/ctype-c99.c: New file.  isblank implementation moved from
23346         ...
23347         * ctype/ctype-extn.c: ... here.
23348         (__isblank_l): Move to ...
23349         * ctype/ctype-c99_l.c: ... here.  New file.
23350         * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
23351         * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
23352         Remove variable.
23353         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
23354         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
23355         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
23356         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
23357         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
23359         [BZ #17777]
23360         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
23361         (posix_fadvise64): Define as weak alias not strong alias.
23362         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
23363         (posix_fallocate64): Likewise.
23364         * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
23365         Remove variable.
23366         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
23367         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
23368         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
23369         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
23370         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
23372 2015-01-05  Matthew Fortune  <matthew.fortune@imgtec.com>
23374         [BZ #16191]
23375         * NEWS: Mention bug fix.
23376         * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
23377         (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
23378         (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
23379         (HOST_STACK_END_ADDR): Likewise.
23381 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
23383         [BZ #17748]
23384         * include/fenv.h (__fegetround): Declare.  Use libm_hidden_proto.
23385         * math/fegetround.c (fegetround): Rename to __fegetround and
23386         define as weak alias of __fegetround.  Use libm_hidden_weak.
23387         * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
23388         * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
23389         * sysdeps/arm/fegetround.c (fegetround): Likewise.
23390         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
23391         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
23392         * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
23393         * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
23394         * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
23395         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
23396         Undefine after rather than before function definition; use
23397         parentheses around function name in definition.
23398         (__fegetround): Also undefine macro after function definition.
23399         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
23400         __fegetround and define as weak alias of __fegetround.  Use
23401         libm_hidden_weak.  Do not undefine as macro.
23402         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
23403         Likewise.
23404         * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
23405         __fegetround and define as weak alias of __fegetround.  Use
23406         libm_hidden_weak.
23407         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
23408         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
23409         * sysdeps/tile/math_private.h (__fegetround): New inline function.
23410         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
23411         __fegetround and define as weak alias of __fegetround.  Use
23412         libm_hidden_weak.
23413         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
23414         __fegetround instead of fegetround.
23416         [BZ #17782]
23417         * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
23418         Condition macro definition on [__USE_MISC].
23420         [BZ #17781]
23421         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
23422         (struct sigaction): Change type of sa_flags field to int.
23424         [BZ #17780]
23425         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
23426         [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
23427         __glibc_reserved0.
23429         * nptl/version.c (banner): Use single year in copyright notice.
23431         * NEWS: Update copyright dates.
23432         * catgets/gencat.c (print_version): Likewise.
23433         * csu/version.c (banner): Likewise.
23434         * debug/catchsegv.sh: Likewise.
23435         * debug/pcprofiledump.c (print_version): Likewise.
23436         * debug/xtrace.sh (do_version): Likewise.
23437         * elf/ldconfig.c (print_version): Likewise.
23438         * elf/ldd.bash.in: Likewise.
23439         * elf/pldd.c (print_version): Likewise.
23440         * elf/sotruss.sh: Likewise.
23441         * elf/sprof.c (print_version): Likewise.
23442         * iconv/iconv_prog.c (print_version): Likewise.
23443         * iconv/iconvconfig.c (print_version): Likewise.
23444         * locale/programs/locale.c (print_version): Likewise.
23445         * locale/programs/localedef.c (print_version): Likewise.
23446         * login/programs/pt_chown.c (print_version): Likewise.
23447         * malloc/memusage.sh (do_version): Likewise.
23448         * malloc/memusagestat.c (print_version): Likewise.
23449         * malloc/mtrace.pl: Likewise.
23450         * manual/libc.texinfo: Likewise.
23451         * nptl/version.c (banner): Likewise.
23452         * nscd/nscd.c (print_version): Likewise.
23453         * nss/getent.c (print_version): Likewise.
23454         * nss/makedb.c (print_version): Likewise.
23455         * posix/getconf.c (main): Likewise.
23456         * scripts/test-installation.pl: Likewise.
23457         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
23459 2015-01-02  Will Newton  <will.newton@linaro.org>
23461         * sysdeps/arm/armv7/configure: Removed.
23462         * sysdeps/arm/armv7/configure.ac: Likewise.
23464 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
23466         * All files with FSF copyright notices: Update copyright dates
23467         using scripts/update-copyrights.
23468         * intl/plural.c: Regenerated.
23469         * locale/programs/charmap-kw.h: Likewise.
23470         * locale/programs/locfile-kw.h: Likewise.
23472 2015-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
23474         * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
23476 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
23478         [BZ #17748]
23479         * include/fenv.h (__fegetenv): Use libm_hidden_proto.
23480         * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
23481         * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
23482         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
23483         * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
23484         * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
23485         define as weak alias of __fegetenv.  Use libm_hidden_weak.
23486         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
23487         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
23488         * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
23489         define as weak alias of __fegetenv.  Use libm_hidden_weak.
23490         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
23491         * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
23492         define as weak alias of __fegetenv.  Use libm_hidden_weak.
23493         * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
23494         libm_hidden_def.
23495         * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
23496         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
23497         Likewise.
23498         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
23499         define as weak alias of __fegetenv.  Use libm_hidden_weak.
23500         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
23501         * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
23502         * sysdeps/tile/math_private.h (__fegetenv): New inline function.
23503         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
23504         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
23505         * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
23506         __fegetenv instead of fegetenv.
23507         (libc_feholdsetround_noex_ctx): Likewise.
23509 2014-12-31  Matthew Fortune  <matthew.fortune@imgtec.com>
23511         * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
23512         (Elf_MIPS_ABIFlags_v0): New structure.
23513         (EF_MIPS_FP64): Define.
23514         (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
23515         (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
23516         (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
23517         (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
23518         (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
23519         (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
23520         (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
23521         (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
23522         (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
23523         (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
23524         (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
23525         (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
23526         (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
23527         (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
23528         (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
23529         (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
23530         (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
23531         (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
23532         (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
23533         * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
23534         tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
23535         * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
23536         field.
23537         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
23538         EF_MIPS_FP64.
23539         * sysdeps/mips/dl-machine-reject-phdr.h: New file.
23540         * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
23541         * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
23542         * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
23543         * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
23544         * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
23545         * sysdeps/mips/tst-abi-interlink.c: Likewise.
23546         * sysdeps/mips/tst-mode-switch-1.c: Likewise.
23547         * sysdeps/mips/tst-mode-switch-2.c: Likewise.
23548         * sysdeps/mips/tst-mode-switch-3.c: Likewise.
23549         * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
23550         record the current FP ABI extension.
23551         (mips-mode-switch): Define to show if kernel headers support mode
23552         switching.
23553         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
23554         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
23555         supported SYSV ABI version to 3.
23556         * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
23557         feature.
23559 2014-12-31  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
23560             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23562         * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
23563         path.
23564         * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
23566 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
23568         * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
23569         __fegetround and redefine to call __fegetround.  Remove condition
23570         on [!__NO_MATH_INLINES].
23571         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
23572         function.
23573         * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
23574         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
23575         Remove macro.
23576         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
23577         instead of <fenv_libc.h>.
23578         (__llrintl): Call fegetround instead of __fegetround.
23579         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
23580         instead of <fenv_libc.h>.
23581         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
23582         (__lrintl): Call fegetround instead of __fegetround.
23583         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
23584         instead of <fenv_libc.h>.
23585         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
23586         (__rintl): Call fegetround instead of __fegetround.
23588 2014-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
23590         * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
23591         arrays.
23593 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
23595         [BZ #17775]
23596         * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
23597         (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
23598         (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
23600 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
23602         * sysdeps/i386/tls-macros.h: Include <features.h>.
23603         (TLS_LE): Use non-PIC version for GCC >= 5.0.
23604         (TLS_IE): Likewise.
23605         (TLS_LD): Likewise.
23606         (TLS_GD): Likewise.
23607         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
23608         define for GCC >= 5.0.
23610 2014-12-30  Chris Metcalf  <cmetcalf@ezchip.com>
23612         * math/test-fenv.c (test_single_exception, set_single_exc,
23613         feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
23614         feexcp_mask_test, feenable_test, fe_single_test): Add
23615         [!FE_ALL_EXCEPT] test so these routines are not compiled in the
23616         case where they are not used.
23617         * math/libm-test.inc: Likewise.
23618         * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
23619         unused in the absence of FP rounding/exception support.
23620         * stdio-common/tst-printf-round.c: Likewise.
23621         * stdlib/tst-strtod-round.c: Likewise.
23622         * stdlib/tst-strtod-underflow.c: Likewise.
23624 2014-12-30  Joseph Myers  <joseph@codesourcery.com>
23626         [BZ #17723]
23627         * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
23628         * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
23629         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
23630         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
23631         libm_hidden_weak.
23632         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
23633         * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
23634         * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
23635         libm_hidden_def.
23636         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
23637         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
23638         libm_hidden_weak.
23639         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
23640         Likewise.
23641         * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
23642         * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
23643         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
23644         libm_hidden_weak.
23645         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
23646         libm_hidden_def.
23647         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
23648         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
23649         (__feraiseexcept): Likewise.
23650         * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
23651         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
23652         libm_hidden_weak.
23653         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
23654         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
23655         libm_hidden_def.
23656         * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
23657         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
23658         Use libm_hidden_def.
23659         * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
23660         libm_hidden_def.
23661         (feraiseexcept): Define as weak not strong alias.  Use
23662         libm_hidden_weak.
23663         * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
23664         New inline function.  Factored out of ...
23665         (feraiseexcept): ... here.  Use __feraiseexcept_invalid_divbyzero.
23666         * sysdeps/x86/fpu/include/bits/fenv.h: New file.
23667         * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
23668         feraiseexcept.
23669         * math/w_acos.c (__acos): Likewise.
23670         * math/w_asin.c (__asin): Likewise.
23671         * math/w_ilogb.c (__ilogb): Likewise.
23672         * math/w_j0.c (y0): Likewise.
23673         * math/w_j1.c (y1): Likewise.
23674         * math/w_jn.c (yn): Likewise.
23675         * math/w_log.c (__log): Likewise.
23676         * math/w_log10.c (__log10): Likewise.
23677         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
23678         * sysdeps/aarch64/fpu/math_private.h
23679         (libc_feupdateenv_test_aarch64): Likewise.
23680         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
23681         * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
23682         * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
23683         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
23684         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
23685         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
23686         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
23687         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
23688         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
23689         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
23691 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
23693         [BZ #17732]
23694         * io/test-utime.c (main): Replace %ld with %jd and cast to
23695         intmax_t.
23696         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
23697         * nptl/tst-mutex5.c: Include <stdint.h>.
23698         (do_test): Replace %ld with %jd and cast to intmax_t.
23699         * posix/tst-regex.c (run_test): Likewise.
23700         (run_test_backwards): Likewise.
23701         * rt/tst-clock.c: Include <stdint.h>.
23702         (clock_test): Replace %ld with %jd and cast to intmax_t.
23703         * rt/tst-cpuclock1.c: Include <stdint.h>.
23704         (do_test): Replace %lu with %ju and cast to uintmax_t.
23705         * rt/tst-cpuclock2.c: Include <stdint.h>.
23706         (do_test): Replace %lu with %ju and cast to uintmax_t.
23707         * rt/tst-mqueue1.c: Include <stdint.h>.
23708         (check_attrs): Replace %ld with %jd and cast to intmax_t.
23709         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
23710         intmax_t.
23711         * rt/tst-mqueue4.c (do_test): Likewise.
23712         * rt/tst-timer4.c: Include <stdint.h>.
23713         (check_ts): Replace %ld with %jd and cast to intmax_t.
23714         (do_test): Likewise.
23715         * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
23716         and cast to intmax_t.
23717         * sysdeps/pthread/tst-timer.c (main): Likewise.
23718         * time/clocktest.c (main): Likewise.
23719         * time/tst-posixtz.c (do_test): Likewise.
23720         * timezone/tst-timezone.c (main): Likewise.
23722 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
23723             H.J. Lu  <hongjiu.lu@intel.com>
23725         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
23726         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
23727         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
23728         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
23729         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
23730         version if bit_Fast_Unaligned_Load is set.
23731         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
23732         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
23733         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
23734         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
23735         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
23736         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
23737         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
23738         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
23739         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
23740         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
23741         to 4.
23742         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
23743         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
23744         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
23745         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
23747 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
23749         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
23750         instead of #if to avoid a Wundef warning.
23751         * stdlib/tst-limits.c (do_test): Likewise.
23753         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
23754         parallel other exception macros.
23755         (fegetenv): Convert from macro to extern inline so that it applies
23756         retroactively to inline functions already seen by the compiler.
23757         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
23759         * posix/Makefile (before-compile): Use $(objpfx) for
23760         posix-conf-vars-def.h.
23762 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
23764         * posix/getconf.c (main): Use size_t for type of I.
23765         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
23766         NSPEC.
23768         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
23769         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
23770         * posix/posix-envs.def: Likewise.
23771         * sysdeps/posix/sysconf.c: Likewise.
23772         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
23773         (specs): Remove array.
23774         * scripts/gen-posix-conf-vars.awk: Support generation of specs
23775         array.
23777         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
23778         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
23779         (__sysconf): Use CONF_IS_* macros.
23781         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
23782         ($(objpfx)posix-conf-vars-def.h): New target.
23783         * posix/posix-conf-vars.list: New file.
23784         * posix/posix-conf-vars.h: New file.
23785         * posix/confstr.c: Include posix-conf-vars.h.
23786         (confstr): Use CONF_IS_* macros.
23787         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
23788         CONF_IS_* macros.
23789         * scripts/gen-posix-conf-vars.awk: New file.
23791 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
23793         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
23794         fegetround): Add no-op macros to avoid linknamespace issues.
23796         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
23797         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
23799         * sysdeps/unix/sysv/linux/tile/sysdep.h
23800         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
23801         assembly-specific section to avoid a redefinition warning.
23803         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
23804         long before casting to pointer to avoid a cast warning.
23806 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
23808         * sysdeps/tile/tilegx/Implies: New file.
23810 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
23812         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
23814 2014-12-23  Florian Weimer  <fweimer@redhat.com>
23816         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
23818 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
23820         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
23821         not define.
23822         * sysdeps/unix/sysv/linux/utimes.c: Do not include
23823         <kernel-features.h>.
23824         (__utimes) [__NR_utimes]: Make code unconditional.
23825         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
23826         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
23827         (__ASSUME_UTIMES): Do not undefine.
23828         * sysdeps/unix/sysv/linux/tile/kernel-features.h
23829         (__ASSUME_UTIMES): Likewise.
23830         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
23831         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
23832         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
23833         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
23835 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
23837         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
23839 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
23841         [BZ #17747]
23842         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
23843         alias to weak alias for j0l, y0l.
23844         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
23845         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
23847         [BZ #17746]
23848         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
23849         conversion.
23851 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
23853         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
23854         to zero if not already defined.
23856 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
23858         [BZ #17724]
23859         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
23860         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
23861         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
23862         (char *) casts added.
23863         * sysdeps/ieee754/k_standardf.c: New file.
23864         * sysdeps/ieee754/k_standardl.c: Likewise.
23865         * math/Makefile (libm-support): Remove k_standard.
23866         (libm-calls): Add k_standard.
23868 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
23870         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
23871         Optimize to avoid an unnecessary FPCR read.
23873 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
23875         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
23876         Optimize to reduce FPCR/FPSR accesses.
23878 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
23880         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
23881         Call libc_fetestexcept_aarch64.
23883 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
23885         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
23886         Call libc_fesetround_aarch64.
23888 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
23890         [BZ #17733]
23891         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
23892         (__bind): Do not define as weak alias.
23893         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
23894         define.
23895         (__getsockname): Do not define as weak alias.
23897 2014-12-22  Will Newton  <will.newton@linaro.org>
23899         * manual/install.texi: Document that we require bison 2.7
23900         or above.
23901         * INSTALL: Regenerate.
23902         * configure.ac: Use AC_CHECK_PROG_VER instead of
23903         AC_PATH_PROG when checking for bison and check for
23904         version 2.7 or above.
23905         * configure: Regenerate.
23907 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
23909         [BZ #17745]
23910         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
23911         * sysdeps/tile/ffsll.c (ffsll): To here.
23913         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
23915 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
23917         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
23918         if not defined.
23919         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
23920         definition.
23921         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
23922         hidden ___tls_get_addr.
23923         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
23924         hidden __tls_get_addr.
23925         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
23926         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
23927         Likewise.
23929 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
23931         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
23932         _dl_init call.
23934 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
23936         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
23937         from "call _dl_init@PLT".
23938         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
23940 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
23942         * manual/search.texi: (Array Sort Function): Clarify stable sorting
23943         guarantees.
23945 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
23947         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
23949 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
23951         [BZ #17744]
23952         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
23953         strnlen.
23955 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
23957         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
23958         of multu on MIPSr6.
23959         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
23960         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
23961         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
23962         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
23963         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
23965 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
23967         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
23968         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
23969         (PTR_SUBU): Use subu for mips32r6/mips64r6.
23970         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
23971         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
23972         mips32r6/mips64r6.
23973         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
23975 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
23977         * string/strncat.c (STRNCAT): Simplify implementation.
23979 2014-12-19  David S. Miller  <davem@davemloft.net>
23981         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
23982         access the quad as both a long double and as a series of 4 words.
23984         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
23985         link_map->l_info array access.
23987 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
23989         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
23991         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
23992         * math/atest-exp2.c (TIMEOUT): Likewise.
23993         * math/atest-sincos.c (TIMEOUT): Likewise.
23995 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
23997         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
23998         -Wno-error with -fno-builtin-lround.
24000 2014-12-19  Torvald Riegel  <triegel@redhat.com>
24002         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
24003         Contains futex constants and functions moved over from ...
24004         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
24005         <lowlevellock-futex.h>.
24006         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
24007         (lll_timedwait_tid): Add comments and parentheses around macro
24008         arguments.
24010 2014-12-19  Torvald Riegel  <triegel@redhat.com>
24012         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
24013         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
24014         (__lll_private_flag): Remove.
24015         (lll_futex_wait): Likewise.
24016         (lll_futex_timed_wait): Likewise.
24017         (lll_futex_wake): Likewise.
24018         (lll_futex_requeue): Likewise.
24019         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
24020         (__lll_timedwait_tid): Spell out argument names.
24021         (lll_timedwait_tid): Add comments and parentheses around macro
24022         arguments.
24023         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
24024         LLL_SHARED and LLL_PRIVATE usable from assembly code.
24026 2014-12-19  Torvald Riegel  <triegel@redhat.com>
24028         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
24029         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
24030         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
24031         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
24032         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
24033         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
24034         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
24035         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
24036         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
24037         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
24038         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
24039         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
24040         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
24041         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
24042         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
24043         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
24044         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
24045         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
24046         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
24048 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
24050         * sysdeps/x86_64/x32/Makefile: New file.
24052 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
24054         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
24055         1L with (mp_limb_t) 1.
24057 2014-12-17  Roland McGrath  <roland@hack.frob.com>
24059         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
24060         * nptl/libc_pthread_init.c: ... here.
24061         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
24062         * nptl/register-atfork.c: ... here.
24064         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
24065         Use pthread_sigmask rather than INTERNAL_SYSCALL.
24066         Use assert_perror to check its return value.
24067         (__gai_create_helper_thread): Likewise.
24069         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
24071         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
24073 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
24075         [BZ #17725]
24076         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
24077         __profil_counter.
24078         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
24079         Likewise.
24080         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
24081         Likewise.
24082         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
24083         Likewise.
24084         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
24085         (profil_counter): Likewise.
24086         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
24087         (profil_counter): Likewise.
24088         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
24089         Likewise.
24090         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
24091         Likewise.
24092         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
24093         (profil_counter): Likewise.
24094         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
24095         Likewise.
24096         [!__profil_counter] (profil_counter): Define as weak alias of
24097         __profil_counter.
24098         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
24099         (profil_counter): Rename to __profil_counter.
24100         [!__profil_counter] (profil_counter): Define as weak alias of
24101         __profil_counter.
24102         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
24103         (profil_counter): Rename to __profil_counter.
24104         [!__profil_counter] (profil_counter): Define as weak alias of
24105         __profil_counter.
24106         * sysdeps/posix/profil.c: Update comment referring to
24107         profil_counter.
24108         (__profil): Use __profil_counter instead of profil_counter.
24109         * sysdeps/posix/sprofil.c (profil_counter): Rename to
24110         __profil_counter.  Use __profil_counter_ushort and
24111         __profil_counter_uint in definitions.
24112         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
24113         instead of profil_counter_uint and profil_counter_ushort.
24115         [BZ #17722]
24116         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
24117         define as weak alias of __inet_makeaddr.
24118         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
24119         as weak alias of __inet_addr.
24120         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
24121         as weak alias of __inet_pton.  Use libc_hidden_weak.
24122         * include/arpa/inet.h (__inet_pton): Declare.  Use
24123         libc_hidden_proto.
24124         (inet_makeaddr): Don't use libc_hidden_proto.
24125         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
24126         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
24127         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
24128         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
24129         Remove variable.
24130         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
24131         (test-xfail-POSIX/time.h/linknamespace): Likewise.
24133 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
24135         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
24137 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
24139         * stdio-common/bug-vfprintf-nargs.c (do_test):
24140         Cast value to intptr_t to avoid format warning
24141         for usage with PRIdPTR printing macro.
24143 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
24145         * libio/tst-widetext.c (do_test):
24146         Use format type %td instead of %Zd for ptrdiff_t
24147         in order to avoid format warning.
24149 2014-12-17  Andreas Schwab  <schwab@suse.de>
24151         * nscd/mem.c (gc): Add size_t cast to match printf format.
24153 2014-12-16  Roland McGrath  <roland@hack.frob.com>
24155         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
24156         (init): Apply PTR_MANGLE to pointers before storing them.
24157         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
24158         before using them.
24160 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
24162         [BZ #17719]
24163         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
24164         define as weak alias of __memrchr.
24165         (__memrchr): Do not define as strong alias of memrchr.
24166         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
24167         Remove variable.
24168         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
24169         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
24170         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
24172         [BZ #17717]
24173         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
24174         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
24175         (if_indextoname): Rename to __if_indextoname and define as weak
24176         alias of __if_indextoname.  Use libc_hidden_weak.
24177         (if_freenameindex): Rename to __if_freenameindex and define as
24178         weak alias of __if_freenameindex.
24179         (if_nameindex): Rename to __if_nameindex and define as weak alias
24180         of __if_nameindex.
24181         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
24182         __if_nametoindex and define as weak alias of __if_nametoindex.
24183         Use libc_hidden_weak.
24184         (if_freenameindex): Rename to __if_freenameindex and define as
24185         weak alias of __if_freenameindex.
24186         (if_nameindex): Rename to __if_nameindex and define as weak alias
24187         of __if_nameindex.
24188         (if_indextoname): Rename to __if_indextoname and define as weak
24189         alias of __if_indextoname.  Use libc_hidden_weak.
24190         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
24191         __if_nametoindex and define as weak alias of __if_nametoindex.
24192         Use libc_hidden_weak.
24193         (if_freenameindex): Rename to __if_freenameindex and define as
24194         weak alias of __if_freenameindex.  Use libc_hidden_weak.
24195         (if_nameindex_netlink): Use __if_freenameindex instead of
24196         if_freenameindex.
24197         (if_nameindex): Rename to __if_nameindex and define as weak alias
24198         of __if_nameindex.  Use libc_hidden_weak.
24199         (if_indextoname): Rename to __if_indextoname and define as weak
24200         alias of __if_indextoname.  Use libc_hidden_weak.
24201         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
24202         libc_hidden_proto.
24203         [!_ISOMAC] (__if_freenameindex): Likewise.
24204         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
24205         if_nametoindex.
24206         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
24207         variable.
24208         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
24209         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
24210         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
24211         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
24212         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
24213         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
24214         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
24216         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
24217         Remove variable.
24218         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
24219         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
24221 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
24223         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
24224         subscript above bounds'
24226         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
24227         bounds.
24229 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
24231         * libio/tst-fopenloc.c: Use test-skeleton.c.
24233         * stdlib/tst-bsearch.c: Use test-skeleton.c.
24234         (entry): Rename to ITEM.
24235         (do_test, comp): Adjust.
24237         * stdio-common/tst-fseek.c: Use test-skeleton.c.
24239 2014-12-16  Torvald Riegel  <triegel@redhat.com>
24241         * string/tester.c: Include <libc-internal.h>.
24242         (test_memset): Ignore -Wmemset-transposed-args.
24244 2014-12-16  Torvald Riegel  <triegel@redhat.com>
24246         * misc/tst-mntent2.c (do_test): Fix warning.
24248 2014-12-16  Torvald Riegel  <triegel@redhat.com>
24250         * elf/tst-unique4lib.cc(a): Mark as used.
24252 2014-12-16  Florian Weimer  <fweimer@redhat.com>
24254         [BZ #17630]
24255         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
24256         names.
24258 2014-12-16  Allan McRae  <allan@archlinux.org>
24260         * stdio-common/Makefile (tests): Re-add bug26.
24262 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
24264         [BZ #17657]
24265         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
24266         static array.
24268 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
24270         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
24271         (__lll_lock_wait): Likewise.
24272         (__lll_timedlock_wait): Likewise.
24273         (__lll_timedwait_tid): Likewise.
24274         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
24275         (__lll_robust_timedlock_wait): Likewise.
24276         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
24277         (lll_cond_trylock): Likewise.
24278         (__lll_lock): Likewise.
24279         (__lll_robust_lock): Likewise.
24280         (__lll_cond_lock): Likewise.
24281         (lll_robust_cond_lock): Likewise.
24282         (__lll_timedlock): Likewise.
24283         (__lll_robust_timedlock): Likewise.
24284         (__lll_unlock): Likewise.
24285         (__lll_robust_unlock): Likewise.
24286         (lll_wait_tid): Likewise.
24287         (lll_timedwait_tid): Likewise.
24289 2014-12-15  Torvald Riegel  <triegel@redhat.com>
24291         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
24293 2014-12-15  Torvald Riegel  <triegel@redhat.com>
24295         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
24297 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
24299         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
24300         * stdio-common/tst-sprintf.c: Likewise.
24302 2014-12-15  Torvald Riegel  <triegel@redhat.com>
24304         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
24306 2014-12-15  Jeff Law  <law@redhat.com>
24308         [BZ #16617]
24309         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
24310         on the heap.  (CVE-2012-3406)
24311         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
24312         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
24313         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
24315 2014-12-15  Will Newton  <will.newton@linaro.org>
24317         * manual/install.texi: Bump required version of texinfo
24318         to 4.7 from 4.5.
24319         * INSTALL: Regenerated.
24320         * configure.ac: Check for makeinfo version 4.7 and above.
24321         * configure: Regenerated.
24323 2014-12-12  Roland McGrath  <roland@hack.frob.com>
24325         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
24326         PREFIX, string constant to insert between directory and name.
24327         * sysdeps/posix/shm_open.c: Update caller.
24328         * sysdeps/posix/shm_unlink.c: Likewise.
24329         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
24330         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
24331         (SEM_SHM_PREFIX): New macro.
24332         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
24333         [$(have-thread-library) = no].
24334         * nptl/Makefile (libpthread-routines): Add shm-directory.
24335         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
24336         * sysdeps/nptl/shm-directory.h: New file.
24337         * sysdeps/posix/shm-directory.c
24338         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
24339         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
24340         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
24341         INTERNAL_SYSCALL.
24342         (__where_is_shmfs): Function removed.
24343         (mountpoint, defaultmount, defaultdir, __namedsem_once):
24344         Variables removed.
24345         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
24346         Use SHM_GET_NAME.
24347         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
24349         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
24350         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
24351         unconditional for use inside libpthread.
24352         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
24354 2014-12-12  Roland McGrath  <roland@hack.frob.com>
24356         * nptl/pthread_getaffinity.c: New file.
24357         * nptl/pthread_setaffinity.c: New file.
24358         * nptl/pthread_getname.c: New file.
24359         * nptl/pthread_setname.c: New file.
24361         * nptl/pthread_create.c (START_THREAD_DEFN)
24362         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
24364 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
24365             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24367         * resolv/res_send.c (send_vc): Disable warning resplen may
24368         be used uninitialized.
24370 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
24372         * nptl/tst-mutex6.c
24373         (ATTR_NULL): New define checks ATTR against NULL.
24374         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
24375         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
24377 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
24379         [BZ #17581]
24380         * malloc/hooks.c
24381         (mem2mem_check): Revert my previous change.
24382         (malloc_check_get_size): Revert my previous change.
24383         (mem2chunk_check): Revert my previous change.
24385 2014-12-11  Roland McGrath  <roland@hack.frob.com>
24387         * sysdeps/posix/shm-directory.c: New file.
24388         * sysdeps/posix/shm-directory.h: New file.
24389         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
24390         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
24391         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
24392         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
24393         Transmute EPERM to EACCES.
24394         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
24395         from ...
24396         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
24397         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
24399 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
24401         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
24402         pointer and cast to uintptr_t.
24403         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
24404         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
24405         Add cast to avoid warning.
24406         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
24408 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
24410         * nptl/semaphore.h: Move to ...
24411         * sysdeps/pthread/semaphore.h: ... here.
24412         * Makefile (installed-headers): Change nptl/semaphore.h to
24413         sysdeps/pthread/semaphore.h.
24415 2014-12-11  Roland McGrath  <roland@hack.frob.com>
24417         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
24418         generated error format strings.
24420         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
24421         -Wformat-extra-args warnings for scanf formats.
24422         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
24423         test of zero-length format (duh).
24424         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
24425         corner-case scanf format test.
24426         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
24427         generated fprintf format string.
24428         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
24429         corner-case sprintf format tests.
24430         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
24431         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
24432         -Wformat-extra-args warnings throughout.
24433         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
24434         (CFLAGS-scanf4.c): Likewise.
24435         (CFLAGS-scanf7.c): Likewise.
24436         (CFLAGS-tst-sprintf.c): Likewise.
24437         (CFLAGS-tst-printf.c): Likewise.
24438         (CFLAGS-tst-printfsz.c): Likewise.
24440 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
24442         * include/cpio.h: New file.
24443         * include/fmtmsg.h: Likewise.
24445         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
24446         corresponding format argument to size_t.
24447         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
24448         arguments.
24449         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
24450         corresponding format argument to size_t.
24451         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
24452         arguments.
24453         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
24454         corresponding format argument to size_t.
24455         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
24456         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
24457         (CFLAGS-tst-mbswcs2.c): Likewise.
24458         (CFLAGS-tst-mbswcs3.c): Likewise.
24459         (CFLAGS-tst-mbswcs4.c): Likewise.
24460         (CFLAGS-tst-mbswcs5.c): Likewise.
24461         (CFLAGS-tst-trans.c): Likewise.
24463 2014-12-11  Roland McGrath  <roland@hack.frob.com>
24465         * posix/regexbug1.c (main): Use "%s" format with regerror results,
24466         rather than assuming they won't contain any '%'s.
24468 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
24470         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
24471         inhibit_loop_to_libcall to avoid recursive calls.
24472         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
24473         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
24475 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
24477         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
24478         prototype.
24480 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
24482         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
24483         integer value instead of boolean.
24485 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
24487         * malloc/malloc.c: Fix powerof2 check.
24489 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
24491         * locale/programs/locfile.h (maybe_swap_uint32):
24492         Remove inline and add unused attribute.
24494 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
24496         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
24497         Truncating assembler expression to a .long expression.
24499 2014-12-11  Andreas Schwab  <schwab@suse.de>
24501         * elf/rtld.c (struct map_args): Constify str member.
24502         (do_preload): Constify fname argument.
24504 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24506         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
24507         constants definition.
24509 2014-12-11  Andreas Schwab  <schwab@suse.de>
24511         [BZ #16657]
24512         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
24513         FORCE_ELISION instead of DO_ELISION.
24514         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
24515         Remove.
24516         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
24517         Likewise.
24519         * iconvdata/gconv-modules: Remove duplicate entry.
24521 2014-12-11  Will Newton  <will.newton@linaro.org>
24523         Merge gettext 0.19.3 into intl/.
24525         This involves a number of cosmetic changes to comments
24526         and ANSI function definitions and prototypes throughout
24527         all the files. The gettext copyright header is used but
24528         with the date ranges taken from the glibc copy.
24530         * NEWS: Add gettext merge to 2.21.
24531         * intl/bindtextdom.c: Switch to gettext copyright.
24532         Use ANSI definitions and prototypes.
24533         Use gl_* locking primitives rather than __libc_* ones.
24534         Use __builtin_expect rather than __glibc_likely/unlikely.
24535         * intl/dcgettext.c: Switch to gettext copyright.
24536         Use ANSI definitions and prototypes.
24537         * intl/dcigettext.c: Switch to gettext copyright.
24538         Use ANSI definitions and prototypes.
24539         (INTDIV0_RAISES_SIGFPE): New define.
24540         Use gl_* locking primitives rather than __libc_* ones.
24541         Include eval-plural.h instead of plural-eval.c.
24542         Use __builtin_expect rather than __glibc_likely/unlikely.
24543         * intl/dcngettext.c: Switch to gettext copyright.
24544         Use ANSI definitions and prototypes.
24545         * intl/dgettext.c: Likewise.
24546         * intl/dngettext.c: Likewise.
24547         * intl/plural-eval.c: Renamed to...
24548         * intl/eval-plural.h: ...this.
24549         * intl/explodename.c: Switch to gettext copyright.
24550         Use ANSI definitions and prototypes.
24551         (_nl_explode_name): Use strchr instead of __rawmemchr.
24552         * intl/finddomain.c: Switch to gettext copyright.
24553         Use ANSI definitions and prototypes.
24554         Use gl_* locking primitives rather than __libc_* ones.
24555         (_nl_find_domain): Use malloc rather than alloca for
24556         allocation of temporary locale name.
24557         * intl/gettext.c: Switch to gettext copyright.
24558         Use ANSI definitions and prototypes.
24559         * intl/gettextP.h: Switch to gettext copyright.
24560         Use ANSI definitions and prototypes.
24561         Use gl_* locking primitives rather than __libc_* ones.
24562         * intl/gmo.h: Switch to gettext copyright.
24563         (struct sysdep_string): Move struct segment_pair outside of
24564         struct definition.
24565         * intl/hash-string.c: Use ANSI definitions and prototypes.
24566         * intl/hash-string.h: Switch to gettext copyright.
24567         Use ANSI definitions and prototypes.
24568         * intl/l10nflist.c: Switch to gettext copyright.
24569         Use ANSI definitions and prototypes.
24570         (_nl_normalize_codeset): Avoid integer overflow.
24571         * intl/loadinfo.h: Switch to gettext copyright.
24572         Use ANSI definitions and prototypes.
24573         (LIBINTL_DLL_EXPORTED): New define.
24574         (PATH_SEPARATOR): New define.
24575         * intl/loadmsgcat.c: Switch to gettext copyright.
24576         * intl/localealias.c: Switch to gettext copyright.
24577         Use ANSI definitions and prototypes.
24578         (_nl_expand_alias): Use PATH_SEPARATOR.
24579         * intl/ngettext.c: Switch to gettext copyright.
24580         Use ANSI definitions and prototypes.
24581         * intl/plural-exp.c: Likewise.
24582         * intl/plural-exp.h: Switch to gettext copyright.
24583         Use ANSI definitions and prototypes.
24584         (struct expression): Move definition of enum operator outside
24585         of struct definition.
24586         * intl/plural.c: Regenerate.
24587         * intl/plural.y: Switch to gettext copyright.
24588         Use ANSI definitions and prototypes.
24589         Port to bison 3.0.
24590         * intl/textdomain.c: Switch to gettext copyright.
24591         Use ANSI definitions and prototypes.
24592         Use gl_* locking primitives rather than __libc_* ones.
24594 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
24596         * debug/warning-nop.c: Add used atrribute.
24598 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
24600         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
24602         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
24603         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
24604         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
24606 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
24607             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24609         [BZ #17634]
24610         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
24611         Undefine after defining function.  Define as weak alias of
24612         __wcschr.  Use libc_hidden_weak.
24613         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
24614         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
24615         (libc_hidden_def): Also define __GI___wcschr alias.
24616         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
24617         __wcschr and define as weak alias of __wcschr.
24618         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
24619         __wcschr.
24620         [!WCSCHR] (DEFAULT_WCSCHR): Define.
24621         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
24622         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
24623         libc_hidden_weak.  Do not use libc_hidden_def.
24624         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
24625         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
24626         __GI___wcschr alias.
24627         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
24628         [IS_IN (libc)] (wcschr): Define as macro expanding to
24629         __redirect_wcschr.
24630         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
24631         [IS_IN (libc)] (__wcschr_power6): Likewise.
24632         [IS_IN (libc)] (__wcschr_power7): Likewise.
24633         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
24634         instead of wcschr.
24635         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
24636         __libc_wcschr.
24637         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
24638         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
24639         __wcschr and define as weak alias of __wcschr.  Use
24640         libc_hidden_builtin_def.
24641         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
24642         as weak alias of __wcschr.  Use libc_hidden_weak.
24643         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
24644         wcschr.
24645         * time/era.c (_nl_init_era_entries): Likewise.
24646         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
24647         variable.
24648         (test-xfail-XPG3/time.h/linknamespace): Likewise.
24649         (test-xfail-XPG4/time.h/linknamespace): Likewise.
24651 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
24653         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
24654         format for long int variable.
24656 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
24658         [BZ #10672]
24659         * manual/search.texi: (Array Sort Function): Remove claim how to make
24660         qsort stable.
24662 2014-12-10  Andreas Schwab  <schwab@suse.de>
24664         [BZ #12847]
24665         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
24666         user-controlled locks.
24668 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
24670         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
24671         register.
24673 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
24675         * configure.ac (--disable-werror): New configure option.
24676         (enable_werror): New AC_SUBST.
24677         * configure: Regenerated.
24678         * config.make.in (enable-werror): New variable.
24679         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
24680         -Wno-error=undef.
24681         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
24682         * manual/install.texi (Configuring and compiling): Document
24683         --disable-werror.
24684         * INSTALL: Regenerated.
24685         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
24686         (CFLAGS-tst-chk2.c): Likewise.
24687         (CFLAGS-tst-chk3.c): Likewise.
24688         (CFLAGS-tst-chk4.cc): Likewise.
24689         (CFLAGS-tst-chk5.cc): Likewise.
24690         (CFLAGS-tst-chk6.cc): Likewise.
24691         (CFLAGS-tst-lfschk1.c): Likewise.
24692         (CFLAGS-tst-lfschk2.c): Likewise.
24693         (CFLAGS-tst-lfschk3.c): Likewise.
24694         (CFLAGS-tst-lfschk4.cc): Likewise.
24695         (CFLAGS-tst-lfschk5.cc): Likewise.
24696         (CFLAGS-tst-lfschk6.cc): Likewise.
24698         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
24699         (main): Disable -Wdeprecated-declarations around calls to
24700         register_printf_function.
24702         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
24703         (do_test): Disable -Wdiv-by-zero around some calls to
24704         fwrite_unlocked and fread_unlocked.
24706         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
24707         (DIAG_POP_NEEDS_COMMENT): Likewise.
24708         (_DIAG_STR1): Likewise.
24709         (_DIAG_STR): Likewise.
24710         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
24711         * stdio-common/bug21.c: Include <libc-internal.h>.
24712         (do_test): Disable -Wformat around call to sscanf.
24713         * stdio-common/scanf14.c: Include <libc-internal.h>.
24714         (main): Disable -Wformat around some calls to scanf functions.
24716 2014-12-09  Torvald Riegel  <triegel@redhat.com>
24718         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
24720 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24722         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
24723         stack variable alignment.
24725 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
24727         [BZ #17682]
24728         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
24729         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
24730         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
24731         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
24732         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
24733         __getrlimit instead of getrlimit.
24734         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
24735         __gettimeofday instead of gettimeofday.
24736         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
24737         Likewise.
24738         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
24739         Likewise.
24740         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
24741         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
24742         Remove variable.
24743         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
24744         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
24746 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24748         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
24749         for wide-character tests.
24751 2014-12-04  Roland McGrath  <roland@hack.frob.com>
24753         * io/openat64.c: #include <libc-internal.h>
24754         (__openat64): Prototypify.  Use ignore_value on MODE.
24755         * io/openat.c: Likewise.
24756         * misc/reboot.c: #include <libc-internal.h>
24757         (reboot): Prototypify.  Use ignore_value on HOWTO.
24758         * misc/ptrace.c: #include <libc-internal.h>
24759         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
24761 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
24763         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
24764         XPG4, UNIX98 and XOPEN2K.
24765         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
24766         Remove variable.
24767         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
24769 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
24771         * libio/fileops.c: Use ISO C style for function definitions.
24772         * libio/iofopen.c: Likewise.
24773         * libio/wfileops.c: Likewise.
24775         [BZ #17653]
24776         * libio/fileops.c (_IO_new_file_underflow): Unset cached
24777         offset on EOF.
24778         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
24779         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
24780         (fgets_func): Function pointer to fgets and fgetws.
24781         (do_ftell_test): Add test to verify ftell value after read
24782         EOF.
24783         (do_test): Set fgets_func.
24785         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
24786         O_TRUNC flag for w and w+ modes.
24787         (do_rewind_test): Likewise.
24788         (do_ftell_test): Likewise.
24789         (do_write_test): Likewise.
24791         [BZ #17647]
24792         * libio/fileops.c (do_ftell): Seek only when there are
24793         unflushed writes.
24794         * libio/wfileops.c (do_ftell_wide): Likewise.
24795         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
24796         test case.
24797         (do_one_test): Call it.
24799 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
24801         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
24802         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
24803         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
24804         Remove variable.
24805         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
24806         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
24807         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
24809 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
24811         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
24812         Remove variable.
24813         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
24815         [BZ #17668]
24816         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
24817         as weak alias of __getifaddrs.  Use libc_hidden_weak.
24818         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
24819         __freeifaddrs.  Use libc_hidden_weak.
24820         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
24821         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
24822         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
24823         __freeifaddrs.  Use libc_hidden_weak.
24824         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
24825         __getifaddrs and define as weak alias of __getifaddrs.  Use
24826         libc_hidden_weak.
24827         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
24828         __freeifaddrs.  Use libc_hidden_weak.
24829         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
24830         Remove variable.
24831         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
24832         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
24834 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
24836         [BZ #17601]
24837         * sysdeps/mips/start.S (__start): Use indirect jump to call
24838         __libc_start_main.
24840 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
24842         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
24844         * nptl/tst-mutex1.c: Include <stdbool.h>.
24845         [!ATTR] (ATTR_NULL): New macro.
24846         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
24847         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
24848         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
24850         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
24851         to char *.
24853         [BZ #17665]
24854         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
24855         Change conditional to [__USE_MISC].
24857         [BZ #17664]
24858         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
24859         fgets_unlocked.
24860         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
24861         __fgets_unlocked.
24862         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
24863         fgets_unlocked.
24864         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
24865         Remove variable.
24866         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
24867         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
24868         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
24869         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
24870         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
24871         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
24872         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
24873         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
24874         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
24876         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
24878 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24880         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
24881         Remove strpbrk objects.
24882         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24883         (__libc_ifunc_impl_list): Remove strpbrk implementation.
24884         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
24885         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
24886         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
24887         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
24889         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
24890         Remove strcspn objects.
24891         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24892         (__libc_ifunc_impl_list): Remove strcspn implementation.
24893         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
24894         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
24895         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
24896         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
24898         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
24899         Remove strspn objetcs.
24900         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24901         (__libc_ifunc_impl_list): Remove strspn implementation.
24902         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
24903         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
24904         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
24905         * sysdeps/powerpc/powerpc64/strspn.S: New file.
24907 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
24909         [BZ #17581]
24910         * malloc/hooks.c
24911         (mem2mem_check): Add a terminator to the chain of checking blocks.
24912         (malloc_check_get_size): Use it here.
24913         (mem2chunk_check): Ditto.
24915 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
24917         * sysdeps/powerpc/powerpc64/strtok.S: New file.
24918         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
24920 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
24922         * bits/ioctl-types.h: Indent preprocessor directives correctly.
24924         * nptl/nptl-init.c: Include libc-internal.h.
24925         (__pthread_initialize_minimal_internal): Use ROUND_UP.
24927         * elf/ldconfig.c (search_dir): Expand comment.
24929 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
24931         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
24932         variable.
24933         (linknamespace-symlist-stdlibs-tests): Likewise.
24934         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
24935         instead of $(objpfx)symlist-stdlibs.
24936         (linknamespace-libs-isoc): New variable.
24937         (linknamespace-libs): Use $(linknamespace-libs-isoc).
24938         (linknamespace-libs-ISO): New variable.
24939         (linknamespace-libs-ISO99): Likewise.
24940         (linknamespace-libs-ISO11): Likewise.
24941         (linknamespace-libs-XPG3): Likewise.
24942         (linknamespace-libs-XPG4): Likewise.
24943         (linknamespace-libs-POSIX): Likewise.
24944         (linknamespace-libs-UNIX98): Likewise.
24945         (linknamespace-libs-XOPEN2K): Likewise.
24946         (linknamespace-libs-POSIX2008): Likewise.
24947         (linknamespace-libs-XOPEN2K8): Likewise.
24948         ($(objpfx)symlist-stdlibs): Replace by
24949         $(linknamespace-symlist-stdlibs-tests).  Use
24950         $(linknamespace-libs-$*) as set of libraries.
24951         ($(linknamespace-header-tests)): Update dependencies.  Use
24952         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
24953         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
24954         * conform/linknamespace.pl: Remove comment about considering
24955         definitions of symbols from irrelevant libraries.
24957 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
24959         [BZ #13862]
24960         * elf/dl-tls.c: Include <atomic.h>.
24961         (oom): Remove #ifdef SHARED/#endif.
24962         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
24963         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
24964         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
24965         big enough.
24966         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
24967         * nptl/Makefile (tests): Add tst-stack4.
24968         (modules-names): Add tst-stack4mod.
24969         ($(objpfx)tst-stack4): New.
24970         (tst-stack4mod.sos): Likewise.
24971         ($(objpfx)tst-stack4.out): Likewise.
24972         ($(tst-stack4mod.sos)): Likewise.
24973         (clean): Likewise.
24974         * nptl/tst-stack4.c: New file.
24975         * nptl/tst-stack4mod.c: Likewise.
24977 2014-11-27  J. Brown  <jb999@gmx.de>
24979         * sysdeps/x86/bits/string.h: Add recent CPUs.
24981 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
24983         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
24984         sigblock.
24986         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
24987         feof.
24989         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
24990         variable.
24992 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
24994         * nscd/connections.c: Include libc-internal.h because of macro
24995         usage ignore_value.
24997 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
24999         * string/bits/string3.h (__warn_memset_zero_len): Don't
25000         declare for gcc newer than 5.0.
25001         (memset): Don't test for zero-length __LEN for gcc newer than
25002         5.0.
25004 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
25006         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
25007         size_t for %zu format.
25009         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
25010         difference, not %ju.
25012 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
25014         * include/libc-internal.h (ignore_value): New macro.
25015         * nscd/connections.c (restart): Wrap calls to setuid and setgid
25016         with ignore_value.
25018         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
25019         definition.
25021         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
25022         pthread_cleanup_push to void *.
25024         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
25025         Undefine.
25027         [BZ #16619]
25028         [BZ #16740]
25029         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
25030         instead of 1L << 52.
25032         * libio/bug-rewind.c (do_test): Check fwscanf return values.
25033         * libio/bug-rewind2.c (do_test): Likewise.
25035         * debug/test-stpcpy_chk-ifunc.c: Remove file.
25036         * debug/test-strcpy_chk-ifunc.c: Likewise.
25037         * wcsmbs/test-wcschr-ifunc.c: Likewise.
25038         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
25039         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
25040         * wcsmbs/test-wcslen-ifunc.c: Likewise.
25041         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
25042         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
25043         * Rules [$(multi-arch) = no] (tests): Do not filter out
25044         $(tests-ifunc).
25045         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
25046         * debug/Makefile (tests-ifunc): Remove variable.
25047         (tests): Do not add $(tests-ifunc).
25048         * wcsmbs/Makefile (tests-ifunc): Remove variable.
25049         (tests): Do not add $(tests-ifunc).
25050         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
25051         [TEST_IFUNC]: Remove conditionals.
25052         * string/test-string.h (TEST_IFUNC): Remove macro.
25053         [TEST_IFUNC]: Remove conditionals.
25055         * string/test-strchr.c [!WIDE] (L): New macro.
25056         [WIDE] (L): Likewise.
25057         (check1): Use CHAR instead of char.  Use L on string and character
25058         constants.
25060 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
25062         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
25063         tests.
25064         * sysdeps/powerpc/bits/atomic.h
25065         (__arch_atomic_exchange_and_add_32_acq): Add definition.
25066         (__arch_atomic_exchange_and_add_32_rel): Likewise.
25067         (atomic_exchange_and_add_acq): Likewise.
25068         (atomic_exchange_and_add_rel): Likewise.
25069         * sysdeps/powerpc/powerpc32/bits/atomic.h
25070         (__arch_atomic_exchange_and_add_64_acq): Add definition.
25071         (__arch_atomic_exchange_and_add_64_rel): Likewise.
25072         * sysdeps/powerpc/powerpc64/bits/atomic.h
25073         (__arch_atomic_exchange_and_add_64_acq): Add definition.
25074         (__arch_atomic_exchange_and_add_64_rel): Likewise.
25076 2014-11-26  Torvald Riegel  <triegel@redhat.com>
25078         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
25079         Change synchronization of __sched_fifo_min_prio and
25080         __sched_fifo_max_prio.
25081         * nptl/pthread_mutexattr_getprioceiling.c
25082         (pthread_mutexattr_getprioceiling): Likewise.
25083         * nptl/pthread_mutexattr_setprioceiling.c
25084         (pthread_mutexattr_setprioceiling): Likewise.
25085         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
25086         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
25087         Likewise.
25089 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
25091         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
25092         void.
25094 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
25096         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
25097         third argument const.
25099 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
25101         fnmatch: work around GCC compiler warning bug with uninit var
25102         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
25103         This works around a bug with x86-64 GCC 4.9.2 and earlier
25104         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
25105         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
25106         used uninitialized in this function [-Wmaybe-uninitialized]".
25108 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
25110         * posix/bug-regex31.c (main): Return RES not 0.
25112 2014-11-25  Anton Blanchard <anton@samba.org>
25114         * sysdeps/powerpc/bits/atomic.h
25115         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
25117 2014-11-24  Sterling Augustine  <saugustine@google.com>
25119         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
25121 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
25123         [BZ #17608]
25124         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
25126 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
25128         [BZ #17633]
25129         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
25130         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
25131         variable.
25132         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
25133         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
25135 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
25137         * string/strncpy.c (strncpy): Improve performance by using memset.
25139 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
25141         * string/strcpy.c (strcpy):
25142         Improve performance by using strlen and memcpy.
25144 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
25146         * string/strcoll_l.c (get_next_seq): __always_inline.
25147         * string/strcoll_l.c (do_compare): __always_inline.
25149 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
25151         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
25152         defined.
25153         * include/mqueue.h: Likewise.
25154         * include/stdlib.h: Likewise.
25156         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
25157         (get_null_defines): Adjust.
25158         * sunrpc/Makefile: Adjust comment.
25159         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
25160         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
25161         (CFLAGS-interp.c): Likewise.
25162         (CFLAGS-ldconfig.c): Likewise.
25163         (CPPFLAGS-.os): Likewise.
25164         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
25165         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
25166         * extra-modules.mk (extra-modules.mk): Likewise.
25167         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
25168         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
25169         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
25170         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
25171         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
25172         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
25173         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
25174         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
25175         * iconvdata/Makefile (CPPFLAGS): Likewise.
25176         (cpp-srcs-left): Add libof for all iconvdata routines.
25177         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
25178         * include/assert.h: Likewise.
25179         * include/ctype.h: Likewise.
25180         * include/errno.h: Likewise.
25181         * include/libc-symbols.h: Likewise.
25182         * include/math.h: Likewise.
25183         * include/netdb.h: Likewise.
25184         * include/resolv.h: Likewise.
25185         * include/stdio.h: Likewise.
25186         * include/stdlib.h: Likewise.
25187         * include/string.h: Likewise.
25188         * include/sys/stat.h: Likewise.
25189         * include/wctype.h: Likewise.
25190         * intl/l10nflist.c: Likewise.
25191         * libidn/idn-stub.c: Likewise.
25192         * libio/libioP.h: Likewise.
25193         * nptl/libc_multiple_threads.c: Likewise.
25194         * nptl/pthreadP.h: Likewise.
25195         * posix/regex_internal.h: Likewise.
25196         * resolv/res_hconf.c: Likewise.
25197         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
25198         * sysdeps/arm/memmove.S: Likewise.
25199         * sysdeps/arm/sysdep.h: Likewise.
25200         * sysdeps/generic/_itoa.h: Likewise.
25201         * sysdeps/generic/symbol-hacks.h: Likewise.
25202         * sysdeps/gnu/errlist.awk: Likewise.
25203         * sysdeps/gnu/errlist.c: Likewise.
25204         * sysdeps/i386/i586/memcpy.S: Likewise.
25205         * sysdeps/i386/i586/memset.S: Likewise.
25206         * sysdeps/i386/i686/memcpy.S: Likewise.
25207         * sysdeps/i386/i686/memmove.S: Likewise.
25208         * sysdeps/i386/i686/mempcpy.S: Likewise.
25209         * sysdeps/i386/i686/memset.S: Likewise.
25210         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
25211         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
25212         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
25213         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
25214         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
25215         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
25216         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
25217         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
25218         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
25219         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
25220         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
25221         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
25222         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
25223         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
25224         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
25225         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
25226         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
25227         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
25228         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
25229         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
25230         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
25231         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
25232         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
25233         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
25234         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
25235         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
25236         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
25237         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
25238         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
25239         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
25240         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
25241         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
25242         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
25243         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
25244         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
25245         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
25246         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
25247         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
25248         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
25249         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
25250         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
25251         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
25252         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
25253         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
25254         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
25255         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
25256         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
25257         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
25258         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
25259         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
25260         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
25261         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
25262         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
25263         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
25264         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
25265         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
25266         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
25267         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
25268         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
25269         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
25270         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
25271         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
25272         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
25273         * sysdeps/nptl/bits/libc-lock.h: Likewise.
25274         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
25275         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
25276         * sysdeps/posix/closedir.c: Likewise.
25277         * sysdeps/posix/opendir.c: Likewise.
25278         * sysdeps/posix/readdir.c: Likewise.
25279         * sysdeps/posix/rewinddir.c: Likewise.
25280         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
25281         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
25282         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
25283         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
25284         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
25285         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
25286         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
25287         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
25288         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
25289         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
25290         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
25291         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
25292         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
25293         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
25294         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
25295         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
25296         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
25297         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
25298         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
25299         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
25300         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
25301         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
25302         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
25303         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
25304         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
25305         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
25306         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
25307         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
25308         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
25309         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
25310         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
25311         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
25312         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
25313         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
25314         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
25315         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
25316         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
25317         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
25318         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
25319         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
25320         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
25321         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
25322         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
25323         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
25324         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
25325         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
25326         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
25327         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
25328         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
25329         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
25330         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
25331         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
25332         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
25333         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
25334         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
25335         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
25336         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
25337         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
25338         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
25339         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
25340         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
25341         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
25342         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
25343         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
25344         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
25345         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
25346         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
25347         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
25348         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
25349         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
25350         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
25351         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
25352         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
25353         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
25354         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
25355         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
25356         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
25357         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
25358         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
25359         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
25360         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
25361         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
25362         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
25363         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
25364         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
25365         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
25366         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
25367         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
25368         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
25369         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
25370         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
25371         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
25372         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
25373         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
25374         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
25375         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
25376         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
25377         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
25378         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
25379         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
25380         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
25381         * sysdeps/unix/alpha/sysdep.S: Likewise.
25382         * sysdeps/unix/alpha/sysdep.h: Likewise.
25383         * sysdeps/unix/make-syscalls.sh: Likewise.
25384         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
25385         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
25386         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
25387         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
25388         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
25389         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
25390         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
25391         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
25392         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
25393         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
25394         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
25395         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
25396         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
25397         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
25398         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
25399         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
25400         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
25401         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
25402         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
25403         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
25404         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
25405         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
25406         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
25407         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
25408         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
25409         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
25410         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
25411         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
25412         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
25413         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
25414         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
25415         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
25416         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
25417         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
25418         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
25419         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
25420         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
25421         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
25422         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
25423         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
25424         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
25425         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
25426         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
25427         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
25428         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
25429         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
25430         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
25431         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
25432         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
25433         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
25434         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
25435         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
25436         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
25437         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
25438         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
25439         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
25440         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
25441         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
25442         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
25443         * sysdeps/x86_64/memcpy.S: Likewise.
25444         * sysdeps/x86_64/memmove.c: Likewise.
25445         * sysdeps/x86_64/memset.S: Likewise.
25446         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
25447         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
25448         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
25449         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
25450         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
25451         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
25452         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
25453         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
25454         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
25455         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
25456         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
25457         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
25458         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
25459         * sysdeps/x86_64/multiarch/memset.S: Likewise.
25460         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
25461         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
25462         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
25463         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
25464         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
25465         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
25466         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
25467         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
25468         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
25469         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
25470         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
25471         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
25472         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
25473         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
25474         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
25475         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
25476         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
25477         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
25478         * sysdeps/x86_64/strcmp.S: Likewise.
25480         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
25482         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
25483         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
25484         * elf/rtld-Rules: Likewise.
25485         * elf/setup-vdso.h: Likewise.
25486         * include/assert.h: Likewise.
25487         * include/bits/stdlib-float.h: Likewise.
25488         * include/errno.h: Likewise.
25489         * include/sys/stat.h: Likewise.
25490         * include/unistd.h: Likewise.
25491         * sysdeps/aarch64/setjmp.S: Likewise.
25492         * sysdeps/alpha/setjmp.S: Likewise.
25493         * sysdeps/arm/__longjmp.S: Likewise.
25494         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
25495         * sysdeps/arm/setjmp.S: Likewise.
25496         * sysdeps/arm/sysdep.h: Likewise.
25497         * sysdeps/generic/_itoa.h: Likewise.
25498         * sysdeps/generic/dl-sysdep.h: Likewise.
25499         * sysdeps/generic/ldsodefs.h: Likewise.
25500         * sysdeps/i386/dl-tls.h: Likewise.
25501         * sysdeps/i386/setjmp.S: Likewise.
25502         * sysdeps/m68k/setjmp.c: Likewise.
25503         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
25504         * sysdeps/mach/hurd/opendir.c: Likewise.
25505         * sysdeps/posix/getcwd.c: Likewise.
25506         * sysdeps/posix/opendir.c: Likewise.
25507         * sysdeps/posix/profil.c: Likewise.
25508         * sysdeps/powerpc/dl-procinfo.h: Likewise.
25509         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
25510         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
25511         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
25512         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
25513         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
25514         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
25515         * sysdeps/s390/dl-tls.h: Likewise.
25516         * sysdeps/s390/s390-32/setjmp.S: Likewise.
25517         * sysdeps/s390/s390-64/setjmp.S: Likewise.
25518         * sysdeps/sh/sh3/setjmp.S: Likewise.
25519         * sysdeps/sh/sh4/setjmp.S: Likewise.
25520         * sysdeps/unix/alpha/sysdep.h: Likewise.
25521         * sysdeps/unix/arm/sysdep.S: Likewise.
25522         * sysdeps/unix/i386/sysdep.S: Likewise.
25523         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
25524         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
25525         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
25526         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
25527         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
25528         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
25529         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
25530         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
25531         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
25532         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
25533         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
25534         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
25535         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
25536         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
25537         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
25538         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
25539         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
25540         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
25541         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
25542         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
25543         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
25544         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
25545         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
25546         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
25547         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
25548         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
25549         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
25550         * sysdeps/unix/x86_64/sysdep.S: Likewise.
25551         * sysdeps/x86_64/setjmp.S: Likewise.
25553         * include/math.h: Use IS_IN instead of IS_IN_libm.
25554         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
25555         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
25556         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
25557         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
25558         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
25559         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
25560         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
25561         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
25562         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
25563         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
25564         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
25565         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
25566         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
25567         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
25568         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
25569         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
25570         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
25571         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
25572         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
25573         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
25574         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
25575         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
25576         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
25577         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
25578         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
25579         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
25580         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
25581         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
25582         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
25583         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
25584         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
25585         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
25586         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
25587         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
25588         Likewise.
25589         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
25590         Likewise.
25591         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
25592         Likewise.
25593         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
25594         Likewise.
25595         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
25596         Likewise.
25597         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
25598         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
25599         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
25600         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
25601         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
25602         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
25603         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
25604         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
25605         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
25606         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
25607         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
25608         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
25609         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
25610         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
25611         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
25612         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
25613         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
25614         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
25615         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
25616         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
25617         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
25618         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
25619         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
25620         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
25621         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
25622         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
25623         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
25625         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
25626         * nptl/pthreadP.h: Likewise.
25627         * nptl_db/structs.def: Likewise.
25628         * sysdeps/arm/sysdep.h: Likewise.
25629         * sysdeps/nptl/bits/libc-lock.h: Likewise.
25630         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
25631         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
25632         * sysdeps/unix/alpha/sysdep.h: Likewise.
25633         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
25634         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
25635         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
25636         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
25637         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
25638         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
25639         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
25640         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
25641         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
25642         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
25643         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
25644         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
25645         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
25646         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
25647         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
25648         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
25649         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
25650         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
25651         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
25652         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
25653         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
25654         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
25655         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
25656         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
25657         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
25658         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
25660         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
25661         * nptl/pthreadP.h: Likewise.
25662         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
25663         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
25664         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
25665         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
25666         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
25667         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
25668         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
25669         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
25670         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
25671         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
25672         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
25673         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
25674         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
25675         Likewise.
25676         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
25677         Likewise.
25678         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
25679         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
25680         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
25681         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
25682         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
25683         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
25684         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
25685         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
25687         * dlfcn/dladdr.c: Use IS_IN.
25688         * dlfcn/dladdr1.c: Likewise.
25689         * dlfcn/dlclose.c: Likewise.
25690         * dlfcn/dlerror.c: Likewise.
25691         * dlfcn/dlinfo.c: Likewise.
25692         * dlfcn/dlmopen.c: Likewise.
25693         * dlfcn/dlopen.c: Likewise.
25694         * dlfcn/dlsym.c: Likewise.
25695         * dlfcn/dlvsym.c: Likewise.
25697         * include/ifaddrs.h: Use IS_IN.
25698         * inet/check_pf.c: Likewise.
25699         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
25700         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
25702         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
25703         IS_IN_ldconfig.
25704         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
25705         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
25707         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
25708         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
25709         IS_IN (libc).
25711         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
25713         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
25714         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
25715         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
25716         * include/libc-symbols.h (IS_IN_LIB): New macro.
25717         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
25718         * include/netdb.h: Likewise.
25719         * include/stap-probe.h: Remove all uses of IN_LIB.
25721         * Makeconfig (module-cppflags-real): Define MODULE_NAME
25722         instead of IN_MODULE.
25723         * include/libc-symbols.h (IN_MODULE): Define using
25724         MODULE_NAME.
25725         (PASTE_NAME, PASTE_NAME1): New macros.
25726         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
25727         of IN_LIB.
25728         (STAP_PROBE_ASM): Likewise.
25730 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25732         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
25733         __mach_init in dlopened libc.
25735 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
25737         * sysdeps/arm/preconfigure.ac: Delete EABI check.
25738         * sysdeps/arm/preconfigure: Regenerate.
25740 2014-11-21  Roland McGrath  <roland@hack.frob.com>
25742         * nptl/pthread_create.c (__pthread_create_2_1): Set
25743         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
25744         when copying values from IATTR into PD.
25746 2014-11-21  Will Newton  <will.newton@linaro.org>
25747             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
25749         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
25750         Refactor inline-asm.  Also add comment.
25752         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
25753         ElfW macro instead of hardcoded Elf64 types.
25754         (la_aarch64_gnu_pltenter): Likewise.
25755         * sysdeps/aarch64/dl-machine.h
25756         (elf_machine_runtime_setup): Use ElfW(Addr).
25758         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
25759         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
25760         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
25761         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
25762         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
25763         (R_AARCH64_TLS_DTPMOD64): Rename to ..
25764         (R_AARCH64_TLS_DTPMOD): This.
25765         (R_AARCH64_TLS_DTPREL64): Rename to ...
25766         (R_AARCH64_TLS_DTPREL): This.
25767         (R_AARCH64_TLS_TPREL64): Rename to ...
25768         (R_AARCH64_TLS_TPREL): This.
25769         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
25770         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
25771         R_AARCH64_TLS_TPREL64.
25772         (elf_machine_rela): Likewise.
25774 2014-11-21  Torvald Riegel  <triegel@redhat.com>
25776         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
25777         by setting it to 0.  64b atomics are not supported currently.
25779 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
25781         [BZ #16469]
25782         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
25783         search domain names.
25785 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
25787         [BZ #16469]
25788         * NEWS: Update.
25789         * resolv/res_query.c (__libc_res_nquerydomain): Retain
25790         trailing dot.
25791         * posix/tst-getaddrinfo5.c: New.
25792         * posix/Makefile (tests): Add it.
25794 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
25796         [BZ #14498]
25797         * NEWS: Fixed.
25798         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
25799         after parsing line but before break_if_match.
25800         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
25801         if there is a protocol mismatch.
25803 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
25805         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
25806         because the potential race is on the user-supplied stream.
25808 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
25810         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
25811         string literal if not passed a buffer.
25812         * manual/job.texi (ctermid): Update reasoning, note deviation
25813         from posix, suggest mtasurace when not passed a buffer, for
25814         future non-preliminary safety notes.
25816 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
25818         * manual/users.texi (cuserid): Fix MT-Safety note for the case
25819         of not passing it a buffer.
25820         Reported by Peng Haitao.
25822 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
25824         * manual/Makefile ($(objpfx)stamp-summary): Require
25825         check-safety.sh to pass.
25826         * manual/check-safety.sh: Wish for verification that every
25827         @deftypefn and @deftypefun is followed by a @safety remark.
25829 2014-11-20  Roland McGrath  <roland@hack.frob.com>
25831         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
25833         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
25834         PTHREAD_CANCEL_ASYNCHRONOUS.
25835         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
25836         send SIGCANCEL.
25838         * nptl/default-sched.h: New file.
25839         * sysdeps/unix/sysv/linux/default-sched.h: New file.
25840         * nptl/pthread_create.c: Include it.
25841         (__pthread_create_2_1): Use collect_default_sched instead of making
25842         Linux syscalls here directly.
25844 2014-11-20  Torvald Riegel  <triegel@redhat.com>
25846         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
25847         __pthread_once): Use C11 atomics.
25849 2014-11-20  Torvald Riegel  <triegel@redhat.com>
25851         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
25853 2014-11-20  Torvald Riegel  <triegel@redhat.com>
25855         * include/atomic.h (__atomic_link_error, __atomic_check_size,
25856         atomic_thread_fence_acquire, atomic_thread_fence_release,
25857         atomic_thread_fence_seq_cst, atomic_load_relaxed,
25858         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
25859         atomic_compare_exchange_weak_relaxed,
25860         atomic_compare_exchange_weak_acquire,
25861         atomic_compare_exchange_weak_release,
25862         atomic_exchange_acquire, atomic_exchange_release,
25863         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
25864         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
25865         atomic_fetch_and_acquire,
25866         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
25868 2014-11-20  Torvald Riegel  <triegel@redhat.com>
25870         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
25871         USE_ATOMIC_COMPILER_BUILTINS): Define.
25872         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
25873         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
25874         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
25875         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
25876         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
25877         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
25878         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
25879         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
25880         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
25881         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
25882         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
25883         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
25884         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
25885         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
25886         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
25887         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
25888         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
25889         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
25890         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
25891         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
25892         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
25893         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
25894         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
25895         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
25896         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
25897         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
25898         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
25899         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
25900         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
25901         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
25902         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
25903         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
25904         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
25905         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
25906         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
25907         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
25908         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
25909         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
25910         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
25911         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
25913 2014-11-19  Roland McGrath  <roland@hack.frob.com>
25915         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
25916         the sched_priority value here.  It was already checked when the user
25917         called pthread_attr_setschedparam.
25919         * nptl/tst-bad-schedattr.c: New file.
25920         * nptl/Makefile (tests): Add it.
25922 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
25923             Florian Weimer  <fweimer@redhat.com>
25924             Joseph Myers  <joseph@codesourcery.com>
25925             Adam Conrad  <adconrad@0c3.net>
25926             Andreas Schwab  <schwab@suse.de>
25927             Brooks  <bmoses@google.com>
25929         [BZ #17625]
25930         * wordexp-test.c (__dso_handle): Add prototype.
25931         (__register_atfork): Likewise.
25932         (__app_register_atfork): New function.
25933         (registered_forks): New global.
25934         (register_fork): New function.
25935         (test_case): Add 3 new tests for WRDE_CMDSUB.
25936         (main): Call __app_register_atfork.
25937         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
25938         fork count is non-zero fail the test.
25939         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
25940         is set.
25941         (parse_dollars): Remove check for WRDE_NOCMD.
25942         (parse_dquote): Likewise.
25944 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
25946         * Makeconfig (built-modules): List non-library modules to be
25947         built.
25948         (module-cppflags): Include libc-modules.h for
25949         everything except shlib-versions.v.i.
25950         (CPPFLAGS): Use it.
25951         (before-compile): Add libc-modules.h.
25952         ($(common-objpfx)libc-modules.h,
25953         $(common-objpfx)libc-modules.stmp): New targets.
25954         (common-generated): Add libc-modules.h and libc-modules.stmp.
25955         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
25956         * include/libc-symbols.h: Don't include libc-modules.h.
25957         * include/libc-modules.h: Remove file.
25958         * scripts/gen-libc-modules.awk: New script to generate
25959         libc-modules.h.
25960         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
25961         Depend on libc-modules.stmp.
25963         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
25965         * Makeconfig (in-module): Get value of libof set for the
25966         translation unit.
25967         (CPPFLAGS): Use $(in-module).
25968         * Makerules: Don't suffix routine names for nonlib.
25969         * include/libc-modules.h: New file.
25970         * include/libc-symbols.h: Include libc-modules.h
25971         (IS_IN): New macro to replace IS_IN_* macros.
25972         * elf/Makefile: Set libof-* for each routine.
25973         * elf/rtld-Rules: Likewise.
25974         * extra-modules.mk: Likewise.
25975         * iconv/Makefile: Likewise.
25976         * iconvdata/Makefile: Likewise.
25977         * locale/Makefile: Likewise.
25978         * malloc/Makefile: Likewise.
25979         * nss/Makefile: Likewise.
25980         * sysdeps/gnu/Makefile: Likewise.
25981         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
25982         * sysdeps/unix/sysv/linux/Makefile: Likewise.
25983         * sysdeps/s390/s390-64/Makefile: Likewise.
25984         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
25985         CPPFLAGS for nscd instead of nonlib.
25987 2014-11-18  Roland McGrath  <roland@hack.frob.com>
25989         * nptl/createthread.c: New file.
25991         * nptl/createthread.c: Moved ...
25992         * sysdeps/unix/sysv/linux/createthread.c: ... here.
25994         * nptl/createthread.c: Add proper top-line comment.
25995         (do_clone): Folded into ...
25996         (create_thread): ... here.  Take new arguments STOPPED_START and
25997         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
25998         increment __nptl_threads, do event-reporting logic, do
25999         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
26000         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
26001         resource cleanup if sched_setaffinity or sched_setscheduler fails,
26002         just send SIGCANCEL.
26003         * nptl/pthread_create.c: Forward-declare create_thread before
26004         including createthread.c.
26005         (start_thread): Use new macro START_THREAD_DEFN to replace defining
26006         declaration, and new macro START_THREAD_SELF to replace argument.
26007         Remove return statement.
26008         (report_thread_creation): New function.
26009         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
26010         synchronization logic, and __nptl_nthreads increment here, around
26011         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
26012         PD->parent_cancelhandling here, before create_thread.  When
26013         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
26014         __deallocate_stack, and ENOMEM translation here.
26016 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
26018         [BZ #17616]
26019         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
26020         (mptwo): Rename to __mptwo.
26021         (__inv): Use __mptwo instead of mptwo.
26022         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
26023         (mptwo): Rename to __mptwo.
26024         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
26025         of mpone and __mptwo instead of mptwo.
26026         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
26027         instead of mpone.
26028         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
26029         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
26030         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
26031         of mpone and __mptwo instead of mptwo.
26032         (__mpranred): Use __mpone instead of mpone.
26033         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
26034         variable.
26035         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
26036         (test-xfail-ISO99/math.h/linknamespace): Likewise.
26037         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
26038         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
26039         (test-xfail-ISO11/math.h/linknamespace): Likewise.
26040         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
26041         (test-xfail-XPG3/math.h/linknamespace): Likewise.
26042         (test-xfail-XPG4/math.h/linknamespace): Likewise.
26043         (test-xfail-POSIX/math.h/linknamespace): Likewise.
26044         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
26045         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
26046         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
26047         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
26048         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
26049         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
26050         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
26051         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
26052         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
26053         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
26055 2014-11-18  Tom de Vries  <tom@codesoucery.com>
26057         * manual/signal.texi (Primitives Interrupted by Signals): In section,
26058         replace BSD Handler xref with BSD Signal Handling.
26060 2014-11-17  Richard Henderson  <rth@redhat.com>
26062         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
26063         (_FP_PACK_RAW_2): Remove.
26064         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
26065         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
26066         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
26067         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
26068         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
26069         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
26070         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
26071         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
26072         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
26073         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
26074         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
26075         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
26076         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
26077         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
26078         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
26079         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
26081 2014-11-14  Roland McGrath  <roland@hack.frob.com>
26083         * signal/signal.h [__USE_MISC]
26084         (struct sigvec): Remove type.
26085         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
26086         (sigvec): Remove declaration.
26087         * sysdeps/posix/sigvec.c: Moved ...
26088         * signal/sigvec.c: ... here, replacing old file.
26089         (struct sigvec): New type, copied from old signal.h definition.
26090         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
26091         (__sigvec): Convert definition to prototype.
26092         (sigvec): Replace weak_alias with compat_symbol.
26093         * signal/Versions (libc: GLIBC_2.21): New version set.
26094         * include/signal.h: Remove __sigvec declaration.
26095         * sysdeps/unix/bsd/sigvec.c: Remove file.
26096         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
26097         * manual/signal.texi (BSD Handler): Remove subsection.
26098         Move siginterrupt up to ...
26099         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
26100         (Blocking in BSD): Fold subsection into its parent.
26101         * NEWS: Mention sigvec removal.
26103 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
26105         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
26106         (DLA_FMS): Make definition conditional only on [__FMA4__].
26107         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
26108         definition.
26110         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
26111         Make definition conditional only on [PROF].
26112         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
26113         definition.
26114         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
26115         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
26117         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
26118         !__GNUC__].
26119         * include/signal.h (__sigpause): Move declaration above call to
26120         libc_hidden_proto.
26121         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
26122         variable.
26123         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
26124         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
26126 2014-11-14  David S. Miller  <davem@davemloft.net>
26128         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
26129         Define before including <string/memcpy.c> and <string/mempcpy.c>.
26131 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
26133         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
26134         * configure: Regenerated.
26135         * manual/install.texi (Tools for Compilation): Document a
26136         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
26137         compiler verified to work.
26138         * INSTALL: Regenerated.
26140         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
26141         redeclare with asm name.
26142         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
26143         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
26144         including <string.h>.
26145         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
26146         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
26147         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
26148         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
26149         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
26150         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
26151         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
26153 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
26155         * stdlib/strtol.c (__strtol): Use prototype definition.
26157         [BZ #17594]
26158         * stdlib/strtol.c (SYM__): New macro.
26159         (SYM__1): Likewise.
26160         (__strtol): Likewise.
26161         (strtol): Rename to __strtol and define as weak alias of
26162         __strtol.  Use libc_hidden_weak.
26164 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
26166         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
26167         Use numbered labels in inline assembly.
26169 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
26171         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
26172         Add setjmp LIBC_PROBE.
26173         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
26174         Likewise.
26175         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
26176         Add longjmp, longjmp_target LIBC_PROBE.
26177         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
26178         Likewise.
26180 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
26182         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
26183         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
26184         to get rid of unused variable warning.
26186 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
26188         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
26189         Check for unwind_backtrace ==  NULL only in SHARED case.
26190         (__backchain_backtrace): Compile only in SHARED case.
26191         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
26192         Likewise.
26193         (__backchain_backtrace): Declare as static.
26195 2014-11-12  Roland McGrath  <roland@hack.frob.com>
26197         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
26198         (__libc_multiple_threads_ptr): Variable moved ...
26199         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
26201 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
26203         * conform/GlibcConform.pm: New file.
26204         * conform/conformtest.pl: Use GlibcConform module.
26205         * conform/linknamespace.pl: New file.
26206         * conform/list-header-symbols.pl: Likewise.
26207         * conform/Makefile (linknamespace-symlists-base): New variable.
26208         (linknamespace-symlists-tests): Likewise.
26209         (linknamespace-header-base): Likewise.
26210         (linknamespace-header-tests): Likewise.
26211         (tests-special): Add new tests.
26212         ($(linknamespace-symlists-tests)): New rule.
26213         (linknamespace-libs): New variable.
26214         ($(objpfx)symlist-stdlibs): New rule.
26215         ($(linknamespace-header-tests)): Likewise.
26216         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
26217         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
26218         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
26219         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
26220         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
26221         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
26222         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
26223         (test-xfail-ISO/math.h/linknamespace): Likewise.
26224         (test-xfail-ISO/signal.h/linknamespace): Likewise.
26225         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
26226         (test-xfail-ISO/time.h/linknamespace): Likewise.
26227         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
26228         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
26229         (test-xfail-ISO99/math.h/linknamespace): Likewise.
26230         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
26231         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
26232         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
26233         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
26234         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
26235         (test-xfail-ISO11/math.h/linknamespace): Likewise.
26236         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
26237         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
26238         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
26239         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
26240         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
26241         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
26242         (test-xfail-XPG3/math.h/linknamespace): Likewise.
26243         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
26244         (test-xfail-XPG3/search.h/linknamespace): Likewise.
26245         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
26246         (test-xfail-XPG3/time.h/linknamespace): Likewise.
26247         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
26248         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
26249         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
26250         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
26251         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
26252         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
26253         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
26254         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
26255         (test-xfail-XPG4/math.h/linknamespace): Likewise.
26256         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
26257         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
26258         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
26259         (test-xfail-XPG4/search.h/linknamespace): Likewise.
26260         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
26261         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
26262         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
26263         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
26264         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
26265         (test-xfail-XPG4/time.h/linknamespace): Likewise.
26266         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
26267         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
26268         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
26269         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
26270         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
26271         (test-xfail-POSIX/math.h/linknamespace): Likewise.
26272         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
26273         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
26274         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
26275         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
26276         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
26277         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
26278         (test-xfail-POSIX/time.h/linknamespace): Likewise.
26279         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
26280         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
26281         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
26282         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
26283         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
26284         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
26285         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
26286         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
26287         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
26288         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
26289         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
26290         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
26291         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
26292         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
26293         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
26294         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
26295         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
26296         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
26297         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
26298         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
26299         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
26300         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
26301         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
26302         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
26303         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
26304         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
26305         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
26306         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
26307         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
26308         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
26309         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
26310         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
26311         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
26312         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
26313         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
26314         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
26315         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
26316         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
26317         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
26318         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
26319         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
26320         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
26321         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
26322         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
26323         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
26324         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
26325         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
26326         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
26327         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
26328         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
26329         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
26330         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
26331         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
26332         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
26333         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
26334         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
26335         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
26336         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
26337         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
26338         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
26339         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
26340         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
26341         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
26342         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
26343         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
26344         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
26345         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
26346         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
26347         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
26348         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
26349         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
26350         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
26351         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
26352         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
26353         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
26354         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
26355         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
26356         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
26357         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
26358         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
26359         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
26360         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
26361         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
26362         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
26363         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
26364         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
26365         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
26366         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
26367         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
26368         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
26369         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
26370         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
26371         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
26372         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
26373         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
26374         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
26375         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
26376         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
26378         [BZ #17589]
26379         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
26380         of fgets_unlocked.
26382         [BZ #17585]
26383         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
26384         (memmem): Rename to __memmem and define as weak alias of
26385         __memmem.  Use libc_hidden_weak.
26386         (__memmem): Use libc_hidden_def.
26387         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
26388         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
26389         memmem.
26391         [BZ #17582]
26392         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
26393         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
26394         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
26395         and define as weak alias of __fgets_unlocked.  Use
26396         libc_hidden_weak.
26397         (__fgets_unlocked): Use libc_hidden_def.
26398         * include/stdio.h (__fgets_unlocked): Declare.  Use
26399         libc_hidden_proto.
26400         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
26401         __fgets_unlocked instead of fgets_unlocked.
26402         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
26403         (GET_NPROCS_CONF_PARSER): Likewise.
26404         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
26405         (GET_NPROCS_CONF_PARSER): Likewise.
26407         [BZ #17574]
26408         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
26409         weak alias of __wmemset.  Use libc_hidden_weak.
26410         (__wmemset): Use libc_hidden_def.
26411         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
26412         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
26413         of wmemset.
26415         [BZ #17573]
26416         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
26417         with asm name __mempcpy.
26418         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
26420         [BZ #17572]
26421         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
26422         and define as weak alias of __rawmemchr.
26423         (__rawmemchr): Do not define as strong alias of rawmemchr.
26425         [BZ #17571]
26426         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
26427         alias of __qsort_r.
26428         (qsort): Call __qsort_r instead of qsort_r.
26429         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
26430         (__qsort_r): Declare.  Call libc_hidden_proto.
26431         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
26432         instead of qsort_r.
26433         * nscd/gai.c (__qsort_r): Define to qsort_r.
26434         * posix/tst-rfc3484.c (__qsort_r): Likewise.
26435         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
26436         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
26438         [BZ #17570]
26439         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
26440         define as weak alias of __malloc_info.
26442         [BZ #17584]
26443         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
26444         as weak alias of __rewinddir.  Don't use libc_hidden_def.
26445         (__rewinddir): Use libc_hidden_def.
26446         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
26447         as weak alias of __rewinddir.  Don't use libc_hidden_def.
26448         (__rewinddir): Use libc_hidden_def.
26449         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
26450         weak alias of __rewinddir.  Don't use libc_hidden_def.
26451         (__rewinddir): Use libc_hidden_def.
26452         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
26453         (__rewinddir): Use libc_hidden_proto.
26454         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
26455         rewinddir.
26456         (__getcwd): Use __rewinddir instead of rewinddir.
26458         [BZ #17583]
26459         * libio/fileno.c (fileno): Rename to __fileno and define as weak
26460         alias of __fileno.  Use libc_hidden_weak.
26461         (__fileno): Use libc_hidden_def.
26462         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
26463         * libio/ftello.c (ftello): Rename to __ftello and define as weak
26464         alias of __ftello.
26465         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
26466         __ftello.
26467         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
26468         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
26469         libc_hidden_def.
26470         (fread_unlocked): Don't use libc_hidden_ver.
26471         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
26472         and define as weak alias of __fread_unlocked.  Don't use
26473         libc_hidden_def.
26474         (__fread_unlocked): Use libc_hidden_def.
26475         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
26476         (ftello): Don't use libc_hidden_proto.
26477         (__ftello): Declare.  Use libc_hidden_proto.
26478         (fread_unlocked): Don't use libc_hidden_proto.
26479         (__fread_unlocked): Declare.  Use libc_hidden_proto.
26480         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
26481         and __ftello instead of fileno, fread_unlocked and ftello.
26483 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
26485         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
26486         GOT12.
26487         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
26488         Likewise.
26489         (_dl_start_user): Likewise.
26490         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
26492 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
26493             Siddhesh Poyarekar  <siddhesh@redhat.com>
26495         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
26496         Move argv and envp down instead of moving argc up.
26497         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
26499 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
26501         [BZ #17506]
26502         * test-skeleton.c (main): Return successful if one of
26503         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
26504         * string/tst-strcoll-overflow.c: Define expected status.
26506 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
26508         [BZ #17475]
26509         * locale/iso-639.def: Define Bhili and Tulu language codes.
26511 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
26513         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
26515 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
26517         [BZ #17555]
26518         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
26520 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
26522         * configure.ac: Updated check of minimal required version to
26523         2.22.
26524         * manual/install.texi (Tools for Compilation): Updated version
26525         number.
26526         * configure: Regenerated.
26527         * INSTALL: Likewise.
26529 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
26531         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
26532         __tls_get_addr.
26534 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
26536         * include/sys/wait.h (__libc_waitpid): Remove declaration.
26537         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
26538         (__waitpid): Don't define as alias.  Use libc_hidden_def not
26539         libc_hidden_weak.
26540         (waitpid): Define as alias of __waitpid.
26541         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
26542         __waitpid.
26543         (__waitpid): Don't define as alias.  Use libc_hidden_def not
26544         libc_hidden_weak.
26545         (waitpid): Define as alias of __waitpid.
26546         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
26547         __libc_waitpid alias.
26548         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
26549         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
26550         Likewise.
26551         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
26552         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
26553         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
26554         alias.
26555         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
26556         __waitpid.
26557         (__waitpid): Don't define as alias.  Use libc_hidden_def not
26558         libc_hidden_weak.
26559         (waitpid): Define as alias of __waitpid.
26561 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
26563         * manual/llio.texi: Add comment that write safety has been
26564         fixed in Linux.
26566         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
26567         (localplt-build-dso): Add elf/ld.so.
26568         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
26569         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
26570         and free for ld.so.
26571         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
26572         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
26573         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
26574         Likewise.
26575         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
26576         Likewise.
26577         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
26578         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
26579         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
26580         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
26581         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
26582         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
26583         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
26584         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
26585         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
26586         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
26587         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
26589 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
26591         [BZ #14132]
26592         * include/libc-symbols.h (INTUSE): Remove macro.
26593         (INTDEF): Likewise.
26594         (INTVARDEF): Likewise.
26595         (_INTVARDEF): Likewise.
26596         (INTDEF2): Likewise.
26597         (INTVARDEF2): Likewise.
26598         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
26599         rtld_hidden_def instead of INTVARDEF.
26600         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
26601         (_dl_starting_up_internal): Remove declaration.
26602         (_dl_starting_up): Use rtld_hidden_proto.
26603         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
26604         declaration.
26605         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
26606         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
26607         _dl_starting_up.
26608         * elf/dl-writev.h (_dl_writev): Likewise.
26609         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
26610         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
26611         _dl_starting_up_internal.
26613 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26615         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
26616         test-skeleton.c.
26618 2014-11-05  Will Newton  <will.newton@linaro.org>
26620         * benchtests/Makefile: (bench-malloc): Add malloc thread
26621         scalability benchmark.
26622         * benchtests/bench-malloc-threads.c: New file.
26624 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
26626         * sysdeps/aarch64/strchrnul.S: New file.
26628 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26630         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
26631         definition.
26632         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
26633         Likwise.
26634         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
26635         Likewise.
26636         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
26637         Likewise.
26638         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
26639         Likewise.
26640         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
26641         Likewise.
26643 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
26645         * catgets/test-gencat.c: Use test-skeleton.c.
26646         * catgets/tst-catgets.c: Likewise.
26647         * csu/tst-empty.c: Likewise.
26648         * elf/tst-audit2.c: Likewise.
26649         * elf/tst-global1.c: Likewise.
26650         * elf/tst-pathopt.c: Likewise.
26651         * elf/tst-piemod1.c: Likewise.
26652         * elf/tst-tls10.c: Likewise.
26653         * elf/tst-tls11.c: Likewise.
26654         * elf/tst-tls12.c: Likewise.
26655         * gnulib/tst-gcc.c: Likewise.
26656         * iconvdata/tst-e2big.c: Likewise.
26657         * iconvdata/tst-loading.c: Likewise.
26658         * iconv/tst-iconv1.c: Likewise.
26659         * iconv/tst-iconv2.c: Likewise.
26660         * inet/test-inet6_opt.c: Likewise.
26661         * inet/tst-gethnm.c: Likewise.
26662         * inet/tst-network.c: Likewise.
26663         * inet/tst-ntoa.c: Likewise.
26664         * intl/tst-codeset.c: Likewise.
26665         * intl/tst-gettext2.c: Likewise.
26666         * intl/tst-gettext3.c: Likewise.
26667         * intl/tst-ngettext.c: Likewise.
26668         * intl/tst-translit.c: Likewise.
26669         * io/test-stat.c: Likewise.
26670         * libio/test-fmemopen.c: Likewise.
26671         * libio/tst-freopen.c: Likewise.
26672         * libio/tst-sscanf.c: Likewise.
26673         * libio/tst-ungetwc1.c: Likewise.
26674         * libio/tst-ungetwc2.c: Likewise.
26675         * libio/tst-widetext.c: Likewise.
26676         * localedata/tst-ctype.c: Likewise.
26677         * localedata/tst-digits.c: Likewise.
26678         * localedata/tst-leaks.c: Likewise.
26679         * localedata/tst-mbswcs1.c: Likewise.
26680         * localedata/tst-mbswcs2.c: Likewise.
26681         * localedata/tst-mbswcs3.c: Likewise.
26682         * localedata/tst-mbswcs4.c: Likewise.
26683         * localedata/tst-mbswcs5.c: Likewise.
26684         * localedata/tst-setlocale.c: Likewise.
26685         * localedata/tst-trans.c: Likewise.
26686         * localedata/tst-wctype.c: Likewise.
26687         * localedata/tst-xlocale1.c: Likewise.
26688         * login/tst-grantpt.c: Likewise.
26689         * malloc/tst-calloc.c: Likewise.
26690         * malloc/tst-malloc.c: Likewise.
26691         * malloc/tst-mallocstate.c: Likewise.
26692         * malloc/tst-mcheck.c: Likewise.
26693         * malloc/tst-mtrace.c: Likewise.
26694         * malloc/tst-obstack.c: Likewise.
26695         * math/atest-exp2.c: Likewise.
26696         * math/atest-exp.c: Likewise.
26697         * math/atest-sincos.c: Likewise.
26698         * math/test-matherr.c: Likewise.
26699         * math/test-misc.c: Likewise.
26700         * math/test-powl.c: Likewise.
26701         * math/tst-definitions.c: Likewise.
26702         * misc/tst-dirname.c: Likewise.
26703         * misc/tst-efgcvt.c: Likewise.
26704         * misc/tst-fdset.c: Likewise.
26705         * misc/tst-hsearch.c: Likewise.
26706         * misc/tst-mntent2.c: Likewise.
26707         * nptl/tst-sem7.c: Likewise.
26708         * nptl/tst-sem8.c: Likewise.
26709         * nptl/tst-sem9.c: Likewise.
26710         * nss/test-netdb.c: Likewise.
26711         * posix/tst-fnmatch.c: Likewise.
26712         * posix/tst-getlogin.c: Likewise.
26713         * posix/tst-gnuglob.c: Likewise.
26714         * posix/tst-mmap.c: Likewise.
26715         * pwd/tst-getpw.c: Likewise.
26716         * resolv/tst-inet_ntop.c: Likewise.
26717         * rt/tst-timer.c: Likewise.
26718         * stdio-common/test-fseek.c: Likewise.
26719         * stdio-common/test-popen.c: Likewise.
26720         * stdio-common/test-vfprintf.c: Likewise.
26721         * stdio-common/tst-cookie.c: Likewise.
26722         * stdio-common/tst-fileno.c: Likewise.
26723         * stdio-common/tst-gets.c: Likewise.
26724         * stdio-common/tst-obprintf.c: Likewise.
26725         * stdio-common/tst-perror.c: Likewise.
26726         * stdio-common/tst-sprintf2.c: Likewise.
26727         * stdio-common/tst-sprintf3.c: Likewise.
26728         * stdio-common/tst-sprintf.c: Likewise.
26729         * stdio-common/tst-swprintf.c: Likewise.
26730         * stdio-common/tst-tmpnam.c: Likewise.
26731         * stdio-common/tst-unbputc.c: Likewise.
26732         * stdio-common/tst-wc-printf.c: Likewise.
26733         * stdlib/tst-environ.c: Likewise.
26734         * stdlib/tst-fmtmsg.c: Likewise.
26735         * stdlib/tst-limits.c: Likewise.
26736         * stdlib/tst-rand48-2.c: Likewise.
26737         * stdlib/tst-rand48.c: Likewise.
26738         * stdlib/tst-random2.c: Likewise.
26739         * stdlib/tst-random.c: Likewise.
26740         * stdlib/tst-strtol.c: Likewise.
26741         * stdlib/tst-strtoll.c: Likewise.
26742         * stdlib/tst-tls-atexit.c: Likewise.
26743         * stdlib/tst-xpg-basename.c: Likewise.
26744         * string/test-ffs.c: Likewise.
26745         * string/tst-bswap.c: Likewise.
26746         * string/tst-inlcall.c: Likewise.
26747         * string/tst-strtok.c: Likewise.
26748         * string/tst-strxfrm.c: Likewise.
26749         * sysdeps/x86_64/tst-audit10.c: Likewise.
26750         * sysdeps/x86_64/tst-audit3.c: Likewise.
26751         * sysdeps/x86_64/tst-audit4.c: Likewise.
26752         * sysdeps/x86_64/tst-audit5.c: Likewise.
26753         * time/tst-ftime_l.c: Likewise.
26754         * time/tst-getdate.c: Likewise.
26755         * time/tst-mktime3.c: Likewise.
26756         * time/tst-mktime.c: Likewise.
26757         * time/tst-posixtz.c: Likewise.
26758         * time/tst-strptime2.c: Likewise.
26759         * time/tst-strptime3.c: Likewise.
26760         * wcsmbs/tst-btowc.c: Likewise.
26761         * wcsmbs/tst-mbrtowc.c: Likewise.
26762         * wcsmbs/tst-mbsrtowcs.c: Likewise.
26763         * wcsmbs/tst-wchar-h.c: Likewise.
26764         * wcsmbs/tst-wcpncpy.c: Likewise.
26765         * wcsmbs/tst-wcrtomb.c: Likewise.
26766         * wcsmbs/tst-wcsnlen.c: Likewise.
26767         * wcsmbs/tst-wcstof.c: Likewise.
26769 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
26771         [BZ #14132]
26772         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
26773         INTDEF.
26774         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
26775         declaration.
26776         (_dl_mcount): Use rtld_hidden_proto.
26777         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
26778         _dl_mcount.
26779         * elf/rtld.c (_rtld_global_ro): Likewise.
26781         [BZ #14132]
26782         * elf/dl-init.c (_dl_init): Don't use INTDEF.
26783         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
26784         of _dl_init_internal.
26785         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
26786         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
26787         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
26788         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
26789         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
26790         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
26791         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
26792         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
26793         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
26794         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
26795         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
26796         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
26797         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
26798         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
26799         * sysdeps/tile/dl-start.S (_start): Likewise.
26800         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
26801         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
26803         [BZ #14132]
26804         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
26805         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
26806         (rtld_progname): Make macro definition unconditional.
26807         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
26808         INTDEF.
26809         (dlmopen_doit): Do not use INTUSE with _dl_argv.
26810         (dl_main): Likewise.
26811         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
26812         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
26813         instead of _dl_argv_internal.
26814         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
26815         __GI__dl_argv instead of INTUSE(_dl_argv).
26816         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
26817         __GI__dl_argv instead of _dl_argv_internal.
26819         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
26820         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
26821         macro.
26822         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
26823         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
26824         New macro.
26825         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
26826         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
26827         macro.
26828         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
26829         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
26831 2014-11-04  Andreas Schwab  <schwab@suse.de>
26833         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
26835 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26837         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
26838         mtvsrd instruction in binary form.
26840 2014-11-03  Andreas Schwab  <schwab@suse.de>
26842         [BZ #17522]
26843         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
26844         for less than MB_LEN_MAX use a local buffer of that size.
26845         * libio/tst-fputws.c: New file.
26846         * libio/Makefile (tests): Add tst-fputws.
26848 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
26850         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
26851         the size of the fpu_fr.fpu_dregs[] array.
26853 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
26855         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
26856         (__nanosleep): Do not define as alias.
26857         (nanosleep): Define as alias of __nanosleep.
26858         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
26859         __libc_nanosleep name.
26861 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
26863         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
26864         install.texi in comment.
26866 2014-10-31  Torvald Riegel  <triegel@redhat.com>
26868         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
26869         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
26870         ... add here and use lwsync or sync ...
26871         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
26872         ... and add here using lwsync.
26874 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
26876         * elf/dl-machine-reject-phdr.h: New file.
26877         * elf/dl-load.c: #include that.
26878         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
26879         if that returned true.
26881 2014-10-31  Roland McGrath  <roland@hack.frob.com>
26883         [BZ #17496]
26884         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
26885         gen-as-const-headers chunk.  Add a big scare comment after the last
26886         safe place to touch before-compile.
26888 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
26890         * manual/install.texi (Tools for Compilation): Update autoconf
26891         version requirements.
26892         * INSTALL: Regenerated.
26894         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
26895         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
26896         (__libc_pselect): Likewise.
26898         [BZ #14138]
26899         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
26900         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
26901         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
26902         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
26904 2014-10-31  Torvald Riegel  <triegel@redhat.com>
26906         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
26907         correct barrier instruction.
26908         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
26909         Likewise.
26910         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
26911         Likewise.
26913 2014-10-30  Roland McGrath  <roland@hack.frob.com>
26915         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
26916         after defining inlines.  Instead, just use parens to defeat macro
26917         expansion of __isctype in its declaration.
26919 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
26921         * include/sys/uio.h (__libc_readv): Remove declaration.
26922         (__libc_writev): Likewise.
26923         * misc/readv.c (__libc_readv): Rename to __readv.
26924         (__readv): Do not define as alias.
26925         (readv): Define as alias of __readv.
26926         * misc/writev.c (__libc_writev): Rename to __writev.
26927         (__writev): Do not define as alias.
26928         (writev): Define as alias of __writev.
26929         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
26930         (__readv): Do not define as alias.
26931         (readv): Define unconditionally as alias of __readv.
26932         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
26933         (__writev): Do not define as alias.
26934         (writev): Define unconditionally as alias of __writev.
26935         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
26936         name.
26937         (writev): Do not define __libc_writev name.
26939 2014-10-30  Roland McGrath  <roland@hack.frob.com>
26941         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
26942         (convert_charseq): New function, broken out of ...
26943         (use_from_charmap): ... here.  Call it.
26944         (use_to_charmap): Use convert_charseq and free instead of duplicating
26945         its code with a variable-length stack struct.
26947 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
26949         * include/fcntl.h (__libc_creat): Remove declaration.
26950         * io/creat.c (__libc_creat): Rename to creat.
26951         (creat): Do not define as alias.
26952         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
26953         of creat instead of __libc_creat.
26954         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
26955         to creat.
26956         (creat): Do not define as alias.
26957         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
26958         __libc_creat.
26959         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
26960         __libc_creat name.
26961         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
26962         Likewise.
26964 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
26966         * manual/llio.texi: Add comments discussing why write() may be
26967         considered MT-unsafe on Linux.
26969 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
26971         * dl-load.c (local_strdup): Remove.
26972         (expand_dynamic_string_token): Use __strdup.
26973         (decompose_rpath): Likewise.
26974         (_dl_map_object): Likewise.
26976 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
26978         [BZ #14132]
26979         * sysdeps/generic/unwind-dw2-fde.c
26980         (__register_frame_info_bases_internal): Do not declare.
26981         (__register_frame_info_table_bases_internal): Likewise.
26982         (__deregister_frame_info_bases_internal): Likewise.
26983         (__register_frame_info_bases): Declare and use hidden_proto before
26984         definition.  Use hidden_def instead of INTDEF.
26985         (__register_frame_info_table_bases): Likewise.
26986         (__deregister_frame_info_bases): Likewise.
26987         (__register_frame_info): Do not use INTUSE.
26988         (__register_frame): Likewise.
26989         (__register_frame_info_table): Likewise.
26990         (__register_frame_table): Likewise.
26991         (__deregister_frame_info): Likewise.
26992         (__deregister_frame): Likewise.
26994 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
26996         * sysdeps/unix/sysv/linux/arm/kernel-features.h
26997         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
26998         not undefine.
26999         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
27000         Likewise.
27001         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
27002         Likewise.
27004 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
27006         [BZ #14138]
27007         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
27008         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
27009         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
27010         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
27011         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
27012         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
27013         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
27014         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
27015         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
27016         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
27017         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
27018         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
27019         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
27020         syscall.
27021         (setfsuid): Likewise.
27022         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
27023         (setfsuid): Likewise.
27024         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
27025         (setfsuid): Likewise.
27026         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
27027         Likewise.
27028         (setfsuid): Likewise.
27029         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
27030         (setfsuid): Likewise.
27031         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
27032         Likewise.
27033         (setfsuid): Likewise.
27035 2014-10-27  Andreas Schwab  <schwab@suse.de>
27037         [BZ #17501]
27038         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
27039         check for Slow_SSE4_2 feature bit.
27040         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
27041         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
27042         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
27043         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
27045 2014-10-24  Roland McGrath  <roland@hack.frob.com>
27047         * configure.ac: Validate compiler version with a empirical test of
27048         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
27049         $CC -v output.
27050         * configure: Regenerated.
27052         * inet/htons.c (htons): Prototypify.
27053         * inet/htonl.c (htonl): Likewise.
27055 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
27057         * string/strncat.c (strncat): Improve performance by using strlen.
27059 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
27061         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
27063 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
27065         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
27066         Call libc_fetestexcept_aarch64.
27068 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
27070         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
27071         Call libc_feholdexcept_aarch64.
27073 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
27075         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
27076         Call get_rounding_mode.
27078 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
27080         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
27081         Simplify logic.
27083 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
27085         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
27086         Simplify logic.
27088 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
27090         [BZ #14138]
27091         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
27092         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
27093         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
27094         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
27095         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
27096         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
27097         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
27098         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
27099         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
27100         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
27101         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
27102         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
27103         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
27104         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
27105         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
27106         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
27107         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
27108         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
27109         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
27110         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
27111         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
27112         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
27113         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
27114         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
27115         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
27116         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
27117         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
27118         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
27119         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
27120         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
27121         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
27122         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
27123         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
27124         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
27125         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
27126         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
27127         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
27128         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
27129         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
27130         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
27131         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
27132         syscall.
27133         (geteuid): Likewise.
27134         (getgid): Likewise.
27135         (getuid): Likewise.
27136         (getresgid): Likewise.
27137         (getresuid): Likewise.
27138         (getgroups): Likewise.
27139         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
27140         (geteuid): Likewise.
27141         (getgid): Likewise.
27142         (getuid): Likewise.
27143         (getresgid): Likewise.
27144         (getresuid): Likewise.
27145         (getgroups): Likewise.
27146         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
27147         (geteuid): Likewise.
27148         (getgid): Likewise.
27149         (getuid): Likewise.
27150         (getresgid): Likewise.
27151         (getresuid): Likewise.
27152         (getgroups): Likewise.
27153         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
27154         Likewise.
27155         (geteuid): Likewise.
27156         (getgid): Likewise.
27157         (getuid): Likewise.
27158         (getresgid): Likewise.
27159         (getresuid): Likewise.
27160         (getgroups): Likewise.
27161         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
27162         (geteuid): Likewise.
27163         (getgid): Likewise.
27164         (getuid): Likewise.
27165         (getresgid): Likewise.
27166         (getresuid): Likewise.
27167         (getgroups): Likewise.
27168         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
27169         Likewise.
27170         (geteuid): Likewise.
27171         (getgid): Likewise.
27172         (getuid): Likewise.
27173         (getgroups): Likewise.
27175         [BZ #14138]
27176         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
27177         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
27178         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
27179         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
27180         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
27181         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
27182         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
27183         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
27184         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
27185         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
27186         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
27187         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
27188         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
27189         __chown.
27190         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
27191         (lchown): Likewise.
27192         (fchown): Likewise.
27193         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
27194         Likewise.
27195         (lchown): Likewise.
27196         (fchown): Likewise.
27197         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
27198         (lchown): Likewise.
27199         (fchown): Likewise.
27200         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
27201         Likewise.
27202         (lchown): Likewise.
27203         (fchown): Likewise.
27205 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
27207         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
27208         Simplify logic.
27210 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
27212         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
27213         Cleanup logic.
27215 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
27217         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
27218         Remove unused include.
27220 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
27222         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
27223         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
27224         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
27225         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
27227 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
27228             Helge Deller <deller@gmx.de>
27230         [BZ #17508]
27231         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
27232         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
27233         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
27235 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
27237         [BZ #14132]
27238         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
27239         Remove macro definition.
27240         (__ashrdi3_v_glibc20): Likewise.
27241         (__lshrdi3_v_glibc20): Likewise.
27242         (__cmpdi2_v_glibc20): Likewise.
27243         (__ucmpdi2_v_glibc20): Likewise.
27244         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
27245         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
27246         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
27247         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
27248         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
27249         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
27251 2014-10-22  Roland McGrath  <roland@hack.frob.com>
27253         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
27254         old GNU extension [0] syntax.
27255         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
27256         alloca rather than an array member with variable length.
27257         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
27258         * nscd/nscd.c (invalidate_db): New function, broken out of ...
27259         (parse_opt): ... here.  Likewise use alloca there.
27260         Validate the -i argument before checking for rootness.
27261         (send_shutdown): New function, broken out of ...
27262         (parse_opt): ... here.
27264 2014-10-22  Roland McGrath  <roland@hack.frob.com>
27266         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
27267         macro to get at the _rt_local_ro field.
27268         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
27269         ([PIC] case) or _dl_hwcap ([!PIC] case).
27270         * sysdeps/arm/setjmp.S: Likewise.
27272         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
27273         * sysdeps/arm/configure.ac: New check to define it.
27274         * sysdeps/arm/configure: Regenerated.
27275         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
27276         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
27277         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
27278         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
27279         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
27280         Use move/movt pair instead of a load.
27281         (LDST_GLOBAL): Macro removed.
27282         (LDR_GLOBAL): New macro replaces it.
27283         (LDR_HIDDEN): New macro.
27284         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
27285         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
27287         * setjmp/tst-setjmp-static.c: New file.
27288         * setjmp/Makefile (tests): Add it.
27289         (tests-static): New variable.
27291 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
27293         [BZ #17485]
27294         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
27296 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
27298         [BZ #14132]
27299         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
27301 2014-10-21  Roland McGrath  <roland@hack.frob.com>
27303         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
27305 2014-10-20  Roland McGrath  <roland@hack.frob.com>
27307         * io/fts.c (dirent_not_directory): New function.
27308         (fts_build): Call it.
27310 2014-10-20  Roland McGrath  <roland@hack.frob.com>
27312         * nptl/version.c (__nptl_main): Use normal __write rather than
27313         INTERNAL_SYSCALL.
27314         (banner): Update copyright years.
27316         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
27317         gettimeofday.
27318         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
27319         * nptl/pthread_cond_timedwait.c: Likewise.
27320         * nptl/pthread_mutex_timedlock.c: Likewise.
27321         * nptl/sem_timedwait.c: Likewise.
27323         * sysdeps/nptl/bits/libc-lock.h
27324         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
27325         (__libc_lock_init_recursive): Return void, not 0.
27326         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
27327         (__libc_rwlock_init): Likewise.
27328         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
27330 2014-10-20  Torvald Riegel  <triegel@redhat.com>
27332         [BZ #15215]
27333         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
27334         (__pthread_once_slow): ... here.
27335         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
27336         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
27338 2014-10-20  Torvald Riegel  <triegel@redhat.com>
27340         [BZ #15215]
27341         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
27342         __PTHREAD_ONCE_FORK_GEN_INCR): New.
27343         * sysdeps/nptl/fork.c (__libc_fork): Use them.
27344         * nptl/pthread_once.c (__pthread_once): Likewise.
27345         Update comments.
27347 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
27349         [BZ #14138]
27350         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
27351         name.
27352         (writev): Use __libc_writev as strong name.
27353         * sysdeps/unix/sysv/linux/readv.c: Remove file.
27354         * sysdeps/unix/sysv/linux/writev.c: Likewise.
27356 2014-10-17  Roland McGrath  <roland@hack.frob.com>
27358         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
27360         * sysdeps/i386/nptl/tls.h
27361         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
27362         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
27363         New macros.
27364         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
27365         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
27366         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
27367         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
27368         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
27369         Call CHECK_THREAD_SYSINFO instead of doing an assert.
27371         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
27372         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
27373         on [__NR_futex].
27374         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
27375         broken out of ...
27376         (__pthread_mutex_init): ... here.  Call it.
27377         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
27378         Conditionalize PI cases on [__NR_futex].
27379         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
27380         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
27381         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
27383         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
27384         conditional on [SIGSETXID].
27385         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
27386         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
27387         is defined.  Likewise for SIGSETXID.
27388         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
27389         Conditionalize definitions on [SIGSETXID].
27390         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
27391         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
27392         unblocking on [SIGCANCEL].
27394         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
27395         [__NR_set_robust_list].
27397 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
27399         * string/strcoll_l.c (get_next_seq): Fix up formatting.
27400         (do_compare): Likewise.
27402 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
27404         [BZ #15884]
27405         * string/strcoll_l.c: Don't include stdio.h.
27406         (coll_seq): Remove members idxarr and rulearr.
27407         (get_next_seq_cached): Remove function.
27408         (get_next_seq): Likewise.
27409         (get_next_seq_nocache): Rename to get_next_seq.
27410         (do_compare): Remove function.
27411         (do_compare_nocache): Rename to do_compare.
27412         (STRCOLL): Remove weight and rules cache.
27414 2014-10-16  Roland McGrath  <roland@hack.frob.com>
27416         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
27417         * sysdeps/arm/sfp-machine.h: ... to here.
27418         * sysdeps/arm/Implies: Remove arm/soft-fp.
27420 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
27422         * conform/data/sys/utsname.h-data (*_t): Allow.
27423         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
27424         [POSIX] (WEXITED): Do not expect constant.
27425         [POSIX] (WSTOPPED): Likewise.
27426         [POSIX] (WNOHANG): Likewise.
27427         [POSIX] (WNOWAIT): Likewise.
27428         [POSIX] (siginfo_t): Do not expect type or elements.
27429         [POSIX] (pid_t): Do not expect type.
27430         [POSIX] (signal.h): Do not allow header.
27431         [POSIX] (sys/resource.h): Likewise.
27432         [POSIX] (si_*): Do not allow pattern.
27433         [POSIX] (W*): Likewise.
27434         [POSIX] (P_*): Likewise.
27435         [POSIX] (BUS_*): Likewise.
27436         [POSIX] (CLD_*): Likewise.
27437         [POSIX] (FPE_*): Likewise.
27438         [POSIX] (ILL_*): Likewise.
27439         [POSIX] (POLL_*): Likewise.
27440         [POSIX] (SEGV_*): Likewise.
27441         [POSIX] (SI_*): Likewise.
27442         [POSIX] (TRAP_*): Likewise.
27443         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
27444         variable.
27446 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
27448         [BZ #12926]
27449         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
27450         infinite loop when __recvmsg returns 0.
27452 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
27454         * CANCEL-FCT-WAIVE: Remove file.
27455         * CANCEL-FILE-WAIVE: Likewise.
27457         [BZ #14132]
27458         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
27459         instead of INTVARDEF.
27460         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
27461         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
27462         rtld_hidden_data_def instead of INTVARDEF.
27463         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
27464         * elf/dl-deps.c (expand_dst): Likewise.
27465         * elf/dl-load.c (_dl_dst_count): Likewise.
27466         (_dl_dst_substitute): Likewise.
27467         (decompose_rpath): Likewise.
27468         (_dl_init_paths): Likewise.
27469         (open_path): Likewise.
27470         (_dl_map_object): Likewise.
27471         * elf/rtld.c (dl_main): Likewise.
27472         (process_dl_audit): Likewise.
27473         (process_envvars): Likewise.
27474         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
27475         Remove declaration.
27476         (__libc_enable_secure): Use rtld_hidden_proto.
27478 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
27480         * elf/dl-load.c
27481         (add_path): New function broken out of _dl_rtld_di_serinfo.
27482         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
27484 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
27486         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
27487         parentheses around macro arguments.
27488         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
27489         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
27490         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
27491         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
27492         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
27493         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
27494         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
27495         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
27496         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
27497         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
27498         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
27499         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
27500         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
27501         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
27502         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
27503         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
27504         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
27505         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
27506         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
27507         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
27508         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
27509         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
27510         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
27511         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
27512         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
27513         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
27514         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
27515         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
27516         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
27517         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
27518         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
27519         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
27520         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
27521         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
27522         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
27523         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
27524         Likewise.
27525         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
27526         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
27527         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
27528         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
27529         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
27530         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
27531         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
27532         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
27533         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
27534         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
27535         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
27536         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
27537         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
27538         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
27539         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
27540         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
27541         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
27542         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
27543         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
27544         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
27545         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
27546         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
27547         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
27548         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
27549         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
27550         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
27551         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
27552         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
27553         (_FP_FRAC_SRS_1): Likewise.
27554         (_FP_FRAC_CLZ_1): Likewise.
27555         (_FP_MUL_MEAT_1_imm): Likewise.
27556         (_FP_MUL_MEAT_1_wide): Likewise.
27557         (_FP_MUL_MEAT_1_hard): Likewise.
27558         (_FP_SQRT_MEAT_1): Likewise.
27559         (_FP_FRAC_ASSEMBLE_1): Likewise.
27560         (_FP_FRAC_DISASSEMBLE_1): Likewise.
27561         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
27562         (__FP_CLZ_2): Likewise.
27563         (_FP_MUL_MEAT_2_wide): Likewise.
27564         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
27565         (_FP_MUL_MEAT_2_gmp): Likewise.
27566         (_FP_MUL_MEAT_2_120_240_double): Likewise.
27567         (_FP_SQRT_MEAT_2): Likewise.
27568         (_FP_FRAC_ASSEMBLE_2): Likewise.
27569         (_FP_FRAC_DISASSEMBLE_2): Likewise.
27570         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
27571         (_FP_FRAC_CLZ_4): Likewise.
27572         (_FP_MUL_MEAT_4_wide): Likewise.
27573         (_FP_MUL_MEAT_4_gmp): Likewise.
27574         (_FP_SQRT_MEAT_4): Likewise.
27575         (_FP_FRAC_ASSEMBLE_4): Likewise.
27576         (_FP_FRAC_DISASSEMBLE_4): Likewise.
27577         * soft-fp/op-common.h (_FP_CMP): Likewise.
27578         (_FP_CMP_EQ): Likewise.
27579         (_FP_CMP_UNORD): Likewise.
27580         (_FP_TO_INT): Likewise.
27581         (_FP_FROM_INT): Likewise.
27582         [!__FP_CLZ] (__FP_CLZ): Likewise.
27583         (_FP_DIV_HELP_imm): Likewise.
27584         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
27585         Likewise.
27586         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
27587         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
27588         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
27589         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
27590         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
27591         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
27592         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
27593         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
27594         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
27595         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
27596         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
27597         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
27598         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
27599         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
27600         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
27601         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
27602         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
27603         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
27604         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
27605         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
27606         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
27607         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
27608         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
27609         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
27610         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
27611         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
27612         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
27613         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
27614         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
27615         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
27616         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
27617         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
27618         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
27619         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
27620         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
27621         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
27622         (FP_UNPACK_RAW_SP): Likewise.
27623         (FP_PACK_RAW_S): Likewise.
27624         (FP_PACK_RAW_SP): Likewise.
27625         (FP_UNPACK_S): Likewise.
27626         (FP_UNPACK_SP): Likewise.
27627         (FP_UNPACK_SEMIRAW_S): Likewise.
27628         (FP_UNPACK_SEMIRAW_SP): Likewise.
27629         (FP_PACK_S): Likewise.
27630         (FP_PACK_SP): Likewise.
27631         (FP_PACK_SEMIRAW_S): Likewise.
27632         (FP_PACK_SEMIRAW_SP): Likewise.
27633         (_FP_SQRT_MEAT_S): Likewise.
27634         (FP_CMP_S): Likewise.
27635         (FP_CMP_EQ_S): Likewise.
27636         (FP_CMP_UNORD_S): Likewise.
27637         (FP_TO_INT_S): Likewise.
27638         (FP_FROM_INT_S): Likewise.
27640         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
27642         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
27643         (FP_EX_INVALID_IMZ): Likewise.
27644         (FP_EX_INVALID_IMZ_FMA): Likewise.
27645         (FP_EX_INVALID_ISI): Likewise.
27646         (FP_EX_INVALID_ZDZ): Likewise.
27647         (FP_EX_INVALID_IDI): Likewise.
27648         (FP_EX_INVALID_SQRT): Likewise.
27649         (FP_EX_INVALID_CVI): Likewise.
27650         (FP_EX_INVALID_VC): Likewise.
27651         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
27652         "invalid" exceptions.
27653         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
27654         (_FP_ADD_INTERNAL): Likewise.
27655         (_FP_MUL): Likewise.
27656         (_FP_FMA): Likewise.
27657         (_FP_DIV): Likewise.
27658         (_FP_CMP_CHECK_NAN): Likewise.
27659         (_FP_SQRT): Likewise.
27660         (_FP_TO_INT): Likewise.
27661         (FP_EXTEND): Likewise.
27663 2014-10-09  Allan McRae  <allan@archlinux.org>
27665         * po/fr.po: Update French translation from translation project.
27667 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
27669         [BZ #14132]
27670         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
27671         of INTDEF.
27672         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
27673         (__cxa_atexit): Use libc_hidden_proto.
27674         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
27676         [BZ #14132]
27677         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
27678         declaration.
27679         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
27680         [!_ISOMAC] (__iswspace_l_internal): Likewise.
27681         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
27682         [!_ISOMAC] (__iswctype_internal): Likewise.
27683         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
27684         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
27685         alias.
27686         (fcntl): Remove __fcntl_internal alias.
27687         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
27688         __connect_internal alias.
27689         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
27690         Likewise.
27692         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
27693         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
27694         FP_DENORM_ZERO.
27695         (_FP_CHECK_FLUSH_ZERO): New macro.
27696         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
27697         (_FP_CMP): Likewise.
27698         (_FP_CMP_EQ): Likewise.
27699         (_FP_TO_INT): Do not set inexact for subnormal arguments if
27700         FP_DENORM_ZERO.
27701         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
27702         (FP_TRUNC): Likewise.
27704         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
27705         treated as invalid conversion, not as normal exponent.
27707         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
27708         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
27709         (_FP_CMP_EQ): Likewise.
27710         (_FP_CMP_UNORD): Likewise.
27711         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
27712         (FP_CMP_EQ_D): Likewise.
27713         (FP_CMP_UNORD_D): Likewise.
27714         * soft-fp/extended.h (FP_CMP_E): Likewise.
27715         (FP_CMP_EQ_E): Likewise.
27716         (FP_CMP_UNORD_E): Likewise.
27717         * soft-fp/quad.h (FP_CMP_Q): Likewise.
27718         (FP_CMP_EQ_Q): Likewise.
27719         (FP_CMP_UNORD_Q): Likewise.
27720         * soft-fp/single.h (FP_CMP_S): Likewise.
27721         (FP_CMP_EQ_S): Likewise.
27722         (FP_CMP_UNORD_S): Likewise.
27723         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
27724         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
27725         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
27726         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
27727         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
27728         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
27729         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
27730         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
27731         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
27732         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
27733         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
27734         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
27735         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
27736         to FP_CMP_Q.
27737         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
27738         FP_CMP_Q.
27739         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
27740         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
27741         FP_CMP_EQ_Q.
27742         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
27743         FP_CMP_Q.
27744         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
27745         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
27746         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
27747         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
27748         FP_CMP_EQ_Q.
27749         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
27750         FP_CMP_Q.
27751         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
27752         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
27753         FP_CMP_EQ_Q.
27754         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
27755         FP_CMP_Q.
27756         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
27757         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
27758         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
27759         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
27760         FP_CMP_EQ_Q.
27762         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
27763         a subnormal result, set the underflow exception if trapping on
27764         underflow is enabled.
27765         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
27766         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
27767         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
27768         redefine to 0.
27769         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
27770         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
27771         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
27772         * soft-fp/extendxftf2.c (__extendxftf2): Use
27773         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
27775         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
27776         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
27777         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
27778         FP_HANDLE_EXCEPTIONS.
27779         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
27780         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
27781         FP_HANDLE_EXCEPTIONS.
27782         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
27783         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
27784         FP_HANDLE_EXCEPTIONS.
27785         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
27786         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
27787         FP_HANDLE_EXCEPTIONS.
27789 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
27791         [BZ #14132]
27792         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
27793         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
27794         use INTUSE.
27795         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
27796         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
27797         Remove alias.
27798         (__adjtimex): Define using libc_hidden_ver.
27799         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
27800         Remove declaration.
27801         (ntp_gettime): Call __adjtimex directly.
27802         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
27803         Remove declaration.
27804         (ntp_gettimex): Call __adjtimex directly.
27805         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
27806         __adjtimex_internal alias.
27808 2014-10-08  Roland McGrath  <roland@hack.frob.com>
27810         [BZ #17460]
27811         * nscd/nscd.c (more_help): Rewrite list of tables collection
27812         using xstrdup and asprintf.
27814         * nscd/nscd_conf.c: Remove local xstrdup declaration.
27816 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
27817             Roland McGrath  <roland@hack.frob.com>
27819         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
27820         (do_lookup_unique): ... local function 'enter' here; update callers.
27822 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
27824         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
27825         compat_symbol calls on [SHARED].
27826         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
27827         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
27828         Remove.
27829         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
27830         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
27831         (oldsetrlimit): Remove.
27832         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
27833         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
27834         (lchown): New syscall entry.
27835         (oldsetrlimit): Remove.
27836         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
27837         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
27838         (oldsetrlimit): Remove.
27839         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
27841         [BZ #14138]
27842         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
27843         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
27844         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
27845         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
27846         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
27847         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
27848         (fchown): Likewise.
27849         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
27850         (fchown): Likewise.
27851         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
27852         Likewise.
27854 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27856         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
27857         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
27858         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
27859         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
27860         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
27861         Likewise.
27862         (__old_sem_post): Likewise.
27864 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
27866         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
27867         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
27868         HAVE_CLOCK_GETTIME_VSYSCALL macros.
27869         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
27870         Use INLINE_VSYSCALL macro.
27871         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
27872         __vdso_clock_gettime.
27873         * sysdeps/unix/sysv/linux/tile/init-first.c
27874         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
27875         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
27876         __vdso_clock_gettime.
27878         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
27879         to set up frame more cleanly.
27881         * sysdeps/tile/memcmp.c: New file.
27883         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
27885         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
27886         * sysdeps/tile/tilegx/strcasestr.c: New file.
27887         * sysdeps/tile/tilegx/strnlen.c: New file.
27888         * sysdeps/tile/tilegx/strstr.c: New file.
27890         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
27892 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
27894         * nptl/tst-setuid3.c: Write errors to stdout.
27896 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
27898         * elf/dl-deps.c
27899         (preload): New functions broken out of _dl_map_object_deps.
27900         (_dl_map_object_deps):  Remove a nested function. Update call sites.
27902 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
27904         [BZ #14138]
27905         * sysdeps/unix/sysv/linux/execve.c: Remove file.
27906         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
27908 2014-10-01  Steve Ellcey  <sellcey@mips.com>
27910         * sysdeps/mips/strcmp.S: New.
27912 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
27914         [BZ #14138]
27915         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
27916         (linkat): Likewise.
27917         (mkdirat): Likewise.
27918         (readlinkat): Likewise.
27919         (renameat): Likewise.
27920         (symlinkat): Likewise.
27921         (unlinkat): Likewise.
27922         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
27923         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
27924         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
27925         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
27926         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
27927         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
27928         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
27930 2014-09-30  Will Newton  <will.newton@linaro.org>
27932         * math/math.h: Define long double math functions if
27933         _LIBC_TEST is defined.
27934         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
27936         * localedata/Makefile: Move assignment to tests-special
27937         into an ifdef testing run-built-tests.
27938         * timezone/Makefile: Likewise.
27940 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
27942         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
27943         with $(BASH) not $(SHELL).
27945 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
27946             Matthew LeGendre  <legendre1@llnl.gov>
27948         [BZ #17411]
27949         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
27950         l_reloc_result.
27952 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
27954         * stdio-common/printf_fp.c
27955         (hack_digit): New function, broken out of ...
27956         (__printf_fp): ... local function here.  Update call sites.
27957         hack_digit now takes an additional parameter that is a pointer
27958         to a struct of the referenced locals.  Those locals moved inside
27959         the struct and references updated.
27961 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
27963         * aclocal.m4: Require autoconf 2.69.
27964         * configure: Regenerated.
27965         * sysdeps/aarch64/configure: Likewise.
27966         * sysdeps/alpha/configure: Likewise.
27967         * sysdeps/arm/armv7/configure: Likewise.
27968         * sysdeps/arm/configure: Likewise.
27969         * sysdeps/ia64/configure: Likewise.
27970         * sysdeps/mach/configure: Likewise.
27971         * sysdeps/mips/configure: Likewise.
27972         * sysdeps/s390/configure: Likewise.
27973         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
27974         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
27976         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
27977         file.
27978         * sysdeps/ia64/configure.ac: Likewise.
27980 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
27982         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
27983         specify symbol version for ld.so.  Do not include entry for
27984         libpthread.
27985         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
27986         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
27987         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
27989         [BZ #14171]
27990         * Makeconfig [$(build-shared) = yes]
27991         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
27992         makefiles.
27993         [$(build-shared) = yes && $(soversions.mk-done) = t]
27994         ($(common-objpfx)gnu/lib-names.h): Remove rule.
27995         [$(build-shared) = yes && $(soversions.mk-done) = t]
27996         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
27997         to Makerules.
27998         [$(build-shared) = yes && $(soversions.mk-done) = t]
27999         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
28000         here.
28001         [$(build-shared) = yes && $(soversions.mk-done) = t]
28002         (common-generated): Don't append gnu/lib-names.h and
28003         gnu/lib-names.stmp here.
28004         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
28005         (lib-names-h-abi): New variable.
28006         [$(build-shared) = yes && $(soversions.mk-done) = t]
28007         (lib-names-stmp-abi): Likewise.
28008         [$(build-shared) = yes && $(soversions.mk-done) = t &&
28009         abi-variants] (before-compile): Append
28010         $(common-objpfx)$(lib-names-h-abi).
28011         [$(build-shared) = yes && $(soversions.mk-done) = t &&
28012         abi-variants] (common-generated): Append gnu/lib-names.h.
28013         [$(build-shared) = yes && $(soversions.mk-done) = t &&
28014         abi-variants] (install-others-nosubdir): Depend on
28015         $(inst_includedir)/$(lib-names-h-abi).
28016         [$(build-shared) = yes && $(soversions.mk-done) = t &&
28017         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
28018         [$(build-shared) = yes && $(soversions.mk-done) = t]
28019         ($(common-objpfx)$(lib-names-h-abi)): New rule.
28020         [$(build-shared) = yes && $(soversions.mk-done) = t]
28021         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
28022         [$(build-shared) = yes && $(soversions.mk-done) = t]
28023         (common-generated): Append $(lib-names-h-abi) and
28024         $(lib-names-stmp-abi).
28025         * scripts/lib-names.awk: Do not handle multi being set.
28026         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
28027         Remove variable.
28028         (abi-lp64_be-ld-soname): Likewise.
28029         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
28030         Likewise.
28031         (abi-hard-ld-soname): Likewise.
28032         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
28033         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
28034         Remove variable.
28035         (abi-o32_hard-ld-soname): Likewise.
28036         (abi-o32_soft_2008-ld-soname): Likewise.
28037         (abi-o32_hard_2008-ld-soname): Likewise.
28038         (abi-n32_soft-ld-soname): Likewise.
28039         (abi-n32_hard-ld-soname): Likewise.
28040         (abi-n32_soft_2008-ld-soname): Likewise.
28041         (abi-n32_hard_2008-ld-soname): Likewise.
28042         (abi-n64_soft-ld-soname): Likewise.
28043         (abi-n64_hard-ld-soname): Likewise.
28044         (abi-n64_soft_2008-ld-soname): Likewise.
28045         (abi-n64_hard_2008-ld-soname): Likewise.
28046         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
28047         Likewise.
28048         (abi-64-v2-ld-soname): Likewise.
28049         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
28050         ld.so entries.
28051         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
28052         variable.
28053         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
28054         entry.
28055         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
28056         variable.
28057         (abi-64-ld-soname): Likewise.
28058         (abi-x32-ld-soname): Likewise.
28059         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
28060         entry.
28061         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
28063 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
28065         [BZ #14138]
28066         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
28067         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
28068         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
28069         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
28070         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
28071         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
28072         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
28073         syscall entry for GLIBC_2.2 symbol version.
28074         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
28075         Likewise.
28076         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
28077         (setrlimit): Likewise.
28078         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
28079         Likewise.
28081 2014-09-23  Will Newton  <will.newton@linaro.org>
28083         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
28084         _LINUX_ARM_SYSDEP_H include guard too.
28085         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
28086         define.
28088 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
28090         * sysdeps/unix/sysv/linux/eventfd.c:
28091         Make first argument unsigned.
28092         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
28093         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
28095 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
28097         [BZ #16852]
28098         * socket/recvmmsg.c (recvmmsg): Drop const argument.
28099         * socket/sys/socket.h: Likewise.
28100         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
28102 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
28104         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
28106 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
28108         * time/tst-ftime.c: New test.
28109         * time/Makefile (tests): Add tst-ftime.
28111 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
28113         * soft-fp/extended.h: Fix comment formatting.
28114         * soft-fp/op-1.h: Likewise.
28115         * soft-fp/op-2.h: Likewise.
28116         * soft-fp/op-4.h: Likewise.
28117         * soft-fp/op-8.h: Likewise.
28118         * soft-fp/op-common.h: Likewise.
28119         * soft-fp/soft-fp.h: Likewise.
28121         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
28123 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
28125         [BZ #6652]
28126         * Makeconfig (soversions-default-setname): Remove variable.
28127         ($(common-objpfx)soversions.i): Don't pass default_setname to
28128         soversions.awk.
28129         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
28130         oldest_abi to abi-versions.awk.
28131         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
28132         * config.make.in (oldest-abi): Remove variable.
28133         * configure.ac (--enable-oldest-abi): Remove configure option.
28134         * configure: Regenerated.
28135         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
28136         text.
28137         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
28138         * scripts/soversions.awk: Do not handle default_setname variable.
28139         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
28140         variable.
28141         * sysdeps/mach/hurd/configure: Regenerated.
28142         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
28143         variable.
28144         * sysdeps/unix/sysv/linux/configure: Regenerated.
28146 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
28148         * elf/Makefile (CFLAGS-interp.c): Remove.
28149         ($(elf-objpfx)runtime-linker.h): Generate header with linker
28150         path string.
28151         * elf/interp.c: Include generated runtime-linker.h
28153         * Makerules (lib%.so): Don't include $(+interp) in
28154         prerequisites.
28155         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
28156         * dlfcn/eval.c: Remove file.
28158         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
28159         macros.
28161         [BZ #17266]
28162         * misc/sys/cdefs.h: Define __extern_always_inline for clang
28163         4.2 and newer.
28165         [BZ #17370]
28166         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
28168 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
28169             Jakub Jelinek  <jakub@redhat.com>
28171         [BZ #17266]
28172         * libio/stdio.h: Check definition of __fortify_function
28173         instead of __extern_always_inline to include bits/stdio2.h.
28174         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
28175         check if __extern_always_inline is defined.
28176         [__USE_MISC || __USE_XOPEN]: Likewise.
28177         [__USE_ISOC99] Likewise.
28178         * misc/sys/cdefs.h (__fortify_function): Define only if
28179         __extern_always_inline is defined.
28180         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
28181         __extern_always_inline and __extern_inline only for g++-4.3
28182         and newer or a compatible gcc.
28184 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
28186         [BZ #17371]
28187         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
28188         last change to handle zero prefix length.
28190 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
28192         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
28193         _SC_REGEX_VERSION.
28195         * posix/getconf.c (vars): Add _POSIX_IPV6 and
28196         _POSIX_RAW_SOCKETS.
28198 2014-09-13  Allan McRae  <allan@archlinux.org>
28200         * po/ru.po: Update Russian translation from translation project.
28202 2014-09-12  Roland McGrath  <roland@hack.frob.com>
28204         * locale/programs/locale.c (show_locale_vars): Inline local function
28205         into its sole call site.  Clean up some style nits.
28206         (print_item): New function, broken out of ...
28207         (show_info): ... local function here.  Clean up style nits.
28209         * locale/programs/ld-ctype.c (set_one_default): New function, broken
28210         out of ...
28211         (set_class_defaults): ... local function set_default here.
28212         Define set_default as a macro locally to pass constant parameters.
28213         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
28214         rather than a shared local.
28216         * stdlib/rpmatch.c (try): New function, broken out of ...
28217         (rpmatch): ... local function here.  Also, prototypify definition.
28219 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
28221         * scripts/soversions.awk: Do not handle configuration names.
28222         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
28223         vendor and os variables to soversions.awk.
28224         * configure.ac: Do not modify gnu-* host_os.
28225         * configure: Regenerated
28226         * shlib-versions: Remove first column with configuration names.
28227         * nptl/shlib-versions: Likewise.
28228         * nptl_db/shlib-versions: Likewise.
28229         * sysdeps/hppa/shlib-versions: Likewise.
28230         * sysdeps/m68k/shlib-versions: Likewise.
28231         * sysdeps/mach/hurd/shlib-versions: Likewise.
28232         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
28233         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
28234         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
28235         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
28236         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
28237         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
28238         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
28239         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
28240         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
28241         Likewise.
28242         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
28243         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
28244         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
28245         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
28246         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
28247         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
28248         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
28249         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
28251         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
28252         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
28253         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
28254         Regenerated.
28255         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
28256         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
28257         Condition symbol version definitions on [HAVE_ELFV2_ABI].
28259         * shlib-versions: Remove OS-specific entries.  Moved to files in
28260         sysdeps.
28261         * sysdeps/mach/hurd/shlib-versions: New file.
28262         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
28264         * nptl/shlib-versions: Remove architecture-specific entries.
28265         Moved to files in sysdeps.
28266         * shlib-versions: Likewise.
28267         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
28268         file.
28269         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
28270         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
28271         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
28272         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
28274         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
28275         (UDP_NO_CHECK6_RX): Likewise.
28277 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
28279         * sysdeps/posix/sysconf.c (__sysconf): Spell
28280         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
28282 2014-08-12  Florian Weimer  <fweimer@redhat.com>
28284         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
28285         loading.
28286         * iconv/Versions (__gconv_transliterate): Export for use from
28287         gconv modules.
28288         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
28289         (struct __gconv_trans_data, __gconv_trans_fct,
28290         __gconv_trans_context_fct, __gconv_trans_query_fct,
28291         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
28292         definitions.
28293         (struct __gconv_step_data): Remove __trans member.
28294         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
28295         longer hidden.  Remove unused trans_data argument.
28296         * iconv/gconv_int.h (struct trans_struct): Remove definition.
28297         (__gconv_translit_find): Remove declaration.
28298         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
28299         prototype.
28300         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
28301         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
28302         trans_data argument.  Add hidden definition.
28303         (__gconv_translit_find): Remove.
28304         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
28305         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
28306         * iconv/skeleton.c: Remove transliteration initialization.
28307         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
28308         __gconv_step_data initialization.
28309         * libio/iofwide.c (__libio_translit_): Remove.
28310         (_IO_fwide): Adjust struct __gconv_step_data initialization.
28311         * wcsmbs/btowc.c (__btowc): Likewise.
28312         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
28313         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
28314         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
28315         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
28316         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
28317         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
28318         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
28319         * wcsmbs/wctob.c (wctob): Likewise.
28321 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
28323         [BZ #16194]
28324         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
28325         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
28326         register usage.
28327         * sysdeps/x86/Makefile: Adjust.
28329 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
28330             Roland McGrath  <roland@hack.frob.com>
28332         * locale/weight.h: Add include guard.
28333         (findidx): Make static rather than auto; take new parameters
28334         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
28335         * locale/weightwc.h: Likewise.
28336         * posix/fnmatch_loop.c
28337         (FCT): Change type of EXTRA from int32_t to wint_t.
28338         Don't include either header inside the function.
28339         Call FINDIDX rather than findidx, and pass new arguments.
28340         #undef FINDIDX at the end of the file.
28341         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
28342         FINDIDX before including fnmatch_loop.c for the non-wide version.
28343         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
28344         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
28345         for the wide version.
28346         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
28347         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
28348         Pass new arguments to findidx.
28349         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
28350         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
28351         Don't #include it inside the function.  Pass new arguments to findidx.
28352         * posix/regex_internal.h
28353         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
28354         (re_string_elem_size_at): Don't #include it inside the function.
28355         Pass new arguments to findidx.
28356         * string/strcoll_l.c: #include WEIGHT_H at top level.
28357         (get_next_seq): Don't #include it inside the function.
28358         Pass new arguments to findidx.
28359         (get_next_seq_nocache): Likewise.
28360         * string/strxfrm_l.c: #include WEIGHT_H at top level.
28361         (STRXFRM): Don't #include it inside the function.
28362         Pass new arguments to findidx.
28364 2014-09-11  Florian Weimer  <fweimer@redhat.com>
28366         [BZ #17344]
28367         * malloc/malloc.c (unlink): Turn asserts into a call to
28368         malloc_printerr.
28370 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
28372         [BZ #17370]
28373         * libio/wfileops (do_ftell_wide): Free OUT.
28375 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
28377         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
28379 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
28381         [BZ #17363]
28382         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
28383         group if the current group is empty.
28385 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28387         * benchtests/bench-memset.c (test_main): Add more test from size
28388         from 32 to 512 bytes.
28389         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
28390         Add POWER8 memset object.
28391         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28392         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
28393         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
28394         implementation.
28395         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
28396         Likewise.
28397         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
28398         multiarch POWER8 memset optimization.
28399         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
28400         POWER8 memset optimization.
28402         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
28403         Remove bzero multiarch objects.
28404         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
28405         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
28406         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
28407         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
28408         Remove define.
28409         [__bzero]: Redefine to specific name.
28410         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
28411         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
28412         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
28413         define.
28414         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
28415         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
28417 2014-09-10  Florian Weimer  <fweimer@redhat.com>
28419         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
28420         warnings into errors.
28422         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
28423         __cxa_thread_atexit_impl prototype.
28425 2014-09-09  Steve Ellcey  <sellcey@mips.com>
28427         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
28428         Fix capitalization of error message.
28430 2014-09-09  Steve Ellcey  <sellcey@mips.com>
28432         * sysdeps/mips/preconfigure: Modify ABI tests.
28434 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
28436         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
28438 2014-09-07  Roland McGrath  <roland@hack.frob.com>
28439             Carlos O'Donell  <carlos@systemhalted.org>
28441         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
28442         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
28443         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
28444         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
28445         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
28446         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
28447         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
28448         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
28449         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
28450         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
28451         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
28452         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
28453         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
28454         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
28455         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
28456         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
28457         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
28458         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
28459         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
28460         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
28461         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
28462         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
28463         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
28464         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
28465         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
28466         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
28467         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
28468         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
28469         Deconditionalize the code that was previously under [RESET_PID].
28470         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
28471         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
28472         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
28473         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
28474         include sysdep.h.
28476 2014-09-08  Allan McRae  <allan@archlinux.org>
28478         * version.h (RELEASE): Set to "development".
28479         (VERSION): Set to "2.20.90"
28481 2014-09-07  Allan McRae  <allan@archlinux.org
28483         * version.h (RELEASE): Set to "stable".
28484         (VERSION): Set to "2.20"
28485         * include/features.h (__GLIBC_MINOR__): Set to 20.
28487         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
28488         Liebler.
28490         * po/ko.po: Update Korean translation from translation project.
28492 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
28494         [BZ #17354]
28495         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
28496         macro for handling signed relocations.
28498 2014-09-03  Florian Weimer  <fweimer@redhat.com>
28500         [BZ #17325]
28501         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
28502         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
28503         assert.
28504         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
28505         * iconvdata/ibm935.c (BODY): Likewise.
28506         * iconvdata/ibm937.c (BODY): Likewise.
28507         * iconvdata/ibm939.c (BODY): Likewise.
28508         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
28509         assert.
28510         * iconvdata/Makefile (iconv-test.out): Pass module list to test
28511         script.
28512         * iconvdata/run-iconv-test.sh: New test loop for checking for
28513         decoder crashers.
28515 2014-09-02  Khem Raj  <raj.khem@gmail.com>
28517         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
28518         libm_hidden_ver.
28520 2014-09-01  Allan McRae  <allan@archlinux.org>
28522         * po/eo.po: Update Esperanto translation from translation project.
28524         * po/ca.po: Update Catalan translation from translation project.
28526 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
28528         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
28529         __proc_dostop call.
28531 2014-08-27  Mark Wielaard  <mjw@redhat.com>
28533         [BZ #17319]
28534         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
28535         to call set_thread_area instead of hand written asm.
28536         (__NR_set_thread_area): Removed define.
28537         (TLS_FLAG_WRITABLE): Likewise.
28538         (__ASSUME_SET_THREAD_AREA): Remove check.
28539         (TLS_EBX_ARG): Remove define.
28540         (TLS_LOAD_EBX): Likewise.
28542 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
28544         Simplify atomicity of socket creation in bind.
28546         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
28547         looking up the name after linking the file.
28549 2014-08-27  Allan McRae  <allan@archlinux.org>
28551         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
28553 2014-08-26  Florian Weimer  <fweimer@redhat.com>
28555         [BZ #17187]
28556         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
28557         trans_compare, open_translit, __gconv_translit_find):
28558         Remove module loading code.
28560 2014-08-26  Allan McRae  <allan@archlinux.org>
28562         * po/vi.po: Update Vietnamese translation from translation project.
28564         * po/uk.po: Update Ukrainian translation from translation project.
28566         * po/fr.po: Update French translation from translation project.
28568         * po/ru.po: Update Russian translation from translation project.
28570         * po/pl.po: Update Polish translation from translation project.
28572         * po/cs.po: Update Czech translation from translation project.
28574         * po/de.po: Update German translation from translation project.
28576         * po/bg.po: Update Bulgarian translation from translation project.
28578         * po/sv.po: Update Sweedish translation from translation project.
28580         * po/nl.po: Update Dutch translation from translation project.
28582         * po/es.po: Update Spanish translation from translation project.
28584 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
28586         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
28588         * catgets/Makefile (CPPFLAGS-gencat): Remove.
28589         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
28590         (CPPFLAGS-iconvconfig): Likewise.
28591         * timezone/Makefile (CPPFLAGS-zic): Likewise.
28593         * include/libc-symbols.h: Remove unnecessary check for
28594         NOT_IN_libc.
28595         * nptl/pthreadP.h: Likewise.
28596         * sysdeps/aarch64/setjmp.S: Likewise.
28597         * sysdeps/alpha/setjmp.S: Likewise.
28598         * sysdeps/arm/sysdep.h: Likewise.
28599         * sysdeps/i386/setjmp.S: Likewise.
28600         * sysdeps/m68k/setjmp.c: Likewise.
28601         * sysdeps/posix/getcwd.c: Likewise.
28602         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
28603         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
28604         * sysdeps/s390/s390-32/setjmp.S: Likewise.
28605         * sysdeps/s390/s390-64/setjmp.S: Likewise.
28606         * sysdeps/sh/sh3/setjmp.S: Likewise.
28607         * sysdeps/sh/sh4/setjmp.S: Likewise.
28608         * sysdeps/unix/alpha/sysdep.h: Likewise.
28609         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
28610         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
28611         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
28612         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
28613         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
28614         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
28615         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
28616         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
28617         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
28618         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
28619         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
28620         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
28621         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
28622         * sysdeps/x86_64/setjmp.S: Likewise.
28624 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
28626         [BZ #17263]
28627         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
28628         <stdint.h>.
28629         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
28630         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
28632 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
28634         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
28636         [BZ #17262]
28637         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
28638         and __x86_64__ when disabling x87 inline functions.
28640 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
28642         [BZ #17259]
28643         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
28644         asm statement with __cpuid_count.
28646 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
28648         * configure.ac: Change __ehdr_start code to dereference the struct.
28649         Run readelf on the output to look for relocations.
28650         * configure: Regenerated.
28652 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
28654         [BZ #17261]
28655         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
28656         value to 0.
28657         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
28659 2014-08-12  Roland McGrath  <roland@hack.frob.com>
28661         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
28663 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
28665         [BZ #16892]
28666         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
28667         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
28669 2014-08-12  Sean Anderson  <seanga2@gmail.com>
28671         * malloc/malloc.c: Fix typo in comment.
28673 2014-08-09  Allan McRae  <allan@archlinux.org>
28675         * Regenerate libc.po.
28677 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
28679         * intl/tst-gettext2.sh: Check every lang file for creation.
28681 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
28683         * sysdeps/aarch64/fpu/math_private.h
28684         (libc_feholdsetround_noex_aarch64_ctx): New function.
28686 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
28688         * sysdeps/arm/armv6/strcpy.S (strcpy):
28689         Fix performance issue in misaligned cases.
28691 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28693         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
28694         Move definition from termios.h.
28695         (struct termio): Likewise.
28696         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
28697         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
28698         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
28699         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
28700         Likewise.
28701         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
28702         Move definition to ioctl-types.h
28703         (struct termio): Likewise.
28704         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
28705         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
28706         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
28707         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
28708         Likewise.
28710 2014-08-05  Richard Henderson  <rth@redhat.com>
28712         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
28713         exceptions.
28714         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
28715         Add fraiseexcpt.
28716         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
28717         Use __feraiseexcept.
28718         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
28719         Protect libm symbols with IS_IN_libm.
28721         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
28723 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
28725         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
28727 2014-08-04  Will Newton  <will.newton@linaro.org>
28729         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
28730         file.
28732 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
28734         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
28735         variants for each function.
28737 2014-08-04  Roland McGrath  <roland@hack.frob.com>
28739         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
28740         appended ...
28741         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
28742         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
28743         appended ...
28744         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
28745         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
28746         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
28747         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
28748         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
28749         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
28750         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
28751         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
28752         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
28753         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
28754         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
28755         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
28756         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
28757         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
28758         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
28759         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
28760         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
28761         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
28762         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
28763         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
28764         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
28765         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
28766         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
28767         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
28768         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
28769         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
28770         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
28771         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
28772         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
28773         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
28774         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
28775         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
28776         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
28777         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
28778         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
28779         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
28780         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
28781         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
28782         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
28783         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
28784         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
28785         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
28786         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
28787         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
28788         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
28789         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
28790         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
28791         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
28792         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
28793         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
28794         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
28795         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
28796         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
28797         Update #include.
28798         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
28799         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
28801 2014-08-04  Roland McGrath  <roland@hack.frob.com>
28803         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
28804         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
28805         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
28806         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
28807         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
28808         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
28810 2014-08-04  Roland McGrath  <roland@hack.frob.com>
28812         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
28813         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
28814         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
28815         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
28817 2014-08-04  Roland McGrath  <roland@hack.frob.com>
28819         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
28820         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
28821         (__libc_vfork): Define function under this name.
28822         (__vfork): Define as an alias.
28823         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
28824         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
28826 2014-08-04  Roland McGrath  <roland@hack.frob.com>
28828         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
28829         that was previously under [RESET_PID].
28830         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
28832 2014-08-04  Andreas Schwab  <schwab@suse.de>
28834         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
28836 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
28838         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
28839         (main): Likewise.
28841 2014-08-01  Roland McGrath  <roland@hack.frob.com>
28843         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
28845 2014-08-01  Richard Henderon  <rth@redhat.com>
28847         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
28848         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
28849         typo in exact zero test.
28850         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
28851         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
28852         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28854 2014-08-01  Roland McGrath  <roland@hack.frob.com>
28856         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
28857         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
28858         * sysdeps/arm/sysdep.h: ... here.
28859         [!__ASSEMBLER__]: Include <stdint.h>.
28861 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
28863         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
28864         (HAVE_WCTYPE_H): Likewise.
28865         (HAVE_ISWCTYPE): Likewise.
28866         (ENABLE_NLS): Likewise.
28867         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
28868         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
28870         * posix/regex_internal.c: Check if DEBUG is defined and is
28871         set.
28873         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
28874         (HAVE_MBSRTOWCS): Likewise.
28875         * posix/fnmatch.c: Include string.h unconditionally.
28877 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
28879         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
28880         reversal.
28882 2014-07-31  Roland McGrath  <roland@hack.frob.com>
28884         * sysdeps/generic/safe-fatal.h: New file.
28885         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
28886         * nptl/forward.c: Include it.
28887         (__pthread_unwind): Use __safe_fatal as default action, rather
28888         than a bogus use of INTERNAL_SYSCALL that could never work.
28890         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
28891         * configure.ac (libc_cv_builtin_trap): New test.
28892         * configure: Regenerated.
28893         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
28894         (ABORT_INSTRUCTION): Define using __builtin_trap.
28896         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
28897         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
28898         * sysdeps/nptl/nptl-signals.h: New file.
28899         * nptl/pthreadP.h: Include <nptl-signals.h>.
28901 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
28903         * sysdeps/s390/s390-64/utf16-utf32-z9.c
28904         (ONE_DIRECTION): Define.
28905         * sysdeps/s390/s390-64/utf8-utf16-z9.c
28906         (ONE_DIRECTION): Define.
28907         * sysdeps/s390/s390-64/utf8-utf32-z9.c
28908         (ONE_DIRECTION): Define.
28910 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
28912         * sysdeps/s390/Makefile: Delete file.
28913         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
28914         * sysdeps/s390/__longjmp.c: Delete file.
28915         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
28916         Remove fields __flags and __reserved.
28917         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
28918         and add versioning.
28919         * sysdeps/s390/rtld-__longjmp.c: Delete file.
28920         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
28921         * sysdeps/s390/rtld-setjmp.S: Likewise.
28922         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
28923         * sysdeps/s390/s390-32/__longjmp.c: ... here.
28924         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
28925         * sysdeps/s390/s390-32/setjmp.S: ... here.
28926         Add versioning.
28927         (__sigsetjmp): Remove setting __flags field.
28928         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
28929         * sysdeps/s390/s390-64/__longjmp.c: ... here.
28930         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
28931         * sysdeps/s390/s390-64/setjmp.S: ... here.
28932         Add versioning.
28933         (__sigsetjmp): Remove setting __flags field.
28934         * sysdeps/s390/setjmp.S: Delete file.
28935         * sysdeps/s390/sigjmp.c: Likewise.
28936         * sysdeps/s390/v1-longjmp.c: Likewise.
28937         * sysdeps/s390/v1-setjmp.h: Likewise.
28938         * sysdeps/s390/v1-sigjmp.c: Likewise.
28939         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
28940         Remove v1-longjmp_chk.
28941         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
28942         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
28943         Include debug/longjmp_chk.c and add versioning.
28944         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
28945         Include nptl/pt-longjmp.c and add versioning.
28946         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
28947         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
28948         Include __longjmp.c.
28949         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
28950         Move to ...
28951         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
28952         (__getcontext): Remove setting __flags field.
28953         Add versioning.
28954         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
28955         Don't restore upper high grps.
28956         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
28957         Likewise.
28958         (__swapcontext): Remove setting uc_flags field.
28959         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
28960         Delete file.
28961         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
28962         Include __longjmp.c.
28963         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
28964         Move to ...
28965         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
28966         (__getcontext): Remove setting __flags field.
28967         Add versioning.
28968         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
28969         (__swapcontext): Remove setting uc_flags field.
28970         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
28971         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
28972         Remove fields uc_high_gprs and __reserved.
28973         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
28974         New file with reverted content.
28975         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
28976         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
28977         Regenerated.
28978         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
28979         Regenerated.
28981 2014-07-31  Andreas Schwab  <schwab@suse.de>
28983         * config.h.in (HAVE_IFUNC): Define to 0.
28984         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
28985         definedness.
28987 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
28989         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
28990         memmove-avx-unaligned, memcpy-avx-unaligned and
28991         mempcpy-avx-unaligned.
28992         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
28993         Add tests for AVX memcpy functions.
28994         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
28995         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
28996         memcpy_chk.
28997         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
28998         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
28999         memmove_chk.
29000         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
29001         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
29002         mempcpy_chk.
29003         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
29004         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
29005         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
29007 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29009         [BZ #17213]
29010         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
29011         powerpc64le.
29013 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
29015         [BZ #16839]
29016         * manual/llio.texi: Add section about open file description locks.
29017         * manual/examples/ofdlocks.c: Example of open file description
29018         lock usage.
29019         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
29020         F_OFD_SETLK, and F_OFD_SETLKW.
29022 2014-07-23  Allan McRae  <allan@archlinux.org>
29024         * po/es.po: Update Spanish translation from translation project.
29026 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
29028         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
29030 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
29032         [BZ #17078]
29033         * sysdeps/arm/dl-machine.h (elf_machine_rela)
29034         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
29035         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
29037 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
29039         [BZ #17088]
29040         * math/fesetenv.c (__fesetenv)
29041         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
29042         * math/feupdateenv.c (__feupdateenv)
29043         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
29045         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
29046         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
29047         (__ASSUME_SOCKETCALL): Do not define.
29049         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
29050         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
29051         (__ASSUME_SOCKETCALL): Do not define.
29052         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
29053         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
29054         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
29055         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
29056         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
29057         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
29058         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
29059         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
29061         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
29062         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
29063         (__ASSUME_SOCKETCALL): Do not define.
29064         (__ASSUME_IPC64): Define unconditionally.
29065         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
29066         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
29067         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
29068         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
29069         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
29070         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
29071         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
29072         Likewise.
29074         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
29075         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
29076         (__ASSUME_SOCKETCALL): Do not define.
29077         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
29078         (__ASSUME_FUTEX_LOCK_PI): Likewise.
29079         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
29080         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
29081         (__ASSUME_REQUEUE_PI): Define unconditionally.
29082         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
29083         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
29084         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
29085         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
29086         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
29087         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
29089         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
29090         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
29091         (__ASSUME_SOCKETCALL): Do not define.
29092         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
29093         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
29094         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
29095         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
29096         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
29097         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
29099         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
29100         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
29101         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
29102         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
29103         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
29104         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
29105         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
29106         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
29107         (__ASSUME_GETCPU_SYSCALL): Likewise.
29109         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
29110         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
29111         cases for individual architectures.
29112         * sysdeps/gnu/configure: Regenerated.
29113         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
29114         LIBC_SLIBDIR_RTLDDIR.
29115         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
29116         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
29117         LIBC_SLIBDIR_RTLDDIR.
29118         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
29119         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
29120         LIBC_SLIBDIR_RTLDDIR.
29121         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
29122         Regenerated.
29123         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
29124         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
29125         file.
29126         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
29127         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
29128         file.
29129         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
29130         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
29131         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
29132         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
29134         * sysdeps/aarch64/shlib-versions: Move to ...
29135         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
29136         * sysdeps/alpha/shlib-versions: Move to ...
29137         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
29138         * sysdeps/arm/shlib-versions: Move to ...
29139         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
29140         * sysdeps/hppa/shlib-versions: Move all contents except for
29141         libgcc_s entry to ...
29142         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
29143         entry from ...
29144         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
29145         * sysdeps/ia64/shlib-versions: Move to ...
29146         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
29147         entry from ...
29148         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
29149         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
29150         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
29151         * sysdeps/microblaze/shlib-versions: Move to ...
29152         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
29153         * sysdeps/mips/shlib-versions: Move to ...
29154         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
29155         entry from ...
29156         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
29157         * sysdeps/tile/shlib-versions: Move to ...
29158         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
29159         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
29160         from ...
29161         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
29162         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
29163         entry from ...
29164         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
29166 2014-07-17  Will Newton  <will.newton@linaro.org>
29168         * sysdeps/arm/bits/atomic.h
29169         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
29170         (__arch_compare_and_exchange_bool_16_int): Likewise.
29171         (__arch_compare_and_exchange_bool_64_int): Likewise.
29173         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
29174         into an #else block.
29176 2014-07-16  Roland McGrath  <roland@hack.frob.com>
29178         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
29179         just Linux configurations.  Test empirically that the compiler sets
29180         __ARM_EABI__, rather than using the tuple to decide.
29181         * sysdeps/arm/preconfigure: Regenerated.
29182         * sysdeps/unix/sysv/linux/arm/configure: File removed.
29183         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
29184         contents appended ...
29185         * sysdeps/arm/configure.ac: ... here.
29186         * sysdeps/arm/configure: Regenerated.
29188 2014-07-15  Roland McGrath  <roland@hack.frob.com>
29190         * nptl/pthread_kill.c: New file.
29191         * nptl/pthread_sigmask.c: New file.
29192         * nptl/pthread_sigqueue.c: New file.
29194         * sysdeps/nptl/lowlevellock.h: New file.
29195         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
29196         * sysdeps/nptl/lowlevellock-futex.h: New file.
29198         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
29199         Remove dead declarations.
29201 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
29203         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
29204         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
29205         config-cflags-avx2.
29206         * sysdeps/x86_64/configure.ac: Likewise.
29207         * sysdeps/i386/configure: Regenerated.
29208         * sysdeps/x86_64/configure: Likewise.
29209         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
29210         memset-avx2 only if config-cflags-avx2 is yes.
29211         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
29212         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
29213         defined.
29214         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
29215         only if HAVE_AVX2_SUPPORT is defined.
29216         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
29218 2014-07-14  Alan Modra  <amodra@gmail.com>
29220         [BZ #17153]
29221         * elf/elf.h (DT_PPC64_NUM): Correct value.
29222         * NEWS: Add to fixed bug list.
29224 2014-07-13  Jim Meyering  <meyering@fb.com>
29226         [BZ 17150]
29227         regex: don't deref NULL upon heap allocation failure
29228         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
29229         failure in one more place.
29230         To trigger the segfault, configure grep -with-included-regex,
29231         build it, and run these commands:
29232         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
29234 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
29236         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
29238 2014-07-11  Richard Henderson  <rth@redhat.com>
29240         * sysdeps/aarch64/libm-test-ulps: Update.
29242 2014-07-10  Florian Weimer  <fweimer@redhat.com>
29244         [BZ #17135]
29245         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
29246         * nptl/allocatestack.c (__nptl_setxid_error): New function.
29247         (__nptl_setxid): Initialize error member.  Call
29248         __nptl_setxid_error.
29249         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
29250         * nptl/descr.h (struct xid_command): Add error member.
29251         * nptl/tst-setuid3.c: New file.
29252         * nptl/Makefile (tests): Add it.
29254 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29256         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
29257         New define.
29258         (__lll_trylock): Use __lll_base_trylock.
29259         (__lll_cond_trylock): Likewise.
29261 2014-07-10  Roland McGrath  <roland@hack.frob.com>
29263         * nptl/pthread_create.c (start_thread): Use atomic_or and
29264         lll_futex_wake directly rather than lll_robust_dead.
29265         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
29266         (lll_robust_dead): Macro removed.
29267         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
29268         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
29269         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
29270         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
29271         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
29272         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
29273         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
29274         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
29275         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
29276         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
29277         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
29278         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
29279         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
29280         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
29281         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
29283         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
29284         Use atomic_compare_and_exchange_val_acq directly rather than
29285         lll_robust_trylock.
29286         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
29287         (__lll_robust_trylock, lll_robust_trylock): Removed.
29288         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
29289         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
29290         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
29291         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
29292         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
29293         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
29294         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
29295         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
29296         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
29297         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
29298         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
29299         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
29300         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
29301         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
29303 2014-07-02  Florian Weimer  <fweimer@redhat.com>
29305         * manual/locale.texi (Locale Names): New section documenting
29306         locale name syntax.  Adjust menu and node chaining accordingly.
29307         (Choosing Locale): Reference Locale Names, Locale Categories.
29308         Mention setting LC_ALL=C.  Reflect that name syntax is now
29309         documented.
29310         (Locale Categories): New section title.  Reference Locale Names.
29311         LC_ALL is an environment variable, but not a category.
29312         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
29313         description, now in Locale Name.  Reference that section.  Locale
29314         name syntax is now documented.
29316 2014-07-02  Florian Weimer  <fweimer@redhat.com>
29318         [BZ #17137]
29319         * locale/findlocale.c (name_present, valid_locale_name): New
29320         functions.
29321         (_nl_find_locale): Use the loc_name variable to store name
29322         candidates.  Call name_present and valid_locale_name to check and
29323         validate locale names.  Return an error if the locale is invalid.
29325 2014-07-02  Florian Weimer  <fweimer@redhat.com>
29327         * locale/setlocale.c (setlocale): Use strdup for allocating
29328         composite name copy.
29330 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
29332         Sync up with gnulib.
29333         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
29334         [!_LIBC && ENABLE_NLS]: Include gettext.h.
29335         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
29336         and _GL_ARG_NONNULL.
29337         [USE_UNLOCKED_IO]: Include unlocked-io.h.
29338         [!_LIBC]: Include code for Windows and Cygwin.
29339         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
29340         Include prototype for int strerror_r.
29341         [!_LIBC] (is_open): New function.
29342         (flush_stdout): New function.
29343         (print_errno_message): Use it.
29344         (error): Likewise.
29345         (error_at_line): Likewise.
29346         (error_tail) Add function attribute macros.  Use
29347         __builtin_expect.
29349         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
29351         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
29353         * io/ftw.c: Include sys/param.h unconditionally.
29355         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
29357         [BZ #17125]
29358         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
29359         libc_freeres_ptr.
29360         (freecache): New function to free CACHE on exit.
29362         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
29363         initialization.
29365 2014-07-09  David S. Miller  <davem@davemloft.net>
29367         * sysdeps/sparc/fpu/libm-test-ulps: Update.
29369         * sysdeps/sparc/nptl/internaltypes.h: Delete.
29370         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
29371         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
29372         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
29373         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
29374         * sysdeps/sparc/nptl/sem_init.c: Likewise.
29375         * sysdeps/sparc/nptl/sem_post.c: Likewise.
29376         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
29377         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
29378         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
29379         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
29380         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
29381         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
29383 2014-07-09  Andreas Schwab  <schwab@suse.de>
29385         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
29386         output.
29387         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
29388         (do_test): Likewise.
29390         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
29392 2014-07-09  Will Newton  <will.newton@linaro.org>
29394         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
29395         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
29396         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
29397         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
29398         * sysdeps/hppa/start.S (_start): Likewise.
29400 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
29402         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
29404         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
29405         defined.
29407 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
29409         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
29410         after checking that it is non-NULL.
29412         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
29414 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29416         * sysdeps/powerpc/memmove.c: Remove file.
29417         * sysdeps/powerpc/powerpc32/power4/memcopy.h
29418         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
29419         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
29420         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
29421         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
29422         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
29423         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
29424         string memmove instead of removed powerpc one.
29426         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
29427         [weak_alias]: Fix compiler warning due trailing data.
29428         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
29429         [weak_alias]: Likewise.
29430         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
29431         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
29433         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
29434         (__libc_ifunc_impl_list): Add memmove functions.
29436 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
29438         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
29439         Remove code.
29440         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
29441         Likewise.
29442         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
29443         Likewise.
29444         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
29445         Likewise.
29446         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
29447         Likewise.
29448         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
29449         Likewise.
29450         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
29451         Likewise.
29452         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
29453         Likewise.
29454         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
29455         Likewise.
29456         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
29457         Likewise.
29458         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
29459         Likewise.
29460         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
29461         Likewise.
29462         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
29463         Likewise.
29464         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
29465         Likewise.
29466         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
29467         Likewise.
29468         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
29469         Likewise.
29470         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
29471         Likewise.
29473 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29475         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
29476         to avoid alignment traps in non-cacheable memory.
29477         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
29479         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
29480         multiarch objects.
29481         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
29482         file: multiarch power7 memmove.
29483         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
29484         multiarch default memmove.
29485         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
29486         multiarch memove for powerpc32/power4.
29488         * string/bcopy.c: Use full path to include memmove.c.
29489         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
29490         multiarch objects.
29491         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
29492         bcopy for powerpc64.
29493         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
29494         bcopy for powerpc64.
29495         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
29496         and memmove implementations.
29497         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
29498         optimized multiarch memmove for POWER7/powerpc64.
29499         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
29500         default multiarch memmove for powerpc64.
29501         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
29502         multiarch for powerpc64.
29503         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
29504         for POWER7/powerpc64.
29505         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
29506         memmove for POWER7/powerpc64.
29508         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
29509         glibc default one.
29511         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
29512         __ELF_NATIVE_CLASS equal to 64.
29514 2014-07-07  Roland McGrath  <roland@hack.frob.com>
29516         * sysdeps/nptl/lowlevellock.h: File removed.
29518         * NEWS: NPTL is no longer an add-on!
29519         * nptl/internaltypes.h: Moved ...
29520         * sysdeps/nptl/internaltypes.h: ... here.
29521         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
29522         * sysdeps/nptl/fork.c: Likewise.
29523         * sysdeps/nptl/gai_misc.h: Likewise.
29524         * sysdeps/nptl/librt-cancellation.c: Likewise.
29525         * sysdeps/nptl/jmp-unwind.c: Likewise.
29526         * sysdeps/nptl/setxid.h: Likewise.
29527         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
29528         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
29529         * sysdeps/unix/sysv/linux/arm/Implies: New file.
29530         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
29531         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
29532         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
29533         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
29534         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
29535         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
29536         * sysdeps/unix/sysv/linux/mips/Implies: New file.
29537         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
29538         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
29539         * sysdeps/unix/sysv/linux/sh/Implies: New file.
29540         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
29541         * sysdeps/unix/sysv/linux/tile/Implies: New file.
29542         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
29543         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
29544         * nptl/Makeconfig: Moved ...
29545         * sysdeps/nptl/Makeconfig: ... here.
29546         * nptl/configure: File removed.
29547         * nptl/ANNOUNCE: File removed.
29548         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
29549         * sysdeps/unix/sysv/linux/configure: Regenerated.
29551         * nptl/Makefile (routines): Add libc_pthread_init,
29552         libc_multiple_threads, register-atfork and unregister-atfork.
29553         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
29554         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
29555         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
29556         pthread-pi-defines.sym, structsem.sym.
29557         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
29558         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
29559         [$(subdir) = nptl] (tests): Add tst-setgetname.
29560         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
29561         * sysdeps/unix/sysv/linux/sigaction.c: Just include
29562         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
29563         [!LIBC_SIGACTION]: Remove aliases.
29564         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
29565         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
29566         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
29567         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
29568         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
29569         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
29570         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
29571         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
29572         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
29573         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
29574         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
29575         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
29576         __libc_allocate_rtsig_private.
29577         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
29578         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
29579         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
29580         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
29581         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
29582         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
29583         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
29584         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
29585         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
29586         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
29587         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
29588         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
29589         * nptl/internaltypes.h: ... here.
29590         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
29591         * sysdeps/nptl/jmp-unwind.c: ... here.
29592         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
29593         * nptl/libc-lowlevellock.c: ... here.
29594         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
29595         * nptl/libc_multiple_threads.c: ... here.
29596         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
29597         * nptl/libc_pthread_init.c: ... here.
29598         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
29599         * nptl/lowlevelbarrier.sym: ... here.
29600         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
29601         * nptl/lowlevelcond.sym: ... here.
29602         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
29603         * nptl/lowlevellock.c: ... here.
29604         * nptl/lowlevellock.h: Moved ...
29605         * sysdeps/nptl/lowlevellock.h: ... here.
29606         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
29607         * nptl/lowlevelrobustlock.c: ... here.
29608         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
29609         * nptl/lowlevelrobustlock.sym: ... here.
29610         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
29611         * nptl/lowlevelrwlock.sym: ... here.
29612         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
29613         * nptl/pt-fork.c: ... here.
29614         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
29615         * nptl/pthread-pi-defines.sym: ... here.
29616         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
29617         * nptl/pthread_attr_getaffinity.c: ... here.
29618         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
29619         * nptl/pthread_attr_setaffinity.c: ... here.
29620         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
29621         * nptl/pthread_mutex_cond_lock.c: ... here.
29622         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
29623         Update #include.
29624         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
29625         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
29626         * nptl/pthread_once.c: ... here, replacing old file.
29627         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
29628         * nptl/pthread_yield.c: ... here.
29629         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
29630         * nptl/register-atfork.c: ... here.
29631         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
29632         * nptl/sem_post.c: ... here.
29633         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
29634         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
29635         * nptl/sem_timedwait.c: ... here.
29636         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
29637         * nptl/sem_trywait.c: ... here.
29638         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
29639         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
29640         * nptl/sem_wait.c: ... here.
29641         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
29642         * nptl/structsem.sym: ... here.
29643         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
29644         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
29645         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
29646         * nptl/unregister-atfork.c: ... here.
29647         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
29648         * nptl/unwindbuf.sym: ... here.
29649         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
29650         * sysdeps/nptl/fork.c: ... here.
29651         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
29652         * sysdeps/nptl/fork.h: ... here.
29653         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
29654         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
29655         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
29656         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
29657         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
29658         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
29659         * sysdeps/unix/sysv/linux/getpid.c: ... here.
29660         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
29661         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
29662         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
29663         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
29664         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
29665         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
29666         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
29667         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
29668         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
29669         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
29670         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
29671         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
29672         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
29673         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
29674         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
29675         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
29676         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
29677         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
29678         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
29679         * sysdeps/unix/sysv/linux/raise.c: ... here.
29680         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
29681         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
29682         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
29683         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
29684         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
29685         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
29686         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
29687         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
29688         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
29689         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
29690         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
29691         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
29692         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
29693         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
29694         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
29696 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
29698         * sysdeps/generic/memcopy.h: Add comment for
29699         MEMCPY_OK_FOR_FWD_MEMMOVE.
29701 2014-07-04  Will Newton  <will.newton@linaro.org>
29703         * string/memchr.c: Merge from gnulib.
29704         [_LIBC]: Remove conditionals.
29705         (__ptr_t): Remove define.
29706         (LONG_MAX_32_BITS): Likewise.
29707         (LONG_MAX): Likewise.
29708         (MEMCHR): Use ANSI prototype and optimize algorithm.
29710         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
29712 2014-07-03  Roland McGrath  <roland@hack.frob.com>
29714         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
29715         (lll_futex_timed_wait_bitset): Fix syscall argument count.
29717         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
29718         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
29719         in a bare environment with no <stdlib.h> installed.
29720         * sysdeps/nptl/configure: Regenerated.
29722         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
29724         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
29725         AC_EGREP_CPP for kernel header checks, so they only succeed if
29726         including <linux/version.h> actually works right.
29727         * sysdeps/unix/sysv/linux/configure: Regenerated.
29729         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
29730         value so it's not diagnosed as unused.
29732         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
29733         thing) with "ifeq ($(subdir),rt)".
29735 2014-07-03  Richard Henderson  <rth@redhat.com>
29737         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
29738         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
29739         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
29741         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
29742         (math_force_eval): New.
29744         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
29745         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
29747         * sysdeps/alpha/fpu/s_round.c: Remove file.
29748         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
29750         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
29751         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
29752         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
29753         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
29754         (_dl_start, print_statistics): Likewise.
29755         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
29756         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
29758         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
29759         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
29760         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
29761         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
29762         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
29763         (HP_SMALL_TIMING_AVAIL): Define.
29764         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
29765         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
29766         (HP_SMALL_TIMING_AVAIL): Define.
29767         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
29768         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
29770         * sysdeps/aarch64/hp-timing.h: New file.
29772         * sysdeps/generic/hp-timing.h: Remove dead comment.
29773         * sysdeps/generic/hp-timing-common.h: New file.
29774         * sysdeps/alpha/hp-timing.h: Include it.
29775         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
29776         * sysdeps/i386/i686/hp-timing.h: Likewise.
29777         * sysdeps/ia64/hp-timing.h: Likewise.
29778         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
29779         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
29780         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
29781         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
29782         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
29783         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
29784         (hp_timing_t): New.
29786         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
29787         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
29788         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
29789         * elf/rtld.c (_dl_start_final): Likewise.
29790         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
29791         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
29792         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
29793         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
29794         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
29795         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
29796         (HP_TIMING_DIFF_INIT): Remove.
29797         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
29798         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
29799         (HP_TIMING_DIFF_INIT): Remove.
29800         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
29801         * sysdeps/i386/i686/hp-timing.c: Remove file.
29802         * sysdeps/x86_64/hp-timing.c: Remove file.
29803         * sysdeps/ia64/hp-timing.c: Remove file.
29804         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
29805         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
29806         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
29807         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
29809         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
29810         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
29811         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
29812         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
29813         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
29814         (HP_TIMING_ACCUM): Remove.
29815         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
29816         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
29817         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
29819         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
29820         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
29821         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
29822         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
29823         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
29824         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
29825         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
29826         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
29828         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
29830 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
29832         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
29834 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
29836         Sync up with gettext.
29837         * intl/loadmsgcat.c: Define O_BINARY if not defined.
29838         [_MSC_VER]: Include malloc.h
29839         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
29840         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
29841         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
29842         TEMP_FAILURE_RETRY.  Cast return of alloca.
29843         [!_LIBC] Call gl_rwlock_init.
29844         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
29846 2014-07-02  Roland McGrath  <roland@hack.frob.com>
29848         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
29849         before checking its value.
29851 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
29853         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
29855         * debug/memcpy_chk.c: Don't include pagecopy.h.
29856         * debug/mempcpy_chk.c: Likewise.
29857         * string/memcpy.c: Likewise.
29858         * string/memmove.c: Likewise.
29859         * sysdeps/powerpc/memmove.c: Likewise.
29860         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
29861         definition of PAGE_COPY_FWD_MAYBE here...
29862         * sysdeps/generic/pagecopy.h: ... from here.
29863         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
29865 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
29866             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29868         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
29869         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
29870         optimizations.
29871         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
29872         (__libc_ifunc_impl_list): Likewise.
29873         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
29874         multiarch strcat for PPC64.
29875         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
29876         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
29878 2014-07-02  Roland McGrath  <roland@hack.frob.com>
29880         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
29882 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
29884         * intl/loadmsgcat.c: Remove declaration of
29885         get_sysdep_segment_value.
29886         (get_sysdep_segment_value): Use ISO C style.
29887         (_nl_load_domain): Use ISO C style.  Get rid of redundant
29888         semicolon.  Fix typo and formatting in comment.
29889         (_nl_unload_domain): Use ISO C style.
29891         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
29893 2014-07-02  Will Newton  <will.newton@linaro.org>
29895         * malloc/obstack.c: Merge from gnulib master.
29896         [HAVE_CONFIG_H]: Remove conditional code.
29897         [!_LIBC]: Include config.h.
29898         [!ELIDE_CODE]: Don't include inttypes.h, include
29899         stdint.h unconditionally.
29900         (print_and_abort): Mark as _Noreturn.
29901         (_obstack_allocated_p): Mark as __attribute_pure__.
29902         (obstack_free): Rename to __obstack_free.
29903         [!__attribute__]: Remove conditional code.
29904         * malloc/obstack.h: Merge from gnulib master.
29905         [__cplusplus]: Move conditional down.
29906         [!__attribute_pure__]: Define __attribute_pure__ here
29907         if it is not already defined.
29908         (_obstack_memory_used): Mark as __attribute_pure__.
29909         [!__obstack_free]: Define as obstack_free.
29910         [__GNUC__]: Remove check for ancient NeXT gcc.
29912 2014-07-02  Will Newton  <will.newton@linaro.org>
29913             Paul Eggert  <eggert@cs.ucla.edu>
29915         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
29917 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
29919         * resolv/gethnamaddr.c: Add comment warning that the file is
29920         not maintained.
29922 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
29924         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
29925         entries.
29927         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
29928         entry for aio_cancel and aio_cancel64.
29929         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
29930         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
29931         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
29932         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
29933         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
29934         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
29935         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
29936         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
29937         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
29938         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
29939         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
29940         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
29941         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
29943 2014-07-01  Roland McGrath  <roland@hack.frob.com>
29945         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
29946         * nptl/pthread_mutex_lock.c: Likewise.
29947         * nptl/pthread_mutex_timedlock.c: Likewise.
29948         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
29950 2014-07-01  Richard henderson  <rth@redhat.com>
29952         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
29953         (__isnan, __isnanl): Remove.
29954         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
29956         * sysdeps/alpha/fpu/libm-test-ulps: Update.
29958 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
29960         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
29962 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
29964         * resolv/nss_dns/dns-host.c (getanswer_r)
29965         [MULTI_PTRS_ARE_ALIASES]: Remove code.
29967 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
29969         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
29970         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
29971         undefine.
29972         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
29973         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
29975 2014-07-01  Roland McGrath <roland@hack.frob.com>
29977         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
29978         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
29980         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
29981         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
29983         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
29984         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
29985         ... here.
29986         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
29987         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
29989         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
29990         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
29991         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
29992         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
29994         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
29995         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
29996         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
29997         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
29998         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
29999         Moved ...
30000         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
30001         ... here.
30002         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
30003         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
30004         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
30005         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
30006         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
30007         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
30008         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
30009         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
30010         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
30011         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
30012         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
30013         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
30014         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
30015         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
30016         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
30017         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
30018         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
30019         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
30020         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
30021         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
30022         ... here.
30023         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
30024         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
30025         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
30026         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
30027         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
30028         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
30029         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
30030         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
30032 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
30034         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
30035         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
30036         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
30037         Add sysdep.
30039 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30041         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30043 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
30045         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
30046         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
30048         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
30050         * sysdeps/arm/libm-test-ulps: Regenerated.
30052 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
30053             Roland McGrath <roland@hack.frob.com>
30055         * test-skeleton.c (signal_handler): Kill the whole process group
30056         before killing the child individually.
30057         (main): Report any failure on `setpgid'.
30059 2014-06-30  Roland McGrath  <roland@hack.frob.com>
30061         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
30062         from _TLS_H to _ARM_NPTL_TLS_H.
30063         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
30064         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
30066 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
30068         [BZ #16539]
30069         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
30070         (__expm1l): Return argument unchanged when small but not
30071         subnormal.
30073         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
30074         include macro name.
30075         (_FP_UNPACK_RAW_1_P): Likewise.
30076         (_FP_PACK_RAW_1): Likewise.
30077         (_FP_PACK_RAW_1_P): Likewise.
30078         (_FP_MUL_MEAT_1_wide): Likewise.
30079         (_FP_MUL_MEAT_DW_1_hard): Likewise.
30080         (_FP_MUL_MEAT_1_hard): Likewise.
30081         (_FP_DIV_MEAT_1_imm): Likewise.
30082         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
30083         (_FP_DIV_MEAT_1_udiv): Likewise.
30084         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
30085         (_FP_UNPACK_RAW_2): Likewise.
30086         (_FP_UNPACK_RAW_2_P): Likewise.
30087         (_FP_PACK_RAW_2): Likewise.
30088         (_FP_PACK_RAW_2_P): Likewise.
30089         (_FP_MUL_MEAT_DW_2_wide): Likewise.
30090         (_FP_MUL_MEAT_2_wide): Likewise.
30091         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
30092         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
30093         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
30094         (_FP_MUL_MEAT_2_gmp): Likewise.
30095         (_FP_DIV_MEAT_2_udiv): Likewise.
30096         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
30097         (_FP_FRAC_SRL_4): Likewise.
30098         (_FP_FRAC_SRST_4): Likewise.
30099         (_FP_FRAC_SRS_4): Likewise.
30100         (_FP_UNPACK_RAW_4): Likewise.
30101         (_FP_UNPACK_RAW_4_P): Likewise.
30102         (_FP_PACK_RAW_4): Likewise.
30103         (_FP_PACK_RAW_4_P): Likewise.
30104         (_FP_MUL_MEAT_DW_4_wide): Likewise.
30105         (_FP_MUL_MEAT_4_wide): Likewise.
30106         (_FP_MUL_MEAT_4_gmp): Likewise.
30107         (umul_ppppmnnn): Likewise.
30108         (_FP_DIV_MEAT_4_udiv): Likewise.
30109         (__FP_FRAC_ADD_4): Likewise.
30110         (__FP_FRAC_SUB_3): Likewise.
30111         (__FP_FRAC_SUB_4): Likewise.
30112         (__FP_FRAC_DEC_3): Likewise.
30113         (__FP_FRAC_DEC_4): Likewise.
30114         (__FP_FRAC_ADDI_4): Likewise.
30115         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
30116         (_FP_FRAC_SRL_8): Likewise.
30117         (_FP_FRAC_SRS_8): Likewise.
30119         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
30120         include macro name.
30121         (FP_UNPACK_RAW_EP): Likewise.
30122         (FP_PACK_RAW_E): Likewise.
30123         (FP_PACK_RAW_EP): Likewise.
30124         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
30125         (_FP_ISSIGNAN): Likewise.
30126         (_FP_ADD_INTERNAL): Likewise.
30127         (_FP_FMA): Likewise.
30128         (_FP_CMP): Likewise.
30129         (_FP_SQRT): Likewise.
30130         (_FP_TO_INT): Likewise.
30131         (_FP_FROM_INT): Likewise.
30132         (FP_EXTEND): Likewise.
30133         (_FP_DIV_MEAT_N_loop): Likewise.
30135 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
30137         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
30138         throughout.
30140 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
30142         [BZ #17097]
30143         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
30144         result with correct sign in case of exponents that produce
30145         overflow except for X very close to 1.
30147 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
30149         mktime: merge #if/#ifdef usage from glibc
30150         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
30151         as that works with both Glibc's and Gnulib's style.
30152         See thread starting at Siddhesh Poyarekar's bug report at:
30153         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
30155 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
30157         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
30158         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
30159         * sysdeps/tile/tilegx/memmove.c: Remove file.
30161 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
30163         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
30164         abi-name definition.
30165         * scripts/soversions.awk: Do not handle or generate ABI lines.
30166         * shlib-versions: Remove ABI entries.
30167         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
30168         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
30170 2014-06-27  Roland McGrath  <roland@hack.frob.com>
30172         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
30173         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
30174         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
30175         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
30176         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
30177         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
30178         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
30179         Moved ...
30180         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
30181         ... here.
30182         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
30183         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
30184         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
30185         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
30186         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
30187         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
30188         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
30189         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
30190         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
30191         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
30192         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
30193         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
30194         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
30195         Moved ...
30196         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
30197         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
30198         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
30199         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
30200         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
30201         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
30202         Moved ...
30203         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
30204         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
30205         Moved ...
30206         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
30207         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
30208         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
30209         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
30210         Moved ...
30211         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
30212         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
30213         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
30214         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
30215         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
30216         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
30217         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
30218         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
30219         Moved ...
30220         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
30221         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
30222         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
30223         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
30224         Moved ...
30225         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
30226         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
30227         Moved ...
30228         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
30229         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
30230         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
30231         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
30232         Moved ...
30233         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
30234         ... here.
30235         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
30236         Identical file removed.
30237         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
30238         Moved ...
30239         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
30240         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
30241         Identical file removed.
30242         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
30243         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
30244         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
30245         Moved ...
30246         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
30247         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
30248         Identical file removed.
30249         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
30250         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
30251         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
30252         Identical file removed.
30253         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
30254         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
30255         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
30256         Identical file removed.
30257         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
30258         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
30259         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
30260         Identical file removed.
30261         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
30262         Moved ...
30263         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
30264         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
30265         Identical file removed.
30266         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
30267         Moved ...
30268         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
30269         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
30270         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
30271         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
30272         Identical file removed.
30273         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
30274         Moved ...
30275         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
30276         ... here.
30277         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
30278         Identical file removed.
30279         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
30280         Moved ...
30281         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
30282         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
30283         Identical file removed.
30284         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
30285         Moved ...
30286         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
30287         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
30288         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
30289         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
30290         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
30291         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
30292         Moved ...
30293         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
30294         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
30295         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
30297         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
30298         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
30299         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
30300         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
30301         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
30303 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
30305         [BZ #17092]
30306         * nscd/nscd.c (monitor_child): Return exit status of child
30307         instead of return value from wait syscall.
30309 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
30311         * configure.ac (libc_commonpagesize): Remove variable.
30312         (libc_relro_required): Likewise.
30313         (libc_cv_z_relro): Remove configure test.
30314         * configure: Regenerated.
30315         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
30316         variable.
30317         (libc_relro_required): Likewise.
30318         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
30319         (libc_relro_required): Likewise.
30320         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
30321         (libc_relro_required): Likewise.
30322         * sysdeps/arm/preconfigure: Regenerated.
30323         * sysdeps/ia64/preconfigure: Remove file.
30324         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
30325         variable.
30326         (libc_relro_required): Likewise.
30328         [BZ #16561]
30329         [BZ #16562]
30330         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
30331         (__ieee754_yn): Set FE_TONEAREST mode internally and then
30332         recompute overflowing results in original rounding mode.
30333         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
30334         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
30335         recompute overflowing results in original rounding mode.
30336         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
30337         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
30338         recompute overflowing results in original rounding mode.
30339         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
30340         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
30341         recompute overflowing results in original rounding mode.
30342         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
30343         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
30344         recompute overflowing results in original rounding mode.
30345         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
30346         (libc_feholdsetround_ctx): New macro.
30347         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
30348         * sysdeps/i386/fpu/libm-test-ulps: Update.
30349         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
30351 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
30353         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
30354         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
30355         corresponding .cpsetup call.
30357 2014-06-26  Roland McGrath  <roland@hack.frob.com>
30359         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
30360         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
30361         * sysdeps/arm/Makefile [$(subdir) = csu]
30362         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
30363         (static-only-routines): Add aeabi_read_tp here.
30364         (shared-only-routines): Add libc-aeabi_read_tp here.
30365         (CFLAGS-libc-start.c): Add -fexceptions here.
30366         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
30367         (sysdep_routines, static-only-routines, shared-only-routines):
30368         Don't add to these here.
30369         (CFLAGS-libc-start.c): Likewise.
30371         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
30372         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
30373         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
30374         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
30375         * sysdeps/arm/Makefile [$(subdir) = rt]
30376         (librt-sysdep_routines, librt-shared-only-routines):
30377         Append rt-aeabi_unwind_cpp_pr1 here.
30378         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
30379         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
30380         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
30381         (libpthread-sysdep_routines, libpthread-shared-only-routines):
30382         Append nptl-aeabi_unwind_cpp_pr1 here.
30383         (tests): Filter out tst-cleanupx4 here.
30384         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
30385         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
30386         Don't do those here.
30388 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
30390         * scripts/list-sources.sh: Do not handle ports specially.
30392 2014-06-26  Roland McGrath  <roland@hack.frob.com>
30394         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
30395         * sysdeps/arm/feupdateenv.c: Likewise.
30397         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
30399 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
30401         * manual/texinfo.tex: Update to version 2014-05-05.10 with
30402         trailing whitespace removed.
30403         * scripts/config.guess: Update to version 2014-03-23.
30404         * scripts/config.sub: Update to version 2014-05-01
30405         * scripts/install-sh: Update to version 2013-12-25.23.
30406         * scripts/move-if-change: Update from gnulib.
30408 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
30410         * debug/memmove_chk.c: Remove pagecopy.h include.
30412 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
30414         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
30415         identical to gnulib mktime.
30417 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
30419         * configure.ac: Do not test for machine being rs6000.  Do not test
30420         for powerpc*-*soft.
30421         * configure: Regenerated.
30423         [BZ #11505]
30424         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
30425         test.
30426         * configure: Regenerated.
30427         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
30428         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
30429         Remove configure test.
30430         * sysdeps/arm/configure: Regenerated.
30431         * sysdeps/nptl/configure.ac: Do not check
30432         libc_cv_asm_cfi_directives.
30433         * sysdeps/nptl/configure: Regenerated.
30434         * sysdeps/x86_64/nptl/configure.ac: Remove file.
30435         * sysdeps/x86_64/nptl/configure: Remove generated file.
30436         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
30437         unconditional.
30438         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
30440 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
30442         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
30443         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
30444         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
30445         it is defined.
30447         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
30448         instead of whether it is defined.
30449         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
30450         * sysdeps/hppa/dl-machine.h: Likewise.
30451         * sysdeps/ia64/dl-machine.h: Likewise.
30452         * sysdeps/m68k/dl-machine.h: Likewise.
30453         * sysdeps/microblaze/dl-machine.h: Likewise.
30454         * sysdeps/mips/dl-machine.: Likewise.
30455         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
30456         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
30457         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
30458         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
30459         * sysdeps/sh/dl-machine.h: Likewise.
30460         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
30461         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
30462         * sysdeps/tile/dl-machine.h: Likewise.
30463         * sysdeps/x86_64/dl-machine.h: Likewise.
30465         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
30466         code.
30467         (verify_persistent_db): Likewise.
30469 2014-06-26  Roland McGrath  <roland@hack.frob.com>
30471         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
30472         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
30473         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
30474         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
30475         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
30476         Moved ...
30477         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
30478         ... here.
30479         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
30480         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
30481         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
30482         Identical file removed.
30483         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
30484         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
30485         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
30486         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
30487         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
30488         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
30489         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
30490         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
30491         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
30492         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
30493         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
30494         Moved ...
30495         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
30496         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
30497         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
30498         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
30499         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
30500         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
30501         Moved ...
30502         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
30503         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
30504         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
30505         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
30506         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
30507         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
30508         Identical file removed.
30509         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
30510         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
30511         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
30512         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
30513         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
30514         Moved ...
30515         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
30516         ... here.
30517         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
30518         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
30519         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
30520         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
30521         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
30522         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
30523         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
30524         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
30525         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
30526         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
30527         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
30528         Moved ...
30529         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
30530         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
30531         Moved ...
30532         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
30533         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
30534         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
30535         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
30536         Moved ...
30537         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
30538         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
30539         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
30541         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
30542         folded into ...
30543         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
30544         * sysdeps/unix/sysv/linux/s390/Versions
30545         (libpthread: GLIBC_2.19): New version set.
30546         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
30547         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
30548         (librt: GLIBC_2.3.3): New version set.
30549         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
30550         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
30551         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
30552         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
30553         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
30554         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
30555         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
30556         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
30557         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
30558         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
30559         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
30560         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
30561         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
30562         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
30563         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
30564         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
30565         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
30566         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
30567         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
30568         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
30569         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
30570         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
30571         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
30572         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
30573         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
30574         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
30575         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
30576         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
30577         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
30578         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
30579         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
30580         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
30581         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
30582         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
30583         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
30584         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
30585         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
30586         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
30587         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
30588         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
30589         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
30590         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
30591         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
30592         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
30593         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
30595         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
30596         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
30597         (__libc_vfork): Define the function under this name.
30598         [!NOT_IN_libc] (__vfork): Make this an alias.
30599         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
30600         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
30601         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
30602         (__libc_vfork): Define the function under this name.
30603         [!NOT_IN_libc] (__vfork): Make this an alias.
30604         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
30605         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
30606         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
30607         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
30608         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
30609         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
30611         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
30612         code that was previously under [RESET_PID].
30613         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
30614         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
30615         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
30617         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
30618         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
30619         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
30620         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
30621         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
30622         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
30623         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
30624         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
30625         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
30626         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
30627         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
30628         Moved ...
30629         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
30630         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
30631         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
30632         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
30633         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
30634         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
30635         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
30636         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
30637         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
30638         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
30639         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
30640         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
30641         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
30642         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
30643         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
30644         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
30645         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
30646         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
30647         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
30648         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
30649         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
30650         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
30651         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
30652         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
30653         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
30654         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
30655         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
30656         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
30657         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
30659 2014-06-25  Roland McGrath  <roland@hack.frob.com>
30661         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
30662         that was previously under [RESET_PID].
30663         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
30665 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
30667         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
30668         not undefine and redefine.
30669         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
30670         [O_CLOEXEC]: Make code unconditional.
30671         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
30672         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
30673         <kernel-features.h>.
30674         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
30675         conditional variable definition.
30676         (shm_open) [O_CLOEXEC]: Make code unconditional.
30677         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
30678         code.
30680         * configure.ac (USE_REGPARMS): Don't define here.
30681         * configure: Regenerated.
30682         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
30683         * sysdeps/i386/configure: Regenerated.
30685         * nptl/createthread.c: Don't include kernel-features.h.
30686         * nptl/pthread_cancel.c: Likewise.
30687         * nptl/pthread_condattr_setclock.c: Likewise.
30688         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
30689         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
30690         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
30691         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
30692         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
30693         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
30694         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
30695         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
30696         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
30697         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
30698         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
30699         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
30700         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
30701         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
30702         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
30703         * nscd/gai.c: Likewise.
30704         * nss/nss_db/db-open.c: Likewise.
30705         * sysdeps/generic/ldsodefs.h: Likewise.
30706         * sysdeps/sh/nptl/tls.h: Likewise.
30707         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
30708         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
30709         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
30710         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
30711         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
30712         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
30713         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
30714         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
30715         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
30716         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
30717         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
30718         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
30719         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
30720         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
30721         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
30722         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
30723         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
30724         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
30725         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
30726         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
30727         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
30728         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
30729         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
30730         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
30731         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
30732         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
30733         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
30734         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
30735         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
30736         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
30737         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
30738         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
30739         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
30740         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
30741         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
30742         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
30743         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
30744         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
30745         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
30746         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
30747         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
30748         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
30749         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
30750         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
30751         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
30752         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
30753         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
30754         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
30755         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
30756         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
30757         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
30758         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
30759         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
30760         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
30761         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
30762         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
30763         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
30764         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
30765         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
30766         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
30767         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
30768         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
30769         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
30770         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
30771         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
30772         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
30773         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
30774         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
30775         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
30776         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
30777         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
30778         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
30779         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
30780         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
30781         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
30782         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
30783         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
30784         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
30785         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
30786         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
30787         * sysdeps/unix/sysv/linux/pread.c: Likewise.
30788         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
30789         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
30790         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
30791         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
30792         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
30793         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
30794         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
30795         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
30796         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
30797         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
30798         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
30799         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
30800         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
30801         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
30802         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
30803         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
30804         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
30805         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
30806         * sysdeps/unix/sysv/linux/system.c: Likewise.
30807         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
30808         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
30809         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
30810         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
30811         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
30812         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
30813         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
30815         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
30816         * configure: Regenerated.
30817         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
30819         * configure.ac (base_machine): Do not set specially for particular
30820         machines here.
30821         * configure: Regenerated.
30822         * sysdeps/powerpc/preconfigure: Move machine and base_machine
30823         settings from configure.ac.
30824         * sysdeps/i386/preconfigure: New file.
30825         * sysdeps/s390/preconfigure: Likewise.
30826         * sysdeps/sh/preconfigure: Likewise.
30827         * sysdeps/sparc/preconfigure: Likewise.
30829 2014-06-25  Roland McGrath  <roland@hack.frob.com>
30831         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
30832         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
30833         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
30834         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
30835         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
30836         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
30837         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
30838         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
30839         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
30840         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
30841         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
30842         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
30843         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
30844         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
30845         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
30846         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
30847         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
30848         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
30849         * sysdeps/sparc/sparc64/Makefile: ... appended here.
30851         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
30852         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
30853         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
30854         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
30855         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
30856         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
30857         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
30858         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
30859         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
30860         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
30861         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
30862         * sysdeps/sparc/sparc32/sem_post.c: ... here.
30863         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
30864         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
30865         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
30866         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
30867         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
30868         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
30869         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
30870         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
30871         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
30872         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
30873         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
30874         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
30875         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
30876         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
30877         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
30878         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
30879         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
30880         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
30881         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
30882         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
30883         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
30884         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
30885         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
30886         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
30887         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
30888         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
30890         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
30891         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
30892         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
30893         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
30894         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
30895         Moved ...
30896         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
30897         ... here.
30898         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
30899         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
30900         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
30901         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
30902         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
30903         Moved ...
30904         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
30905         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
30906         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
30907         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
30908         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
30909         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
30910         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
30911         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
30912         Moved ...
30913         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
30914         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
30915         Moved ...
30916         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
30917         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
30918         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
30919         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
30920         Moved ...
30921         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
30922         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
30923         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
30924         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
30925         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
30926         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
30927         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
30928         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
30929         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
30930         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
30931         Moved ...
30932         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
30933         ... here.
30934         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
30935         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
30936         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
30937         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
30938         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
30939         Moved ...
30940         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
30941         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
30942         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
30943         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
30944         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
30945         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
30946         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
30947         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
30948         Moved ...
30949         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
30950         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
30951         Moved ...
30952         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
30953         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
30954         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
30955         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
30956         Moved ...
30957         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
30958         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
30959         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
30960         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
30961         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
30963 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
30965         * timezone/checktab.awk: Update from tzcode 2014e.
30966         * timezone/private.h: Likewise.
30967         * timezone/tzfile.h: Likewise.
30968         * timezone/zdump.c: Likewise.
30969         * timezone/zic.c: Likewise.
30971         * sysdeps/unix/sysv/linux/kernel-features.h
30972         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
30973         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
30974         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
30975         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
30976         Remove conditional code.
30978 2014-06-25  Will Newton  <will.newton@linaro.org>
30980         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
30981         (_dl_arm_cap_flags): Add HWCAP2 values.
30982         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
30983         (_DL_HWCAP_COUNT): Increase to 37.
30984         (_DL_HWCAP_LAST): New define.
30985         (_DL_HWCAP2_LAST): New define.
30986         (_dl_procinfo): Add support for printing
30987         AT_HWCAP2 entries.
30988         (_dl_string_hwcap): Use _dl_hwcap_string.
30990 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30992         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30994 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
30996         * README: Do not mention ports directory.
30998         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
30999         Remove macro.
31000         * sysdeps/unix/sysv/linux/futimes.c: Do not include
31001         <kernel-features.h>.
31002         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
31003         conditional variable definition.
31004         (__futimes): Update comment.
31005         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
31006         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
31008         [BZ #16560]
31009         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
31010         arguments close to 0.
31011         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
31012         Likewise.
31013         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
31014         Likewise.
31015         * math/auto-libm-test-in: Add more tests of exp10.
31016         * math/auto-libm-test-out: Regenerated.
31017         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31019         * sysdeps/unix/sysv/linux/kernel-features.h
31020         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
31021         * sysdeps/unix/sysv/linux/readv.c: Do not include
31022         <kernel-features.h>.
31023         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
31024         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
31025         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
31026         unconditional.
31027         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
31028         conditional code.
31029         * sysdeps/unix/sysv/linux/writev.c: Do not include
31030         <kernel-features.h>.
31031         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
31032         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
31033         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
31034         unconditional.
31035         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
31036         conditional code.
31038 2014-06-25  Will Newton  <will.newton@linaro.org>
31040         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
31041         comment changes throughout the file.  Remove checks
31042         for HAVE_*_H definitions that are not required.
31043         (__gen_tempname): Call abort if an unknown kind value is
31044         passed.
31046 2014-06-25  Andreas Schwab  <schwab@suse.de>
31048         [BZ #17086]
31049         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
31050         scalbln, scalblnf, scalblnl in libc.
31052 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
31054         [BZ #17086]
31055         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
31056         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
31057         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
31059 2014-06-24  Roland McGrath  <roland@hack.frob.com>
31061         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
31062         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
31063         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
31064         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
31065         Update #include.
31066         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
31067         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
31068         Update #include.
31069         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
31070         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
31071         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
31072         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
31073         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
31074         * sysdeps/x86/bits/pthreadtypes.h: ... here.
31075         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
31076         * sysdeps/x86/bits/semaphore.h: ... here.
31077         * sysdeps/x86/nptl/elide.h: Moved ...
31078         * sysdeps/x86/elide.h: ... here.
31079         * sysdeps/x86_64/nptl/Implies: File removed.
31080         * sysdeps/i386/nptl/Implies: File removed.
31082 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
31084         [BZ #16539]
31085         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
31086         return the argument for normal arguments with exponent below -64.
31087         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
31088         Likewise.
31089         * math/auto-libm-test-in: Add another test of expm1.
31090         * math/auto-libm-test-out: Regenerated.
31092         [BZ #16287]
31093         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
31094         calling __erfcl for arguments at least 16.
31095         * math/auto-libm-test-in: Add more tests of erf.
31096         * math/auto-libm-test-out: Regenerated.
31098         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
31099         individual architectures.
31100         * sysdeps/unix/sysv/linux/configure: Regenerated.
31101         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
31102         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
31103         * sysdeps/unix/sysv/linux/powerpc/configure.ac
31104         (ldd_rewrite_script): Define variable.
31105         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
31106         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
31107         file.
31108         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
31109         generated file.
31110         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
31111         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
31112         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
31113         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
31114         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
31115         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
31116         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
31117         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
31119 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
31121         [BZ #17084]
31122         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
31123         Rename member __data.d to __data.__elision_data.
31125 2014-06-24  Wilco  <wdijkstr@arm.com>
31127         * NEWS: Add 16918 to fixed bug list.
31129 2014-06-24  Wilco  <wdijkstr@arm.com>
31131         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
31133 2014-06-24  Wilco  <wdijkstr@arm.com>
31135         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
31136         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
31137         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
31138         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
31139         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
31140         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
31141         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
31142         Use _FPU_MASK_RM.
31144 2014-06-24  Wilco  <wdijkstr@arm.com>
31146         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
31148 2014-06-24  Wilco  <wdijkstr@arm.com>
31150         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
31151         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
31152         * sysdeps/arm/fesetround.c (fesetround): Remove space.
31153         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
31155 2014-06-24  Wilco  <wdijkstr@arm.com>
31157         [BZ #16918]
31158         * sysdeps/arm/feupdateenv.c (feupdateenv):
31159         Rewrite to reduce FPSCR accesses and fix return value.
31161 2014-06-24  Wilco  <wdijkstr@arm.com>
31163         * sysdeps/arm/fclrexcpt.c (feclearexcept):
31164         Optimize to avoid unnecessary FPSCR writes.
31165         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
31166         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
31167         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
31168         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
31170 2014-06-24  Wilco  <wdijkstr@arm.com>
31172         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
31173         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
31174         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
31175         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
31176         Call libc_fetestexcept_vfp.
31177         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
31178         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
31179         __SOFTFP__ ifdef so that they can be built for softfp.
31181 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
31183         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
31184         argument type signed char.
31186         * Makerules (check-abi): Dump diff of symlist if the test
31187         fails.
31189 2014-06-23  Roland McGrath  <roland@hack.frob.com>
31191         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
31192         using abort.
31194         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
31195         Remove unused variable ST.
31197 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
31199         [BZ #16354]
31200         [BZ #17061]
31201         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
31202         small arguments before calling __expm1.
31203         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
31204         small arguments before calling __expm1f.
31205         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
31206         small arguments before calling __expm1l.
31207         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
31208         Likewise.
31209         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
31210         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
31211         spurious underflow for some cosh tests.
31212         * math/auto-libm-test-out: Regenerated.
31213         * sysdeps/i386/fpu/libm-test-ulps: Update.
31215         [BZ #17050]
31216         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
31217         (__ieee754_y1): Set errno if return value overflows.
31218         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
31219         (__ieee754_y1f): Set errno if return value overflows.
31220         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
31221         (__ieee754_y1l): Set errno if return value overflows.
31222         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
31223         (__ieee754_y1l): Set errno if return value overflows.
31224         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
31225         * math/auto-libm-test-out: Regenerated.
31227         * math/gen-auto-libm-tests.c: Document use of
31228         ignore-zero-inf-sign.
31229         (input_flag_type): Add value flag_ignore_zero_inf_sign.
31230         (input_flags): Add ignore-zero-inf-sign.
31231         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
31232         * math/gen-libm-test.pl (generate_testfile): Handle
31233         ignore-zero-inf-sign.
31234         * math/auto-libm-test-in: Mark some cpow tests with
31235         ignore-zero-inf-sign and some with xfail-rounding.
31236         * math/auto-libm-test-out: Regenerated.
31237         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
31238         * sysdeps/i386/fpu/libm-test-ulps: Update.
31239         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31241         [BZ #16315]
31242         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
31243         overflowing or underflowing operations take place with sign of
31244         result.
31245         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
31246         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
31247         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
31248         (__ieee754_pow): Recompute overflowing and underflowing results in
31249         original rounding mode.
31250         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
31251         (__powl_helper): Allow negative argument X and scale negated value
31252         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
31253         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
31254         overflowing or underflowing operations take place with sign of
31255         result.
31256         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
31257         Include <math.h>.
31258         * math/auto-libm-test-in: Add more tests of pow.
31259         * math/auto-libm-test-out: Regenerated.
31260         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
31261         (pow_tonearest_test_data): Remove.
31262         (pow_test_tonearest): Likewise.
31263         (pow_towardzero_test_data): Likewise.
31264         (pow_test_towardzero): Likewise.
31265         (pow_downward_test_data): Likewise.
31266         (pow_test_downward): Likewise.
31267         (pow_upward_test_data): Likewise.
31268         (pow_test_upward): Likewise.
31269         (main): Don't call removed functions.
31270         * sysdeps/i386/fpu/libm-test-ulps: Update.
31271         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31273 2014-06-23  Roland McGrath  <roland@hack.frob.com>
31275         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
31276         Moved ...
31277         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
31278         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
31279         Moved ...
31280         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
31281         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
31282         Moved ...
31283         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
31284         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
31285         Moved ...
31286         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
31287         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
31288         File removed.
31289         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
31290         File removed.
31291         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
31292         File removed.
31293         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
31294         File removed.
31295         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
31296         File removed.
31297         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
31298         File removed.
31299         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
31300         File removed.
31301         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
31302         File removed.
31303         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
31304         File removed.
31305         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
31306         File removed.
31307         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
31308         File removed.
31309         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
31310         File removed.
31311         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
31312         Moved ...
31313         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
31314         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
31315         Moved ...
31316         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
31317         ... here.
31318         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
31319         Moved ...
31320         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
31321         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
31322         Moved ...
31323         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
31324         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
31325         Moved ...
31326         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
31327         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
31328         Moved ...
31329         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
31330         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
31331         Moved ...
31332         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
31333         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
31334         Moved ...
31335         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
31336         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
31337         Moved ...
31338         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
31339         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
31340         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
31341         ... here.
31342         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
31343         Moved ...
31344         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
31345         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
31346         Moved ...
31347         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
31348         ... here.
31349         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
31350         Moved ...
31351         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
31352         ... here.
31353         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
31354         Moved ...
31355         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
31356         ... here.
31357         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
31358         Moved ...
31359         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
31360         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
31361         Moved ...
31362         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
31363         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
31364         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
31365         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
31366         Moved ...
31367         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
31368         ... here.
31369         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
31370         Moved ...
31371         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
31372         ... here.
31373         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
31374         Moved ...
31375         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
31376         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
31377         Moved ...
31378         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
31379         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
31380         Moved ...
31381         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
31382         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
31383         Moved ...
31384         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
31385         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
31386         Moved ...
31387         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
31388         ... here.
31389         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
31390         Moved ...
31391         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
31392         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
31393         Moved ...
31394         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
31395         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
31396         Moved ...
31397         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
31398         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
31399         Moved ...
31400         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
31401         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
31402         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
31403         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
31404         Moved ...
31405         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
31406         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
31407         Moved ...
31408         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
31409         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
31410         Moved ...
31411         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
31412         ... here.
31413         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
31414         Moved ...
31415         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
31416         ... here.
31417         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
31418         Moved ...
31419         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
31420         ... here.
31421         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
31422         Moved ...
31423         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
31424         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
31425         Moved ...
31426         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
31427         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
31428         Moved ...
31429         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
31430         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
31431         Moved ...
31432         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
31433         ... here.
31434         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
31435         Moved ...
31436         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
31437         ... here.
31438         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
31439         Moved ...
31440         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
31441         ... here.
31442         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
31443         Moved ...
31444         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
31445         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
31446         Moved ...
31447         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
31449 2014-06-23  Will Newton  <will.newton@linaro.org>
31450             Wilco  <wdijkstr@arm.com>
31452         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
31453         implementation.  Include get-rounding-mode.h.
31454         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
31455         [!libc_feholdsetround_noex_ctx]: Define
31456         libc_feholdsetround_noex_ctx.
31457         [!libc_feholdsetround_noexf_ctx]: Define
31458         libc_feholdsetround_noexf_ctx.
31459         [!libc_feholdsetround_noexl_ctx]: Define
31460         libc_feholdsetround_noexl_ctx.
31461         (libc_feholdsetround_ctx): New function.
31462         (libc_feresetround_ctx): New function.
31463         (libc_feholdsetround_noex_ctx): New function.
31464         (libc_feresetround_noex_ctx): New function.
31466 2014-06-23  Roland McGrath  <roland@hack.frob.com>
31468         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
31469         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
31470         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
31471         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
31472         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
31473         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
31475         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
31476         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
31477         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
31478         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
31479         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
31480         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
31481         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
31482         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
31483         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
31484         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
31485         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
31486         Moved ...
31487         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
31488         ... here.
31489         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
31490         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
31491         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
31492         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
31493         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
31494         Moved ...
31495         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
31496         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
31497         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
31498         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
31499         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
31500         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
31501         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
31502         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
31503         Moved ...
31504         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
31505         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
31506         Moved ...
31507         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
31508         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
31509         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
31510         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
31511         Moved ...
31512         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
31513         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
31514         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
31515         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
31516         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
31517         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
31518         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
31519         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
31520         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
31521         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
31522         Moved ...
31523         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
31524         ... here.
31525         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
31526         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
31527         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
31528         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
31529         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
31530         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
31531         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
31532         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
31533         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
31534         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
31535         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
31536         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
31537         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
31538         Moved ...
31539         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
31540         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
31541         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
31542         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
31543         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
31544         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
31545         Moved ...
31546         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
31547         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
31548         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
31549         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
31550         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
31552         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
31553         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
31554         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
31555         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
31556         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
31557         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
31558         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
31559         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
31560         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
31561         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
31562         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
31563         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
31564         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
31565         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
31566         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
31567         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
31568         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
31569         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
31570         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
31571         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
31572         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
31573         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
31574         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
31575         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
31576         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
31577         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
31578         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
31579         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
31581 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
31583         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
31584         (FALLOC_FL_COLLAPSE_RANGE): New macro.
31585         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
31586         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
31587         (IPV6_PMTUDISC_INTERFACE): Likewise.
31588         (IPV6_PMTUDISC_OMIT): Likewise.
31590 2014-06-23  Andreas Schwab  <schwab@suse.de>
31592         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
31593         Remove unused errout label.
31595 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31597         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
31598         macro: hardware supports Vector Crypto instructions.
31600 2014-06-23  Will Newton  <will.newton@linaro.org>
31602         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
31603         rather than __builtin_expect.
31605         * elf/dl-lookup.c (undefined_msg): Remove variable.
31606         (_dl_lookup_symbol_x): Replace undefined_msg with string
31607         literal.
31609         * elf/dl-lookup.c (do_lookup_unique): New function.
31610         (do_lookup_x): Move STB_GNU_UNIQUE handling code
31611         to a separate function.
31613 2014-06-23  Andreas Schwab  <schwab@suse.de>
31615         [BZ #17079]
31616         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
31617         before reading the next line.
31619 2014-06-23  Will Newton  <will.newton@linaro.org>
31621         * test-skeleton.c (signal_handler): Use printf and %m
31622         rather than perror.  Use printf rather than fprintf to
31623         stderr.  Use puts rather than fputs to stderr.
31624         (main): Likewise.
31626 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
31628         * nscd/nscd.c (thread_info_t): Remove typedef.
31629         (thread_info): Remove variable.
31631 2014-06-21  Allan McRae  <allan@archlinux.org>
31633         * NEWS: Mention CVE-2014-4043.
31635 2014-06-20  Roland McGrath  <roland@hack.frob.com>
31637         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
31638         * nptl/smp.h: ... here.
31640         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
31642         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
31643         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
31644         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
31645         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
31647         * nptl/allocatestack.c: Include <stack-aliasing.h>.
31648         * nptl/stack-aliasing.h: New file.
31649         * sysdeps/i386/i686/stack-aliasing.h: New file.
31650         * sysdeps/i386/i686/nptl/Makefile: File removed.
31651         * sysdeps/x86_64/stack-aliasing.h: New file.
31652         * sysdeps/x86_64/nptl/Makefile
31653         (CFLAGS-pthread_create.c): Variable removed.
31655         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
31656         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
31657         old file.
31658         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
31659         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
31660         old file.
31662 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
31664         * sysdeps/unix/sysv/linux/arm/kernel-features.h
31665         (__ASSUME_SIGFRAME_V2): Remove macro.
31666         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
31667         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
31668         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
31669         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
31670         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
31671         Declare as function.  Remove conditional macro definitions.
31672         (__default_rt_sa_restorer): Likewise.
31673         (__default_sa_restorer_v1): Remove declaration.
31674         (__default_sa_restorer_v2): Likewise.
31675         (__default_rt_sa_restorer_v1): Likewise.
31676         (__default_rt_sa_restorer_v2): Likewise.
31677         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
31678         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
31679         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
31681 2014-06-20  Roland McGrath  <roland@hack.frob.com>
31683         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
31684         (libpthread-routines): Add sysdep.
31685         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
31686         * sysdeps/unix/sysv/linux/sparc/Versions
31687         (libpthread: GLIBC_2.3.3): New version set.
31688         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
31689         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
31690         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
31691         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
31692         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
31693         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
31694         Moved ...
31695         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
31696         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
31697         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
31698         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
31699         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
31700         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
31701         * sysdeps/sparc/nptl/sem_init.c: ... here.
31702         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
31703         * sysdeps/sparc/nptl/sem_post.c: ... here.
31704         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
31705         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
31706         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
31707         * sysdeps/sparc/nptl/sem_wait.c: ... here.
31708         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
31709         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
31710         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
31711         (libpthread-routines): Add cpu_relax.
31712         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
31713         File removed.
31714         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
31715         (librt: GLIBC_2.3.3): New version set.
31716         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
31717         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
31718         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
31719         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
31720         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
31721         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
31722         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
31723         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
31724         Moved ...
31725         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
31726         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
31727         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
31728         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
31729         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
31730         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
31731         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
31732         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
31733         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
31734         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
31735         Moved ...
31736         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
31737         Update #include.
31738         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
31739         Moved ...
31740         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
31741         Update #include.
31742         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
31743         Moved ...
31744         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
31745         Update #include.
31746         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
31747         Moved ...
31748         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
31749         Update #include.
31750         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
31751         Moved ...
31752         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
31753         Update #include.
31754         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
31755         Moved ...
31756         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
31757         Update #include.
31758         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
31759         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
31760         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
31761         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
31762         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
31763         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
31764         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
31765         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
31766         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
31767         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
31768         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
31769         Moved ...
31770         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
31771         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
31772         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
31773         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
31774         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
31776 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
31778         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
31779         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
31780         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
31781         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
31782         * nscd/nscd.c: Likewise.
31783         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
31784         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
31785         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
31786         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
31788         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
31789         <kernel-features.h>.
31790         (init_mq_netlink): Remove conditional have_sock_cloexec
31791         definitions.  Remove code conditional on have_sock_cloexec < 0.
31792         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
31793         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
31794         * sysdeps/unix/sysv/linux/opensock.c: Do not include
31795         <kernel-features.h>.
31796         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
31797         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
31799 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
31801         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
31802         Add tests for memset_chk and memset.
31804         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
31805         with AVX2_Usable.
31807 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
31809         [BZ #16046]
31810         * elf/tst-dl-iter-static.c: New file.
31811         * elf/Makefile (tests-static): Add tst-dl-iter-static.
31813         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
31814         error.
31816 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
31818         * sysdeps/unix/sysv/linux/kernel-features.h
31819         (__ASSUME_F_GETOWN_EX): Remove macro.
31820         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
31821         <kernel-features.h>.
31822         (miss_F_GETOWN_EX): Remove variable or macro.
31823         (do_fcntl): Do not check miss_F_GETOWN_EX.
31824         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
31826         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
31827         Remove macro.
31828         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
31829         [!__ASSUME_AT_RANDOM]: Remove conditional code.
31830         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
31832         * sysdeps/unix/sysv/linux/kernel-features.h
31833         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
31834         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
31835         [ADJ_OFFSET_SS_READ]: Make code unconditional.
31836         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
31838 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
31840         [BZ #17075]
31841         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
31842         Fix calculation of the symbol's value.
31843         * sysdeps/arm/tst-armtlsdescloc.c: New file.
31844         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
31845         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
31846         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
31847         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
31848         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
31849         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
31850         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
31851         (modules-names): Add `tst-armtlsdescmod',
31852         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
31853         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
31854         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
31855         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
31856         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
31857         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
31858         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
31859         ($(objpfx)tst-armtlsdescloc): New dependency.
31860         ($(objpfx)tst-armtlsdescextnow): Likewise.
31861         ($(objpfx)tst-armtlsdescextlazy): Likewise.
31862         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
31863         TLS scheme support.
31864         * sysdeps/arm/configure: Regenerate.
31866 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
31868         * include/fcntl.h (__atfct_seterrno): Remove prototype.
31869         (__atfct_seterrno_2): Likewise.
31870         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
31871         <kernel-features.h>.
31872         (__ASSUME_ATFCTS): Do not undefine and redefine.
31873         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
31874         (__have_atfcts): Remove conditional definition.
31875         (__fxstatat([__NR_fstatat64]: Make code unconditional.
31876         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
31877         unreachable if [__ASSUME_ATFCTS].
31878         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
31879         not undefine and redefine.
31880         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
31881         <kernel-features.h>.
31882         (faccessat) [__NR_faccessat]: Make code unconditional.
31883         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
31884         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
31885         <kernel-features.h>.
31886         (fchmodat) [__NR_fchmodat]: Make code unconditional.
31887         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
31888         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
31889         <kernel-features.h>.
31890         (fchownat) [__NR_fchownat]: Make code unconditional.
31891         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
31892         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
31893         <kernel-features.h>.
31894         (futimesat) [__NR_futimesat]: Make code unconditional.
31895         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
31896         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
31897         <kernel-features.h>.
31898         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
31899         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
31900         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
31901         <kernel-features.h>.
31902         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
31903         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
31904         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
31905         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
31906         <kernel-features.h>.
31907         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
31908         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
31909         * sysdeps/unix/sysv/linux/linkat.c: Do not include
31910         <kernel-features.h>.
31911         (linkat) [__NR_linkat]: Make code unconditional.
31912         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
31913         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
31914         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
31915         <kernel-features.h>.
31916         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
31917         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
31918         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
31919         <kernel-features.h>.
31920         (mkdirat) [__NR_mkdirat]: Make code unconditional.
31921         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
31922         * sysdeps/unix/sysv/linux/openat.c: Do not include
31923         <kernel-features.h>.
31924         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
31925         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
31926         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
31927         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
31928         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
31929         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
31930         <kernel-features.h>.
31931         (readlinkat) [__NR_readlinkat]: Make code unconditional.
31932         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
31933         result of INLINE_SYSCALL directly, not via int variable.
31934         * sysdeps/unix/sysv/linux/renameat.c: Do not include
31935         <kernel-features.h>.
31936         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
31937         (renameat) [__NR_renameat]: Make code unconditional.
31938         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
31939         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
31940         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
31941         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
31942         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
31943         (__ASSUME_ATFCTS): Do not undefine and redefine.
31944         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
31945         <kernel-features.h>.
31946         (symlinkat) [__NR_symlinkat]: Make code unconditional.
31947         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
31948         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
31949         <kernel-features.h>.
31950         (unlinkat) [__NR_unlinkat]: Make code unconditional.
31951         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
31952         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
31953         (__ASSUME_ATFCTS): Do not undefine and redefine.
31954         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
31955         <kernel-features.h>.
31956         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
31957         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
31958         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
31959         <kernel-features.h>.
31960         (__xmknodat) [__NR_mknodat]: Make code unconditional.
31961         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
31963 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
31965         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
31967 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
31969         [BZ #17069]
31970         * posix/regcomp.c (parse_reg_exp): Deallocate partially
31971         constructed tree before returning error.
31972         * posix/bug-regexp36.c: Expand test case.
31974 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
31976         [BZ #6803]
31977         * math/libm-test.inc (scalbln_test_date):
31978         Add errno expectations.
31979         * math/w_scalblnf.c: New File.
31980         Add wrapper which checks for setting errno to ERANGE.
31981         Add weak_alias for corresponding scalbln function.
31982         * math/w_scalbln.c: Likewise.
31983         * math/w_scalblnl.c: Likewise.
31984         * math/Makefile (libm-calls): Add w_scalbln.
31985         * sysdeps/ieee754/flt-32/s_scalblnf.c:
31986         Remove weak_alias for corresponding scalbln function.
31987         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
31988         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
31989         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
31990         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
31991         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
31992         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
31993         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
31994         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
31995         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
31996         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
31997         Remove long_double_symbol for scalblnl function in libm, libc.
31998         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
31999         Add wrapper which checks for setting errno to ERANGE.
32000         Add long_double_symbol for scalblnl function in libm, libc.
32001         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
32002         Remove long_double_symbol for scalblnl in libm.
32003         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
32004         Add wrapper which checks for setting errno to ERANGE.
32005         Add long_double_symbol for scalblnl function in libm.
32006         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
32007         Do not use wrapper because of own implementation.
32009 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
32011         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
32012         3 bytes for __pad1 for x32.
32013         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
32015 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
32016             H.J. Lu  <hongjiu.lu@intel.com>
32018         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
32019         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
32020         * sysdeps/x86_64/multiarch/memset.S: Likewise.
32021         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
32022         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
32024 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
32026         [BZ #17069]
32027         * posix/regcomp.c (parse_expression): Deallocate partially
32028         constructed tree before returning error.
32029         * posix/Makefile.c (tests): Add bug-regex36.
32030         (generated): Add bug-regex36.mtrace.
32031         (tests-special): Add $(objpfx)bug-regex36-mem.out
32032         (bug-regex36-ENV): New variable.
32033         ($(objpfx)bug-regex36-mem.out): New rule.
32034         * posix/bug-regex36.c: New file.
32036 2014-06-19  Will Newton  <will.newton@linaro.org>
32038         * malloc/malloc.c (systrim): If extra is zero then return
32039         early.
32041 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
32043         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
32045 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
32047         * sysdeps/aarch64/strchr.S: New file.
32049 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
32051         [BZ #17022]
32052         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
32053         from arguments -2 or below.
32054         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
32055         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
32057 2014-06-18  Andreas Schwab  <schwab@suse.de>
32059         [BZ #17062]
32060         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
32061         of a bracket expr not to run off the end of the string.
32062         * posix/Makefile (tests): Add tst-fnmatch3.
32063         * posix/tst-fnmatch3.c: New file.
32065 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
32067         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
32068         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
32069         [$(cross-compiling) = no]: Likewise.
32070         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
32071         [$(cross-compiling) = no]: Likewise.
32073 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
32075         [BZ #17031]
32076         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
32077         double, adjusted for any remainder from the high double.
32078         * math/libm-test.inc (nearbyint): Add tests.
32079         (rint): Likewise.
32081 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32083         * nptl/sysdeps/powerpc/Makefile: Moved ...
32084         * sysdeps/powerpc/nptl/Makefile: ... here.
32085         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
32086         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
32087         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
32088         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
32089         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
32090         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
32091         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
32092         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
32093         * nptl/sysdeps/powerpc/tls.h: Moved ...
32094         * sysdeps/powerpc/nptl/tls.h: ... here.
32096 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
32098         [BZ #16681]
32099         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
32100         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
32101         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
32102         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
32103         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
32104         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
32105         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
32106         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
32107         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
32109 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
32111         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
32113 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
32115         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
32116         defined operator.
32118         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
32119         $TIMEOUTFACTOR.
32121 2014-06-16  Florian Weimer  <fweimer@redhat.com>
32123         [BZ #17058]
32124         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
32125         non-executed part of the test.
32127 2014-06-16  Andreas Schwab  <schwab@suse.de>
32129         * string/bits/string2.h (strdup, strndup): Update feature guard.
32131 2014-06-14  David S. Miller  <davem@davemloft.net>
32133         * sysdeps/sparc/fpu/libm-test-ulps: Update.
32135 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
32137         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
32138         that was previously under [RESET_PID].
32139         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
32141         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
32142         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
32143         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
32144         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
32145         (__libc_vfork): New strong alias.
32146         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
32148 2014-06-14 Andi Kleen  <ak@linux.intel.com>
32150         * sysdeps/generic/elide.h: New file.
32152 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
32154         * Makefile (installed-headers): Adjust path of pthread.h header.
32156 2014-06-13  Roland McGrath  <roland@hack.frob.com>
32158         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
32159         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
32160         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
32161         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
32163         * nptl/sysdeps/s390/Makefile: Moved ...
32164         * sysdeps/s390/nptl/Makefile: ... here.
32165         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
32166         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
32167         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
32168         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
32169         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
32170         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
32171         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
32172         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
32173         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
32174         * sysdeps/s390/nptl/pthreaddef.h: ... here.
32175         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
32176         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
32177         * nptl/sysdeps/s390/tls.h: Moved ...
32178         * sysdeps/s390/nptl/tls.h: ... here.
32180         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
32181         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
32183 2014-06-13  David S. Miller  <davem@davemloft.net>
32185         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
32186         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
32187         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
32188         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
32189         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
32190         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
32191         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
32192         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
32193         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
32194         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
32195         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
32196         Remove RESET_PID cpp guards.
32197         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
32198         Remove RESET_PID cpp guards.
32199         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
32201 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
32203         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
32204         __sp to uintptr_t.
32206 2014-06-13  Andi Kleen  <ak@linux.intel.com>
32208         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
32209         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
32210         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
32211         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
32212         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
32213         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
32214         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
32215         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
32216         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
32217         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
32218         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
32219         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
32220         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
32221         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
32222         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
32223         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
32224         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
32225         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
32226         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
32227         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
32229         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
32230         (pthread_rwlock_rdlock): Add elision.
32231         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
32232         (pthread_rwlock_wrlock): Add elision.
32233         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
32234         (pthread_rwlock_trywrlock): Add elision.
32235         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
32236         (pthread_rwlock_tryrdlock): Add elision.
32237         * nptl/pthread_rwlock_unlock.c: Include elide.h.
32238         (pthread_rwlock_tryrdlock): Add elision unlock.
32239         * nptl/sysdeps/pthread/pthread.h:
32240         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
32241         (PTHREAD_RWLOCK_INITIALIZER,
32242         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
32243         Handle new elision field.
32244         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
32245         * sysdeps/arm/nptl/bits/pthreadtypes.h
32246         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
32247         * sysdeps/sh/nptl/bits/pthreadtypes.h
32248         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
32249         * sysdeps/tile/nptl/bits/pthreadtypes.h
32250         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
32251         * sysdeps/a/nptl/bits/pthreadtypes.h
32252         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
32253         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
32254         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
32255         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
32256         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
32257         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
32258         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
32259         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
32260         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
32261         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
32262         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
32263         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
32264         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
32265         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
32266         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
32267         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
32268         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
32269         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
32270         (elision_init): Set try_xbegin to zero when no RTM.
32271         * sysdeps/x86/nptl/bits/pthreadtypes.h
32272         (pthread_rwlock_t): Change __pad1 to __rwelision.
32273         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
32275 2014-06-13  Andi Kleen  <ak@linux.intel.com>
32277         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
32278         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
32279         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
32280         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
32282 2014-06-13  Meador Inge  <meadori@codesourcery.com>
32284         [BZ #16996]
32285         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
32286         that the cached result has been set before returning it.
32288 2014-06-12  Roland McGrath  <roland@hack.frob.com>
32290         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
32291         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
32292         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
32293         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
32294         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
32295         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
32297         * nptl/sysdeps/sparc/Makefile: Moved ...
32298         * sysdeps/sparc/nptl/Makefile: ... here.
32299         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
32300         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
32301         * nptl/sysdeps/sparc/tls.h: Moved ...
32302         * sysdeps/sparc/nptl/tls.h: ... here.
32303         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
32304         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
32305         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
32306         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
32307         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
32308         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
32309         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
32310         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
32311         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
32312         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
32313         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
32314         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
32315         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
32316         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
32317         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
32318         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
32319         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
32320         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
32321         Update #include.
32322         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
32323         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
32324         Update #include.
32325         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
32326         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
32327         Update #include.
32328         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
32329         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
32330         Update #include.
32332         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
32334         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
32335         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
32337         * sysdeps/pthread/posix-timer.h: Include <list.h>.
32338         (struct list_links): Type removed.
32339         (struct thread_node, struct timer_node): Replace struct list_links
32340         with struct list_head.
32341         (list_unlink_ip): Likewise.
32342         * sysdeps/pthread/timer_routines.c
32343         (timer_free_list, thread_free_list, thread_active_list): Likewise.
32344         (list_append, list_insbefore): Likewise.
32345         (list_init): Function removed.
32346         (thread_init, init_module): Use INIT_LIST_HEAD instead.
32347         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
32348         * sysdeps/pthread/Makefile: ... here, new file.
32350         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
32351         * sysdeps/nptl/Implies: ... here.
32352         * sysdeps/unix/sysv/linux/Implies: Add nptl.
32353         * nptl/sysdeps/pthread/list.h: Moved ...
32354         * include/list.h: ... here.
32355         * nptl/sysdeps/pthread/createthread.c: Moved ...
32356         * nptl/createthread.c: ... here.
32357         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
32358         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
32359         * nptl/pt-longjmp.c: ... here.
32360         * nptl/sysdeps/pthread/Makefile: Moved ...
32361         * sysdeps/nptl/Makefile: ... here.
32362         * nptl/sysdeps/pthread/Subdirs: Moved ...
32363         * sysdeps/nptl/Subdirs: ... here.
32364         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
32365         * sysdeps/nptl/aio_misc.h: ... here.
32366         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
32367         * sysdeps/nptl/bits/libc-lock.h: ... here.
32368         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
32369         * sysdeps/nptl/bits/libc-lockP.h: ... here.
32370         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
32371         * sysdeps/nptl/bits/stdio-lock.h: ... here.
32372         * nptl/sysdeps/pthread/configure: Moved ...
32373         * sysdeps/nptl/configure: ... here.
32374         * nptl/sysdeps/pthread/configure.ac: Moved ...
32375         * sysdeps/nptl/configure.ac: ... here.
32376         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
32377         * sysdeps/nptl/gai_misc.h: ... here.
32378         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
32379         * sysdeps/nptl/librt-cancellation.c: ... here.
32380         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
32381         * sysdeps/nptl/malloc-machine.h: ... here.
32382         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
32383         * sysdeps/nptl/pthread-functions.h: ... here.
32384         * nptl/sysdeps/pthread/pthread.h: Moved ...
32385         * sysdeps/nptl/pthread.h: ... here.
32386         * nptl/sysdeps/pthread/setxid.h: Moved ...
32387         * sysdeps/nptl/setxid.h: ... here.
32388         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
32389         * sysdeps/nptl/sigfillset.c: ... here.
32390         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
32391         * sysdeps/nptl/tcb-offsets.h: ... here.
32392         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
32393         * sysdeps/nptl/tst-mqueue8x.c: ... here.
32394         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
32395         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
32396         * nptl/sysdeps/pthread/allocalim.h: Moved ...
32397         * sysdeps/pthread/allocalim.h: ... here.
32398         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
32399         * sysdeps/pthread/bits/sigthread.h: ... here.
32400         * nptl/sysdeps/pthread/flockfile.c: Moved ...
32401         * sysdeps/pthread/flockfile.c: ... here.
32402         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
32403         * sysdeps/pthread/ftrylockfile.c: ... here.
32404         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
32405         * sysdeps/pthread/funlockfile.c: ... here.
32406         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
32407         * sysdeps/pthread/posix-timer.h: ... here.
32408         * nptl/sysdeps/pthread/timer_create.c: Moved ...
32409         * sysdeps/pthread/timer_create.c: ... here.
32410         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
32411         * sysdeps/pthread/timer_delete.c: ... here.
32412         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
32413         * sysdeps/pthread/timer_getoverr.c: ... here.
32414         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
32415         * sysdeps/pthread/timer_gettime.c: ... here.
32416         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
32417         * sysdeps/pthread/timer_routines.c: ... here.
32418         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
32419         * sysdeps/pthread/timer_settime.c: ... here.
32420         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
32421         * sysdeps/pthread/tst-timer.c: ... here.
32422         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
32423         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
32425         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
32426         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
32428         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
32429         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
32430         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
32431         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
32432         Update #include target.
32433         * nptl/sysdeps/i386/i686/Makefile: Moved ...
32434         * sysdeps/i386/i686/nptl/Makefile: ... here.
32435         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
32436         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
32437         Update #include target.
32438         * nptl/sysdeps/i386/i686/tls.h: Moved ...
32439         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
32440         * nptl/sysdeps/i386/Makefile: Moved ...
32441         * sysdeps/i386/nptl/Makefile: ... here.
32442         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
32443         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
32444         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
32445         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
32446         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
32447         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
32448         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
32449         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
32450         * sysdeps/i386/nptl/pthreaddef.h: ... here.
32451         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
32452         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
32453         * nptl/sysdeps/i386/tls.h: Moved ...
32454         * sysdeps/i386/nptl/tls.h: ... here.
32456         * sysdeps/sh/Makefile [$(subdir) = csu]
32457         (gen-as-const-headers): Add tcb-offsets.sym.
32458         * nptl/sysdeps/sh/Makefile: File removed.
32459         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
32460         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
32461         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
32462         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
32463         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
32464         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
32465         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
32466         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
32467         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
32468         * sysdeps/sh/nptl/pthreaddef.h: ... here.
32469         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
32470         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
32471         * nptl/sysdeps/sh/tls.h: Moved ...
32472         * sysdeps/sh/nptl/tls.h: ... here.
32473         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
32474         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
32475         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
32476         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
32477         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
32478         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
32479         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
32480         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
32481         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
32482         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
32483         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
32484         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
32485         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
32486         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
32487         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
32488         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
32489         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
32490         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
32491         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
32492         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
32493         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
32494         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
32495         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
32496         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
32497         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
32498         Moved ...
32499         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
32500         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
32501         Moved ...
32502         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
32503         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
32504         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
32505         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
32506         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
32507         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
32508         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
32509         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
32510         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
32511         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
32512         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
32513         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
32514         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
32515         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
32516         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
32517         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
32518         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
32519         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
32520         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
32522 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
32524         * posix/spawn_faction_addopen.c: Include string.h.
32526 2014-06-11  Roland McGrath  <roland@hack.frob.com>
32528         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
32529         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
32530         * nptl/sysdeps/x86_64/Makefile: Moved ...
32531         * sysdeps/x86_64/nptl/Makefile: ... here.
32532         * nptl/sysdeps/x86_64/configure: Moved ...
32533         * sysdeps/x86_64/nptl/configure: ... here.
32534         * nptl/sysdeps/x86_64/configure.ac: Moved ...
32535         * sysdeps/x86_64/nptl/configure.ac: ... here.
32536         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
32537         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
32538         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
32539         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
32540         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
32541         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
32542         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
32543         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
32544         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
32545         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
32546         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
32547         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
32548         * nptl/sysdeps/x86_64/tls.h: Moved ...
32549         * sysdeps/x86_64/nptl/tls.h: ... here.
32550         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
32551         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
32552         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
32553         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
32555         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
32557 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32559         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32561 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
32563         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
32564         type.
32565         [POSIX] (off_t): Likewise.
32566         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
32567         [POSIX] (S_ISBLK): Require macro.
32568         [POSIX] (S_ISCHR): Likewise.
32569         [POSIX] (S_ISDIR): Likewise.
32570         [POSIX] (S_ISFIFO): Likewise.
32571         [POSIX] (S_ISREG): Likewise.
32572         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
32573         optional-macro.
32574         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
32575         type.
32576         [POSIX] (time_t): Likewise.
32577         [POSIX] (timer_t): Likewise.
32579 2014-06-11  Florian Weimer  <fweimer@redhat.com>
32581         [BZ #17048]
32582         * posix/spawn_int.h (struct __spawn_action): Make the path string
32583         non-const to support deallocation.
32584         * posix/spawn_faction_addopen.c
32585         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
32586         * posix/spawn_faction_destroy.c
32587         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
32588         path in all spawn_do_open actions.
32589         * posix/tst-spawn.c (do_test): Exercise the copy operation in
32590         posix_spawn_file_actions_addopen.
32592 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
32594         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
32595         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
32596         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
32597         conditional code always true.
32598         (__libc_vfork): New alias.
32600 2014-06-11  Roland McGrath  <roland@hack.frob.com>
32602         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
32603         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
32605         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
32607         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
32608         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
32610         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
32611         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
32613         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
32614         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
32616 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
32618         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
32619         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
32620         multiarch strcmp for PPC64.
32621         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
32622         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
32623         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
32624         multiarch optimizations.
32625         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
32626         (__libc_ifunc_impl_list): Likewise.
32628 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
32630         * benchtests/scripts/validate_benchout.py: New script.
32631         * benchtests/Makefile (bench-func): Call it.
32632         * benchtests/scripts/benchout.schema.json: New file.
32634 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
32636         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
32637         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
32638         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
32639         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
32640         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
32641         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
32642         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
32643         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
32644         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
32645         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
32646         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
32647         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
32648         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
32649         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
32650         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
32651         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
32652         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
32653         Moved ...
32654         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
32655         ... here.
32656         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
32657         Moved ...
32658         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
32659         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
32660         Moved ...
32661         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
32662         ... here.
32663         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
32664         Moved ...
32665         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
32666         ... here.
32667         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
32668         Moved ...
32669         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
32670         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
32671         Moved ...
32672         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
32673         ... here.
32674         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
32675         Moved ...
32676         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
32677         ... here.
32678         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
32679         Moved ...
32680         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
32681         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
32682         Moved ...
32683         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
32684         ... here.
32685         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
32686         Moved ...
32687         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
32688         ... here.
32689         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
32690         Moved ...
32691         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
32692         ... here.
32693         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
32694         Moved ...
32695         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
32696         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
32697         Moved ...
32698         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
32699         ... here.
32700         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
32701         Moved ...
32702         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
32703         ... here.
32704         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
32705         Moved ...
32706         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
32707         ... here.
32708         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
32709         Moved ...
32710         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
32711         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
32712         Moved ...
32713         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
32714         ... here.
32715         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
32716         Moved ...
32717         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
32718         ... here.
32719         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
32720         Moved ...
32721         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
32722         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
32723         Moved ...
32724         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
32725         ... here.
32726         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
32727         Moved ...
32728         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
32729         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
32730         Moved ...
32731         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
32732         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
32733         Moved ...
32734         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
32735         ... here.
32736         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
32737         Moved ...
32738         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
32739         ... here.
32740         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
32741         Moved ...
32742         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
32743         ... here.
32744         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
32745         Moved ...
32746         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
32747         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
32748         Moved ...
32749         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
32750         ... here.
32751         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
32752         Moved ...
32753         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
32754         ... here.
32755         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
32756         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
32757         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
32758         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
32759         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
32760         Moved ...
32761         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
32762         ... here.
32763         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
32764         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
32765         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
32766         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
32767         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
32768         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
32769         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
32770         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
32771         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
32772         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
32773         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
32774         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
32775         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
32776         Moved ...
32777         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
32778         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
32779         Moved ...
32780         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
32781         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
32782         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
32783         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
32784         Moved ...
32785         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
32786         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
32787         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
32788         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
32789         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
32790         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
32791         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
32793 2014-06-10  Wilco  <wdijkstr@arm.com>
32795         * math/test-fenv-return.c: New file.
32796         * math/Makefile: Add new test test-fenv-return.
32798 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
32800         [BZ #17042]
32801         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
32802         when x - 1 is zero.
32803         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
32804         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
32805         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
32806         0.0L for an argument of 1.0L.
32807         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
32808         Likewise.
32809         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
32810         value when x - 1 is zero.
32811         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
32812         * sysdeps/i386/fpu/libm-test-ulps: Update.
32813         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32815 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
32817         [BZ #15119]
32818         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
32820 2014-06-09  Roland McGrath  <roland@hack.frob.com>
32822         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
32823         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
32825 2014-06-09  Roland McGrath  <roland@hack.frob.com>
32827         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
32828         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
32830         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
32831         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
32833         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
32834         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
32836         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
32837         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
32839         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
32840         if not already defined.
32841         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
32842         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
32843         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
32844         (TLS_INIT_TP): Use it.
32845         (TLS_DEFINE_INIT_TP): New macro.
32846         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
32848 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
32850         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
32851         constant.
32852         [POSIX] (IXANY): Likewise.
32853         [POSIX] (OLCUC): Likewise.
32854         [POSIX || POSIX2008] (CBAUD): Do not allow.
32855         [POSIX || POSIX2008] (DEFECHO): Likewise.
32856         [POSIX || POSIX2008] (ECHOCTL): Likewise.
32857         [POSIX || POSIX2008] (ECHOKE): Likewise.
32858         [POSIX || POSIX2008] (ECHOPRT): Likewise.
32859         [POSIX || POSIX2008] (EXTA): Likewise.
32860         [POSIX || POSIX2008] (EXTB): Likewise.
32861         [POSIX || POSIX2008] (FLUSHO): Likewise.
32862         [POSIX || POSIX2008] (LOBLK): Likewise.
32863         [POSIX || POSIX2008] (PENDIN): Likewise.
32864         [POSIX || POSIX2008] (SWTCH): Likewise.
32865         [POSIX || POSIX2008] (VDISCARD): Likewise.
32866         [POSIX || POSIX2008] (VDSUSP): Likewise.
32867         [POSIX || POSIX2008] (VLNEXT): Likewise.
32868         [POSIX || POSIX2008] (VREPRINT): Likewise.
32869         [POSIX || POSIX2008] (VSTATUS): Likewise.
32870         [POSIX || POSIX2008] (VWERASE): Likewise.
32871         (B*): Change to B[0123456789]*.
32872         * conform/data/time.h-data [POSIX || UNIX98]
32873         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
32874         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
32875         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
32876         [POSIX] (tm_*): Do not allow.
32878 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
32880         * Makefile (install): Don't set LANGUAGE.
32881         * Makefile.in (install): Likewise.
32882         * assert/Makefile (test-assert-ENV): Remove variable.
32883         (test-assert-perr-ENV): Likewise.
32884         * elf/Makefile (neededtest4-ENV): Likewise.
32885         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
32886         [$(cross-compiling) = no]: Don't set LANGUAGE.
32887         * io/ftwtest-sh (LANG): Remove variable.
32888         * libio/Makefile (tst-widetext-ENV): Likewise.
32889         * manual/install.texi (Running make install): Don't refer to
32890         environment settings for make install.
32891         * INSTALL: Regenerated.
32892         * nptl/tst-tls6.sh: Don't set LANG.
32893         * posix/globtest.sh (LANG): Remove variable.
32894         * string/Makefile (tester-ENV): Likewise.
32895         (inl-tester-ENV): Likewise.
32896         (noinl-tester-ENV): Likewise.
32897         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
32898         [$(cross-compiling) = no]: Don't set LANGUAGE.
32899         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
32900         without explicit environment settings.
32902 2014-06-06  Roland McGrath  <roland@hack.frob.com>
32904         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
32905         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
32906         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
32907         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
32909 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
32911         * crypt/crypt-private.h [DOS]: Add some includes taken from the
32912         other files in the crypt directory.
32913         * crypt/crypt.c: Remove duplicate includes.
32914         * crypt/crypt-entry.c: Likewise.
32915         * crypt/crypt_util.c: Likewise.
32917 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
32919         * Makeconfig (run-program-env): New variable.
32920         (run-program-prefix-before-env): Likewise.
32921         (run-program-prefix-after-env): Likewise.
32922         (run-program-prefix): Define in terms of new variables.
32923         (built-program-cmd-before-env): New variable.
32924         (built-program-cmd-after-env): Likewise.
32925         (built-program-cmd): Define in terms of new variables.
32926         (test-program-prefix-before-env): New variable.
32927         (test-program-prefix-after-env): Likewise.
32928         (test-program-prefix): Define in terms of new variables.
32929         (test-program-cmd-before-env): New variable.
32930         (test-program-cmd-after-env): Likewise.
32931         (test-program-cmd): Define in terms of new variables.
32932         * Rules (make-test-out): Use $(run-program-env).
32933         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
32934         (help): Do not mention environment variables.  Mention
32935         --timeoutfactor option.
32936         (timeoutfactor): New variable.
32937         (blacklist_exports): Remove function.
32938         (exports): Remove variable.
32939         (command): Do not include ${exports}.
32940         * manual/install.texi (Configuring and compiling): Do not mention
32941         test wrappers preserving environment variables.  Mention that last
32942         assignment to a variable must take precedence.
32943         * INSTALL: Regenerated.
32944         * benchtests/Makefile (run-bench): Use $(run-program-env).
32945         * catgets/Makefile ($(objpfx)test1.cat): Use
32946         $(built-program-cmd-before-env), $(run-program-env) and
32947         $(built-program-cmd-after-env).
32948         ($(objpfx)test2.cat): Do not specify environment variables
32949         explicitly.
32950         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
32951         $(run-program-env) and $(built-program-cmd-after-env).
32952         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
32953         $(run-program-env) and $(test-program-cmd-after-env).
32954         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
32955         explicitly.
32956         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
32957         run_program_env and test_program_cmd_after_env arguments.
32958         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
32959         * elf/tst-pathopt.sh: Use run_program_env argument.
32960         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
32961         $(test-wrapper-env) and $(run-program-env).
32962         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
32963         run_program_env arguments.
32964         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
32965         * intl/Makefile ($(objpfx)tst-gettext.out): Use
32966         $(test-program-prefix-before-env), $(run-program-env) and
32967         $(test-program-prefix-after-env).
32968         ($(objpfx)tst-gettext2.out): Likewise.
32969         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
32970         run_program_env and test_program_prefix_after_env arguments.
32971         * intl/tst-gettext2.sh: Likewise.
32972         * intl/tst-gettext4.sh: Do not set environment variables
32973         explicitly.
32974         * intl/tst-gettext6.sh: Likewise.
32975         * intl/tst-translit.sh: Likewise.
32976         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
32977         $(test-program-prefix-before-env), $(run-program-env) and
32978         $(test-program-prefix-after-env).
32979         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
32980         run_program_env and test_program_prefix_after_env arguments.
32981         * math/Makefile (run-regen-ulps): Use $(run-program-env).
32982         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
32983         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
32984         explicitly with each use of ${test_wrapper_env}.
32985         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
32986         $(test-program-prefix-before-env), $(run-program-env) and
32987         $(test-program-prefix-after-env).
32988         * posix/tst-getconf.sh: Do not set environment variables
32989         explicitly.
32990         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
32991         run_program_env and test_program_prefix_after_env arguments.
32992         * stdio-common/tst-printf.sh: Do not set environment variables
32993         explicitly.
32994         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
32995         $(test-program-prefix-before-env), $(run-program-env) and
32996         $(test-program-prefix-after-env).
32997         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
32998         run_program_env and test_program_prefix_after_env arguments.
32999         Split $test calls into $test_pre and $test.
33000         * timezone/Makefile (build-testdata): Use
33001         $(built-program-cmd-before-env), $(run-program-env) and
33002         $(built-program-cmd-after-env).
33004 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33006         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
33007         strlen for non SHARED builds.
33009 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
33011         * nptl/allocatestack.c (check_list): Inlined function...
33012         (__reclaim_stacks): ... here.
33014 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
33016         [BZ #15698]
33017         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
33018         memory overrun.
33020 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
33022         * Rules (make-test-out): Include
33023         LOCPATH=$(common-objpfx)localedata in default environment.
33024         * debug/Makefile (tst-chk1-ENV): Remove variable.
33025         (tst-chk2-ENV): Likewise.
33026         (tst-chk3-ENV): Likewise.
33027         (tst-chk4-ENV): Likewise.
33028         (tst-chk5-ENV): Likewise.
33029         (tst-chk6-ENV): Likewise.
33030         (tst-lfschk1-ENV): Likewise.
33031         (tst-lfschk2-ENV): Likewise.
33032         (tst-lfschk3-ENV): Likewise.
33033         (tst-lfschk4-ENV): Likewise.
33034         (tst-lfschk5-ENV): Likewise.
33035         (tst-lfschk6-ENV): Likewise.
33036         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
33037         (tst-iconv7-ENV): Likewise.
33038         * intl/Makefile (LOCPATH-ENV): Likewise.
33039         (tst-codeset-ENV): Likewise.
33040         (tst-gettext3-ENV): Likewise.
33041         (tst-gettext5-ENV): Likewise.
33042         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
33043         (tst-fopenloc-ENV): Likewise.
33044         (tst-fgetws-ENV): Remove variable.
33045         (tst-ungetwc1-ENV): Likewise.
33046         (tst-ungetwc2-ENV): Likewise.
33047         (bug-ungetwc2-ENV): Likewise.
33048         (tst-swscanf-ENV): Likewise.
33049         (bug-ftell-ENV): Likewise.
33050         (tst-fgetwc-ENV): Likewise.
33051         (tst-fseek-ENV): Likewise.
33052         (tst-ftell-partial-wide-ENV): Likewise.
33053         (tst-ftell-active-handler-ENV): Likewise.
33054         (tst-ftell-append-ENV): Likewise.
33055         * posix/Makefile (tst-fnmatch-ENV): Likewise.
33056         (tst-regexloc-ENV): Likewise.
33057         (bug-regex1-ENV): Likewise.
33058         (tst-regex-ENV): Likewise.
33059         (tst-regex2-ENV): Likewise.
33060         (bug-regex5-ENV): Likewise.
33061         (bug-regex6-ENV): Likewise.
33062         (bug-regex17-ENV): Likewise.
33063         (bug-regex18-ENV): Likewise.
33064         (bug-regex19-ENV): Likewise.
33065         (bug-regex20-ENV): Likewise.
33066         (bug-regex22-ENV): Likewise.
33067         (bug-regex23-ENV): Likewise.
33068         (bug-regex25-ENV): Likewise.
33069         (bug-regex26-ENV): Likewise.
33070         (bug-regex30-ENV): Likewise.
33071         (bug-regex32-ENV): Likewise.
33072         (bug-regex33-ENV): Likewise.
33073         (bug-regex34-ENV): Likewise.
33074         (bug-regex35-ENV): Likewise.
33075         (tst-rxspencer-ENV): Likewise.
33076         (tst-rxspencer-no-utf8-ENV): Likewise.
33077         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
33078         (tst-sscanf-ENV): Likewise.
33079         (tst-swprintf-ENV): Likewise.
33080         (tst-swscanf-ENV): Likewise.
33081         (test-vfprintf-ENV): Likewise.
33082         (scanf13-ENV): Likewise.
33083         (bug14-ENV): Likewise.
33084         (tst-grouping-ENV): Likewise.
33085         * stdlib/Makefile (tst-strtod-ENV): Likewise.
33086         (tst-strtod3-ENV): Likewise.
33087         (tst-strtod4-ENV): Likewise.
33088         (tst-strtod5-ENV): Likewise.
33089         (testmb2-ENV): Likewise./
33090         * string/Makefile (tst-strxfrm-ENV): Likewise.
33091         (tst-strxfrm2-ENV): Likewise.
33092         (bug-strcoll1-ENV): Likewise.
33093         (test-strcasecmp-ENV): Likewise.
33094         (test-strncasecmp-ENV): Likewise.
33095         * time/Makefile (tst-strptime-ENV): Likewise.
33096         (tst-ftime_l-ENV): Likewise.
33097         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
33098         (tst-mbrtowc-ENV): Likewise.
33099         (tst-wcrtomb-ENV): Likewise.
33100         (tst-mbrtowc2-ENV): Likewise.
33101         (tst-c16c32-1-ENV): Likewise.
33102         (tst-mbsnrtowcs-ENV): Likewise.
33104 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
33106         * manual/resource.texi (How to get information about the memory
33107         subsystem?): Fix typo.
33108         Reported by Peon de la Parra Ivan <peon@keba.com>
33110 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
33112         [BZ #16882]
33113         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
33114         (pthread_spin_lock): Branch out of spin loop to proper location.
33115         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
33116         (pthread_spin_lock): Likewise.
33118         * nptl/tst-spin4.c: New test.
33119         * nptl/Makefile (tests): Add tst-spin4.
33121 2014-06-03  Andreas Schwab  <schwab@suse.de>
33123         [BZ #15946]
33124         * resolv/res_send.c (send_dg): Reload file descriptor after
33125         calling reopen.
33127 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
33129         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
33131 2014-06-03  Richard Henderson  <rth@redhat.com>
33133         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
33134         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
33135         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
33136         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
33137         in the SAVE_PID block.
33138         (__libc_vfork): New alias.
33139         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
33141         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
33142         child in registers, not on the stack.  Remove RESET_PID conditionals.
33143         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
33145 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
33147         * sysdeps/aarch64/libm-test-ulps: Regenerate.
33149 2014-06-03  Wilco  <wdijkstr@arm.com>
33151         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
33152         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
33153         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
33154         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
33155         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
33156         Likewise.
33158 2014-06-03  Wilco  <wdijkstr@arm.com>
33160         * sysdeps/aarch64/fpu/math_private.h
33161         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
33162         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
33163         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
33164         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
33165         Fix declarations.
33167 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
33169         * crypt/crypt-private.h: Include ufc-crypt.h.
33170         (__b64_from_24bit): Declare extern.
33171         * crypt/crypt_util.c(__b64_from_24bit): New function.
33172         (b64t): New static const variable.
33173         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
33174         (b64t): Remove variable.
33175         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
33176         * crypt/sha256-crypt.c: Include crypt-private.h.
33177         (b64t): Remove variable.
33178         (__sha256_crypt_r): Remove b64_from_24bit and replace
33179         with __b64_from_24bit.
33180         * crypt/sha512-crypt.c: Likewise.
33182 2014-06-02  Roland McGrath  <roland@hack.frob.com>
33184         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
33185         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
33186         Label the code __libc_vfork rather than __vfork.
33187         [!NOT_IN_libc] (vfork): Define as weak alias.
33188         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
33189         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
33190         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
33192 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
33194         * malloc/malloc.c (malloc_info): Fix format specifier for
33195         n_mmaps.
33197 2014-06-02  Wilco  <wdijkstr@arm.com>
33199         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
33200         FPCR write.
33202 2014-06-02  Wilco  <wdijkstr@arm.com>
33204         [BZ #17009]
33205         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
33206         Rewrite to reduce FPCR/FPSR accesses.
33208 2014-06-01  David S. Miller  <davem@davemloft.net>
33210         * sysdeps/sparc/fpu/libm-test-ulps: Update.
33212 2014-05-31  David S. Miller  <davem@davemloft.net>
33214         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
33215         to occur in round to nearest mode when |x| >= 2.0
33217 2014-05-30  Richard Henderson  <rth@twiddle.net>
33219         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
33220         (PSEUDO_RET_NOERRNO): Remove.
33221         (ret): Don't redefine.
33222         (ret_NOERRNO): Define in terms of ret.
33223         (ret_ERRVAL): Likewise.
33225         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
33226         use of PSEUDO_RET; perform the error check directly.
33228 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
33230         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
33231         with __int128_t.
33233 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
33235         * malloc/malloc (malloc_info): Fix formatting.
33237 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
33238             Roland McGrath  <roland@hack.frob.com>
33240         * malloc/malloc (malloc_info): Also print mmapped statistics.
33242 2014-05-30  Roland McGrath  <roland@hack.frob.com>
33244         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
33245         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
33247 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
33249         * malloc/malloc.c (malloc_info): Inline mi_arena.
33251 2014-05-29  Richard Henderson  <rth@twiddle.net>
33253         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
33254         Remove comma before expanding ASM_ARGS_##nr.
33255         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
33256         Make _x0 a strict output; make _x8 a strict input; adjust expansion
33257         of ASM_ARGS_##nr.
33258         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
33259         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
33260         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
33261         (ASM_ARGS_1): Add leading comma.
33263         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
33264         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
33265         to __errno_location.
33266         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
33267         Remove the expected plt for __errno_location.
33269         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
33270         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
33271         call to __read_tp.
33273         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
33274         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
33275         it and break it down.
33276         (DOCARGS_0, DOCARGS_1): Do nothing.
33277         (DOCARGS_2): Update to store into the new stack frame.
33278         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
33279         (UNDOCARGS_1): Update to restore from the new stack frame.
33280         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
33281         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
33283         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
33284         (SINGLE_THREAD_P): New parameter for result regno.
33285         (PSEUDO): Update to match; use cbz instead of beq.
33287         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
33288         Use ENTRY to define the _nocancel entry point.  Share the syscall
33289         and syscall error check paths with the cancel path.
33290         (PSEUDO_END): New.
33292         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
33293         whitespace; tabs before and after asm mnemonics.
33295 2014-05-29  Eric Wong  <normalperson@yhbt.net>
33297         [BZ #15132]
33298         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
33299         Call fstat64 or stat64 internally, depending on arguments passed.
33300         Replace stat buffer argument with file descriptor argument.
33301         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
33302         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
33303         Pass fd to __internal_statvfs instead of calling fstat64.
33304         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
33305         Pass fd to __internal_statvfs64 instead of calling fstat64.
33306         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
33307         Pass -1 to __internal_statvfs instead of calling stat64.
33308         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
33309         Pass -1 to __internal_statvfs64 instead of calling stat64.
33311 2014-05-28  Roland McGrath  <roland@hack.frob.com>
33313         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
33314         that was previously under [RESET_PID].
33315         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
33317         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
33318         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
33320 2014-05-27  Roland McGrath  <roland@hack.frob.com>
33322         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
33324         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
33325         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
33327 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
33329         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
33331 2014-05-27  Andreas Schwab  <schwab@suse.de>
33333         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
33334         TLS_INIT_TP macro.
33335         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
33336         * elf/rtld.c (init_tls, dl_main): Likewise.
33337         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
33338         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
33339         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
33340         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
33341         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
33342         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
33343         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
33344         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
33345         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
33346         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
33347         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
33348         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
33349         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
33350         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
33351         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
33352         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
33353         * sysdeps/generic/tls.h: Update description.
33355 2014-05-27  Will Newton  <will.newton@linaro.org>
33357         [BZ #16990]
33358         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
33359         and restore r2 rather than just restoring.
33361 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
33363         [BZ #16724]
33364         * libio/tst-ftell-append.c: New test case.
33365         * libio/Makefile (tests): Add test case.
33366         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
33367         append mode.
33368         * libio/wfileops.c (do_ftell_wide): Likewise.
33370 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33372         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33374         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
33375         ...
33376         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
33377         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
33378         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
33379         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
33380         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
33381         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
33382         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
33383         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
33384         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
33385         Moved ...
33386         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
33387         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
33388         Moved ...
33389         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
33390         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
33391         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
33392         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
33393         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
33394         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
33395         ...
33396         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
33397         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
33398         Moved ...
33399         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
33400         here.
33401         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
33402         ...
33403         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
33404         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
33405         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
33407         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
33408         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
33409         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
33410         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
33412         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
33413         merge into ...
33414         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
33415         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
33416         ...
33417         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
33418         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
33419         ...
33420         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
33421         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
33422         Moved ...
33423         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
33424         here.
33425         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
33426         Moved ...
33427         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
33428         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
33429         Moved ...
33430         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
33432         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
33433         conditional [RESET_PID].
33434         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
33435         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
33436         removed.
33437         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
33438         removed.
33440         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
33441         <tcb-offsets.h>.
33442         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
33443         (__libc_vfork): New strong alias.
33444         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
33445         removed.
33446         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
33447         Removed.
33449         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
33450         <tcb-offsets.h>.
33451         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
33452         (__libc_vfork): New strong alias.
33453         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
33454         removed.
33455         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
33456         removed.
33458 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
33460         * malloc/malloc.c (mi_arena): New function.
33461         (malloc_info): Remove nested function mi_arena. Call non-nosted
33462         function mi_arena.
33464 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33466         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
33467         by insrwi.
33468         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
33469         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
33470         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
33471         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
33472         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
33473         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
33474         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
33476 2014-05-26  Andreas Schwab  <schwab@suse.de>
33478         [BZ #16984]
33479         * locale/programs/repertoire.c (repertoire_read): Add slash
33480         between I18NPATH element and file name.
33481         * locale/programs/locfile.c (locfile_read): Likewise.
33483 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
33485         * nptl/pthread_mutexattr_settype.c
33486         (__pthread_mutexattr_settype):
33487         Disable lock elision for PTHREAD_MUTEX_NORMAL.
33489 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
33491         * nptl/tst-mutex5 (do_test):
33492         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
33494 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
33496         * benchtests/README: Document 'init' directive.
33497         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
33498         BENCH_INIT.
33499         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
33500         (parse_file): Recognize 'init' directive.
33502 2014-05-26  Kyle McMartin  <kyle@redhat.com>
33504         [BZ #16796]
33505         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
33506         alignment of struct pthread.
33508 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
33510         [BZ #16878]
33511         * nscd/netgroupcache.c (addgetnetgrentX): Look for
33512         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
33513         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
33514         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
33516 2014-05-25  Richard Henderson  <rth@twiddle.net>
33518         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
33519         (SINGLE_THREAD_P_PIC): Remove.
33520         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
33521         (SINGLE_THREAD_P_PIC): Remove.
33523         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
33524         branch to syscall error ...
33525         (PSEUDO): ... here.
33526         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
33527         from __local_syscall_error to .Lsyscall_error.
33528         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
33529         (SYSCALL_ERROR): Update label name.
33531         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
33532         Do not use DOARGS/UNDOARGS.
33533         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
33534         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
33535         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
33536         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
33537         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
33539         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
33540         block comment.
33542         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
33543         define if !NOT_IN_libc.
33544         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
33545         define with non-default symbol versions.
33547 2014-05-23  Richard Henderson  <rth@twiddle.net>
33549         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
33550         (vfork, __vfork): Define via compat_symbol.
33552         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
33553         [!HAVE_IFUNC] (vfork_compat): Remove.
33554         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
33556 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
33558         [BZ #16978]
33559         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
33560         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
33561         variable.
33563 2014-05-23  Richard Henderson  <rth@twiddle.net>
33565         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
33566         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
33567         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
33568         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
33570         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
33571         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
33572         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
33573         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
33574         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
33575         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
33576         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
33577         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
33578         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
33579         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
33580         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
33581         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
33582         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
33583         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
33584         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
33585         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
33586         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
33587         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
33588         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
33589         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
33590         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
33591         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
33592         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
33593         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
33594         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
33595         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
33596         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
33597         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
33598         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
33599         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
33600         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
33601         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
33602         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
33603         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
33604         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
33605         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
33606         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
33607         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
33608         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
33609         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
33610         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
33611         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
33612         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
33613         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
33614         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
33615         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
33616         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
33617         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
33618         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
33619         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
33620         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
33621         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
33622         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
33623         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
33624         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
33625         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
33627         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
33628         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
33629         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
33630         before exiting on error.
33631         (__libc_vfork): New strong alias.
33632         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
33633         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
33635         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
33636         that was previously under [RESET_PID].
33637         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
33639         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
33641 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
33643         [BZ #16977]
33644         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
33645         value when x - 1 is zero.
33646         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
33647         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
33648         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
33649         0.0L for an argument of 1.0L.
33650         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
33651         Likewise.
33652         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
33653         value when x - 1 is zero.
33654         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
33655         * sysdeps/i386/fpu/libm-test-ulps: Update.
33656         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33658 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
33660         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
33661         alphasort and versionsort.
33663 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33665         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
33666         macro.
33667         [copysignf]: Likewise.
33669 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
33671         * crypt/md5-crypt.c: Fix formatting.
33673 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
33675         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
33676         (b64_from_24bit): New function.
33678 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33680         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
33681         libc_hidden_builtin_def to ifunc.
33682         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
33683         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
33685 2014-05-21  Roland McGrath  <roland@hack.frob.com>
33687         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
33688         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
33690 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
33692         * nscd/Depend (linuxthreads): Remove.
33693         (nptl): Add.
33694         * resolv/Depend (linuxthreads): Remove.
33695         * rt/Depend (linuxthreads): Remove.
33697         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
33698         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
33699         $(common-objpfx)elf/.
33700         (link-libc-before-gnulib): Likewise.
33701         (elfobjdir): Remove variable.
33702         * Makefile (install): Use $(elf-objpfx) instead of
33703         $(common-objpfx)elf/.
33704         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
33705         $(elfobjdir)/.
33706         (link-libc-deps): Likewise.
33707         ($(common-objpfx)libc.so): Likewise.
33708         ($(common-objpfx)linkobj/libc.so): Likewise.
33709         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
33710         instead of $(common-objpfx)elf/.
33711         (symbolic-link-list): Likewise.
33712         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
33713         [$(cross-compiling) = no]: Likewise.
33714         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
33715         $(elfobjdir)/.
33716         (static-gnulib-arch): Likewise.
33717         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
33718         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
33719         $(common-objpfx)elf/.
33721 2014-05-21  Richard Henderson  <rth@redhat.com>
33723         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
33724         (SINGLE_THREAD_P): Use the correct width load.  Fold
33725         into the ldr offset.
33727         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
33728         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
33730 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
33732         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
33733         (libgcc_s_resume): Use __attribute_used__.
33734         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
33735         Likewise.
33737 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33739         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
33740         optimization when used with float constants.
33742         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33744 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
33746         [BZ #16915]
33747         * locale/nl_langinfo_l.c: Make direct reference to every
33748         _nl_current_CATEGORY symbol.
33749         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
33750         (tests-static): Add tst-langinfo-static.
33751         (tests-special): Add tst-langinfo-static.out.
33752         ($(objpfx)tst-langinfo.out): Redirect output.
33753         ($(objpfx)tst-langinfo-static.out): New.
33754         * localedata/tst-langinfo.sh: Send output to stdout.
33755         * localedata/tst-langinfo-static.c: New file.
33757         [BZ #16965]
33758         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
33759         when the shift amount is modulo the limb size.
33761 2014-05-20  Richard Henderson  <rth@redhat.com>
33763         [BZ #16967]
33764         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
33765         Change type of sa_flags from unsigned int to int.
33767         [BZ #16966]
33768         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
33770         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
33772 2014-05-20  Will Newton  <will.newton@linaro.org>
33774         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
33775         Test the return value of the system call in the nocancel case.
33777 2014-05-20  Will Newton  <will.newton@linaro.org>
33778             Yvan Roux  <yvan.roux@linaro.org>
33780         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
33781         #include of asm/ptrace.h.
33782         (PTRACE_GET_THREAD_AREA): Remove #undef.
33783         (PTRACE_GETHBPREGS): Likewise.
33784         (PTRACE_SETHBPREGS): Likewise.
33785         (struct user_regs_struct): New structure.
33786         (struct user_fpsimd_struct): New structure.
33787         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
33788         #include of asm/ptrace.h and second #include of sys/user.h.
33789         (PTRACE_GET_THREAD_AREA): Remove #undef.
33790         (PTRACE_GETHBPREGS): Likewise.
33791         (PTRACE_SETHBPREGS): Likewise.
33792         (ELF_NGREG): Use new struct user_regs_struct.
33793         (elf_fpregset_t): Use new struct user_fpsimd_struct.
33795 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33797         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
33798         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
33800 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
33802         [BZ #16958]
33803         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
33804         membar to avoid block loads/stores to overlap previous stores.
33806 2014-05-17  Richard Henderson  <rth@redhat.com>
33808         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
33809         Create the __##syscall_name##_nocancel entry point.
33810         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
33811         Remove; let the sysdep-cancel.h code create it.
33813 2014-05-17  David S. Miller  <davem@davemloft.net>
33815         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
33816         Protect with __USE_GNU.
33817         (TIOCSET_TEMPT): Likewise.
33818         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
33819         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
33820         these are already provided in bits/ioctl-types.h
33822 2014-05-16  Roland McGrath  <roland@hack.frob.com>
33824         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
33825         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
33827         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
33828         Use wait4 regardless of [__NR_waitpid].
33830 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
33832         PR libgcc/60166
33833         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
33834         (_FP_NANSIGN_Q): Set the quiet bit.
33836 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
33838         * benchtests/Makefile
33839         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
33840         not $(common-objpfx)math/libm.so.
33841         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
33842         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
33843         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
33844         $(common-objpfx)dlfcn/libdl.so.
33845         ($(objpfx)tst-audit8): Depend on $(libm), not
33846         $(common-objpfx)math/libm.so.
33847         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
33848         not $(common-objpfx)dlfcn/libdl.so.
33849         * math/Makefile
33850         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
33851         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
33852         [$(build-shared) = yes].
33853         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
33854         $(common-objpfx)nptl/libpthread.so.
33855         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
33856         $(common-objpfx)math/libm.so$(libm.so-version) or
33857         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
33858         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
33859         $(common-objpfx)dlfcn/libdl.so.
33860         * setjmp/Makefile (link-libm): Remove variable.
33861         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
33862         * stdio-common/Makefile (link-libm): Remove variable.
33863         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
33864         * stdlib/Makefile (link-libm): Remove variable.
33865         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
33866         ($(objpfx)tst-strtod-round): Likewise.
33867         ($(objpfx)tst-tininess): Likewise.
33868         ($(objpfx)tst-strtod-underflow): Likewise.
33869         ($(objpfx)tst-strtod6): Likewise.
33870         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
33871         $(libdl), not $(common-objpfx)nptl/libpthread.so and
33872         $(common-objpfx)dlfcn/libdl.so.
33874 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33876         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
33877         BSD terminal modes definitions.
33879 2014-05-16  Roland McGrath  <roland@hack.frob.com>
33881         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
33882         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
33884         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
33885         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
33886         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
33887         Don't do #include_next.
33888         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
33889         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
33890         Don't do #include_next.
33891         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
33892         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
33893         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
33894         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
33896 2014-05-16  Allan McRae  <allan@archlinux.org>
33898         * po/sv.po: Update Swedish translation from translation project.
33900         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
33901         in sed expression.
33903 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
33905         [BZ #16917]
33906         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
33907         errno if the TIOCGPTN ioctl fails with an error different than
33908         EINVAL.
33909         * login/tst-ptsname.c: New file.
33910         * login/Makefile (tests): Add tst-ptsname.
33912         [BZ #16943]
33913         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
33914         and prlimit64.
33916 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
33918         [BZ #16849]
33919         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
33920         herrno to return EAI_AGAIN.
33922 2014-05-14  Roland McGrath  <roland@hack.frob.com>
33924         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
33925         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
33926         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
33927         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
33928         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
33929         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
33930         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
33931         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
33932         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
33933         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
33934         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
33935         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
33936         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
33937         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
33938         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
33939         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
33940         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
33941         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
33942         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
33943         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
33944         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
33945         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
33946         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
33947         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
33948         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
33949         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
33950         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
33951         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
33952         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
33953         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
33954         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
33955         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
33956         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
33957         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
33958         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
33959         Moved ...
33960         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
33961         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
33962         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
33963         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
33964         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
33965         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
33966         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
33967         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
33968         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
33969         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
33970         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
33971         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
33972         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
33973         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
33974         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
33975         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
33976         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
33977         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
33978         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
33979         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
33980         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
33981         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
33982         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
33983         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
33984         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
33985         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
33986         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
33987         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
33988         Moved ...
33989         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
33990         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
33991         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
33992         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
33993         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
33994         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
33995         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
33996         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
33997         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
33998         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
33999         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
34000         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
34001         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
34002         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
34003         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
34004         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
34005         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
34006         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
34007         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
34008         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
34009         Moved ...
34010         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
34011         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
34012         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
34014         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
34015         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
34016         (libpthread-sysdep_routines): Add elision-related stuff here instead.
34017         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
34018         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
34019         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
34020         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
34021         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
34022         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
34023         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
34024         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
34025         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
34026         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
34027         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
34028         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
34029         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
34030         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
34031         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
34032         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
34033         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
34034         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
34035         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
34036         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
34037         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
34038         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
34039         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
34040         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
34041         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
34042         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
34043         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
34044         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
34046         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
34047         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
34049         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
34050         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
34051         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
34052         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
34053         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
34054         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
34055         Moved ...
34056         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
34057         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
34058         Moved ...
34059         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
34060         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
34061         Moved ...
34062         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
34063         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
34064         Moved ...
34065         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
34066         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
34067         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
34068         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
34069         Moved ...
34070         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
34071         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
34072         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
34073         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
34074         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
34075         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
34076         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
34077         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
34078         Moved ...
34079         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
34080         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
34081         Moved ...
34082         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
34083         ... here.
34084         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
34085         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
34086         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
34087         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
34088         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
34089         Moved ...
34090         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
34091         ... here.
34092         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
34093         Moved ...
34094         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
34095         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
34096         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
34097         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
34098         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
34099         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
34100         Moved ...
34101         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
34102         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
34103         Moved ...
34104         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
34105         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
34106         Moved ...
34107         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
34108         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
34109         Moved ...
34110         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
34111         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
34112         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
34113         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
34114         Moved ...
34115         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
34116         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
34117         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
34118         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
34119         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
34120         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
34121         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
34122         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
34123         Moved ...
34124         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
34125         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
34126         Moved ...
34127         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
34128         ... here.
34129         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
34130         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
34131         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
34132         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
34133         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
34134         Moved ...
34135         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
34136         ... here.
34137         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
34138         Moved ...
34139         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
34140         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
34141         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
34142         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
34143         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
34144         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
34145         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
34146         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
34147         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
34148         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
34149         Moved ...
34150         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
34151         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
34152         Moved ...
34153         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
34154         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
34155         Moved ...
34156         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
34157         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
34158         Moved ...
34159         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
34160         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
34161         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
34162         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
34163         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
34164         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
34165         Moved ...
34166         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
34167         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
34168         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
34169         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
34170         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
34171         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
34172         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
34173         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
34174         Moved ...
34175         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
34176         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
34177         Moved ...
34178         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
34179         ... here.
34180         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
34181         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
34182         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
34183         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
34184         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
34185         Moved ...
34186         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
34187         ... here.
34188         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
34189         Moved ...
34190         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
34191         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
34192         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
34193         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
34194         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
34195         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
34196         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
34197         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
34198         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
34199         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
34200         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
34202         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
34203         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
34205         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
34206         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
34208         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
34209         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
34210         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
34211         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
34212         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
34213         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
34214         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
34215         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
34216         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
34217         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
34218         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
34219         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
34220         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
34221         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
34222         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
34223         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
34224         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
34225         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
34226         Moved ...
34227         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
34228         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
34229         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
34230         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
34231         Moved ...
34232         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
34233         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
34234         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
34235         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
34236         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
34237         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
34238         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
34239         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
34240         Moved ...
34241         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
34242         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
34243         Moved ...
34244         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
34245         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
34246         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
34247         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
34248         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
34249         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
34250         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
34251         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
34252         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
34253         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
34254         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
34255         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
34256         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
34257         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
34258         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
34259         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
34260         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
34262         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
34263         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
34264         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
34265         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
34266         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
34268         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
34269         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
34270         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
34271         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
34272         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
34273         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
34274         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
34275         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
34276         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
34277         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
34279         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
34280         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
34282         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
34283         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
34284         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
34285         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
34286         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
34287         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
34288         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
34289         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
34290         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
34291         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
34292         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
34293         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
34294         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
34295         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
34296         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
34297         Update #include.
34298         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
34299         Likewise.
34300         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
34301         Likewise.
34302         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
34303         Likewise.
34304         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
34305         Likewise.
34306         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
34307         Likewise.
34308         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
34309         Likewise.
34310         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
34311         Likewise.
34312         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
34313         Likewise.
34314         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
34315         Likewise.
34316         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
34317         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
34318         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
34319         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
34320         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
34321         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
34322         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
34323         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
34324         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
34325         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
34326         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
34327         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
34328         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
34329         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
34330         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
34332         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
34333         that was previously under [RESET_PID].
34334         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
34335         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
34336         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
34338         * sysdeps/i386/nptl/Implies: New file.
34339         * sysdeps/x86_64/nptl/Implies: New file.
34340         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
34341         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
34342         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
34343         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
34345         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
34346         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
34347         (__libc_vfork): New strong alias.
34348         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
34349         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
34351         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
34352         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
34353         (__libc_vfork): New strong alias.
34354         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
34355         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
34357         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
34358         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
34359         (__libc_vfork): New strong alias.
34360         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
34361         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
34362         * nptl/pt-vfork.c: New file.
34363         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
34364         (libpthread: GLIBC_2.20): New version set (empty).
34366 2014-05-14  Will Newton  <will.newton@linaro.org>
34368         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
34369         rather than #if.
34371 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
34373         [BZ #16564]
34374         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
34375         arguments with exponent 65 or above.
34376         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
34377         arguments 0x1p113L or above.
34378         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
34379         to arguments 0x1p107L or above.
34380         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
34381         positive arguments with exponent 65 or above.
34382         * math/auto-libm-test-in: Add more tests of log1p.
34383         * math/auto-libm-test-out: Regenerated.
34385         [BZ #16928]
34386         * math/s_cacos.c (__cacos): Ensure zero real part of result from
34387         non-finite arguments is +0.
34388         * math/s_cacosf.c (__cacosf): Likewise.
34389         * math/s_cacosl.c (__cacosl): Likewise.
34390         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
34391         * sysdeps/i386/fpu/libm-test-ulps: Update.
34392         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34394         [BZ #16927]
34395         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
34396         value.
34397         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
34398         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
34399         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
34400         for explicit high bit of mantissa when testing for argument equal
34401         to 1.
34402         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
34403         * sysdeps/i386/fpu/libm-test-ulps: Update.
34404         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34406         [BZ #16516]
34407         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
34408         (__erf): Scale by 16 instead of 8 in potentially underflowing
34409         case.  Ensure exception if result actually underflows.
34410         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
34411         (__erff): Scale by 16 instead of 8 in potentially underflowing
34412         case.  Ensure exception if result actually underflows.
34413         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
34414         (efx8): Remove variable.
34415         (__erfl): Scale by 16 instead of 8 in potentially underflowing
34416         case.  Ensure exception if result actually underflows.
34417         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
34418         (efx8): Remove variable.
34419         (__erfl): Scale by 16 instead of 8 in potentially underflowing
34420         case.  Ensure exception if result actually underflows.
34421         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
34422         (efx8): Remove variable.
34423         (__erfl): Scale by 16 instead of 8 in potentially underflowing
34424         case.  Ensure exception if result actually underflows.
34425         * math/auto-libm-test-in: Add more tests of erf.
34426         * math/auto-libm-test-out: Regenerated.
34428 2014-05-14  Andreas Schwab  <schwab@suse.de>
34430         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
34431         Remove code conditionalized on USE___THREAD.
34433         * config.h.in (HAVE_PT_CHOWN): Define as 0.
34434         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
34435         not definedness.
34437 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
34439         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
34440         Define unconditionally.
34441         (__ASSUME_O_CLOEXEC): Likewise.
34442         (__ASSUME_SOCK_CLOEXEC): Likewise.
34443         (__ASSUME_IN_NONBLOCK): Likewise.
34444         (__ASSUME_PIPE2): Likewise.
34445         (__ASSUME_EVENTFD2): Likewise.
34446         (__ASSUME_SIGNALFD4): Likewise.
34447         (__ASSUME_DUP3): Likewise.
34448         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
34449         (__ASSUME_DUP3): Do not define.
34450         (__ASSUME_EVENTFD2): Likewise.
34451         (__ASSUME_IN_NONBLOCK): Likewise.
34452         (__ASSUME_O_CLOEXEC): Likewise.
34453         (__ASSUME_PIPE2): Likewise.
34454         (__ASSUME_SIGNALFD4): Likewise.
34455         (__ASSUME_SOCK_CLOEXEC): Likewise.
34456         (__ASSUME_UTIMES): Undefine.
34457         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
34458         (__ASSUME_UTIMES): Do not define.
34459         (__ASSUME_O_CLOEXEC): Likewise.
34460         (__ASSUME_SOCK_CLOEXEC): Likewise.
34461         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
34462         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
34463         0x020621].
34464         (__ASSUME_PIPE2): Likewise.
34465         (__ASSUME_EVENTFD2): Likewise.
34466         (__ASSUME_SIGNALFD4): Likewise.
34467         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
34468         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
34469         Do not define.
34470         (__ASSUME_EVENTFD2): Likewise.
34471         (__ASSUME_SIGNALFD4): Likewise.
34472         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
34473         (__ASSUME_32BITUIDS): Likewise.
34474         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
34475         (__ASSUME_IPC64): Likewise.
34476         (__ASSUME_ST_INO_64_BIT): Likewise.
34477         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
34478         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
34479         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
34480         (__ASSUME_UTIMES): Do not define.
34481         (__ASSUME_PSELECT): Likewise.
34482         (__ASSUME_PPOLL): Likewise.
34483         (__ASSUME_O_CLOEXEC): Likewise.
34484         (__ASSUME_SOCK_CLOEXEC): Likewise.
34485         (__ASSUME_IN_NONBLOCK): Likewise.
34486         (__ASSUME_PIPE2): Likewise.
34487         (__ASSUME_EVENTFD2): Likewise.
34488         (__ASSUME_SIGNALFD4): Likewise.
34489         (__ASSUME_DUP3): Likewise.
34490         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
34491         (__ASSUME_UTIMES): Likewise.
34492         (__ASSUME_O_CLOEXEC): Likewise.
34493         (__ASSUME_SOCK_CLOEXEC): Likewise.
34494         (__ASSUME_IN_NONBLOCK): Likewise.
34495         (__ASSUME_PIPE2): Likewise.
34496         (__ASSUME_EVENTFD2): Likewise.
34497         (__ASSUME_SIGNALFD4): Likewise.
34498         (__ASSUME_DUP3): Likewise.
34499         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
34500         (__ASSUME_UTIMES): Likewise.
34501         (__ASSUME_O_CLOEXEC): Likewise.
34502         (__ASSUME_SOCK_CLOEXEC): Likewise.
34503         (__ASSUME_IN_NONBLOCK): Likewise.
34504         (__ASSUME_PIPE2): Likewise.
34505         (__ASSUME_EVENTFD2): Likewise.
34506         (__ASSUME_SIGNALFD4): Likewise.
34507         (__ASSUME_DUP3): Likewise.
34508         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
34509         Likewise.
34510         (__ASSUME_UTIMES): Likewise.
34511         (__ASSUME_EVENTFD2): Likewise.
34512         (__ASSUME_SIGNALFD4): Likewise.
34513         * sysdeps/unix/sysv/linux/tile/kernel-features.h
34514         (__ASSUME_O_CLOEXEC): Likewise.
34515         (__ASSUME_SOCK_CLOEXEC): Likewise.
34516         (__ASSUME_IN_NONBLOCK): Likewise.
34517         (__ASSUME_PIPE2): Likewise.
34518         (__ASSUME_EVENTFD2): Likewise.
34519         (__ASSUME_SIGNALFD4): Likewise.
34520         (__ASSUME_DUP3): Likewise.
34521         (__ASSUME_UTIMES): Undefine.
34523         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
34524         feclearexcept.  Remove symbol versioning code.
34525         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
34526         symbol versioning code.
34527         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
34528         symbol versioning code.
34529         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
34530         feupdateenv.  Remove symbol versioning code.
34531         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
34532         fegetexceptflag.  Remove symbol versioning code.
34533         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
34534         fesetexceptflag.  Remove symbol versioning code.
34535         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
34536         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
34537         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
34538         (__posix_fadvise64_l32): Remove prototype.
34539         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
34540         code.
34542 2014-05-13  Roland McGrath  <roland@hack.frob.com>
34544         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
34545         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
34546         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
34547         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
34549 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
34551         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
34552         current working directory
34554 2014-05-13  Roland McGrath  <roland@hack.frob.com>
34556         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
34557         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
34558         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
34559         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
34560         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
34561         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
34562         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
34563         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
34564         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
34565         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
34566         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
34567         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
34568         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
34569         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
34570         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
34571         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
34572         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
34573         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
34574         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
34575         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
34576         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
34577         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
34578         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
34579         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
34580         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
34581         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
34582         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
34583         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
34584         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
34585         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
34586         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
34587         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
34588         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
34589         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
34590         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
34591         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
34592         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
34593         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
34594         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
34595         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
34596         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
34597         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
34599         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
34600         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
34602         * sysdeps/unix/sysv/linux/arm/Makefile
34603         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
34604         Add rt-aeabi_unwind_cpp_pr1.
34605         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
34606         Add nptl-aeabi_unwind_cpp_pr1.
34607         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
34608         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
34609         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
34610         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
34611         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
34612         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
34614         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
34615         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
34616         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
34617         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
34619         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
34620         Deconditionalize the code that was previously under [RESET_PID].
34621         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
34623         * sysdeps/generic/exit-thread.h: New file.
34624         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
34625         * include/unistd.h (__exit_thread): Remove declaration.
34626         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
34627         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
34628         * csu/libc-start.c: Include <exit-thread.h>.
34629         (LIBC_START_MAIN): Pass no argument to __exit_thread.
34630         * nptl/pthread_create.c: Include <exit-thread.h>.
34631         (start_thread): Call __exit_thread in place of __exit_thread_inline.
34632         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
34633         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
34634         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
34635         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
34636         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
34637         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
34638         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
34639         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
34640         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
34641         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
34642         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
34643         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
34644         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
34645         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
34646         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
34647         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
34649 2014-05-13  Andreas Schwab  <schwab@suse.de>
34651         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
34653 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
34655         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
34656         (__ASSUME_UTIMES): Do not condition on kernel version.
34657         (__ASSUME_PSELECT): Define unconditionally.
34658         (__ASSUME_PPOLL): Likewise.
34659         (__ASSUME_ATFCTS): Likewise.
34660         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
34661         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
34662         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
34663         (__ASSUME_UTIMENSAT): Define unconditionally.
34664         (__ASSUME_PRIVATE_FUTEX): Likewise.
34665         (__ASSUME_FALLOCATE): Likewise.
34666         (__ASSUME_O_CLOEXEC): Likewise.
34667         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
34668         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
34669         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
34670         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
34671         (__ASSUME_IN_NONBLOCK): Likewise.
34672         (__ASSUME_PIPE2): Likewise.
34673         (__ASSUME_EVENTFD2): Likewise.
34674         (__ASSUME_SIGNALFD4): Likewise.
34675         (__ASSUME_DUP3): Likewise.
34676         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
34677         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
34678         (__ASSUME_AT_RANDOM): Likewise.
34679         (__ASSUME_PREADV): Likewise.
34680         (__ASSUME_PWRITEV): Likewise.
34681         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
34682         (__ASSUME_F_GETOWN_EX): Define unconditionally.
34683         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
34684         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
34685         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
34686         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
34687         (__ASSUME_O_CLOEXEC): Define unconditionally.
34688         (__ASSUME_PSELECT): Do not undefine conditionally.
34689         (__ASSUME_PPOLL): Likewise.
34690         (__ASSUME_ATFCTS): Likewise.
34691         (__ASSUME_SET_ROBUST_LIST): Likewise.
34692         (__ASSUME_UTIMENSAT): Likewise.
34693         (__ASSUME_FDATASYNC): Define unconditionally.
34694         * sysdeps/unix/sysv/linux/arm/kernel-features.h
34695         (__ASSUME_SIGFRAME_V2): Likewise.
34696         )__ASSUME_EVENTFD2): Likewise.
34697         (__ASSUME_SIGNALFD4): Likewise.
34698         (__ASSUME_PSELECT): Do not undefine conditionally.
34699         (__ASSUME_PPOLL): Likewise.
34700         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
34701         (__ASSUME_PSELECT): Define unconditionally.
34702         (__ASSUME_PPOLL): Likewise.
34703         (__ASSUME_O_CLOEXEC): Likewise.
34704         (__ASSUME_SOCK_CLOEXEC): Likewise.
34705         (__ASSUME_IN_NONBLOCK): Likewise.
34706         (__ASSUME_PIPE2): Likewise.
34707         (__ASSUME_EVENTFD2): Likewise.
34708         (__ASSUME_SIGNALFD4): Likewise.
34709         (__ASSUME_DUP3): Likewise.
34710         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
34711         (__ASSUME_O_CLOEXEC): Likewise.
34712         (__ASSUME_SOCK_CLOEXEC): Likewise.
34713         (__ASSUME_IN_NONBLOCK): Likewise.
34714         (__ASSUME_PIPE2): Likewise.
34715         (__ASSUME_EVENTFD2): Likewise.
34716         (__ASSUME_SIGNALFD4): Likewise.
34717         (__ASSUME_DUP3): Likewise.
34718         * sysdeps/unix/sysv/linux/mips/kernel-features.h
34719         (__ASSUME_EVENTFD2): Likewise.
34720         (__ASSUME_SIGNALFD4): Likewise.
34721         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
34723 2014-05-12  Andreas Schwab  <schwab@suse.de>
34725         [BZ #16932]
34726         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
34727         (_nss_nis_gethostbyname4_r): Return error if item length is larger
34728         than maximum RPC packet size.
34729         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
34730         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
34731         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
34732         (_nss_nis_getservbyport_r): Likewise.
34734 2014-05-12  Will Newton  <will.newton@linaro.org>
34736         * malloc/Makefile (tests): Add tst-mallopt.
34737         * malloc/tst-mallopt.c: New file.
34739 2014-05-09  Roland McGrath  <roland@hack.frob.com>
34741         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
34742         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
34744 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34746         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
34747         (tst-tlsmod6.so): Likewise.
34749 2014-05-09  Roland McGrath  <roland@hack.frob.com>
34751         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
34753 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
34755         [BZ #16064]
34756         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
34757         and <dl-procinfo.h>.
34758         (__fegetenv): Save SSE state in envp->__eip if supported.
34759         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
34760         envp->__eip if supported.
34761         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
34762         and <dl-procinfo.h>.
34763         (__fesetenv): Always set __eip, __cs_selector, __opcode,
34764         __data_offset and __data_selector in environment to 0.  Set SSE
34765         state if supported.
34766         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
34767         test-fenv-sse.
34768         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
34769         -mfpmath=sse.
34770         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
34772 2014-05-09  Will Newton  <will.newton@linaro.org>
34774         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
34775         and libc_relro_required for ARM.
34776         * sysdeps/arm/preconfigure: Regenerate.
34778 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
34779             Stefan Liebler  <stli@linux.vnet.ibm.com>
34781         * config.make.in (enable-lock-elision): New Makefile variable.
34782         * configure.ac: Likewise.
34783         * configure: Regenerate.
34784         * sysdeps/s390/configure.ac:
34785         Add check for gcc transactions support.
34786         * sysdeps/s390/configure: Regenerate.
34787         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
34788         Build elision files if enabled.
34789         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
34790         Add lock elision support for s390.
34791         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
34792         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
34793         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
34794         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
34795         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
34796         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
34797         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
34798         Likewise.
34799         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
34800         Likewise.
34801         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
34802         Likewise.
34803         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
34804         Likewise.
34805         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
34806         (__lll_timedlock_elision, __lll_lock_elision)
34807         (__lll_unlock_elision, __lll_trylock_elision)
34808         (lll_timedlock_elision, lll_lock_elision)
34809         (lll_unlock_elision, lll_trylock_elision): Add.
34810         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
34811         (pthread_mutex_t): Add lock elision support for s390.
34813 2014-05-14  Wilco  <wdijkstr@arm.com>
34815         * sysdeps/arm/fclrexcpt.c: Cleanup.
34816         * sysdeps/arm/fedisblxcpt.c: Cleanup.
34817         * sysdeps/arm/feenablxcpt.c: Cleanup.
34818         * sysdeps/arm/fegetenv.c: Cleanup.
34819         * sysdeps/arm/fegetexcept.c: Cleanup.
34820         * sysdeps/arm/fegetround.c: Cleanup.
34821         * sysdeps/arm/feholdexcpt.c: Cleanup.
34822         * sysdeps/arm/fesetenv.c: Cleanup.
34823         * sysdeps/arm/fesetround.c: Cleanup.
34824         * sysdeps/arm/feupdateenv.c: Cleanup.
34825         * sysdeps/arm/fgetexcptflg.c: Cleanup.
34826         * sysdeps/arm/fraiseexcpt.c: Cleanup.
34827         * sysdeps/arm/fsetexcptflg.c: Cleanup.
34828         * sysdeps/arm/ftestexcept.c: Cleanup.
34829         * sysdeps/arm/get-rounding-mode.h: Cleanup.
34830         * sysdeps/arm/setfpucw.c: Cleanup.
34832 2014-05-09  Will Newton  <will.newton@linaro.org>
34834         * sysdeps/arm/armv7/strcmp.S: New file.
34835         * NEWS: Mention addition of ARMv7 optimized strcmp.
34837 2014-05-08  Roland McGrath  <roland@hack.frob.com>
34839         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
34840         look for %.ac rather than %.in.
34842         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
34843         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
34844         * sysdeps/mach/hurd/configure: Regenerated.
34845         * sysdeps/unix/sysv/linux/configure: Regenerated.
34847         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
34849 2014-05-07  Steve Ellcey  <sellcey@mips.com>
34851         [BZ# 16922]
34852         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
34853         (LONG_SUB): Ditto.
34854         (PTR_SUB): Ditto.
34856 2014-05-07  Andreas Schwab  <schwab@suse.de>
34858         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
34859         when skipping over non-matching result from nscd.
34861 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
34863         [BZ #16876]
34864         * nptl/sockperf.c (client): Check socket return value.
34866         [BZ #16877]
34867         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
34868         nscd security class.
34870 2014-05-06  Roland McGrath  <roland@hack.frob.com>
34872         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
34873         * sysdeps/arm/unwind.h: ... here.
34875 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
34877         [BZ# 16916]
34878         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
34879         Define.
34881 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
34883         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
34884         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
34885         multiarch strncpy for PPC64.
34886         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
34887         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
34888         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
34889         multiarch optimizations.
34890         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
34891         (__libc_ifunc_impl_list): Likewise.
34892         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
34893         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
34894         multiarch stpncpy for PPC64.
34895         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
34896         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
34898 2014-05-06  Andreas Schwab  <schwab@suse.de>
34900         [BZ #16912]
34901         * gmon/mcount.c (_MCOUNT_DECL): Use
34902         atomic_compare_and_exchange_bool_acq instead of
34903         catomic_compare_and_exchange_bool_acq.
34905 2014-05-05  Roland McGrath  <roland@hack.frob.com>
34907         * elf/Makefile (others, install-bin): Remove pldd.
34908         (pldd-modules): Variable removed.
34909         ($(objpfx)pldd): Target removed.
34910         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
34911         (others, install-bin): Append pldd here.
34912         ($(objpfx)pldd): New target.
34914         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
34915         to 0, so the first #if test emitted later doesn't see it undefined.
34916         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
34917         * sysdeps/gnu/errlist.c: Regenerated.
34919 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34921         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
34922         [libc_hidden_builtin_def]: Define to empty value.
34923         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
34924         [libc_hidden_builtin_def]: Likewise.
34925         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
34926         [libc_hidden_builtin_def]: Likewise.
34927         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
34928         [libc_hidden_builtin_def]: Likewise.
34929         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
34930         __redirect_memcpy and define ifunc as default hidden symbol.
34931         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
34932         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
34934 2014-05-04  Adam Conrad  <adconrad@0c3.net>
34936         * locale/iso-4217.def: Reintroduce XDR currency.
34938 2014-05-04  Allan McRae  <allan@archlinux.org>
34940         * po/eo.po: Update Esperanto translation from translation project.
34942 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
34944         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
34945         and FEATURE_INDEX_MAX to 1.
34946         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
34948 2014-05-01  Steve Ellcey  <sellcey@mips.com>
34950         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
34951         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
34952         * iconvdata/big5.c (ONE_DIRECTION): Define.
34953         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
34954         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
34955         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
34956         * iconvdata/cp932.c (ONE_DIRECTION): Define.
34957         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
34958         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
34959         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
34960         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
34961         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
34962         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
34963         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
34964         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
34965         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
34966         * iconvdata/gbk.c (ONE_DIRECTION): Define.
34967         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
34968         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
34969         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
34970         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
34971         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
34972         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
34973         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
34974         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
34975         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
34976         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
34977         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
34978         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
34979         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
34980         * iconvdata/iso646.c (ONE_DIRECTION): Define.
34981         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
34982         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
34983         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
34984         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
34985         * iconvdata/johab.c (ONE_DIRECTION): Define.
34986         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
34987         * iconvdata/sjis.c (ONE_DIRECTION): Define.
34988         * iconvdata/t.61.c (ONE_DIRECTION): Define.
34989         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
34990         * iconvdata/tscii.c (ONE_DIRECTION): Define.
34991         * iconvdata/uhc.c (ONE_DIRECTION): Define.
34992         * iconvdata/unicode.c (ONE_DIRECTION): Define.
34993         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
34994         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
34995         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
34997 2014-05-01  Roland McGrath  <roland@hack.frob.com>
34999         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
35000         (_IO_JUMPS_OFFSET): Define to 0.
35002         * nptl/sysdeps/pthread/bits/libc-lock.h
35003         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
35004         (__libc_lock_define_initialized_recursive): Always define using
35005         initializer.  Modern compilers treat uninitialized (implicit zero) and
35006         explicit zero initializers the same (i.e. put the datum in bss).
35008 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
35010         * nscd/nscd-client.h: Include <string.h>.
35012 2014-05-01  David S. Miller  <davem@davemloft.net>
35014         [BZ #16885]
35015         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
35016         multiple zero bytes exist at the end of a string.
35017         Reported by Aurelien Jarno <aurelien@aurel32.net>
35019         * string/test-strcmp.c (check): Add explicit test for situations where
35020         there are multiple zero bytes after the first.
35022 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
35024         [BZ #16890]
35025         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
35026         when compiling wprintf.
35027         * stdio-common/tstdiomisc.c (t3): New function.
35028         (main): Call it.
35030 2014-05-01  Steve Ellcey  <sellcey@mips.com>
35032         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
35033         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
35034         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
35035         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
35037 2014-05-01  Steve Ellcey  <sellcey@mips.com>
35039         * stdlib/longlong.h: Updated from GCC.
35041 2014-05-01  Will Newton  <will.newton@linaro.org>
35042             Bernard Ogden  <bernie.ogden@linaro.org>
35044         * NEWS: Update fixed bug list.
35046         [BZ #15119]
35047         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
35049 2014-04-30  David S. Miller  <davem@davemloft.net>
35051         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
35052         (libc_feholdexcept_setround_sparc_ctx): New function.
35053         (libc_fesetenv_sparc_ctx): Likewise.
35054         (libc_feupdateenv_sparc_ctx): Likewise.
35055         (libc_feholdsetround_sparc_ctx): Likewise.
35056         (libc_feholdexcept_setround_ctx): Define.
35057         (libc_feholdexcept_setroundf_ctx): Likewise.
35058         (libc_feholdexcept_setroundl_ctx): Likewise.
35059         (libc_fesetenv_ctx): Likewise.
35060         (libc_fesetenvf_ctx): Likewise.
35061         (libc_fesetenvl_ctx): Likewise.
35062         (libc_feupdateenv_ctx): Likewise.
35063         (libc_feupdateenvf_ctx): Likewise.
35064         (libc_feupdateenvl_ctx): Likewise.
35065         (libc_feresetround_ctx): Likewise.
35066         (libc_feresetroundf_ctx): Likewise.
35067         (libc_feresetroundl_ctx): Likewise.
35068         (libc_feholdsetround_ctx): Likewise.
35069         (libc_feholdsetroundf_ctx): Likewise.
35070         (libc_feholdsetroundl_ctx): Likewise.
35072         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
35073         with __USE_GNU instead of XOPEN cpp guards.
35075         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
35076         0.
35078         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
35079         with XOPEN cpp guards.
35081 2014-04-30  Julian Brown  <julian@codesourcery.com>
35083         [BZ #16888]
35084         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
35085         handling.
35087 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
35089         [BZ #9894]
35090         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
35091         Change to 2.6.32.
35092         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
35093         * sysdeps/unix/sysv/linux/configure: Regenerated.
35094         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
35095         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
35096         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
35097         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
35098         * README: Update reference to required Linux kernel version.
35099         * manual/install.texi (Linux): Update reference to required Linux
35100         kernel headers version.
35101         * INSTALL: Regenerated.
35103         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
35104         header inclusion.
35105         [POSIX] (limits.h): Likewise.
35106         [POSIX] (math.h): Likewise.
35107         [POSIX] (sys/wait.h): Likewise.
35108         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
35109         function.
35110         [POSIX] (stddef.h): Do not allow header inclusion.
35112 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35114         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
35116 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
35118         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
35119         Return immediately after lll_futex_wake.
35121 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
35123         [BZ #16791]
35124         * nscd/nscd-client.h (datahead_init_common): Initialize entire
35125         structure.
35126         (datahead_init_pos): Call datahead_init_common early.
35127         (datahead_init_neg): Likewise.
35129         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
35130         datahead_init_neg): New functions.
35131         * nscd/aicache.c (addhstaiX): Use them.
35132         * nscd/grpcache.c (cache_addgr): Likewise.
35133         * nscd/hstcache.c (cache_addhst): Likewise.
35134         * nscd/initgrcache.c (addinitgroupsX): Likewise.
35135         * nscd/netgroupcache.c (do_notfound): Likewise.
35136         (addgetnetgrentX): Likewise.
35137         (addinnetgrX): Likewise.
35138         * nscd/pwdcache.c (cache_addpw): Likewise.
35139         * nscd/servicescache.c (cache_addserv): Likewise.
35141 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
35142             Atsushi Onoe  <atsushi@onoe.org>
35144         [BZ #14308]
35145         [BZ #12994]
35146         [BZ #13651]
35147         * resolv/res_query.c (__libc_res_nsearch): Return if at least
35148         one response is valid.
35149         * resolv/res_send.c (send_dg): Check for validity of other
35150         response if the current response is a referral.
35152 2014-04-29  Steve Ellcey  <sellcey@mips.com>
35154         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
35156 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
35158         [BZ #16823]
35159         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
35160         Always divide by positive zero when computing -Inf result.
35161         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
35162         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
35164 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35166         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
35167         FPSCR if value do not change.
35168         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
35169         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
35170         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
35171         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
35172         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
35173         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
35174         function.
35176 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
35178         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
35179         * sysdeps/unix/sysv/linux/hppa: Move directory from
35180         ports/systeps/unix/sysv/linux/hppa.
35181         * README: Update listing for hppa-*-linux-gnu.
35183 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
35185         [BZ #16754]
35186         * manual/stdio.texi (Hook functions): Fix types of stream hook
35187         functions.
35188         [BZ #16854]
35189         * socket/sys/socket.h: Fix typo in comment.
35191 2014-04-28  Wilco  <wdijkstr@arm.com>
35193         * sysdeps/arm/fenv_private.h: New file.
35194         * sysdeps/arm/math_private.h: New file.
35195         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
35197 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
35199         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
35200         with __int128_t.
35201         (La_x86_64_retval): Likewise.
35203 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
35205         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
35206         fpsr if value didn't change.
35207         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
35208         to fpcr if value didn't change.
35209         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
35210         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
35211         fpsr or fpcr if value didn't change.
35212         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
35213         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
35214         fpcr if value didn't change.
35215         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
35216         to fpsr if value didn't change.
35218 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
35220         * nptl/tst-sem3.c: Use test-skeleton.c
35221         (main): Rename to do_test.  Use return instead of
35222         exit.
35223         * nptl/tst-sem4.c: Use test-skeleton.c
35224         (main): Rename to do_test.
35226 2014-04-22  David S. Miller  <davem@davemloft.net>
35228         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
35229         (struct sigaction): New struct member __glibc_reserved0, change
35230         type of sa_flags to int.
35232 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
35234         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
35235         (COUNT_LEADING_ZEROS_0): Define for AArch64.
35237 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
35239         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
35240         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
35242 2014-04-22  Will Newton  <will.newton@linaro.org>
35243             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
35245         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
35246         (__longjmp): Add longjmp and longjmp_target SystemTap
35247         probes.
35248         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
35249         (__sigsetjmp): Add setjmp SystemTap probe.
35251 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
35253         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
35254         match manual order.
35256 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35258         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
35260         * sysdeps/powerpc/fpu/fenv_private.h
35261         (libc_feholdexcept_setroundl_ctx): Define to
35262         libc_feholdexcept_setround_ppc_ctx.
35263         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
35264         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
35265         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
35266         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
35268 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
35270         * sysdeps/aarch64/math-tests.h: New file.
35272 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
35274         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
35275         New.
35276         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35277         Check and set bit_AVX2_Usable.
35278         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
35279         macro.
35280         (bit_AVX2): Likewise.
35281         (index_AVX2_Usable): Likewise.
35282         (CPUID_AVX2): Likewise.
35283         (HAS_AVX2): Likewise.
35285 2014-04-17  Will Newton  <will.newton@linaro.org>
35287         * manual/setjmp.texi (System V contexts): Add note that
35288         calling setcontext on a context created by a call to a
35289         signal handler is undefined.  Update text to note that
35290         setcontext from a signal handler is possible but not
35291         recommended.
35293         [BZ #16629]
35294         * stdlib/tst-setcontext.c: Include signal.h.
35295         (main): Check that the signal stack before and
35296         after swapcontext is the same.
35298         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
35299         Re-implement to restore registers in user code and avoid
35300         rt_sigreturn system call.
35302 2014-04-17  Wilco  <wdijkstr@arm.com>
35304         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
35305         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
35306         * math/test-fenv.c: Skip exception trap tests on targets which only
35307         support non-stop mode.
35309 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
35310             Wilco Dijkstra  <wilco.dijkstra@arm.com>
35312         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
35313         (libc_feholdsetround_aarch64_ctx)
35314         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
35315         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
35316         (libc_feresetround_ctx, libc_feresetroundf_ctx)
35317         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
35318         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
35319         (libc_feresetround_noexl_ctx): Define.
35321 2014-04-16  Richard Henderson  <rth@redhat.com>
35323         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
35325         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
35326         unwind tables.
35328         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
35329         const from the non-libc, non-ldso copy.
35331         * sysdeps/alpha/libm-test-ulps: Regenerate.
35333 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
35334             Wilco Dijkstra  <wilco.dijkstra@arm.com>
35336         * sysdeps/aarch64/fpu/math_private.h: New file.
35338 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
35340         * sysdeps/aarch64/libm-test-ulps: Regenerate.
35342 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
35344         [BZ #16275]
35345         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
35346         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
35347         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
35348         Intel MPX bound registers before _dl_profile_fixup.
35349         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
35350         registers after _dl_profile_fixup.  Save and restore bound
35351         registers bnd0/bnd1 when calling _dl_call_pltexit.
35352         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
35353         (LR_BND_OFFSET): Likewise.
35354         (LRV_BND0_OFFSET): Likewise.
35355         (LRV_BND1_OFFSET): Likewise.
35357 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
35359         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
35360         to...
35361         * sysdeps/mach/hurd/i386/tls.h: ... here.
35362         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
35363         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
35364         fields.
35366 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
35368         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
35370 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
35372         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
35374 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
35376         [BZ #14770]
35377         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
35378         * sysdeps/s390/configure: Regenerate.
35380         [BZ #16824]
35381         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
35382         Set round-to-nearest internally to reduce error accumulation.
35384 2014-04-16  Alan Modra  <amodra@gmail.com>
35386         [BZ #16740]
35387         [BZ #16619]
35388         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
35389         * math/libm-test.inc (frexp_test_data): Add tests.
35390         * NEWS: Update fixed bug list.
35392 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
35394         * benchtests/Makefile: Depend on libraries in build directory.
35395         (bench-math): Separate out math tests.
35396         (bench-pthread): Separate out pthread tests.
35397         (bench): Include math and pthread tests.
35399 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
35401         [BZ #16831]
35402         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
35403         _dl_debug_initialize.
35405         * configure.ac: Remove SELinux header check.
35406         * configure: Regenerate.
35407         * nscd/selinux.c (perms): Array of const char* to permission names.
35408         (nscd_request_avc_has_perm): Call security_deny_unknown to find
35409         default policy. Call string_to_security_class and string_to_av_perm to
35410         translate strings. Enforce default policy and call avs_has_perm with
35411         results of translated strings.
35413 2014-04-13  David S. Miller  <davem@davemloft.net>
35415         * sysdeps/sparc/fpu/libm-test-ulps: Update.
35417 2014-04-12  Allan McRae  <allan@archlinux.org>
35419         [BZ #16838]
35420         * manual/string.texi (Collation Functions): Fix qsort argument
35421         order in example.
35422         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
35424 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
35426         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
35427         Make the test a no-op if there are no exceptions defined.
35429 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
35431         * elf/Makefile (tests): make tst-dlopen-aout conditional on
35432         enable-hardcoded-path-in-tests
35434 2014-04-11  Will Newton  <will.newton@linaro.org>
35436         * benchtests/Makefile (extra-objs): Add json-lib.o.
35437         (bench-func): Tidy up JSON output.
35438         * benchtests/bench-skeleton.c: Include json-lib.h.
35439         (main): Use JSON library functions to do output of
35440         benchmark results.
35441         * benchtests/bench-timing-type.c (main): Output the
35442         timing type simply, leaving formatting to the user.
35443         * benchtests/json-lib.c: New file.
35444         * benchtests/json-lib.h: Likewise.
35446 2014-04-11  Torvald Riegel  <triegel@redhat.com>
35448         [BZ #15215]
35449         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
35450         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
35451         memory barriers.  Add comments.
35452         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
35453         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
35454         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
35455         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
35456         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
35457         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
35459 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
35461         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
35462         * sysdeps/s390/s390-64/configure.ac: ... this ...
35463         * sysdeps/s390/configure.ac: ... to here.
35464         * sysdeps/s390/s390-32/configure: Delete file.
35465         * sysdeps/s390/s390-64/configure: Delete file.
35466         * sysdeps/s390/configure: Regenerate.
35468 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
35470         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
35472 2014-04-11  Will Newton  <will.newton@linaro.org>
35474         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
35475         to zero if it is not defined elsewhere.  (mtrim): Test
35476         the value of MALLOC_DEBUG with #if rather than #ifdef.
35478 2014-04-10 Torvald Riegel  <triegel@redhat.com>
35480         * benchtests/pthread_once-inputs: New file.
35481         * benchtests/pthread_once-source.c: New file.
35482         * benchtests/README: Update documentation.
35484 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
35485             H.J. Lu  <hongjiu.lu@intel.com>
35487         [BZ #16275]
35488         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
35489         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
35490         * sysdeps/x86_64/configure: Regenerated.
35491         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
35492         macro.
35493         (REGISTER_SAVE_RAX): Likewise.
35494         (REGISTER_SAVE_RCX): Likewise.
35495         (REGISTER_SAVE_RDX): Likewise.
35496         (REGISTER_SAVE_RSI): Likewise.
35497         (REGISTER_SAVE_RDI): Likewise.
35498         (REGISTER_SAVE_R8): Likewise.
35499         (REGISTER_SAVE_R9): Likewise.
35500         (REGISTER_SAVE_BND0): Likewise.
35501         (REGISTER_SAVE_BND1): Likewise.
35502         (REGISTER_SAVE_BND2): Likewise.
35503         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
35504         bound registers when calling _dl_fixup.
35506 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35508         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
35509         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
35510         of its definition.
35511         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
35512         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
35513         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
35514         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
35515         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
35516         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
35517         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
35519 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
35521         [BZ #15514]
35522         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
35523         pathconf(_PC_NAME_MAX).
35525 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35527         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
35528         Remove macro usage.
35529         (__PTHREAD_SPINS): Move definition to ...
35530         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
35531         (__PTHREAD_SPINS): ... here.
35532         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
35533         (__PTHREAD_SPIN): Likewise.
35534         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
35535         (__PTHREAD_SPIN): Likewise.
35536         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
35537         (__PTHREAD_SPIN): Likewise.
35538         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
35539         (__PTHREAD_SPIN): Likewise.
35540         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
35541         (__PTHREAD_SPIN): Likewise.
35542         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
35543         (__PTHREAD_SPIN): Likewise.
35544         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
35545         (__PTHREAD_SPIN): Likewise.
35546         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
35547         (__PTHREAD_SPIN): Likewise.
35548         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
35549         (__PTHREAD_SPIN): Likewise.
35550         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
35551         (__PTHREAD_SPIN): Likewise.
35552         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
35553         (__PTHREAD_SPIN): Likewise.
35554         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
35555         (__PTHREAD_SPIN): Likewise.
35557         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
35558         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
35559         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
35560         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
35561         imply folder.
35562         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
35563         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
35564         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
35565         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
35566         correct imply path.
35567         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
35568         strlen symbol for non multi-arch builds.
35569         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
35570         missing hidden_def and weak_alias.
35572 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
35574         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
35576 2014-04-07  Will Newton  <will.newton@linaro.org>
35578         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
35579         and contents.  [!_LIBC] Remove #ifndef and contents.
35580         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
35581         * string/memccpy.c (__memccpy): Use ANSI prototype.
35582         * string/memfrob.c (memfrob): Likewise.
35583         * string/strcoll.c (STRCOLL): Likewise.
35584         * string/strlen.c (strlen): Likewise.
35585         * string/strtok.c (STRTOK): Likewise.
35586         * string/strcat.c: Remove unused #include of memcopy.h.
35587         (strcat): Use ANSI prototype.
35588         * string/strchr.c: Remove unused #include of memcopy.h.
35589         (strchr): Use ANSI prototype.
35590         * string/strcmp.c: Remove unused #include of memcopy.h.
35591         (strcmp): Use ANSI prototype.
35592         * string/strcpy.c: Remove unused #include of memcopy.h.
35593         (strcpy): Use ANSI prototype.
35595 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35597         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
35598         * config.make.in (config-extra-cppflags): Set it from
35599         libc_extra_cppflags.
35600         * configure.ac (libc_extra_cflags): Make it accumulate over
35601         configure fragments.
35602         (libc_extra_cppflags): New flag.
35603         * configure. Regenerate.
35604         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
35605         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
35606         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
35607         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
35609         [BZ #16815]
35610         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
35611         result for FE_DOWNWARD rounding mode.
35612         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
35613         Likewise.
35614         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35616 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
35618         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
35619         in function argument name.
35621 2014-04-03  David Svoboda  <svoboda@cert.org>
35623         [BZ #5666]
35624         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
35625         explicitly.
35627 2014-04-03  Roland McGrath  <roland@hack.frob.com>
35629         * elf/dl-unmap-segments.h: New file.
35630         * sysdeps/generic/ldsodefs.h
35631         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
35632         * elf/dl-close.c: Include <dl-unmap-segments.h>.
35633         * elf/dl-fptr.c: Likewise.
35634         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
35635         * sysdeps/aarch64/tlsdesc.c: Likewise.
35636         * sysdeps/arm/tlsdesc.c: Likewise.
35637         * sysdeps/i386/tlsdesc.c: Likewise.
35638         * sysdeps/tile/dl-runtime.c: Likewise.
35639         * sysdeps/x86_64/tlsdesc.c: Likewise.
35640         * elf/dl-load.h: New file.
35641         * elf/dl-load.c: Include it.
35642         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
35643         Macros moved to dl-load.h.
35644         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
35645         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
35646         Use _dl_unmap_segments in place of __munmap.
35647         Break out segment-mapping loop into ...
35648         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
35650 2014-04-03  Will Newton  <will.newton@linaro.org>
35652         * elf/dl-lookup.c (do_lookup_x): Remove comment
35653         referring to nested function and move variable
35654         declarations down to before first use.
35656 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
35658         [BZ #16799]
35659         [BZ #16800]
35660         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
35661         with 0 numerator.
35662         * math/s_catanf.c (__catanf): Likewise.
35663         * math/s_catanh.c (__catanh): Likewise.
35664         * math/s_catanhf.c (__catanhf): Likewise.
35665         * math/s_catanhl.c (__catanhl): Likewise.
35666         * math/s_catanl.c (__catanl): Likewise.
35667         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
35668         by positive zero when computing -Inf result.
35669         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
35670         (catanh_test): Likewise.
35671         * sysdeps/i386/fpu/libm-test-ulps: Update.
35672         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35674         [BZ #16789]
35675         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
35676         instead of using underflowing value in computing result.
35677         * math/s_clog10.c (__clog10): Likewise.
35678         * math/s_clog10f.c (__clog10f): Likewise.
35679         * math/s_clog10l.c (__clog10l): Likewise.
35680         * math/s_clogf.c (__clogf): Likewise.
35681         * math/s_clogl.c (__clogl): Likewise.
35682         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
35683         (clog10_test): Likewise.
35684         * sysdeps/i386/fpu/libm-test-ulps: Update.
35685         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35687 2014-04-02  Alan Modra  <amodra@gmail.com>
35689         [BZ #16739]
35690         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
35691         output when value is near a power of two.  Use int64_t for lx and
35692         remove casts.  Use decimal rather than hex exponent constants.
35693         Don't use long double multiplication when double will suffice.
35694         * math/libm-test.inc (nextafter_test_data): Add tests.
35695         * NEWS: Add 16739 and 16786 to bug list.
35697         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
35699         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
35701 2014-04-01  Will Newton  <will.newton@linaro.org>
35703         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
35704         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
35706 2014-04-01  Florian Weimer  <fweimer@redhat.com>
35708         [BZ #13347]
35709         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
35710         * nptl/tst-setuid2.c: New file.
35711         * nptl/Makefile (xtests): Add tst-setuid2.
35713 2014-04-01  Alan Modra  <amodra@gmail.com>
35715         [BZ #16786]
35716         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
35718 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
35720         [BZ #6803]
35721         [BZ #6804]
35722         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
35723         set errno as appropriate.
35724         * math/w_scalbf.c (__scalbf): Likewise.
35725         * math/w_scalbl.c (__scalbl): Likewise.
35726         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
35727         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
35728         * math/libm-test.inc (scalb_test_data): Add errno expectations.
35729         Add more NaN tests.
35731         [BZ #16349]
35732         * math/w_atan2.c: Include <errno.h>.
35733         (__atan2): Set errno for result underflowing to zero.
35734         * math/w_atan2f.c: Include <errno.h>.
35735         (__atan2f): Set errno for result underflowing to zero.
35736         * math/w_atan2l.c: Include <errno.h>.
35737         (__atan2l): Set errno for result underflowing to zero.
35738         * math/auto-libm-test-in: Don't allow missing errno for some atan2
35739         tests.
35740         * math/auto-libm-test-out: Regenerated.
35742 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35744         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
35745         Encode instruction correctly in little endian.
35746         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
35747         Likewise.
35748         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
35749         Likewise.
35750         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
35751         Likewise.
35752         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
35753         Likewise.
35755 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
35757         [BZ #9894]
35758         * sysdeps/unix/sysv/linux/kernel-features.h
35759         [__sparc__ && !__arch64__ && !__sparc_v9__]
35760         (__ASSUME_SET_ROBUST_LIST): Do not define.
35761         [__sparc__ && !__arch64__ && !__sparc_v9__]
35762         (__ASSUME_FUTEX_LOCK_PI): Likewise.
35763         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
35764         Likewise.
35765         * sysdeps/unix/sysv/linux/arm/kernel-features.h
35766         (__ASSUME_FUTEX_LOCK_PI): Undefine.
35767         (__ASSUME_REQUEUE_PI): Likewise.
35768         (__ASSUME_SET_ROBUST_LIST): Likewise.
35769         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
35770         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
35771         Undefine.
35772         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
35773         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
35774         Likewise.
35775         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
35776         Likewise.
35777         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
35778         Likewise.
35779         * sysdeps/unix/sysv/linux/mips/kernel-features.h
35780         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
35781         Undefine.
35782         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
35783         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
35784         Likewise.
35786         [BZ #16648]
35787         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
35788         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
35789         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
35791 2014-03-31  Will Newton  <will.newton@linaro.org>
35793         * benchtests/Makefile (bench): Add ffs and ffsll to list
35794         of tests.
35795         * benchtests/ffs-inputs: New file.
35796         * benchtests/ffsll-inputs: Likewise.
35798 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
35800         [BZ #16770]
35801         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
35802         too large before casting to int.
35803         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
35804         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
35805         * math/libm-test.inc (scalb_test_data): Add more tests.
35807 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
35809         * benchtests/Makefile (DETAILED_OPT): New make option.
35810         (bench-func): Run benchmark program with -d if DETAILED_OPT is
35811         set.
35812         * benchtests/bench-skeleton.c: Include stdbool.h.
35813         (main): Store and print timings per input.
35814         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
35815         member to each argument value.
35816         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
35817         (_print_arg_data): Initialize per-input timing to 0.
35819         * benchtests/Makefile (timing-type): New binary.
35820         (bench-clean): Also remove bench-timing-type.
35821         (bench): New target for timing-type.
35822         (bench-func): Print output in JSON format.
35823         * benchtests/bench-skeleton.c (main): Print output in JSON
35824         format.
35825         * benchtests/bench-timing-type.c: New file.
35826         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
35827         (TIMING_PRINT_STATS): Remove.
35828         * benchtests/scripts/bench.py (_print_arg_data): Store variant
35829         name separately.
35831         * benchtests/bench-modf.c: Remove.
35832         * benchtests/modf-inputs: New inputs file.
35834 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
35836         [BZ #16362]
35837         * math/s_clog10.c (M_PI_LOG10E): New macro.
35838         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
35839         imaginary parts are 0.
35840         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
35841         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
35842         imaginary parts are 0.
35843         * math/s_clog10l.c (M_PI_LOG10El): New macro.
35844         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
35845         imaginary parts are 0.
35846         * math/libm-test.inc (clog10_test_data): Update expected results
35847         for when real and imaginary parts are 0.
35849 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
35851         * elf/dl-load.c: Finish conversion of __builtin_expect into
35852         __glibc_{un}likely.
35854 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
35856         [BZ #16348]
35857         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
35858         1+x for argument with exponent below -67.
35859         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
35860         Likewise.
35861         * math/auto-libm-test-in: Add more tests of exp.
35862         * math/auto-libm-test-out: Regenerated.
35864 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
35866         [BZ #16759]
35867         * inet/getnetgrent_r.c (get_nonempty_val): New function.
35868         (nscd_getnetgrent): Use it.
35870         [BZ #16760]
35871         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
35872         of stpcpy.
35874 2014-03-27  Andi Kleen  <ak@linux.intel.com>
35876         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
35877         (lll_robust_lock, lll_cond_lock, lll_timedlock)
35878         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
35879         (lll_robust_unlock): Remove out of line section. Use cfi
35880         intrinsics.
35881         (LLL_STUB_UNWIND_INFO*): Remove.
35882         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
35883         (lll_robust_lock, lll_cond_lock, lll_timedlock)
35884         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
35885         (lll_robust_unlock): Remove out of line section. Use cfi
35886         intrinsics.
35887         (LLL_STUB_UNWIND_INFO*): Remove.
35889 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
35891         [BZ #16758]
35892         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
35893         blank values.
35895 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
35897         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
35899 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
35901         [BZ #16198]
35902         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
35903         fnstenv.
35904         * math/test-fenv-preserve.c: New file.
35905         * math/Makefile (tests): Add test-fenv-preserve.
35907 2014-03-26  Will Newton <will.newton@linaro.org>
35909         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
35911 2014-03-25  Roland McGrath  <roland@hack.frob.com>
35913         * scripts/versionlist.awk: Partition the version sets and emit all
35914         GLIBC_* (sorted) before all others (sorted).
35916 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
35918         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
35919         GLIBC_2.2.5 version.
35921 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35923         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
35924         calls.
35926         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
35927         previous change.
35929         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35931 2014-03-25  Andreas Schwab  <schwab@suse.de>
35933         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
35934         label to be used after in6ailist is initialized.
35936 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35938         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
35939         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
35941 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
35943         [BZ #16357]
35944         [BZ #16599]
35945         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
35946         min_plus_half.
35947         (fp_formats): Update initializers.
35948         (init_fp_formats): Initialize new field.
35949         (output_for_one_input_case): Allow underflow for results up to
35950         min_plus_half.
35951         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
35952         * math/auto-libm-test-in: Don't mark some underflows from asin and
35953         atanh as spurious.
35954         * math/auto-libm-test-out: Regenerated.
35955         * sysdeps/i386/fpu/libm-test-ulps: Update.
35956         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35958 2014-03-25  Andreas Schwab  <schwab@suse.de>
35960         * libio/Makefile (tst-ftell-partial-wide-ENV)
35961         (tst-ftell-active-handler-ENV): Define.
35963 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
35965         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
35967 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
35969         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
35971 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
35973         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
35974         * sysdeps/x86_64/fpu/multiarch/e_exp.c
35975         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
35977 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
35979         [BZ #16634]
35980         * elf/dl-load.c (open_verify): Add mode parameter.
35981         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
35982         (open_path): Change from boolean 'secure' to complete flag 'mode'
35983         (_dl_map_object): Adjust.
35984         * elf/Makefile (tests): Add tst-dlopen-aout.
35985         * elf/tst-dlopen-aout.c: New test.
35987 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
35989         [BZ #16714]
35990         * sysdeps/unix/sysv/linux/s390/bits/stat.h
35991         (struct stat): Rename member pad0 to __glibc_reserved0.
35993         [BZ #16712]
35994         * sysdeps/s390/s390-32/bits/wordsize.h
35995         (__WORDSIZE32_SIZE_ULONG): New define.
35996         * sysdeps/s390/s390-64/bits/wordsize.h
35997         (__WORDSIZE32_SIZE_ULONG): Likewise.
35998         * sysdeps/generic/stdint.h (SIZE_MAX):
35999         Define as UL if __WORDSIZE32_SIZE_ULONG.
36001         [BZ #16713]
36002         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
36003         (__glibc_reserved0): New variable.
36004         (sa_flags): Change type to int.
36006         * posix/Makefile (before-compile): Use += before-compile instead
36007         of a :=.
36009         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
36010         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
36012 2014-03-20  Andreas Schwab  <schwab@suse.de>
36014         [BZ #16743]
36015         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
36016         non-matching result from nscd.
36018 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
36020         * scripts/bench.py: Moved to ...
36021         * benchtests/scripts/bench.py: ... here.
36022         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
36024 2014-03-24  Andreas Schwab  <schwab@suse.de>
36026         [BZ #16002]
36027         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
36028         alloca_account and account alloca use for struct in6ailist.
36030 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
36032         [BZ #16284]
36033         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
36034         rounding mode to recompute results that overflow to infinity or
36035         underflow to zero.
36036         * math/auto-libm-test-in: Don't mark tests as expected to fail for
36037         bug 16284.
36038         * math/auto-libm-test-out: Regenerated.
36039         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
36040         (ccosh_test): Likewise.
36041         (csin_test_data): Use plus_oflow.
36042         (csin_test): Use ALL_RM_TEST.
36043         (csinh_test_data): Use plus_oflow.
36044         (csinh_test): Use ALL_RM_TEST.
36045         * sysdeps/i386/fpu/libm-test-ulps: Update.
36046         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36048 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
36050         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
36051         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
36052         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
36054         [BZ #16731]
36055         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
36056         when x - 1 is zero.
36057         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
36058         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
36059         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
36060         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
36061         argument is 1.
36062         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
36063         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
36064         zero.
36065         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
36066         * sysdeps/i386/fpu/libm-test-ulps: Update.
36067         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36069 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
36071         * scripts/bench.pl: Remove file.
36072         * scripts/bench.py: New benchmark script.
36073         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
36074         * benchtests/README: Mention python dependency.
36075         * scripts/pylintrc: New file.
36076         * scripts/pylint: New file.
36078         * bits/mathdef.h: Use #ifdef instead of #if.
36079         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
36080         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
36081         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
36082         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
36083         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
36084         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
36086 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36087             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
36089         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
36090         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
36091         and strpbrk-ppc64 objects.
36092         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
36093         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
36094         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
36095         multiarch strpbrk for POWER7.
36096         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
36097         multiarch strpbrk for PPC64.
36098         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
36099         ifunc selector.
36100         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
36101         strpbrk for POWER7.
36103 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
36105         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
36106         (atan_test): Likewise.
36107         (atanh_test_data): Use NO_TEST_INLINE for two tests.
36108         (atanh_test): Use ALL_RM_TEST.
36109         (atan2_test_data): Likewise.
36110         (cabs_test): Likewise.
36111         (cacosh_test): Likewise.
36112         (carg_test): Likewise.
36113         (casin_test): Likewise.
36114         (casinh_test): Likewise.
36115         (cbrt_test): Likewise.
36116         (csqrt_test): Likewise.
36117         (erf_test): Likewise.
36118         (erfc_test): Likewise.
36119         (pow10_test): Likewise.
36120         (exp2_test): Likewise.
36121         (hypot_test): Likewise.
36122         (j0_test): Likewise.
36123         (j1_test): Likewise.
36124         (lgamma_test): Likewise.
36125         (gamma_test): Likewise.
36126         (sincos_test): Likewise.
36127         (tanh_test): Likewise.
36128         (y0_test): Likewise.
36129         (y1_test): Likewise.
36130         * sysdeps/i386/fpu/libm-test-ulps: Update.
36131         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36133 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36135         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
36136         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
36137         and strcspn-ppc64 objects.
36138         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
36139         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
36140         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
36141         multiarch strcspn for POWER7.
36142         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
36143         multiarch strcspn for PPC64.
36144         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
36145         ifunc selector.
36146         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
36147         strcspn for POWER7.
36149 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
36151         * math/gen-libm-test.pl (generate_testfile): Expect only function
36152         name as argument to AUTO_TESTS_* and pass results for all rounding
36153         modes to parse_args.
36154         (parse_auto_input): Separate inputs of automatic tests from
36155         outputs before storing in %auto_tests.
36156         * math/libm-test.inc (acos_test_data): Update call to
36157         AUTO_TESTS_f_f.
36158         (acos_test): Use ALL_RM_TEST.
36159         (acos_tonearest_test_data): Remove.
36160         (acos_test_tonearest): Likewise.
36161         (acos_towardzero_test_data): Likewise.
36162         (acos_test_towardzero): Likewise.
36163         (acos_downward_test_data): Likewise.
36164         (acos_test_downward): Likewise.
36165         (acos_upward_test_data): Likewise.
36166         (acos_test_upward): Likewise.
36167         (acosh_test_data): Update call to AUTO_TESTS_f_f.
36168         (asin_test_data): Likewise.
36169         (asin_test): Use ALL_RM_TEST.
36170         (asin_tonearest_test_data): Remove.
36171         (asin_test_tonearest): Likewise.
36172         (asin_towardzero_test_data): Likewise.
36173         (asin_test_towardzero): Likewise.
36174         (asin_downward_test_data): Likewise.
36175         (asin_test_downward): Likewise.
36176         (asin_upward_test_data): Likewise.
36177         (asin_test_upward): Likewise.
36178         (asinh_test_data): Update call to AUTO_TESTS_f_f.
36179         (atan_test_data): Likewise.
36180         (atanh_test_data): Likewise.
36181         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
36182         (cabs_test_data): Update call to AUTO_TESTS_c_f.
36183         (carg_test_data): Likewise.
36184         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
36185         (ccos_test_data): Update call to AUTO_TESTS_c_c.
36186         (ccosh_test_data): Likewise.
36187         (cexp_test_data): Likewise.
36188         (clog_test_data): Likewise.
36189         (clog10_test_data): Likewise.
36190         (cos_test_data): Update call to AUTO_TESTS_f_f.
36191         (cos_test): Use ALL_RM_TEST.
36192         (cos_tonearest_test_data): Remove.
36193         (cos_test_tonearest): Likewise.
36194         (cos_towardzero_test_data): Likewise.
36195         (cos_test_towardzero): Likewise.
36196         (cos_downward_test_data): Likewise.
36197         (cos_test_downward): Likewise.
36198         (cos_upward_test_data): Likewise.
36199         (cos_test_upward): Likewise.
36200         (cosh_test_data): Update call to AUTO_TESTS_f_f.
36201         (cosh_test): Use ALL_RM_TEST.
36202         (cosh_tonearest_test_data): Remove.
36203         (cosh_test_tonearest): Likewise.
36204         (cosh_towardzero_test_data): Likewise.
36205         (cosh_test_towardzero): Likewise.
36206         (cosh_downward_test_data): Likewise.
36207         (cosh_test_downward): Likewise.
36208         (cosh_upward_test_data): Likewise.
36209         (cosh_test_upward): Likewise.
36210         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
36211         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
36212         (ctan_test_data): Likewise.
36213         (ctan_test): Use ALL_RM_TEST.
36214         (ctan_tonearest_test_data): Remove.
36215         (ctan_test_tonearest): Likewise.
36216         (ctan_towardzero_test_data): Likewise.
36217         (ctan_test_towardzero): Likewise.
36218         (ctan_downward_test_data): Likewise.
36219         (ctan_test_downward): Likewise.
36220         (ctan_upward_test_data): Likewise.
36221         (ctan_test_upward): Likewise.
36222         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
36223         (ctanh_test): Use ALL_RM_TEST.
36224         (ctanh_tonearest_test_data): Remove.
36225         (ctanh_test_tonearest): Likewise.
36226         (ctanh_towardzero_test_data): Likewise.
36227         (ctanh_test_towardzero): Likewise.
36228         (ctanh_downward_test_data): Likewise.
36229         (ctanh_test_downward): Likewise.
36230         (ctanh_upward_test_data): Likewise.
36231         (ctanh_test_upward): Likewise.
36232         (erf_test_data): Update call to AUTO_TESTS_f_f.
36233         (erfc_test_data): Likewise.
36234         (exp_test_data): Likewise.
36235         (exp_test): Use ALL_RM_TEST.
36236         (exp_tonearest_test_data): Remove.
36237         (exp_test_tonearest): Likewise.
36238         (exp_towardzero_test_data): Likewise.
36239         (exp_test_towardzero): Likewise.
36240         (exp_downward_test_data): Likewise.
36241         (exp_test_downward): Likewise.
36242         (exp_upward_test_data): Likewise.
36243         (exp_test_upward): Likewise.
36244         (exp10_test_data): Update call to AUTO_TESTS_f_f.
36245         (exp10_test): Use ALL_RM_TEST.
36246         (exp10_tonearest_test_data): Remove.
36247         (exp10_test_tonearest): Likewise.
36248         (exp10_towardzero_test_data): Likewise.
36249         (exp10_test_towardzero): Likewise.
36250         (exp10_downward_test_data): Likewise.
36251         (exp10_test_downward): Likewise.
36252         (exp10_upward_test_data): Likewise.
36253         (exp10_test_upward): Likewise.
36254         (exp2_test_data): Update call to AUTO_TESTS_f_f.
36255         (expm1_test_data): Likewise.
36256         (expm1_test): Use ALL_RM_TEST.
36257         (expm1_tonearest_test_data): Remove.
36258         (expm1_test_tonearest): Likewise.
36259         (expm1_towardzero_test_data): Likewise.
36260         (expm1_test_towardzero): Likewise.
36261         (expm1_downward_test_data): Likewise.
36262         (expm1_test_downward): Likewise.
36263         (expm1_upward_test_data): Likewise.
36264         (expm1_test_upward): Likewise.
36265         (fma_test_data): Update call to AUTO_TESTS_fff_f.
36266         (fma_test): Use ALL_RM_TEST.
36267         (fma_towardzero_test_data): Remove.
36268         (fma_test_towardzero): Likewise.
36269         (fma_downward_test_data): Likewise.
36270         (fma_test_downward): Likewise.
36271         (fma_upward_test_data): Likewise.
36272         (fma_test_upward): Likewise.
36273         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
36274         (j0_test_data): Update call to AUTO_TESTS_f_f.
36275         (j1_test_data): Likewise.
36276         (jn_test_data): Update call to AUTO_TESTS_if_f.
36277         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
36278         (log_test_data): Update call to AUTO_TESTS_f_f.
36279         (log10_test_data): Likewise.
36280         (log1p_test_data): Likewise.
36281         (log2_test_data): Likewise.
36282         (pow_test_data): Update call to AUTO_TESTS_ff_f.
36283         (pow_tonearest_test_data): Likewise.
36284         (sin_test_data): Update call to AUTO_TESTS_f_f.
36285         (sin_test): Use ALL_RM_TEST.
36286         (sin_tonearest_test_data): Remove.
36287         (sin_test_tonearest): Likewise.
36288         (sin_towardzero_test_data): Likewise.
36289         (sin_test_towardzero): Likewise.
36290         (sin_downward_test_data): Likewise.
36291         (sin_test_downward): Likewise.
36292         (sin_upward_test_data): Likewise.
36293         (sin_test_upward): Likewise.
36294         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
36295         (sinh_test_data): Update call to AUTO_TESTS_f_f.
36296         (sinh_test): Use ALL_RM_TEST.
36297         (sinh_tonearest_test_data): Remove.
36298         (sinh_test_tonearest): Likewise.
36299         (sinh_towardzero_test_data): Likewise.
36300         (sinh_test_towardzero): Likewise.
36301         (sinh_downward_test_data): Likewise.
36302         (sinh_test_downward): Likewise.
36303         (sinh_upward_test_data): Likewise.
36304         (sinh_test_upward): Likewise.
36305         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
36306         (sqrt_test): Use ALL_RM_TEST.
36307         (sqrt_tonearest_test_data): Remove.
36308         (sqrt_test_tonearest): Likewise.
36309         (sqrt_towardzero_test_data): Likewise.
36310         (sqrt_test_towardzero): Likewise.
36311         (sqrt_downward_test_data): Likewise.
36312         (sqrt_test_downward): Likewise.
36313         (sqrt_upward_test_data): Likewise.
36314         (sqrt_test_upward): Likewise.
36315         (tan_test_data): Update call to AUTO_TESTS_f_f.
36316         (tan_test): Use ALL_RM_TEST.
36317         (tan_tonearest_test_data): Remove.
36318         (tan_test_tonearest): Likewise.
36319         (tan_towardzero_test_data): Likewise.
36320         (tan_test_towardzero): Likewise.
36321         (tan_downward_test_data): Likewise.
36322         (tan_test_downward): Likewise.
36323         (tan_upward_test_data): Likewise.
36324         (tan_test_upward): Likewise.
36325         (tanh_test_data): Update call to AUTO_TESTS_f_f.
36326         (tgamma_test_data): Likewise.
36327         (y0_test_data): Likewise.
36328         (y1_test_data): Likewise.
36329         (yn_test_data): Update call to AUTO_TESTS_if_f.
36330         (main): Do not call removed functions.
36332 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
36334         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
36335         (ldexp_test_data): Remove.
36336         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
36337         scalbn_test_data.
36338         (scalb_test): Use ALL_RM_TEST.
36340 2014-03-19  Andreas Schwab  <schwab@suse.de>
36342         * nscd/nscd.service: Also invalidate netgroup cache on reload.
36344 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
36346         [BZ #16649]
36347         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
36348         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
36349         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
36350         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
36351         (__ASSUME_PREADV): Undefine.
36352         (__ASSUME_PWRITEV): Likewise.
36354 2014-03-18  Roland McGrath  <roland@hack.frob.com>
36356         * bits/mman-linux.h: Add comment about non-Linux use.
36357         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
36358         bits/mman-linux.h resting place.
36360         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
36361         * bits/mman-linux.h: ... here.
36363 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36365         * conform/conformtest.pl: Add standard definition when calling C
36366         preprocessor on data files.
36367         (checknamespace): Remove unused variable.
36369 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
36371         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
36372         minus_oflow, plus_uflow and minus_uflow in expected results.
36373         * math/libm-test.inc (scalbn_test_data): Add more tests of
36374         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
36375         minus_uflow.
36376         (scalbn_test): Use ALL_RM_TEST.
36377         (scalbln_test_data): Add more tests of negative arguments.  Use
36378         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
36379         (scalbln_test): Use ALL_RM_TEST.
36381 2014-03-18  Roland McGrath  <roland@hack.frob.com>
36383         * scripts/abilist.awk: Ignore symbols marked with .hidden.
36385 2014-03-18  Will Newton  <will.newton@linaro.org>
36387         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
36388         inaccurate comment.
36390 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
36392         * Makerules [!subdir] (check-abi): Exit with error status if a
36393         test failed.
36395 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
36397         * math/libm-test.inc (nearbyint_test_data): Include all tests used
36398         for rint.  Include results for all rounding modes.
36399         (nearbyint_test): Use ALL_RM_TEST.
36400         (rint_test_data): Include all tests used for nearbyint.
36402 2014-03-17  Will Newton  <will.newton@linaro.org>
36404         * nptl/sysdeps/pthread/pthread.h: Revert previous
36405         change.
36407         * sysdeps/generic/ldsodefs.h: Revert previous
36408         change.
36410         * libio/genops.c: Revert previous change.
36411         * libio/libioP.h: Likewise.
36412         * stdio-common/vfprintf.c: Likewise.
36414         * sysdeps/generic/math_private.h: Revert previous
36415         change.
36417         * sysdeps/generic/math_private.h: Check whether
36418         HAVE_RM_CTX is defined with #ifdef rather
36419         than #if.
36421         * argp/argp-fmtstream.h: Check whether
36422         __STRICT_ANSI__ is defined with #ifdef rather
36423         than #if.
36424         * argp/argp.h: Likewise.
36426         * libio/genops.c: Check whether
36427         _IO_JUMPS_OFFSET is defined with #ifdef rather
36428         than #if.
36429         * libio/libioP.h: Likewise.
36430         * stdio-common/vfprintf.c: Likewise.
36432         * sysdeps/generic/ldsodefs.h: Check whether
36433         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
36434         than #if.
36436         * nptl/sysdeps/pthread/pthread.h: Check
36437         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
36438         its value.
36440 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
36442         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
36443         setting O_APPEND.
36444         * libio/tst-ftell-active-handler.c (do_append_test): Add a
36445         test case.
36447         [BZ #16680]
36448         * libio/fileops.c (_IO_file_open): Seek to end of file but
36449         don't cache the offset.
36450         (get_file_offset): Remove function.
36451         (do_ftell): Use cached offset when available.
36452         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
36453         don't cache the offset.
36454         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
36455         case.
36456         (do_one_test): Call it.
36457         (do_ftell_test): Fix up expected old offset for a+ mode.
36458         * libio/wfileops.c (do_ftell_wide): Used cached offset when
36459         available.
36461         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
36462         up test status with function return status.
36463         (do_write_test): Likewise.
36464         (do_append_test): Likewise.
36466         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
36467         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
36468         Remove.
36470 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
36472         * math/gen-libm-test.pl (parse_args): Handle results specified for
36473         each rounding mode separately.
36474         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
36475         tests and results from lrint_tonearest_test_data,
36476         lrint_towardzero_test_data, lrint_downward_test_data and
36477         lrint_upward_test_data.
36478         (lrint_test): Use ALL_RM_TEST.
36479         (lrint_tonearest_test_data): Remove.
36480         (lrint_test_tonearest): Likewise.
36481         (lrint_towardzero_test_data): Likewise.
36482         (lrint_test_towardzero): Likewise.
36483         (lrint_downward_test_data): Likewise.
36484         (lrint_test_downward): Likewise.
36485         (lrint_upward_test_data): Likewise.
36486         (lrint_test_upward): Likewise.
36487         (llrint_test_data): Merge in per-rounding-mode tests and results
36488         from llrint_tonearest_test_data, llrint_towardzero_test_data,
36489         llrint_downward_test_data and llrint_upward_test_data.
36490         (llrint_test): Use ALL_RM_TEST.
36491         (llrint_tonearest_test_data): Remove.
36492         (llrint_test_tonearest): Likewise.
36493         (llrint_towardzero_test_data): Likewise.
36494         (llrint_test_towardzero): Likewise.
36495         (llrint_downward_test_data): Likewise.
36496         (llrint_test_downward): Likewise.
36497         (llrint_upward_test_data): Likewise.
36498         (llrint_test_upward): Likewise.
36499         (rint_test_data): Merge in per-rounding-mode tests and results
36500         from rint_tonearest_test_data, rint_towardzero_test_data,
36501         rint_downward_test_data and rint_upward_test_data.  Add
36502         per-rounding-mode results for tests not in those arrays.
36503         (rint_test): Use ALL_RM_TEST.
36504         (rint_tonearest_test_data): Remove.
36505         (rint_test_tonearest): Likewise.
36506         (rint_towardzero_test_data): Likewise.
36507         (rint_test_towardzero): Likewise.
36508         (rint_downward_test_data): Likewise.
36509         (rint_test_downward): Likewise.
36510         (rint_upward_test_data): Likewise.
36511         (rint_test_upward): Likewise.
36512         (main): Don't call removed functions.
36514 2014-03-14  Roland McGrath  <roland@hack.frob.com>
36516         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
36517         "Compiled on ..." crapola.  It is anti-useful.
36519 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
36521         * scripts/evaluate-test.sh: Handle fourth argument to determine
36522         whether test run should stop on failure.
36523         * Makeconfig (stop-on-test-failure): New variable.
36524         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
36525         $(stop-on-test-failure).
36526         * Makefile (tests): Give a summary of results from testing and
36527         exit with failure status if they include an ERROR or FAIL.
36528         (xtests): Likewise.
36529         * manual/install.texi (Configuring and compiling): Mention
36530         stop-on-test-failure=y.
36531         * INSTALL: Regenerated.
36533 2014-03-14  Roland McGrath  <roland@hack.frob.com>
36535         * scripts/versionlist.awk: New file.
36536         * Makerules [$(build-shared) = yes]
36537         (postclean-generated): Add Versions.def, not Versions.def.v and
36538         Versions.def.v.i.
36539         ($(common-objpfx)Versions.def.v.i): Target removed.
36540         ($(common-objpfx)Versions.def): New target.
36541         ($(common-objpfx)Versions.all): Depend on that rather that
36542         $(common-objpfx)Versions.def.v.
36543         * Versions.def: File removed.
36545         * Makeconfig (+gccwarn): Add -Wundef.
36546         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
36547         a dl-sysdep.h breaking its contract.
36548         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
36549         * include/stackinfo.h: New file.
36550         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
36551         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
36552         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
36553         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
36554         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
36555         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
36556         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
36557         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
36558         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
36559         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
36560         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
36561         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
36562         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
36563         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
36564         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
36566 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36568         [BZ #16707]
36569         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
36570         implementation.
36571         * math/libm-test.inc (round_test_data): Add more tests.
36573         [BZ #16706]
36574         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
36575         implementation.
36576         * math/libm-test.inc (nearbyint_test_data): Add more tests.
36578         [BZ #16701]
36579         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
36580         implementation.
36581         * math/libm-test.inc (ceil_test_data): Add more tests.
36583         * math/libm-test.inc (trunc_test_data): Add more tests related to
36584         BZ#16414.
36586 2014-03-14  Roland McGrath  <roland@hack.frob.com>
36588         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
36589         with #if rather than #ifdef.
36590         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
36592 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
36594         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
36595         first.  Disable AVX-512 GCC support if assembler doesn't support
36596         it.
36597         * sysdeps/x86_64/configure: Regenerated.
36599 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
36601         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
36602         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
36603         (__old_pthread_attr_setstack): Likewise.
36604         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
36605         [!_STACK_GROWS_DOWN]: Likewise.
36607 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
36609         * config.make.in (have-bash2): Delete.
36610         * configure.ac (libc_cv_have_bash2): Delete.
36611         * configure: Regenerate.
36612         * elf/Makefile (common-ldd-rewrite): Rename to ...
36613         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
36614         (sh-ldd-rewrite): Delete.
36615         (bash-ldd-rewrite): Delete.
36616         (have-bash2): Delete checks.
36617         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
36618         ldd-rewrite.
36620         * config.make.in (have-ksh): Delete.
36621         (KSH): Delete.
36622         * configure.ac (libc_cv_have_ksh): Delete.
36623         * configure: Regenerate.
36625         * elf/Makefile: Delete $(have-ksh) check.
36626         ($(objpfx)sotruss): Change KSH to BASH.
36627         * elf/sotruss.ksh: Rename to ...
36628         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
36629         function style to match POSIX.  Drop ksh vim mode setting.
36631         * manual/time.texi (Specifying the Time Zone with TZ): Change
36632         Tuesday to Thursday.
36634         * debug/tst-longjmp_chk2.c: Update header comment.
36635         (stackoverflow_handler): Add comment.  Call assert on pass value.
36637 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
36639         [BZ #16194]
36640         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
36641         (HAVE_AVX512_ASM_SUPPORT): Likewise.
36642         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
36643         (La_x86_64_vector): Add zmm.
36644         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
36645         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
36646         ($(objpfx)tst-audit10): New target.
36647         ($(objpfx)tst-audit10.out): Likewise.
36648         (tst-audit10-ENV): New.
36649         (AVX512-CFLAGS): Likewise.
36650         (CFLAGS-tst-audit10.c): Likewise.
36651         (CFLAGS-tst-auditmod10a.c): Likewise.
36652         (CFLAGS-tst-auditmod10b.c): Likewise.
36653         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
36654         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
36655         * sysdeps/x86_64/configure: Regenerated.
36656         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
36657         AVX-512 zmm register support.
36658         (_dl_x86_64_save_sse): Likewise.
36659         (_dl_x86_64_restore_sse): Likewise.
36660         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
36661         size vector registers.
36662         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
36663         (ZMM_SIZE): Likewise.
36664         * sysdeps/x86_64/tst-audit10.c: New file.
36665         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
36666         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
36668 2014-03-13  Roland McGrath  <roland@hack.frob.com>
36670         * configure.ac (HAVE_EHDR_START): New check.
36671         * configure: Regenerated.
36672         * config.h.in (HAVE_EHDR_START): New #undef.
36673         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
36674         assuming the lowest-addressed segment maps the start of the file.
36676 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
36678         * INSTALL: Regenerated.
36680 2014-03-13  Will Newton  <will.newton@linaro.org>
36682         * manual/setjmp.texi (System V contexts): Improve
36683         clarity and grammar of documentation.
36685 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
36687         [BZ #16381]
36688         * elf/Makefile (tests): Add tst-pie2.
36689         (tests-pie): Add tst-pie2.
36690         * elf/tst-pie2.c: New file.
36691         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
36692         for ET_EXEC.
36693         * elf/rtld.c (map_doit): Load executable as lt_executable.
36694         (dl_main): Likewise.
36696 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
36698         [BZ #16642]
36699         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
36700         (__ASSUME_PSELECT): Undefine.
36702 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36704         [BZ #16689]
36705         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
36706         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
36707         static build.
36708         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
36709         selector for static builds.
36711 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
36713         [BZ #16695]
36714         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
36715         key in the buffer.
36717 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36719         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
36720         IFUNC selector for static builds.
36722 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
36724         * sysdeps/mips/math_private.h [__mips_hard_float]
36725         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
36726         libc_feresetround_mips_ctx.
36727         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
36728         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
36729         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
36731         [BZ #16677]
36732         * math/s_nextafter.c (__nextafter): Do not return value from
36733         overflowing computation.
36734         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
36735         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
36736         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
36737         Likewise.
36738         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
36739         Likewise.
36740         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
36741         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
36743 2014-03-11  Roland McGrath  <roland@hack.frob.com>
36745         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
36746         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
36747         Move sfi_sp use from the load-multiple (that no longer sets sp) to
36748         the new mov targetting sp.
36750 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36752         [BZ #16683]
36753         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
36754         Define it for static builds as well.
36755         (NO_BZERO_IMPL): Likewise.
36757 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
36759         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
36760         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
36761         multiarch strspn for PPC64.
36762         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
36763         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
36764         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
36765         (__libc_ifunc_impl_list): Likewise.
36766         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
36767         multiarch optimizations
36768         * string/strspn.c (strspn): Using macro to redefine symbol name.
36770 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
36771             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36773         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
36774         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
36775         multiarch strncat for PPC64.
36776         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
36777         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
36778         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
36779         (__libc_ifunc_impl_list): Likewise.
36780         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
36781         multiarch optimizations
36783 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
36785         [BZ #16639]
36786         * nscd/nscd.service: Make service type forking.
36788 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36790         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
36791         sign in non default rounding modes.
36792         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
36794 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
36796         * math/libm-test.inc (ALL_RM_TEST): New macro.
36797         (ceil_test): Use ALL_RM_TEST.
36798         (cimag_test): Likewise.
36799         (conj_test): Likewise.
36800         (copysign_test): Likewise.
36801         (cproj_test): Likewise.
36802         (creal_test): Likewise.
36803         (fabs_test): Likewise.
36804         (floor_test): Likewise.
36805         (fmax_test): Likewise.
36806         (fmin_test): Likewise.
36807         (fmod_test): Likewise.
36808         (fpclassify_test): Likewise.
36809         (frexp_test): Likewise.
36810         (ilogb_test): Likewise.
36811         (isfinite_test): Likewise.
36812         (finite_test): Likewise.
36813         (isgreater_test): Likewise.
36814         (isgreaterequal_test): Likewise.
36815         (isinf_test): Likewise.
36816         (isless_test): Likewise.
36817         (islessequal_test): Likewise.
36818         (islessgreater_test): Likewise.
36819         (isnan_test): Likewise.
36820         (isnormal_test): Likewise.
36821         (issignaling_test): Likewise.
36822         (isunordered_test): Likewise.
36823         (logb_test): Likewise.
36824         (logb_downward_test_data): Remove.
36825         (logb_test_downward): Likewise.
36826         (lround_test): Use ALL_RM_TEST.
36827         (llround_test): Likewise.
36828         (modf_test): Likewise.
36829         (nexttoward_test): Likewise.
36830         (remainder_test): Likewise.
36831         (drem_test): Likewise.
36832         (remainder_tonearest_test_data): Likewise.
36833         (remainder_test_tonearest): Likewise.
36834         (drem_test_tonearest): Likewise.
36835         (remainder_towardzero_test_data): Likewise.
36836         (remainder_test_towardzero): Likewise.
36837         (drem_test_towardzero): Likewise.
36838         (remainder_downward_test_data): Likewise.
36839         (remainder_test_downward): Likewise.
36840         (drem_test_downward): Likewise.
36841         (remainder_upward_test_data): Likewise.
36842         (remainder_test_upward): Likewise.
36843         (drem_test_upward): Likewise.
36844         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
36845         (round_test): Use ALL_RM_TEST.
36846         (signbit_test): Likewise.
36847         (trunc_test): Likewise.
36848         (significand_test): Likewise.
36849         (main): Don't call removed functions.
36851 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
36853         [BZ #16674]
36854         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
36855         || __USE_XOPEN2K8].
36856         (ILL_ILLOPN): Likewise.
36857         (ILL_ILLADR): Likewise.
36858         (ILL_ILLTRP): Likewise.
36859         (ILL_PRVOPC): Likewise.
36860         (ILL_PRVREG): Likewise.
36861         (ILL_COPROC): Likewise.
36862         (ILL_BADSTK): Likewise.
36863         (FPE_INTDIV): Likewise.
36864         (FPE_INTOVF): Likewise.
36865         (FPE_FLTDIV): Likewise.
36866         (FPE_FLTOVF): Likewise.
36867         (FPE_FLTUND): Likewise.
36868         (FPE_FLTRES): Likewise.
36869         (FPE_FLTINV): Likewise.
36870         (FPE_FLTSUB): Likewise.
36871         (SEGV_MAPERR): Likewise.
36872         (SEGV_ACCERR): Likewise.
36873         (BUS_ADRALN): Likewise.
36874         (BUS_ADRERR): Likewise.
36875         (BUS_OBJERR): Likewise.
36876         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
36877         (TRAP_TRACE): Likewise.
36878         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
36879         __USE_XOPEN2K8].
36880         (CLD_KILLED): Likewise.
36881         (CLD_DUMPED): Likewise.
36882         (CLD_TRAPPED): Likewise.
36883         (CLD_STOPPED): Likewise.
36884         (CLD_CONTINUED): Likewise.
36885         (POLL_IN): Likewise.
36886         (POLL_OUT): Likewise.
36887         (POLL_MSG): Likewise.
36888         (POLL_ERR): Likewise.
36889         (POLL_PRI): Likewise.
36890         (POLL_HUP): Likewise.
36891         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
36892         Likewise.
36893         (ILL_ILLOPN): Likewise.
36894         (ILL_ILLADR): Likewise.
36895         (ILL_ILLTRP): Likewise.
36896         (ILL_PRVOPC): Likewise.
36897         (ILL_PRVREG): Likewise.
36898         (ILL_COPROC): Likewise.
36899         (ILL_BADSTK): Likewise.
36900         (FPE_INTDIV): Likewise.
36901         (FPE_INTOVF): Likewise.
36902         (FPE_FLTDIV): Likewise.
36903         (FPE_FLTOVF): Likewise.
36904         (FPE_FLTUND): Likewise.
36905         (FPE_FLTRES): Likewise.
36906         (FPE_FLTINV): Likewise.
36907         (FPE_FLTSUB): Likewise.
36908         (SEGV_MAPERR): Likewise.
36909         (SEGV_ACCERR): Likewise.
36910         (BUS_ADRALN): Likewise.
36911         (BUS_ADRERR): Likewise.
36912         (BUS_OBJERR): Likewise.
36913         (BUS_MCEERR_AR): Likewise.
36914         (BUS_MCEERR_AO): Likewise.
36915         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
36916         (TRAP_TRACE): Likewise.
36917         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
36918         __USE_XOPEN2K8].
36919         (CLD_KILLED): Likewise.
36920         (CLD_DUMPED): Likewise.
36921         (CLD_TRAPPED): Likewise.
36922         (CLD_STOPPED): Likewise.
36923         (CLD_CONTINUED): Likewise.
36924         (POLL_IN): Likewise.
36925         (POLL_OUT): Likewise.
36926         (POLL_MSG): Likewise.
36927         (POLL_ERR): Likewise.
36928         (POLL_PRI): Likewise.
36929         (POLL_HUP): Likewise.
36930         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
36931         (ILL_ILLOPN): Likewise.
36932         (ILL_ILLADR): Likewise.
36933         (ILL_ILLTRP): Likewise.
36934         (ILL_PRVOPC): Likewise.
36935         (ILL_PRVREG): Likewise.
36936         (ILL_COPROC): Likewise.
36937         (ILL_BADSTK): Likewise.
36938         (FPE_INTDIV): Likewise.
36939         (FPE_INTOVF): Likewise.
36940         (FPE_FLTDIV): Likewise.
36941         (FPE_FLTOVF): Likewise.
36942         (FPE_FLTUND): Likewise.
36943         (FPE_FLTRES): Likewise.
36944         (FPE_FLTINV): Likewise.
36945         (FPE_FLTSUB): Likewise.
36946         (SEGV_MAPERR): Likewise.
36947         (SEGV_ACCERR): Likewise.
36948         (BUS_ADRALN): Likewise.
36949         (BUS_ADRERR): Likewise.
36950         (BUS_OBJERR): Likewise.
36951         (BUS_MCEERR_AR): Likewise.
36952         (BUS_MCEERR_AO): Likewise.
36953         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
36954         (TRAP_TRACE): Likewise.
36955         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
36956         __USE_XOPEN2K8].
36957         (CLD_KILLED): Likewise.
36958         (CLD_DUMPED): Likewise.
36959         (CLD_TRAPPED): Likewise.
36960         (CLD_STOPPED): Likewise.
36961         (CLD_CONTINUED): Likewise.
36962         (POLL_IN): Likewise.
36963         (POLL_OUT): Likewise.
36964         (POLL_MSG): Likewise.
36965         (POLL_ERR): Likewise.
36966         (POLL_PRI): Likewise.
36967         (POLL_HUP): Likewise.
36968         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
36969         Likewise.
36970         (ILL_ILLOPN): Likewise.
36971         (ILL_ILLADR): Likewise.
36972         (ILL_ILLTRP): Likewise.
36973         (ILL_PRVOPC): Likewise.
36974         (ILL_PRVREG): Likewise.
36975         (ILL_COPROC): Likewise.
36976         (ILL_BADSTK): Likewise.
36977         (ILL_BADIADDR): Likewise.
36978         (ILL_BREAK): Likewise.
36979         (FPE_INTDIV): Likewise.
36980         (FPE_INTOVF): Likewise.
36981         (FPE_FLTDIV): Likewise.
36982         (FPE_FLTOVF): Likewise.
36983         (FPE_FLTUND): Likewise.
36984         (FPE_FLTRES): Likewise.
36985         (FPE_FLTINV): Likewise.
36986         (FPE_FLTSUB): Likewise.
36987         (FPE_DECOVF): Likewise.
36988         (FPE_DECDIV): Likewise.
36989         (FPE_DECERR): Likewise.
36990         (FPE_INVASC): Likewise.
36991         (FPE_INVDEC): Likewise.
36992         (SEGV_MAPERR): Likewise.
36993         (SEGV_ACCERR): Likewise.
36994         (SEGV_PSTKOVF): Likewise.
36995         (BUS_ADRALN): Likewise.
36996         (BUS_ADRERR): Likewise.
36997         (BUS_OBJERR): Likewise.
36998         (BUS_MCEERR_AR): Likewise.
36999         (BUS_MCEERR_AO): Likewise.
37000         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
37001         (TRAP_TRACE): Likewise.
37002         (TRAP_BRANCH): Likewise.
37003         (TRAP_HWBKPT): Likewise.
37004         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
37005         __USE_XOPEN2K8].
37006         (CLD_KILLED): Likewise.
37007         (CLD_DUMPED): Likewise.
37008         (CLD_TRAPPED): Likewise.
37009         (CLD_STOPPED): Likewise.
37010         (CLD_CONTINUED): Likewise.
37011         (POLL_IN): Likewise.
37012         (POLL_OUT): Likewise.
37013         (POLL_MSG): Likewise.
37014         (POLL_ERR): Likewise.
37015         (POLL_PRI): Likewise.
37016         (POLL_HUP): Likewise.
37017         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
37018         (ILL_ILLOPN): Likewise.
37019         (ILL_ILLADR): Likewise.
37020         (ILL_ILLTRP): Likewise.
37021         (ILL_PRVOPC): Likewise.
37022         (ILL_PRVREG): Likewise.
37023         (ILL_COPROC): Likewise.
37024         (ILL_BADSTK): Likewise.
37025         (FPE_INTDIV): Likewise.
37026         (FPE_INTOVF): Likewise.
37027         (FPE_FLTDIV): Likewise.
37028         (FPE_FLTOVF): Likewise.
37029         (FPE_FLTUND): Likewise.
37030         (FPE_FLTRES): Likewise.
37031         (FPE_FLTINV): Likewise.
37032         (FPE_FLTSUB): Likewise.
37033         (SEGV_MAPERR): Likewise.
37034         (SEGV_ACCERR): Likewise.
37035         (BUS_ADRALN): Likewise.
37036         (BUS_ADRERR): Likewise.
37037         (BUS_OBJERR): Likewise.
37038         (BUS_MCEERR_AR): Likewise.
37039         (BUS_MCEERR_AO): Likewise.
37040         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
37041         (TRAP_TRACE): Likewise.
37042         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
37043         __USE_XOPEN2K8].
37044         (CLD_KILLED): Likewise.
37045         (CLD_DUMPED): Likewise.
37046         (CLD_TRAPPED): Likewise.
37047         (CLD_STOPPED): Likewise.
37048         (CLD_CONTINUED): Likewise.
37049         (POLL_IN): Likewise.
37050         (POLL_OUT): Likewise.
37051         (POLL_MSG): Likewise.
37052         (POLL_ERR): Likewise.
37053         (POLL_PRI): Likewise.
37054         (POLL_HUP): Likewise.
37055         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
37056         (ILL_ILLOPN): Likewise.
37057         (ILL_ILLADR): Likewise.
37058         (ILL_ILLTRP): Likewise.
37059         (ILL_PRVOPC): Likewise.
37060         (ILL_PRVREG): Likewise.
37061         (ILL_COPROC): Likewise.
37062         (ILL_BADSTK): Likewise.
37063         (FPE_INTDIV): Likewise.
37064         (FPE_INTOVF): Likewise.
37065         (FPE_FLTDIV): Likewise.
37066         (FPE_FLTOVF): Likewise.
37067         (FPE_FLTUND): Likewise.
37068         (FPE_FLTRES): Likewise.
37069         (FPE_FLTINV): Likewise.
37070         (FPE_FLTSUB): Likewise.
37071         (SEGV_MAPERR): Likewise.
37072         (SEGV_ACCERR): Likewise.
37073         (BUS_ADRALN): Likewise.
37074         (BUS_ADRERR): Likewise.
37075         (BUS_OBJERR): Likewise.
37076         (BUS_MCEERR_AR): Likewise.
37077         (BUS_MCEERR_AO): Likewise.
37078         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
37079         (TRAP_TRACE): Likewise.
37080         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
37081         __USE_XOPEN2K8].
37082         (CLD_KILLED): Likewise.
37083         (CLD_DUMPED): Likewise.
37084         (CLD_TRAPPED): Likewise.
37085         (CLD_STOPPED): Likewise.
37086         (CLD_CONTINUED): Likewise.
37087         (POLL_IN): Likewise.
37088         (POLL_OUT): Likewise.
37089         (POLL_MSG): Likewise.
37090         (POLL_ERR): Likewise.
37091         (POLL_PRI): Likewise.
37092         (POLL_HUP): Likewise.
37093         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
37094         (ILL_ILLOPN): Likewise.
37095         (ILL_ILLADR): Likewise.
37096         (ILL_ILLTRP): Likewise.
37097         (ILL_PRVOPC): Likewise.
37098         (ILL_PRVREG): Likewise.
37099         (ILL_COPROC): Likewise.
37100         (ILL_BADSTK): Likewise.
37101         (FPE_INTDIV): Likewise.
37102         (FPE_INTOVF): Likewise.
37103         (FPE_FLTDIV): Likewise.
37104         (FPE_FLTOVF): Likewise.
37105         (FPE_FLTUND): Likewise.
37106         (FPE_FLTRES): Likewise.
37107         (FPE_FLTINV): Likewise.
37108         (FPE_FLTSUB): Likewise.
37109         (SEGV_MAPERR): Likewise.
37110         (SEGV_ACCERR): Likewise.
37111         (BUS_ADRALN): Likewise.
37112         (BUS_ADRERR): Likewise.
37113         (BUS_OBJERR): Likewise.
37114         (BUS_MCEERR_AR): Likewise.
37115         (BUS_MCEERR_AO): Likewise.
37116         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
37117         (TRAP_TRACE): Likewise.
37118         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
37119         __USE_XOPEN2K8].
37120         (CLD_KILLED): Likewise.
37121         (CLD_DUMPED): Likewise.
37122         (CLD_TRAPPED): Likewise.
37123         (CLD_STOPPED): Likewise.
37124         (CLD_CONTINUED): Likewise.
37125         (POLL_IN): Likewise.
37126         (POLL_OUT): Likewise.
37127         (POLL_MSG): Likewise.
37128         (POLL_ERR): Likewise.
37129         (POLL_PRI): Likewise.
37130         (POLL_HUP): Likewise.
37131         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
37132         (ILL_ILLOPN): Likewise.
37133         (ILL_ILLADR): Likewise.
37134         (ILL_ILLTRP): Likewise.
37135         (ILL_PRVOPC): Likewise.
37136         (ILL_PRVREG): Likewise.
37137         (ILL_COPROC): Likewise.
37138         (ILL_BADSTK): Likewise.
37139         (ILL_DBLFLT): Likewise.
37140         (ILL_HARDWALL): Likewise.
37141         (FPE_INTDIV): Likewise.
37142         (FPE_INTOVF): Likewise.
37143         (FPE_FLTDIV): Likewise.
37144         (FPE_FLTOVF): Likewise.
37145         (FPE_FLTUND): Likewise.
37146         (FPE_FLTRES): Likewise.
37147         (FPE_FLTINV): Likewise.
37148         (FPE_FLTSUB): Likewise.
37149         (SEGV_MAPERR): Likewise.
37150         (SEGV_ACCERR): Likewise.
37151         (BUS_ADRALN): Likewise.
37152         (BUS_ADRERR): Likewise.
37153         (BUS_OBJERR): Likewise.
37154         (BUS_MCEERR_AR): Likewise.
37155         (BUS_MCEERR_AO): Likewise.
37156         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
37157         (TRAP_TRACE): Likewise.
37158         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
37159         __USE_XOPEN2K8].
37160         (CLD_KILLED): Likewise.
37161         (CLD_DUMPED): Likewise.
37162         (CLD_TRAPPED): Likewise.
37163         (CLD_STOPPED): Likewise.
37164         (CLD_CONTINUED): Likewise.
37165         (POLL_IN): Likewise.
37166         (POLL_OUT): Likewise.
37167         (POLL_MSG): Likewise.
37168         (POLL_ERR): Likewise.
37169         (POLL_PRI): Likewise.
37170         (POLL_HUP): Likewise.
37171         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
37172         (ILL_ILLOPN): Likewise.
37173         (ILL_ILLADR): Likewise.
37174         (ILL_ILLTRP): Likewise.
37175         (ILL_PRVOPC): Likewise.
37176         (ILL_PRVREG): Likewise.
37177         (ILL_COPROC): Likewise.
37178         (ILL_BADSTK): Likewise.
37179         (FPE_INTDIV): Likewise.
37180         (FPE_INTOVF): Likewise.
37181         (FPE_FLTDIV): Likewise.
37182         (FPE_FLTOVF): Likewise.
37183         (FPE_FLTUND): Likewise.
37184         (FPE_FLTRES): Likewise.
37185         (FPE_FLTINV): Likewise.
37186         (FPE_FLTSUB): Likewise.
37187         (SEGV_MAPERR): Likewise.
37188         (SEGV_ACCERR): Likewise.
37189         (BUS_ADRALN): Likewise.
37190         (BUS_ADRERR): Likewise.
37191         (BUS_OBJERR): Likewise.
37192         (BUS_MCEERR_AR): Likewise.
37193         (BUS_MCEERR_AO): Likewise.
37194         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
37195         (TRAP_TRACE): Likewise.
37196         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
37197         __USE_XOPEN2K8].
37198         (CLD_KILLED): Likewise.
37199         (CLD_DUMPED): Likewise.
37200         (CLD_TRAPPED): Likewise.
37201         (CLD_STOPPED): Likewise.
37202         (CLD_CONTINUED): Likewise.
37203         (POLL_IN): Likewise.
37204         (POLL_OUT): Likewise.
37205         (POLL_MSG): Likewise.
37206         (POLL_ERR): Likewise.
37207         (POLL_PRI): Likewise.
37208         (POLL_HUP): Likewise.
37209         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
37210         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
37212         [BZ #16670]
37213         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
37214         before #include of <time.h>.
37215         [!__USE_XOPEN2K] (__need_timespec): Likewise.
37216         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
37217         (test-xfail-UNIX98/sched.h/conform): Likewise.
37219 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
37221         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
37222         error absence of trapping exception support.
37223         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
37225 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
37227         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
37228         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
37229         * timezone/Makefile (testdata): Move definition above include of
37230         Rules.
37231         (test-zones): New variable.
37232         (tests-special): Add zone files.
37233         (build-testdata): Use $(evaluate-test).
37235         * elf/Makefile (tests-special): Rename tests to end with .out.
37236         ($(objpfx)noload-mem): Likewise.
37237         ($(objpfx)tst-leaks1-mem): Likewise.
37238         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
37239         * iconv/Makefile (xtests-special): Change test-iconvconfig to
37240         $(objpfx)test-iconvconfig.out.
37241         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
37242         set -e inside subshell and redirect output to file.
37243         * iconvdata/Makefile (generated): Rename tests to end with .out.
37244         Correct type.
37245         (tests-special): Rename tests to end with .out.
37246         ($(objpfx)mtrace-tst-loading): Likewise.
37247         * intl/Makefile (generated): Likewise.
37248         (tests-special): Likewise.
37249         ($(objpfx)mtrace-tst-gettext): Likewise.
37250         * misc/Makefile (generated): Likewise.
37251         (tests-special): Likewise.
37252         ($(objpfx)tst-error1-mem): Likewise.
37253         * nptl/Makefile (tests-special): Likewise.
37254         ($(objpfx)tst-stack3-mem): Likewise.
37255         (generated): Likewise.
37256         * posix/Makefile (generated): Likewise.
37257         (tests-special): Likewise.
37258         (xtests-special): Likewise.
37259         ($(objpfx)tst-fnmatch-mem): Likewise.
37260         ($(objpfx)bug-regex2-mem): Likewise.
37261         ($(objpfx)bug-regex14-mem): Likewise.
37262         ($(objpfx)bug-regex21-mem): Likewise.
37263         ($(objpfx)bug-regex31-mem): Likewise.
37264         ($(objpfx)tst-vfork3-mem): Likewise.
37265         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
37266         ($(objpfx)tst-pcre-mem): Likewise.
37267         ($(objpfx)tst-boost-mem): Likewise.
37268         ($(objpfx)bug-ga2-mem): Likewise.
37269         ($(objpfx)bug-glob2-mem): Likewise.
37270         * resolv/Makefile (generate): Likewise.
37271         (tests-special): Likewise.
37272         (xtests-special): Likewise.
37273         (generated): Likewise.
37274         ($(objpfx)mtrace-tst-leaks): Likewise.
37275         ($(objpfx)mtrace-tst-leaks2): Likewise.
37277         * scripts/merge-test-results.sh: New file.
37278         * Makefile (tests-special-notdir): New variable.
37279         (tests): Run merge-test-results.sh.
37280         (xtests): Likewise.
37281         * Rules (tests-special-notdir): New variable.
37282         (xtests-special-notdir): Likewise.
37283         (tests): Run merge-test-results.sh
37284         (xtests): Likewise.
37286         * Makeconfig (test-xfail-name): New variable.
37287         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
37288         compute variable name for expected failures.
37289         * conform/Makefile (conformtest-headers-data): New variable.
37290         (conformtest-standards): Likewise.
37291         (conformtest-headers-ISO): Likewise.
37292         (conformtest-headers-ISO99): Likewise.
37293         (conformtest-headers-ISO11): Likewise.
37294         (conformtest-headers-POSIX): Likewise.
37295         (conformtest-headers-XPG3): Likewise.
37296         (conformtest-headers-XPG4): Likewise.
37297         (conformtest-headers-UNIX98): Likewise.
37298         (conformtest-headers-XOPEN2K): Likewise.
37299         (conformtest-headers-POSIX2008): Likewise.
37300         (conformtest-headers-XOPEN2K8): Likewise.
37301         (conformtest-header-list-base): Likewise.
37302         (conformtest-header-list-tests): Likewise.
37303         (conformtest-header-base): Likewise.
37304         (conformtest-header-tests): Likewise.
37305         (tests-special): Add $(conformtest-header-list-tests).  If
37306         [$(fast-check) && !$(cross-compiling)], add
37307         $(conformtest-header-tests) instead of
37308         $(objpfx)run-conformtest.out.
37309         (generated): Add $(conformtest-header-list-base).  If
37310         [$(fast-check) && !$(cross-compiling)], add
37311         $(conformtest-header-base).  Remove previous setting.
37312         ($(conformtest-header-list-tests)): New target.
37313         (test-xfail-run-conformtest): Remove variable.
37314         ($(objpfx)run-conformtest.out): Remove target.
37315         (test-xfail-ISO11/complex.h/conform): New variable.
37316         (test-xfail-ISO11/stdalign.h/conform): Likewise.
37317         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
37318         (test-xfail-XPG3/varargs.h/conform): Likewise.
37319         (test-xfail-XPG4/varargs.h/conform): Likewise.
37320         (test-xfail-UNIX98/varargs.h/conform): Likewise.
37321         (test-xfail-XPG4/ndbm.h/conform): Likewise.
37322         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
37323         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
37324         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
37325         (test-xfail-XPG3/fcntl.h/conform): Likewise.
37326         (test-xfail-XPG3/ftw.h/conform): Likewise.
37327         (test-xfail-XPG3/grp.h/conform): Likewise.
37328         (test-xfail-XPG3/langinfo.h/conform): Likewise.
37329         (test-xfail-XPG3/limits.h/conform): Likewise.
37330         (test-xfail-XPG3/pwd.h/conform): Likewise.
37331         (test-xfail-XPG3/search.h/conform): Likewise.
37332         (test-xfail-XPG3/signal.h/conform): Likewise.
37333         (test-xfail-XPG3/stdio.h/conform): Likewise.
37334         (test-xfail-XPG3/stdlib.h/conform): Likewise.
37335         (test-xfail-XPG3/string.h/conform): Likewise.
37336         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
37337         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
37338         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
37339         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
37340         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
37341         (test-xfail-XPG3/sys/types.h/conform): Likewise.
37342         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
37343         (test-xfail-XPG3/termios.h/conform): Likewise.
37344         (test-xfail-XPG3/time.h/conform): Likewise.
37345         (test-xfail-XPG3/unistd.h/conform): Likewise.
37346         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
37347         (test-xfail-XPG4/fcntl.h/conform): Likewise.
37348         (test-xfail-XPG4/langinfo.h/conform): Likewise.
37349         (test-xfail-XPG4/netdb.h/conform): Likewise.
37350         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
37351         (test-xfail-XPG4/signal.h/conform): Likewise.
37352         (test-xfail-XPG4/stdio.h/conform): Likewise.
37353         (test-xfail-XPG4/stdlib.h/conform): Likewise.
37354         (test-xfail-XPG4/stropts.h/conform): Likewise.
37355         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
37356         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
37357         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
37358         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
37359         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
37360         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
37361         (test-xfail-XPG4/sys/time.h/conform): Likewise.
37362         (test-xfail-XPG4/sys/types.h/conform): Likewise.
37363         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
37364         (test-xfail-XPG4/termios.h/conform): Likewise.
37365         (test-xfail-XPG4/ucontext.h/conform): Likewise.
37366         (test-xfail-XPG4/unistd.h/conform): Likewise.
37367         (test-xfail-XPG4/utmpx.h/conform): Likewise.
37368         (test-xfail-POSIX/sched.h/conform): Likewise.
37369         (test-xfail-POSIX/signal.h/conform): Likewise.
37370         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
37371         (test-xfail-POSIX/tar.h/conform): Likewise.
37372         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
37373         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
37374         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
37375         (test-xfail-UNIX98/netdb.h/conform): Likewise.
37376         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
37377         (test-xfail-UNIX98/sched.h/conform): Likewise.
37378         (test-xfail-UNIX98/signal.h/conform): Likewise.
37379         (test-xfail-UNIX98/stdio.h/conform): Likewise.
37380         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
37381         (test-xfail-UNIX98/stropts.h/conform): Likewise.
37382         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
37383         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
37384         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
37385         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
37386         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
37387         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
37388         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
37389         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
37390         (test-xfail-UNIX98/unistd.h/conform): Likewise.
37391         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
37392         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
37393         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
37394         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
37395         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
37396         (test-xfail-XOPEN2K/math.h/conform): Likewise.
37397         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
37398         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
37399         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
37400         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
37401         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
37402         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
37403         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
37404         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
37405         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
37406         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
37407         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
37408         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
37409         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
37410         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
37411         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
37412         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
37413         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
37414         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
37415         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
37416         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
37417         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
37418         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
37419         (test-xfail-POSIX2008/signal.h/conform): Likewise.
37420         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
37421         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
37422         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
37423         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
37424         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
37425         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
37426         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
37427         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
37428         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
37429         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
37430         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
37431         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
37432         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
37433         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
37434         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
37435         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
37436         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
37437         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
37438         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
37439         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
37440         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
37441         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
37442         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
37443         (conformtest-cc-flags): Likewise.
37444         ($(conformtest-header-tests): New target.
37445         * conform/check-header-lists.sh: New file.
37446         * conform/run-conformtest.sh: Remove.
37448         * conform/conformtest.pl: Allow ' and \ in values given for
37449         constants.
37450         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
37451         inclusion.
37452         [POSIX] (sys/types.h): Likewise.
37453         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
37454         inclusion.
37455         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
37456         inclusion.
37457         * conform/data/signal.h-data (SIGIO): Remove expectation.
37458         [XPG3] (SIGBUS): Do not expect.
37459         [POSIX || XPG3] (SIGPOLL): Likewise.
37460         [POSIX || XPG3] (SIGPROF): Likewise.
37461         [POSIX || XPG3] (SIGSYS): Likewise.
37462         [XPG3] (SIGTRAP): Likewise.
37463         [POSIX || XPG3] (SIGURG): Likewise.
37464         [POSIX || XPG3] (SIGVTALRM): Likewise.
37465         [POSIX || XPG3] (SIGXCPU): Likewise.
37466         [POSIX || XPG3] (SIGXFSZ): Likewise.
37467         [POSIX] (SA_SIGINFO): Expect.
37468         [XPG3] (siginfo_t): Do not expect type or contents.
37469         [POSIX] (si_pid): Do not expect element.
37470         [POSIX] (si_uid): Likewise.
37471         [POSIX] (si_addr): Likewise.
37472         [POSIX] (si_status): Likewise.
37473         [POSIX] (si_band): Likewise.
37474         [XPG4] (si_value): Likewise.
37475         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
37476         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
37477         [POSIX || XPG3] (ILL_ILLADR): Likewise.
37478         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
37479         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
37480         [POSIX || XPG3] (ILL_PRVREG): Likewise.
37481         [POSIX || XPG3] (ILL_COPROC): Likewise.
37482         [POSIX || XPG3] (ILL_BADSTK): Likewise.
37483         [POSIX || XPG3] (FPE_INTDIV): Likewise.
37484         [POSIX || XPG3] (FPE_INTOVF): Likewise.
37485         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
37486         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
37487         [POSIX || XPG3] (FPE_FLTUND): Likewise.
37488         [POSIX || XPG3] (FPE_FLTRES): Likewise.
37489         [POSIX || XPG3] (FPE_FLTINV): Likewise.
37490         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
37491         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
37492         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
37493         [POSIX || XPG3] (BUS_ADRALN): Likewise.
37494         [POSIX || XPG3] (BUS_ADRERR): Likewise.
37495         [POSIX || XPG3] (BUS_OBJERR): Likewise.
37496         [POSIX || XPG3] (CLD_EXITED): Likewise.
37497         [POSIX || XPG3] (CLD_KILLED): Likewise.
37498         [POSIX || XPG3] (CLD_DUMPED): Likewise.
37499         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
37500         [POSIX || XPG3] (CLD_STOPPED): Likewise.
37501         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
37502         [POSIX || XPG3] (POLL_IN): Likewise.
37503         [POSIX || XPG3] (POLL_OUT): Likewise.
37504         [POSIX || XPG3] (POLL_MSG): Likewise.
37505         [POSIX || XPG3] (POLL_ERR): Likewise.
37506         [POSIX || XPG3] (POLL_PRI): Likewise.
37507         [POSIX || XPG3] (POLL_HUP): Likewise.
37508         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
37509         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
37510         (SIG*): Do not allow.
37511         [XPG3] (si_*): Likewise.
37512         [XPG3] (SI_*): Likewise.
37513         [XPG3 || XPG4] (sigev_*): Likewise.
37514         [XPG3 || XPG4] (SIGEV_*): Likewise.
37515         [XPG3 || XPG4] (sival_*): Likewise.
37516         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
37517         [POSIX || XPG3] (BUS_*): Likewise.
37518         [POSIX || XPG3] (CLD_*): Likewise.
37519         [POSIX || XPG3] (FPE_*): Likewise.
37520         [POSIX || XPG3] (ILL_*): Likewise.
37521         [POSIX || XPG3] (POLL_*): Likewise.
37522         [POSIX || XPG3] (SEGV_*): Likewise.
37523         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
37524         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
37525         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
37526         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
37527         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
37528         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
37529         Specify type and value.
37530         (TVERSLEN): Likewise.
37531         (REGTYPE): Likewise.
37532         (AREGTYPE): Likewise.
37533         (LNKTYPE): Likewise.
37534         (SYMTYPE): Likewise.
37535         (CHRTYPE): Likewise.
37536         (BLKTYPE): Likewise.
37537         (DIRTYPE): Likewise.
37538         (FIFOTYPE): Likewise.
37539         (CONTTYPE): Likewise.
37540         (TSUID): Likewise.
37541         (TSGID): Likewise.
37542         (TSVTX): Likewise.
37543         (TUREAD): Likewise.
37544         (TUWRITE): Likewise.
37545         (TUEXEC): Likewise.
37546         (TGREAD): Likewise.
37547         (TGWRITE): Likewise.
37548         (TGEXEC): Likewise.
37549         (TOREAD): Likewise.
37550         (TOWRITE): Likewise.
37551         (TOEXEC): Likewise.
37552         [POSIX] (TSVTX): Expect constant.
37554 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
37556         * Makefile (tests): Change dependencies to ....
37557         (tests-special): ... additions to this variable.
37558         (tests): Depend on $(tests-special).
37559         * Makerules (check-abi-list): New variable.
37560         (check-abi): Depend on $(check-abi-list).
37561         [$(subdir) = elf] (tests-special): Add
37562         $(objpfx)check-abi-libc.out.
37563         [$(build-shared) = yes && subdir] (tests-special): Add
37564         $(check-abi-list).
37565         [$(build-shared) = yes && subdir] (tests): Do not depend on
37566         check-abi.
37567         * Rules (tests): Depend on $(tests-special).
37568         (xtests): Depend on $(xtests-special).
37569         * catgets/Makefile (tests): Change dependencies to ....
37570         (tests-special): ... additions to this variable.
37571         * conform/Makefile (tests): Change dependencies to ....
37572         (tests-special): ... additions to this variable.
37573         * elf/Makefile (tests): Change dependencies to ....
37574         (tests-special): ... additions to this variable.
37575         * grp/Makefile (tests): Change dependencies to ....
37576         (tests-special): ... additions to this variable.
37577         * iconv/Makefile (xtests): Change dependencies to ....
37578         (xtests-special): ... additions to this variable.
37579         * iconvdata/Makefile (tests): Change dependencies to ....
37580         (tests-special): ... additions to this variable.
37581         * intl/Makefile (tests): Change dependencies to ....
37582         (tests-special): ... additions to this variable.  Also add
37583         $(objpfx)tst-gettext.out.
37584         * io/Makefile (tests): Change dependencies to ....
37585         (tests-special): ... additions to this variable.
37586         * libio/Makefile (tests): Change dependencies to ....
37587         (tests-special): ... additions to this variable.
37588         * malloc/Makefile (tests): Change dependencies to ....
37589         (tests-special): ... additions to this variable.
37590         * misc/Makefile (tests): Change dependencies to ....
37591         (tests-special): ... additions to this variable.
37592         * nptl/Makefile (tests): Change dependencies to ....
37593         (tests-special): ... additions to this variable.
37594         * nptl_db/Makefile (tests): Change dependencies to ....
37595         (tests-special): ... additions to this variable.
37596         * posix/Makefile (tests): Change dependencies to ....
37597         (tests-special): ... additions to this variable.
37598         (xtests): Change dependencies to ....
37599         (xtests-special): ... additions to this variable.
37600         * resolv/Makefile (tests): Change dependencies to ....
37601         (tests-special): ... additions to this variable.
37602         (xtests): Change dependencies to ....
37603         (xtests-special): ... additions to this variable.
37604         * stdio-common/Makefile (tests): Change dependencies to ....
37605         (tests-special): ... additions to this variable.
37606         (do-tst-unbputc): Remove target.
37607         (do-tst-printf): Likewise.
37608         * stdlib/Makefile (tests): Change dependencies to ....
37609         (tests-special): ... additions to this variable.
37610         * string/Makefile (tests): Change dependencies to ....
37611         (tests-special): ... additions to this variable.
37612         * sysdeps/x86/Makefile (tests): Change dependencies to ....
37613         (tests-special): ... additions to this variable.
37615         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
37616         whole file.
37617         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
37618         whole file.
37619         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
37620         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
37622         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
37623         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
37624         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
37625         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
37626         * conform/data/libgen.h-data [XPG3]: Likewise.
37627         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
37628         * conform/data/ndbm.h-data [XPG3]: Likewise.
37629         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
37630         * conform/data/netdb.h-data [XPG3]: Likewise.
37631         * conform/data/netinet/in.h-data [XPG3]: Likewise.
37632         * conform/data/poll.h-data [XPG3]: Likewise.
37633         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
37634         * conform/data/strings.h-data [XPG3]: Likewise.
37635         * conform/data/stropts.h-data [XPG3]: Likewise.
37636         * conform/data/sys/mman.h-data [XPG3]: Likewise.
37637         * conform/data/sys/resource.h-data [XPG3]: Likewise.
37638         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
37639         Likewise.
37640         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
37641         * conform/data/sys/time.h-data [XPG3]: Likewise.
37642         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
37643         * conform/data/sys/uio.h-data [XPG3]: Likewise.
37644         * conform/data/sys/un.h-data [XPG3]: Likewise.
37645         * conform/data/syslog.h-data [XPG3]: Likewise.
37646         * conform/data/ucontext.h-data [XPG3]: Likewise.
37647         * conform/data/utmpx.h-data [XPG3]: Likewise.
37648         * conform/data/varargs.h-data [UNIX98]: Enable file.
37650         * manual/Makefile (INSTALL_INFO): Remove variable setting.
37652         * math/libm-test.inc (struct test_f_f_data): Move expected results
37653         into structure for each rounding mode.
37654         (struct test_ff_f_data): Likewise.
37655         (struct test_ff_f_data_nexttoward): Likewise.
37656         (struct test_fi_f_data): Likewise.
37657         (struct test_fl_f_data): Likewise.
37658         (struct test_if_f_data): Likewise.
37659         (struct test_fff_f_data): Likewise.
37660         (struct test_c_f_data): Likewise.
37661         (struct test_f_f1_data): Likewise.
37662         (struct test_fF_f1_data): Likewise.
37663         (struct test_ffI_f1_data): Likewise.
37664         (struct test_c_c_data): Likewise.
37665         (struct test_cc_c_data): Likewise.
37666         (struct test_f_i_data): Likewise.
37667         (struct test_ff_i_data): Likewise.
37668         (struct test_f_l_data): Likewise.
37669         (struct test_f_L_data): Likewise.
37670         (struct test_fFF_11_data): Likewise.
37671         (RM_): New macro.
37672         (RM_FE_DOWNWARD): Likewise.
37673         (RM_FE_TONEAREST): Likewise.
37674         (RM_FE_TOWARDZERO): Likewise.
37675         (RM_FE_UPWARD): Likewise.
37676         (RUN_TEST_LOOP_f_f): Update references to expected results.
37677         (RUN_TEST_LOOP_2_f): Likewise.
37678         (RUN_TEST_LOOP_fff_f): Likewise.
37679         (RUN_TEST_LOOP_c_f): Likewise.
37680         (RUN_TEST_LOOP_f_f1): Likewise.
37681         (RUN_TEST_LOOP_fF_f1): Likewise.
37682         (RUN_TEST_LOOP_fI_f1): Likewise.
37683         (RUN_TEST_LOOP_ffI_f1): Likewise.
37684         (RUN_TEST_LOOP_c_c): Likewise.
37685         (RUN_TEST_LOOP_cc_c): Likewise.
37686         (RUN_TEST_LOOP_f_i): Likewise.
37687         (RUN_TEST_LOOP_f_i_tg): Likewise.
37688         (RUN_TEST_LOOP_ff_i_tg): Likewise.
37689         (RUN_TEST_LOOP_f_b): Likewise.
37690         (RUN_TEST_LOOP_f_b_tg): Likewise.
37691         (RUN_TEST_LOOP_f_l): Likewise.
37692         (RUN_TEST_LOOP_f_L): Likewise.
37693         (RUN_TEST_LOOP_fFF_11): Likewise.
37694         * math/gen-libm-test.pl (parse_args): Output four copies of
37695         expected results for each test.
37697         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
37698         (__ASSUME_UTIMES): Remove.
37699         * sysdeps/unix/sysv/linux/tile/kernel-features.h
37700         (__ASSUME_UTIMES): Likewise.
37702         * math/gen-auto-libm-tests.c: Update comment on output format.
37703         (output_for_one_input_case): Generate before-rounding and
37704         after-rounding information as conditions on output flags not
37705         floating-point format.
37706         * math/auto-libm-test-out: Regenerated.
37707         * math/gen-libm-test.pl (cond_value): New function.
37708         (or_cond_value): Use cond_value.
37709         (generate_testfile): Handle conditional exceptions.
37711 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
37713         * math/libm-test.inc (max_valid_error): New variable.
37714         (init_max_error): Take new argument specifying whether function
37715         results are exactly determined.  Set max_valid_error and bound
37716         other variables for errors based on this argument.
37717         (set_max_error): Do not record results above max_valid_error.
37718         (check_float_internal): Only accept errors of up to 0.5ulps if
37719         also at most max_valid_error.
37720         (START): Take new argument EXACT and pass it to init_max_error.
37721         (acos_test): Update call to START.
37722         (acos_test_tonearest): Likewise.
37723         (acos_test_towardzero): Likewise.
37724         (acos_test_downward): Likewise.
37725         (acos_test_upward): Likewise.
37726         (acosh_test): Likewise.
37727         (asin_test): Likewise.
37728         (asin_test_tonearest): Likewise.
37729         (asin_test_towardzero): Likewise.
37730         (asin_test_downward): Likewise.
37731         (asin_test_upward): Likewise.
37732         (asinh_test): Likewise.
37733         (atan_test): Likewise.
37734         (atanh_test): Likewise.
37735         (atan2_test): Likewise.
37736         (cabs_test): Likewise.
37737         (cacos_test): Likewise.
37738         (cacosh_test): Likewise.
37739         (carg_test): Likewise.
37740         (casin_test): Likewise.
37741         (casinh_test): Likewise.
37742         (catan_test): Likewise.
37743         (catanh_test): Likewise.
37744         (cbrt_test): Likewise.
37745         (ccos_test): Likewise.
37746         (ccosh_test): Likewise.
37747         (ceil_test): Likewise.
37748         (cexp_test): Likewise.
37749         (cimag_test): Likewise.
37750         (clog_test): Likewise.
37751         (clog10_test): Likewise.
37752         (conj_test): Likewise.
37753         (copysign_test): Likewise.
37754         (cos_test): Likewise.
37755         (cos_test_tonearest): Likewise.
37756         (cos_test_towardzero): Likewise.
37757         (cos_test_downward): Likewise.
37758         (cos_test_upward): Likewise.
37759         (cosh_test): Likewise.
37760         (cosh_test_tonearest): Likewise.
37761         (cosh_test_towardzero): Likewise.
37762         (cosh_test_downward): Likewise.
37763         (cosh_test_upward): Likewise.
37764         (cpow_test): Likewise.
37765         (cproj_test): Likewise.
37766         (creal_test): Likewise.
37767         (csin_test): Likewise.
37768         (csinh_test): Likewise.
37769         (csqrt_test): Likewise.
37770         (ctan_test): Likewise.
37771         (ctan_test_tonearest): Likewise.
37772         (ctan_test_towardzero): Likewise.
37773         (ctan_test_downward): Likewise.
37774         (ctan_test_upward): Likewise.
37775         (ctanh_test): Likewise.
37776         (ctanh_test_tonearest): Likewise.
37777         (ctanh_test_towardzero): Likewise.
37778         (ctanh_test_downward): Likewise.
37779         (ctanh_test_upward): Likewise.
37780         (erf_test): Likewise.
37781         (erfc_test): Likewise.
37782         (exp_test): Likewise.
37783         (exp_test_tonearest): Likewise.
37784         (exp_test_towardzero): Likewise.
37785         (exp_test_downward): Likewise.
37786         (exp_test_upward): Likewise.
37787         (exp10_test): Likewise.
37788         (exp10_test_tonearest): Likewise.
37789         (exp10_test_towardzero): Likewise.
37790         (exp10_test_downward): Likewise.
37791         (exp10_test_upward): Likewise.
37792         (pow10_test): Likewise.
37793         (exp2_test): Likewise.
37794         (expm1_test): Likewise.
37795         (expm1_test_tonearest): Likewise.
37796         (expm1_test_towardzero): Likewise.
37797         (expm1_test_downward): Likewise.
37798         (expm1_test_upward): Likewise.
37799         (fabs_test): Likewise.
37800         (fdim_test): Likewise.
37801         (floor_test): Likewise.
37802         (fma_test): Likewise.
37803         (fma_test_towardzero): Likewise.
37804         (fma_test_downward): Likewise.
37805         (fma_test_upward): Likewise.
37806         (fmax_test): Likewise.
37807         (fmin_test): Likewise.
37808         (fmod_test): Likewise.
37809         (fpclassify_test): Likewise.
37810         (frexp_test): Likewise.
37811         (hypot_test): Likewise.
37812         (ilogb_test): Likewise.
37813         (isfinite_test): Likewise.
37814         (finite_test): Likewise.
37815         (isgreater_test): Likewise.
37816         (isgreaterequal_test): Likewise.
37817         (isinf_test): Likewise.
37818         (isless_test): Likewise.
37819         (islessequal_test): Likewise.
37820         (islessgreater_test): Likewise.
37821         (isnan_test): Likewise.
37822         (isnormal_test): Likewise.
37823         (issignaling_test): Likewise.
37824         (isunordered_test): Likewise.
37825         (j0_test): Likewise.
37826         (j1_test): Likewise.
37827         (jn_test): Likewise.
37828         (ldexp_test): Likewise.
37829         (lgamma_test): Likewise.
37830         (gamma_test): Likewise.
37831         (lrint_test): Likewise.
37832         (lrint_test_tonearest): Likewise.
37833         (lrint_test_towardzero): Likewise.
37834         (lrint_test_downward): Likewise.
37835         (lrint_test_upward): Likewise.
37836         (llrint_test): Likewise.
37837         (llrint_test_tonearest): Likewise.
37838         (llrint_test_towardzero): Likewise.
37839         (llrint_test_downward): Likewise.
37840         (llrint_test_upward): Likewise.
37841         (log_test): Likewise.
37842         (log10_test): Likewise.
37843         (log1p_test): Likewise.
37844         (log2_test): Likewise.
37845         (logb_test): Likewise.
37846         (logb_test_downward): Likewise.
37847         (lround_test): Likewise.
37848         (llround_test): Likewise.
37849         (modf_test): Likewise.
37850         (nearbyint_test): Likewise.
37851         (nextafter_test): Likewise.
37852         (nexttoward_test): Likewise.
37853         (pow_test): Likewise.
37854         (pow_test_tonearest): Likewise.
37855         (pow_test_towardzero): Likewise.
37856         (pow_test_downward): Likewise.
37857         (pow_test_upward): Likewise.
37858         (remainder_test): Likewise.
37859         (drem_test): Likewise.
37860         (remainder_test_tonearest): Likewise.
37861         (drem_test_tonearest): Likewise.
37862         (remainder_test_towardzero): Likewise.
37863         (drem_test_towardzero): Likewise.
37864         (remainder_test_downward): Likewise.
37865         (drem_test_downward): Likewise.
37866         (remainder_test_upward): Likewise.
37867         (drem_test_upward): Likewise.
37868         (remquo_test): Likewise.
37869         (rint_test): Likewise.
37870         (rint_test_tonearest): Likewise.
37871         (rint_test_towardzero): Likewise.
37872         (rint_test_downward): Likewise.
37873         (rint_test_upward): Likewise.
37874         (round_test): Likewise.
37875         (scalb_test): Likewise.
37876         (scalbn_test): Likewise.
37877         (scalbln_test): Likewise.
37878         (signbit_test): Likewise.
37879         (sin_test): Likewise.
37880         (sin_test_tonearest): Likewise.
37881         (sin_test_towardzero): Likewise.
37882         (sin_test_downward): Likewise.
37883         (sin_test_upward): Likewise.
37884         (sincos_test): Likewise.
37885         (sinh_test): Likewise.
37886         (sinh_test_tonearest): Likewise.
37887         (sinh_test_towardzero): Likewise.
37888         (sinh_test_downward): Likewise.
37889         (sinh_test_upward): Likewise.
37890         (sqrt_test): Likewise.
37891         (sqrt_test_tonearest): Likewise.
37892         (sqrt_test_towardzero): Likewise.
37893         (sqrt_test_downward): Likewise.
37894         (sqrt_test_upward): Likewise.
37895         (tan_test): Likewise.
37896         (tan_test_tonearest): Likewise.
37897         (tan_test_towardzero): Likewise.
37898         (tan_test_downward): Likewise.
37899         (tan_test_upward): Likewise.
37900         (tanh_test): Likewise.
37901         (tgamma_test): Likewise.
37902         (trunc_test): Likewise.
37903         (y0_test): Likewise.
37904         (y1_test): Likewise.
37905         (yn_test): Likewise.
37906         (significand_test): Likewise.
37908         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
37909         individual tests in comment.
37910         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
37911         (prev_max_error): New variable.
37912         (prev_real_max_error): Likewise.
37913         (prev_imag_max_error): Likewise.
37914         (compare_ulp_data): Don't refer to test names in comment.
37915         (find_test_ulps): Remove function.
37916         (find_function_ulps): Likewise.
37917         (find_complex_function_ulps): Likewise.
37918         (init_max_error): Take function name as argument.  Look up ulps
37919         for that function.
37920         (print_ulps): Remove function.
37921         (print_max_error): Use prev_max_error instead of calling
37922         find_function_ulps.
37923         (print_complex_max_error): Use prev_real_max_error and
37924         prev_imag_max_error instead of calling find_complex_function_ulps.
37925         (check_float_internal): Take max_ulp parameter instead of calling
37926         find_test_ulps.  Don't call print_ulps.
37927         (check_float): Update call to check_float_internal.
37928         (check_complex): Update calls to check_float_internal.
37929         (START): Pass argument to init_max_error.
37930         * math/gen-libm-test.pl (%results): Don't include "kind"
37931         information.
37932         (parse_ulps): Don't handle ulps of individual tests.
37933         (print_ulps_file): Likewise.
37934         (output_ulps): Likewise.
37935         * math/README.libm-test: Update.
37936         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
37937         individual tests.
37938         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
37939         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
37940         * sysdeps/arm/libm-test-ulps: Likewise.
37941         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
37942         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
37943         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
37944         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
37945         * sysdeps/microblaze/libm-test-ulps: Likewise.
37946         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
37947         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
37948         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
37949         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
37950         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
37951         * sysdeps/sh/libm-test-ulps: Likewise.
37952         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
37953         * sysdeps/tile/libm-test-ulps: Likewise.
37954         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37956 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
37958         * math/libm-test.inc (print_complex_max_error): Check separately
37959         whether real and imaginary errors are within allowed range and
37960         pass 0 to print_complex_function_ulps instead of value within
37961         allowed range.
37963 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
37965         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
37966         formatting.
37967         (get_handles_fopen): Likewise.
37968         (do_write_test): Likewise.
37970         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
37972         * libio/fileops.c (do_ftell): Use cached offset when
37973         available.
37974         * libio/iofwide.c (do_ftell_wide): Likewise.
37975         * libio/iofdopen.c (_IO_new_fdopen): Don't use
37976         _IO_file_attach.
37977         * libio/wfileops.c (_IO_fwide): Don't cache offset.
37979         [BZ #16532]
37980         * libio/libioP.h (get_file_offset): New function.
37981         * libio/fileops.c (get_file_offset): Likewise.
37982         (do_ftell): Likewise.
37983         (_IO_new_file_seekoff): Split out ftell logic.
37984         * libio/wfileops.c (do_ftell_wide): Likewise.
37985         (_IO_wfile_seekoff): Split out ftell logic.
37986         * libio/tst-ftell-active-handler.c: New test case.
37987         * libio/Makefile (tests): Add it.
37989 2014-03-03  Roland McGrath  <roland@hack.frob.com>
37991         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
37992         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
37994 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
37996         [BZ #16639]
37997         * nscd/connections.c (nscd_init): Call do_exit.
37998         (start_threads): Call do_exit and notify_parent.
37999         (begin_drop_privileges): Call do_exit.
38000         (finish_drop_privileges): Likewise.
38001         * nscd/selinux.c (preserve_capabilities): Likewise.
38002         (install_real_capabilities): Likewise.
38003         (nscd_selinux_enabled): Likewise.
38004         (avc_create_thread): Likewise.
38005         (avc_alloc_lock): Likewise.
38006         (nscd_avc_init): Likewise.
38007         * nscd/nscd.c (parent_fd): New static variable.
38008         (main): Create a pipe between parent and child processes.
38009         Skip closing parent_fd.
38010         (monitor_child): New function.
38011         (do_exit): Likewise.
38012         (notify_parent): Likewise.
38013         * nscd/nscd.h (notify_parent): Likewise.
38014         (do_exit): Likewise.
38016 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
38018         * malloc/malloc.c (__libc_calloc): Revert last change.
38020 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38022         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38024 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
38026         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
38027         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
38028         implementation.
38029         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
38030         (__libc_ifunc_impl_list): Likewise.
38031         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
38032         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
38033         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
38034         * string/strrchr.c: Define STRRCHR.
38036 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
38038         * benchtest/bench-strtok.c (simple_strtok): Delete.
38039         (strtok_string): Use as benchmark.
38040         * string/strtok (STRTOK): New macro.
38042 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
38044         * manual/threads.texi: Add header and standard comments to all
38045         functions.
38047         * elf/dl-lookup.c (check_match): New function.
38048         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
38049         (do_lookup_x): Remove nested function check_match. Use non-nested
38050         function check_match.
38052 2014-02-28  Roland McGrath  <roland@hack.frob.com>
38054         * csu/Makefile (generated, before-compile): Use += rather than =.
38055         * catgets/Makefile (generated, generated-dirs): Likewise.
38056         * debug/Makefile (generated): Likewise.
38057         * dlfcn/Makefile (generated): Likewise.
38058         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
38059         * iconvdata/Makefile (before-compile, generated): Likewise.
38060         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
38061         * libio/Makefile (generated): Likewise.
38062         * malloc/Makefile (generated): Likewise.
38063         * manual/Makefile (generated, generated-dirs): Likewise.
38064         * misc/Makefile (generated): Likewise.
38065         * posix/Makefile (generated): Likewise.
38066         * resolv/Makefile (generated): Likewise.
38067         * sunrpc/Makefile (generated, generated-dirs): Likewise.
38068         * timezone/Makefile (generated, generated-dirs): Likewise.
38070         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
38072 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38074         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
38075         power8 implementation.
38076         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
38077         file: POWER8 llround ifunc implementation.
38078         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
38079         (__lllround): Add POWER8 implementation.
38080         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
38081         POWER8 llround implementation.
38083         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
38084         power8 implementation.
38085         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
38086         file: POWER8 llrint ifunc implementation.
38087         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
38088         Add POWER8 implementation.
38089         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
38090         POWER8 llrint implementation.
38092         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
38093         power8 implementation.
38094         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
38095         file: POWER8 finite ifunc implementation.
38096         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
38097         Add POWER8 implementation.
38098         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
38099         Likewise.
38100         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
38101         POWER8 finite implementation.
38102         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
38104         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
38105         power8 implementation.
38106         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
38107         file: POWER8 isinf ifunc implementation.
38108         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
38109         POWER8 implementation.
38110         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
38111         Likewise.
38112         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
38113         isinf implementation.
38114         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
38116         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
38117         (INIT_ARCH): Add hwcap2 initialization.
38118         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
38119         power8 implementation.
38120         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
38121         file: POWER8 isnan ifunc implementation.
38122         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
38123         POWER8 implementation.
38124         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
38125         Likewise.
38126         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
38127         isnan implementation.
38128         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
38130 2014-02-27  Joey Ye  <joey.ye@arm.com>
38132         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
38133         (_FP_NANFRAC_Q): Set to zero.
38135 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
38137         [BZ #16623]
38138         * math/auto-libm-test-in: New test inputs.
38139         * math/auto-libm-test-out: Regenerate.
38140         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
38141         and DA.
38142         (__cos): Likewise.
38143         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
38145 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
38147         * scripts/evaluate-test.sh: Take new argument indicating whether
38148         failure is expected.
38149         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
38150         indicating whether failure is expected.
38151         * conform/Makefile (test-xfail-run-conformtest): New variable.
38152         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
38153         level.
38154         * posix/Makefile (test-xfail-annexc): New variable.
38155         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
38157 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
38159         * argp/Makefile: Include Makeconfig immediately after defining
38160         subdir.
38161         * assert/Makefile: Likewise.
38162         * benchtests/Makefile: Likewise.
38163         * catgets/Makefile: Likewise.
38164         * conform/Makefile: Likewise.
38165         * crypt/Makefile: Likewise.
38166         * csu/Makefile: Likewise.
38167         (all): Remove target.
38168         * ctype/Makefile: Include Makeconfig immediately after defining
38169         subdir.
38170         * debug/Makefile: Likewise.
38171         * dirent/Makefile: Likewise.
38172         * dlfcn/Makefile: Likewise.
38173         * gmon/Makefile: Likewise.
38174         * gnulib/Makefile: Likewise.
38175         * grp/Makefile: Likewise.
38176         * gshadow/Makefile: Likewise.
38177         * hesiod/Makefile: Likewise.
38178         * hurd/Makefile: Likewise.
38179         (all): Remove target.
38180         * iconvdata/Makefile: Include Makeconfig immediately after
38181         defining subdir.
38182         * inet/Makefile: Likewise.
38183         * intl/Makefile: Likewise.
38184         * io/Makefile: Likewise.
38185         * libio/Makefile: Likewise.
38186         (all): Remove target.
38187         * locale/Makefile: Include Makeconfig immediately after defining
38188         subdir.
38189         * login/Makefile: Likewise.
38190         * mach/Makefile: Likewise.
38191         (all): Remove target.
38192         * malloc/Makefile: Include Makeconfig immediately after defining
38193         subdir.
38194         (all): Remove target.
38195         * manual/Makefile: Include Makeconfig immediately after defining
38196         subdir.
38197         * math/Makefile: Likewise.
38198         * misc/Makefile: Likewise.
38199         * nis/Makefile: Likewise.
38200         * nss/Makefile: Likewise.
38201         * po/Makefile: Likewise.
38202         (all): Remove target.
38203         * posix/Makefile: Include Makeconfig immediately after defining
38204         subdir.
38205         * pwd/Makefile: Likewise.
38206         * resolv/Makefile: Likewise.
38207         * resource/Makefile: Likewise.
38208         * rt/Makefile: Likewise.
38209         * setjmp/Makefile: Likewise.
38210         * shadow/Makefile: Likewise.
38211         * signal/Makefile: Likewise.
38212         * socket/Makefile: Likewise.
38213         * soft-fp/Makefile: Likewise.
38214         * stdio-common/Makefile: Likewise.
38215         * stdlib/Makefile: Likewise.
38216         * streams/Makefile: Likewise.
38217         * string/Makefile: Likewise.
38218         * sunrpc/Makefile: Likewise.
38219         (all): Remove target.
38220         * sysvipc/Makefile: Include Makeconfig immediately after defining
38221         subdir.
38222         * termios/Makefile: Likewise.
38223         * time/Makefile: Likewise.
38224         * timezone/Makefile: Likewise.
38225         (all): Remove target.
38226         * wcsmbs/Makefile: Include Makeconfig immediately after defining
38227         subdir.
38228         * wctype/Makefile: Likewise.
38230 2014-02-26  Steve Ellcey  <sellcey@mips.com>
38232         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
38233         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
38234         (libc_feholdexcept_setround_mips): Ditto.
38235         (libc_feholdsetround): New.
38236         (libc_feholdsetroundf): New.
38237         (libc_feholdsetroundl): New.
38238         (libc_feupdateenv_test_mips): New.
38239         (libc_feupdateenv_test): New.
38240         (libc_feupdateenv_testf): New.
38241         (libc_feupdateenv_testl): New.
38242         (libc_feresetround): New.
38243         (libc_feresetroundf): New.
38244         (libc_feresetroundl): New.
38245         (libc_fetestexcept_mips): New.
38246         (libc_fetestexcept): New.
38247         (libc_fetestexceptf): New.
38248         (libc_fetestexceptl): New.
38249         (HAVE_RM_CTX): New.
38250         (libc_feholdexcept_setround_mips_ctx): New.
38251         (libc_feholdexcept_setround_ctx): New.
38252         (libc_feholdexcept_setroundf_ctx): New.
38253         (libc_feholdexcept_setroundl_ctx): New.
38254         (libc_fesetenv_mips_ctx): New.
38255         (libc_fesetenv_ctx): New.
38256         (libc_fesetenv_ctxf): New.
38257         (libc_fesetenv_ctxl): New.
38258         (libc_feupdateenv_mips_ctx): New.
38259         (libc_feupdateenv_ctx): New.
38260         (libc_feupdateenvf_ctx): New.
38261         (libc_feupdateenvl_ctx): New.
38262         (libc_feholdsetround_mips_ctx): New.
38263         (libc_feholdsetround_ctx): New.
38264         (libc_feholdsetroundf_ctx): New.
38265         (libc_feholdsetroundl_ctx): New.
38266         (libc_feresetround_mips_ctx): New.
38267         (libc_feresetround_ctx): New.
38268         (libc_feresetroundf_ctx): New.
38269         (libc_feresetroundl_ctx): New.
38271 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
38273         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
38275         * manual/ipc.texi: New file.
38276         * manual/Makefile (chapters): Add ipc.
38277         * manual/job.texi: Add "Inter-Process Communication" to next.
38278         * manual/process.texi: Add "Inter-Process Communication" to prev.
38280 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38282         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38284 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
38286         * malloc/malloc.c (__libc_calloc): Simplify implementation.
38288         * manual/arith.texi: Fix spaces after sentences.
38289         * manual/charset.texi: Likewise.
38290         * manual/errno.texi: Likewise.
38291         * manual/install.texi: Likewise.
38292         * manual/llio.texi: Likewise.
38293         * manual/locale.texi: Likewise.
38294         * manual/maint.texi: Likewise.
38295         * manual/math.texi: Likewise.
38296         * manual/memory.texi: Likewise.
38297         * manual/message.texi: Likewise.
38298         * manual/probes.texi: Likewise.
38299         * manual/resource.texi: Likewise.
38300         * manual/signal.texi: Likewise.
38301         * manual/socket.texi: Likewise.
38302         * manual/stdio.texi: Likewise.
38303         * manual/string.texi: Likewise.
38304         * manual/time.texi: Likewise.
38305         * manual/users.texi: Likewise.
38307 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
38309         [BZ #16632]
38310         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
38311         _DEFAULT_SOURCE is defined.
38313 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
38314             Carlos O'Donell  <carlos@redhat.com>
38316         [BZ #16613]
38317         * elf/dl-tls.c (_dl_count_modids): New function.
38318         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
38319         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
38320         audit library and increment generation counter.
38321         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
38322         * elf/tst-audit9.c: New file.
38323         * elf/tst-auditmod9a.c: New file.
38324         * elf/tst-auditmod9b.c: New file.
38325         * elf/Makefile: Add rules to build and run tst-audit9.
38327 2014-02-25  Florian Weimer  <fweimer@redhat.com>
38329         [BZ #15347]
38330         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
38332 2014-02-25  Will Newton  <will.newton@linaro.org>
38334         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
38335         (__longjmp): Restore sp and lr before restoring callee
38336         saved registers.  Add longjmp and longjmp_target
38337         SystemTap probe point.
38338         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
38339         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
38340         Define to zero to match jmpbuf layout.
38341         * sysdeps/arm/setjmp.S: Include stap-probe.h.
38342         (__sigsetjmp): Save sp and lr before saving callee
38343         saved registers.  Add setjmp SystemTap probe point.
38345 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
38347         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
38349 2014-02-24  Andreas Schwab  <schwab@suse.de>
38351         [BZ #15804]
38352         * elf/pldd.c (wait_for_ptrace_stop): New function.
38353         (main): Call it after attaching.
38355 2014-02-22  Roland McGrath  <roland@hack.frob.com>
38357         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
38358         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
38359         Versions files is now verboten.
38360         * hurd/Versions (libc: GLIBC_2.0):
38361         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
38362         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
38363         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
38364         * mach/Versions: Likewise.
38366         * csu/Versions: Remove unused %include.
38367         * resolv/Versions: Likewise.
38369 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
38371         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
38372         ($(objpfx)check-local-headers.out): Likewise.
38373         ($(objpfx)begin-end-check.out): Likewise.
38374         * Makerules (check-abi-%.out): Likewise.
38375         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
38376         ($(objpfx)test2.cat): Likewise.
38377         ($(objpfx)de/libc.cat): Likewise.
38378         ($(objpfx)test-gencat.out): Likewise.
38379         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
38380         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
38381         ($(objpfx)noload-mem): Likewise.
38382         ($(objpfx)tst-pathopt.out): Likewise.
38383         ($(objpfx)tst-rtld-load-self.out): Likewise.
38384         ($(objpfx)tst-array1-cmp.out): Likewise.
38385         ($(objpfx)tst-array1-static-cmp.out): Likewise.
38386         ($(objpfx)tst-array2-cmp.out): Likewise.
38387         ($(objpfx)tst-array3-cmp.out): Likewise.
38388         ($(objpfx)tst-array4-cmp.out): Likewise.
38389         ($(objpfx)tst-array5-cmp.out): Likewise.
38390         ($(objpfx)tst-array5-static-cmp.out): Likewise.
38391         ($(objpfx)check-textrel.out): Likewise.
38392         ($(objpfx)check-execstack.out): Likewise.
38393         ($(objpfx)check-localplt.out): Likewise.
38394         ($(objpfx)order2-cmp.out): Likewise.
38395         ($(objpfx)tst-leaks1-mem): Likewise.
38396         ($(objpfx)tst-leaks1-static-mem): Likewise.
38397         ($(objpfx)tst-initorder-cmp.out): Likewise.
38398         ($(objpfx)tst-initorder2-cmp.out): Likewise.
38399         ($(objpfx)tst-unused-dep.out): Likewise.
38400         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
38401         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
38402         * iconv/Makefile (test-iconvconfig): Likewise.
38403         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
38404         ($(objpfx)iconv-test.out): Likewise.
38405         ($(objpfx)tst-tables.out): Likewise.
38406         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
38407         ($(objpfx)tst-gettext.out): Likewise.
38408         ($(objpfx)tst-translit.out): Likewise.
38409         ($(objpfx)tst-gettext2.out): Likewise.
38410         ($(objpfx)tst-gettext4.out): Likewise.
38411         ($(objpfx)tst-gettext6.out): Likewise.
38412         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
38413         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
38414         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
38415         ($(objpfx)tst-fopenloc-mem.out): Likewise.
38416         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
38417         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
38418         * posix/Makefile ($(objpfx)globtest.out): Likewise.
38419         ($(objpfx)wordexp-tst.out): Likewise.
38420         ($(objpfx)annexc.out): Likewise.
38421         ($(objpfx)tst-fnmatch-mem): Likewise.
38422         ($(objpfx)bug-regex2-mem): Likewise.
38423         ($(objpfx)bug-regex14-mem): Likewise.
38424         ($(objpfx)bug-regex21-mem): Likewise.
38425         ($(objpfx)bug-regex31-mem): Likewise.
38426         ($(objpfx)tst-vfork3-mem): Likewise.
38427         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
38428         ($(objpfx)tst-pcre-mem): Likewise.
38429         ($(objpfx)tst-boost-mem): Likewise.
38430         ($(objpfx)tst-getconf.out): Likewise.
38431         ($(objpfx)bug-ga2-mem): Likewise.
38432         ($(objpfx)bug-glob2-mem): Likewise.
38433         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
38434         ($(objpfx)mtrace-tst-leaks2): Likewise.
38435         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
38436         ($(objpfx)tst-printf.out): Likewise.
38437         ($(objpfx)tst-setvbuf1.out): Likewise.
38438         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
38439         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
38440         ($(objpfx)tst-fmtmsg.out): Likewise.
38441         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
38442         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
38444         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
38445         * bits/sigaction.h [__USE_MISC]: Likewise.
38446         * bits/waitstatus.h: Update #endif comments.
38447         * ctype/ctype.h: Likewise.
38448         * dirent/dirent.h: Likewise.
38449         [__USE_MISC]: Remove redundant conditionals.
38450         * grp/grp.h: Update #endif comments.
38451         [__USE_GNU]: Remove redundant conditionals.
38452         [__USE_MISC]: Likewise.
38453         * inet/netinet/in.h [__USE_GNU]: Likewise.
38454         * io/sys/stat.h [__USE_MISC]: Likewise.
38455         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
38456         * libio/bits/stdio.h: Update #endif comments.
38457         [__USE_MISC]: Remove redundant conditionals.
38458         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
38459         * libio/stdio.h: Update #endif comments.
38460         [__USE_MISC]: Remove redundant conditionals.
38461         * math/bits/math-finite.h [__USE_MISC]: Likewise.
38462         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
38463         * math/math.h: Update #else and #endif comments.
38464         [__USE_MISC]: Remove redundant conditionals.
38465         * misc/sys/uio.h: Update #endif comments.
38466         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
38467         * posix/glob.h [__USE_MISC]: Likewise.
38468         * posix/sys/types.h: Update #endif comments.
38469         [__USE_MISC]: Remove redundant conditionals.
38470         * posix/sys/wait.h: Update #endif comments.
38471         [__USE_MISC]: Remove redundant conditionals.
38472         * posix/unistd.h: Update #endif comments.
38473         [__USE_MISC]: Remove redundant conditionals.
38474         * pwd/pwd.h [__USE_GNU]: Likewise.
38475         [__USE_MISC]: Likewise.
38476         * resolv/netdb.h [__USE_GNU]: Likewise.
38477         * signal/signal.h: Update #endif comments.
38478         [__USE_MISC]: Remove redundant conditionals.
38479         * stdlib/stdlib.h: Update #else and #endif comments.
38480         [__USE_MISC]: Remove redundant conditionals.
38481         [__USE_GNU]: Likewise.
38482         * string/bits/string2.h [__USE_MISC]: Likewise.
38483         * string/string.h: Update #endif comments.
38484         [__USE_MISC]: Remove redundant conditionals.
38485         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
38486         Likewise.
38487         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
38488         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
38489         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
38490         Likewise.
38491         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
38492         Likewise.
38493         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
38494         comments.
38495         [__USE_MISC]: Remove redundant conditionals.
38496         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
38497         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
38498         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
38499         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
38500         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
38501         Likewise.
38502         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
38503         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
38504         Likewise.
38505         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
38506         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
38507         Likewise.
38508         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
38509         Likewise.
38510         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
38511         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
38512         Likewise.
38513         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
38514         Likewise.
38515         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
38516         * sysdeps/x86/bits/string.h: Update #endif comments.
38517         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
38518         conditionals.
38519         * time/sys/time.h: Update #endif comments.
38520         * time/time.h: Likewise.
38521         [__USE_MISC]: Remove redundant conditionals.
38523 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
38525         [BZ #16600]
38526         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
38528 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
38530         * Versions.def (librt): Add GLIBC_2.17.
38532 2014-02-21  Adam Conrad  <adconrad@0c3.net>
38534         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
38535         synonym for _SYS_AUXV_H to allow direct inclusion.
38536         * sysdeps/sparc/bits/hwcap.h: Likewise.
38537         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
38538         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
38539         * sysdeps/sparc/sysdep.h: Likewise.
38541 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
38543         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
38545 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
38547         * benchtests/bench-strrchr.c: Print length instead of position.
38549 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
38551         [BZ #16611]
38552         * sysdeps/unix/sysv/linux/kernel-features.h
38553         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
38554         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
38555         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
38556         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
38557         Likewise.
38558         [__i386__ || __powerpc__ || __sh__ || __sparc__]
38559         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
38560         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
38561         (__ASSUME_SENDMMSG): Define instead of using previous
38562         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
38563         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
38564         (__ASSUME_SENDMMSG_SYSCALL): Define.
38565         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
38566         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
38567         Likewise.
38568         * sysdeps/unix/sysv/linux/arm/kernel-features.h
38569         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
38570         Likewise.
38571         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
38572         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
38573         Likewise.
38574         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
38575         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
38576         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
38577         [__ASSUME_SENDMMSG]: Change conditionals to
38578         [__ASSUME_SENDMMSG_SOCKETCALL].
38579         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
38580         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
38581         Define.
38582         * sysdeps/unix/sysv/linux/mips/kernel-features.h
38583         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
38584         Likewise.
38585         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
38586         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
38587         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
38588         [!__ASSUME_SENDMMSG]: Change conditional to
38589         [!__ASSUME_SENDMMSG_SOCKETCALL].
38590         * sysdeps/unix/sysv/linux/tile/kernel-features.h
38591         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
38592         Define.
38594         [BZ #16610]
38595         * sysdeps/unix/sysv/linux/kernel-features.h
38596         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
38597         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
38598         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
38599         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
38600         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
38601         [__i386__ || __sparc__]
38602         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
38603         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
38604         (__ASSUME_RECVMMSG): Define instead of using previous
38605         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
38606         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
38607         (__ASSUME_RECVMMSG_SYSCALL): Define.
38608         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
38609         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
38610         Likewise.
38611         * sysdeps/unix/sysv/linux/arm/kernel-features.h
38612         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
38613         Likewise.
38614         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
38615         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
38616         Likewise.
38617         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
38618         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
38619         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
38620         [__ASSUME_RECVMMSG]: Change condition to
38621         [__ASSUME_RECVMMSG_SOCKETCALL].
38622         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
38623         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
38624         Define.
38625         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
38626         * sysdeps/unix/sysv/linux/mips/kernel-features.h
38627         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
38628         Likewise.
38629         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
38630         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
38631         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
38632         [!__ASSUME_RECVMMSG]: Change condition to
38633         [!__ASSUME_RECVMMSG_SOCKETCALL].
38634         * sysdeps/unix/sysv/linux/tile/kernel-features.h
38635         (__ASSUME_RECVMMSG_SYSCALL): Define.
38637         [BZ #16609]
38638         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
38639         __powerpc__ || __s390__ || __sh__ || __sparc__]
38640         (__ASSUME_SOCKETCALL): Define.
38641         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
38642         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
38643         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
38644         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
38645         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
38646         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
38647         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
38648         (__ASSUME_ACCEPT4): Define instead of using previous
38649         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
38650         __powerpc__ || __sparc__ || __s390__)] condition.
38651         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
38652         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
38653         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
38654         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
38655         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
38656         [!__ASSUME_ACCEPT4]: Change condition to
38657         [!__ASSUME_ACCEPT4_SOCKETCALL].
38658         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
38659         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
38660         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
38661         * sysdeps/unix/sysv/linux/arm/kernel-features.h
38662         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
38663         __ASSUME_ACCEPT4_SYSCALL.
38664         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
38665         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
38666         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
38667         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
38668         __ASSUME_ACCEPT4_SYSCALL.
38669         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
38670         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
38671         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
38672         [__ASSUME_ACCEPT4]: Change condition to
38673         [__ASSUME_ACCEPT4_SOCKETCALL].
38674         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
38675         (__ASSUME_SOCKETCALL): Define.
38676         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
38677         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
38678         (__ASSUME_SOCKETCALL): Define.
38679         (__ASSUME_ACCEPT4): Remove.
38680         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
38681         Define.
38682         * sysdeps/unix/sysv/linux/mips/kernel-features.h
38683         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
38684         Likewise.
38685         * sysdeps/unix/sysv/linux/tile/kernel-features.h
38686         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
38688         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
38689         macro.
38690         (HWCAP_ARM_LPAE): Likewise.
38691         (HWCAP_ARM_EVTSTRM): Likewise.
38692         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
38693         Add vpfd32, lpae and evtstrm.
38694         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
38695         Increase to 22.
38697 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
38699         * math/auto-libm-test-in: Add tests of clog10.
38700         * math/auto-libm-test-out: Regenerated.
38701         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
38702         * sysdeps/i386/fpu/libm-test-ulps: Update.
38703         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38705 2014-02-18  Andreas Schwab  <schwab@suse.de>
38707         [BZ #16574]
38708         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
38709         Store non-zero if the second buffer was newly allocated.
38710         (send_dg): Likewise.
38711         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
38712         to send_vc and send_dg.
38713         (res_nsend): Pass NULL for ansp2_malloced.
38714         * resolv/res_query.c (__libc_res_nquery): Add parameter
38715         answerp2_malloced and pass it down to __libc_res_nsend.
38716         (res_nquery): Pass additional NULL to __libc_res_nquery.
38717         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
38718         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
38719         second answer buffer if answerp2_malloced was set.
38720         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
38721         (__libc_res_nquerydomain): Add parameter
38722         answerp2_malloced and pass it down to __libc_res_nquery.
38723         (res_nquerydomain): Pass additional NULL to
38724         __libc_res_nquerydomain.
38725         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
38726         additional NULL to __libc_res_nsend and __libc_res_nquery.
38727         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
38728         additional NULL to __libc_res_nsearch.
38729         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
38730         parameter of __libc_res_nsearch to check for separately allocated
38731         second buffer.
38732         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
38733         __libc_res_nquery.
38734         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
38735         additional NULL to __libc_res_nquery.
38736         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
38737         __libc_res_nsearch.
38738         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
38739         * include/resolv.h: Update prototypes of __libc_res_nquery,
38740         __libc_res_nsearch, __libc_res_nsend.
38742 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
38744         * math/auto-libm-test-in: Add tests of fma.
38745         * math/auto-libm-test-out: Regenerated.
38746         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
38747         (fma_towardzero_test_data): Likewise.
38748         (fma_downward_test_data): Likewise.
38749         (fma_upward_test_data): Likewise.
38750         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
38751         mpc_mode.
38752         (rounding_modes): Add values for new field.
38753         (func_calc_method): Add value mpfr_fff_f.
38754         (func_calc_desc): Add mpfr_fff_f union field.
38755         (test_function): Add field exact_args.
38756         (FUNC): Add macro argument EXACT_ARGS.
38757         (FUNC_mpfr_f_f): Update call to FUNC.
38758         (FUNC_mpfr_f_f): Likewise.
38759         (FUNC_mpfr_ff_f): Likewise.
38760         (FUNC_mpfr_if_f): Likewise.
38761         (FUNC_mpc_c_f): Likewise.
38762         (FUNC_mpc_c_c): Likewise.
38763         (test_functions): Add fma.  Update calls to FUNC.
38764         (handle_input_arg): Add argument exact_args.
38765         (add_test): Update call to handle_input_arg.
38766         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
38767         (output_for_one_input_case): Update call to calc_generic_results.
38768         Recalculate exact zero results in each rounding mode.
38770         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
38771         non-negative before setting low bit.
38772         * math/auto-libm-test-in: Mark one asin test possibly having
38773         spurious underflow.
38774         * math/auto-libm-test-out: Regenerated.
38775         * sysdeps/i386/fpu/libm-test-ulps: Update.
38776         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38778 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
38780         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
38781         * sysdeps/unix/sysv/linux/microblaze: Move directory from
38782         ports/sysdeps/unix/sysv/linux/microblaze.
38783         * README: Add missing listing for microblaze*-*-linux-gnu.
38785 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
38787         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
38788         duplicate code
38790 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
38792         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
38793         * sysdeps/unix/sysv/linux/ia64: Move directory from
38794         ports/sysdeps/unix/sysv/linux/ia64.
38795         * README: Update listing for ia64-*-linux-gnu.
38797 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
38798             Joseph Myers  <joseph@codesourcery.com>
38800         * Makeconfig (test-name): New variable.
38801         (evaluate-test): Likewise.
38802         * Makerules (do-test-clean): Remove .test-result files.
38803         (common-mostlyclean): Likewise.
38804         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
38805         * scripts/evaluate-test.sh: New file.
38807 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
38809         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
38810         separate $(objpfx)tst-fopenloc-cmp.out and
38811         $(objpfx)tst-fopenloc-mem.out targets.
38812         (tests): Update dependencies.
38813         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
38814         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
38815         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
38816         (tst-rxspencer-no-utf8-ARGS): New variable.
38817         (tst-rxspencer-no-utf8-ENV): Likewise.
38818         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
38819         instead of $(objpfx)tst-rxspencer-mem.
38820         ($(objpfx)tst-rxspencer-mem): Change target to
38821         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
38822         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
38823         * posix/tst-rxspencer-no-utf8.c: New file.
38825         * elf/Makefile ($(objpfx)order.out): Remove rule.
38826         [$(run-built-tests) = yes] (tests): Depend on
38827         $(objpfx)order-cmp.out.
38828         ($(objpfx)order-cmp.out): New rule.
38829         [$(run-built-tests) = yes] (tests): Depend on
38830         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
38831         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
38832         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
38833         $(objpfx)tst-array5-static-cmp.out.
38834         ($(objpfx)tst-array1.out): Remove rule.
38835         ($(objpfx)tst-array1-cmp.out): New rule.
38836         ($(objpfx)tst-array1-static.out): Remove rule.
38837         ($(objpfx)tst-array1-static-cmp.out): New rule.
38838         ($(objpfx)tst-array2.out): Remove rule.
38839         ($(objpfx)tst-array2-cmp.out): New rule.
38840         ($(objpfx)tst-array3.out): Remove rule.
38841         ($(objpfx)tst-array3-cmp.out): New rule.
38842         ($(objpfx)tst-array4.out): Remove rule.
38843         ($(objpfx)tst-array4-cmp.out): New rule.
38844         ($(objpfx)tst-array5.out): Remove rule.
38845         ($(objpfx)tst-array5-cmp.out): New rule.
38846         ($(objpfx)tst-array5-static.out): Remove rule.
38847         ($(objpfx)tst-array5-static-cmp.out): New rule.
38848         [$(run-built-tests) = yes] (tests): Depend on
38849         $(objpfx)order2-cmp.out.
38850         ($(objpfx)order2.out): Remove rule.
38851         ($(objpfx)order2-cmp.out): New rule.
38852         ($(objpfx)tst-initorder.out): Remove rule.
38853         [$(run-built-tests) = yes] (tests): Depend on
38854         $(objpfx)tst-initorder-cmp.out.
38855         ($(objpfx)tst-initorder-cmp.out): New rule.
38856         ($(objpfx)tst-initorder2.out): Remove rule.
38857         [$(run-built-tests) = yes] (tests): Depend on
38858         $(objpfx)tst-initorder2-cmp.out.
38859         ($(objpfx)tst-initorder2-cmp.out): New rule.
38860         [$(run-built-tests) = yes] (tests): Depend on
38861         $(objpfx)tst-unused-dep-cmp.out.
38862         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
38863         ($(objpfx)tst-unused-dep-cmp.out): New rule.
38864         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
38865         on $(objpfx)tst-setvbuf1-cmp.out.
38866         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
38867         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
38868         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
38869         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
38870         ($(objpfx)tst-svc.out): Remove rule.
38871         ($(objpfx)tst-svc-cmp.out): New rule.
38873 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
38875         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
38876         * ctype/ctype.h [__USE_MISC]: Likewise.
38877         * dirent/dirent.h [__USE_MISC]: Likewise.
38878         * grp/grp.h [__USE_MISC]: Likewise.
38879         * io/fcntl.h [__USE_MISC]: Likewise.
38880         * io/sys/stat.h [__USE_MISC]: Likewise.
38881         * libio/stdio.h [__USE_MISC]: Likewise.
38882         * posix/unistd.h [__USE_MISC]: Likewise.
38883         * pwd/pwd.h [__USE_MISC]: Likewise.
38884         * stdlib.h [__USE_MISC]: Likewise.
38885         * string/bits/string2.h [__USE_MISC]: Likewise.
38886         * string/string.h [__USE_MISC]: Likewise.
38887         * time/time.h [__USE_MISC]: Likewise.
38889 2014-02-13  Andreas Schwab  <schwab@suse.de>
38891         [BZ #16574]
38892         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
38893         second answer buffer if it was separately allocated.
38895 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
38897         * sysdeps/mips/math-tests.h: Include <features.h>.
38898         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
38899         (ROUNDING_TESTS_long_double): Do not define.
38900         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
38901         (EXCEPTION_TESTS_long_double): Likewise.
38902         * sysdeps/mips/mips64/libm-test-ulps: Update.
38904         * include/features.h (__USE_BSD): Remove macro definitions.
38905         (__USE_SVID): Likewise.
38906         (_BSD_SOURCE): Likewise.
38907         (_SVID_SOURCE): Likewise.
38908         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
38909         from definition of _DEFAULT_SOURCE.
38910         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
38911         [_DEFAULT_SOURCE].
38912         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
38913         * bits/mman.h [__USE_BSD]: Likewise.
38914         * bits/termios.h [__USE_BSD]: Likewise.
38915         * bits/waitstatus.h [__USE_BSD]: Likewise.
38916         * ctype/ctype.h [__USE_SVID]: Likewise.
38917         * dirent/dirent.h [__USE_BSD]: Likewise.
38918         * grp/grp.h [__USE_SVID]: Likewise.
38919         [__USE_BSD]: Likewise.
38920         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
38921         * io/fcntl.h [__USE_BSD]: Likewise.
38922         * io/ftw.h [__USE_BSD]: Likewise.
38923         * io/sys/stat.h [__USE_BSD]: Likewise.
38924         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
38925         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
38926         * libio/stdio.h [__USE_SVID]: Likewise.
38927         [__USE_BSD]: Likewise.
38928         * math/math.h [__USE_SVID]: Likewise.
38929         [__USE_BSD]: Likewise.
38930         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
38931         * misc/bits/syslog.h [__USE_BSD]: Likewise.
38932         * misc/search.h [__USE_SVID]: Likewise.
38933         * misc/sys/mman.h [__USE_BSD]: Likewise.
38934         * misc/sys/syslog.h [__USE_BSD]: Likewise.
38935         * misc/sys/uio.h [__USE_BSD]: Likewise.
38936         * posix/bits/unistd.h [__USE_BSD]: Likewise.
38937         * posix/glob.h [__USE_BSD]: Likewise.
38938         * posix/regex.h [__USE_BSD]: Likewise.
38939         * posix/sys/types.h [__USE_BSD]: Likewise.
38940         [__USE_SVID]: Likewise.
38941         * posix/sys/utsname.h [__USE_SVID]: Likewise.
38942         * posix/sys/wait.h [__USE_BSD]: Likewise.
38943         [__USE_SVID]: Likewise.
38944         * posix/unistd.h [__USE_BSD]: Likewise.
38945         [__USE_SVID]: Likewise.
38946         * pwd/pwd.h [__USE_SVID]: Likewise.
38947         * resolv/netdb.h [__USE_BSD]: Likewise.
38948         * setjmp/setjmp.h [__USE_BSD]: Likewise.
38949         * signal/signal.h [__USE_BSD]: Likewise.
38950         [__USE_SVID]: Likewise.
38951         * socket/sys/socket.h [__USE_BSD]: Likewise.
38952         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
38953         * stdlib/stdlib.h [__USE_BSD]: Likewise.
38954         [__USE_SVID]: Likewise.
38955         * string/bits/string2.h [__USE_BSD]: Likewise.
38956         [__USE_SVID]: Likewise.
38957         * string/bits/string3.h [__USE_BSD]: Likewise.
38958         * string/endian.h [__USE_BSD]: Likewise.
38959         * string/string.h [__USE_SVID]: Likewise.
38960         [__USE_BSD]: Likewise.
38961         * string/strings.h [__USE_BSD]: Likewise.
38962         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
38963         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
38964         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
38965         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
38966         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
38967         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
38968         Likewise.
38969         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
38970         Likewise.
38971         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
38972         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
38973         Likewise.
38974         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
38975         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
38976         Likewise.
38977         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
38978         Likewise.
38979         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
38980         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
38981         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
38982         Likewise.
38983         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
38984         Likewise.
38985         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
38986         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
38987         * termios/termios.h [__USE_BSD]: Likewise.
38988         * time/sys/time.h [__USE_BSD]: Likewise.
38989         * time/time.h [__USE_BSD]: Likewise.
38990         [__USE_SVID]: Likewise.
38992         * Makefile (subdir_targets): Remove subdir_lint.out.
38994         * stdio-common/Makefile (do-tst-unbputc): Remove target.
38995         (do-tst-printf): Likewise.
38996         (tests): Depend directly on $(objpfx)tst-unbputc.out and
38997         $(objpfx)tst-printf.out.
38999         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
39001         * Makerules (check-abi-%): Change target to
39002         $(objpfx)check-abi-%.out.
39003         (check-abi target): Update dependencies.
39004         (check-abi-pattern variable): Redirect output of diff to $@.
39005         (check-abi variable): Likewise.
39006         * elf/Makefile (check-abi): Update dependencies.
39008         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
39009         unused.
39010         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
39011         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
39012         subnormal range.
39013         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
39014         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
39015         value has largest subnormal exponent.
39016         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
39017         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
39018         * sysdeps/aarch64/soft-fp/sfp-machine.h
39019         (_FP_TININESS_AFTER_ROUNDING): New macro.
39020         * sysdeps/alpha/soft-fp/sfp-machine.h
39021         (_FP_TININESS_AFTER_ROUNDING): Likewise.
39022         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
39023         Likewise.
39024         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
39025         (_FP_TININESS_AFTER_ROUNDING): Likewise.
39026         * sysdeps/mips/soft-fp/sfp-machine.h
39027         (_FP_TININESS_AFTER_ROUNDING): Likewise.
39028         * sysdeps/powerpc/soft-fp/sfp-machine.h
39029         (_FP_TININESS_AFTER_ROUNDING): Likewise.
39030         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
39031         Likewise.
39032         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
39033         (_FP_TININESS_AFTER_ROUNDING): Likewise.
39034         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
39035         (_FP_TININESS_AFTER_ROUNDING): Likewise.
39036         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
39037         Likewise.
39039 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
39041         [BZ #16545]
39042         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
39043         model 1.
39045 2014-02-12  Richard Henderson  <rth@redhat.com>
39047         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
39048         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
39049         * sysdeps/unix/sysv/linux/alpha: Move directory from
39050         ports/sysdeps/unix/sysv/linux/alpha.
39051         * README: Update listing for alpha-*-linux-gnu.
39053 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
39055         * include/features.h: Update comment documenting feature test
39056         macros.
39057         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
39058         _DEFAULT_SOURCE.
39059         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
39060         (_SVID_SOURCE): Likewise.
39061         (_DEFAULT_SOURCE): Update description of default features.
39062         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
39063         with _GNU_SOURCE.
39064         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
39065         (S_ISVTX): Likewise.
39066         * manual/math.texi (Mathematical Constants): Likewise.
39067         * manual/signal.texi (Interrupted Primitives): Likewise.
39068         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
39069         * math/test-matherr.c (_SVID_SOURCE): Do not define.
39070         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
39071         Don't refer to _SVID_SOURCE in warning text.
39073         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
39075         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
39076         already defined.
39077         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
39078         * sysdeps/mips/dl-lookup.c: Remove.
39079         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
39081 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
39083         [BZ #16447]
39084         * math/auto-libm-test-in: Add testcase for expl.
39085         * math/auto-libm-test-out: Regenerate.
39086         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
39087         calculation of unsafe.
39088         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
39090 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
39092         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
39093         * sysdeps/unix/sysv/linux/aarch64: Move directory from
39094         ports/sysdeps/unix/sysv/linux/aarch64.
39095         * README: Update listing for aarch64*-*-linux-gnu.
39097 2014-02-11  Will Newton  <will.newton@linaro.org>
39099         * manual/probes.texi (Mathematical Function Probes): Use
39100         "triggered" instead of "hit".
39102         * manual/probes.texi (Internal Probes): Add documentation
39103         of setjmp, longjmp and longjmp_target probes.
39105         * include/stap-probe.h: Add comment about probe argument
39106         format.
39108         * malloc/mtrace.c (attribute_hidden): Remove unused macro
39109         definition.  (tr_where, tr_freehook, tr_mallochook,
39110         tr_reallochook, tr_memalignhook): Use ANSI protoype.
39112 2014-02-11  David S. Miller  <davem@davemloft.net>
39114         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
39115         processing int_tests.
39117 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
39119         * sysdeps/mips: Move directory from ports/sysdeps/mips.
39120         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
39121         * sysdeps/unix/sysv/linux/mips: Move directory from
39122         ports/sysdeps/unix/sysv/linux/mips.
39123         * README: Update listing for mips-*-linux-gnu and
39124         mips64-*-linux-gnu.
39126 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
39128         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
39129         * sysdeps/unix/sysv/linux/m68k: Move directory from
39130         ports/sysdeps/unix/sysv/linux/m68k.
39131         * README: Update listing for m68k-*-linux-gnu.
39133 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
39135         * sysdeps/tile: Move directory from ports/sysdeps/tile.
39136         * sysdeps/unix/sysv/linux/generic: Move directory from
39137         ports/sysdeps/unix/sysv/linux/generic.
39138         * sysdeps/unix/sysv/linux/tile: Move directory from
39139         ports/sysdeps/unix/sysv/linux/tile.
39140         * README: Update listing for tile*-*-linux-gnu.
39142 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
39144         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
39145         __builtin_expect.
39146         * benchtests/bench-memmem.c (simple_memmem): Likewise.
39147         * catgets/open_catalog.c (__open_catalog): Likewise.
39148         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
39149         * debug/confstr_chk.c: Likewise.
39150         * debug/fread_chk.c (__fread_chk): Likewise.
39151         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
39152         * debug/getgroups_chk.c: Likewise.
39153         * debug/mbsnrtowcs_chk.c: Likewise.
39154         * debug/mbsrtowcs_chk.c: Likewise.
39155         * debug/mbstowcs_chk.c: Likewise.
39156         * debug/memcpy_chk.c: Likewise.
39157         * debug/memmove_chk.c: Likewise.
39158         * debug/mempcpy_chk.c: Likewise.
39159         * debug/memset_chk.c: Likewise.
39160         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
39161         * debug/strcat_chk.c (__strcat_chk): Likewise.
39162         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
39163         * debug/strncat_chk.c (__strncat_chk): Likewise.
39164         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
39165         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
39166         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
39167         * debug/wcpncpy_chk.c: Likewise.
39168         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
39169         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
39170         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
39171         * debug/wcsncpy_chk.c: Likewise.
39172         * debug/wcsnrtombs_chk.c: Likewise.
39173         * debug/wcsrtombs_chk.c: Likewise.
39174         * debug/wcstombs_chk.c: Likewise.
39175         * debug/wmemcpy_chk.c: Likewise.
39176         * debug/wmemmove_chk.c: Likewise.
39177         * debug/wmempcpy_chk.c: Likewise.
39178         * debug/wmemset_chk.c: Likewise.
39179         * dirent/scandirat.c (SCANDIRAT): Likewise.
39180         * dlfcn/dladdr1.c (dladdr1): Likewise.
39181         * dlfcn/dladdr.c (dladdr): Likewise.
39182         * dlfcn/dlclose.c (dlclose_doit): Likewise.
39183         * dlfcn/dlerror.c (__dlerror): Likewise.
39184         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
39185         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
39186         * dlfcn/dlopen.c (dlopen_doit): Likewise.
39187         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
39188         * dlfcn/dlsym.c (dlsym_doit): Likewise.
39189         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
39190         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
39191         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
39192         Likewise.
39193         * elf/dl-conflict.c: Likewise.
39194         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
39195         * elf/dl-dst.h: Likewise.
39196         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
39197         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
39198         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
39199         * elf/dl-init.c (call_init, _dl_init): Likewise.
39200         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
39201         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
39202         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
39203         Likewise.
39204         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
39205         Likewise.
39206         * elf/dl-minimal.c (__libc_memalign): Likewise.
39207         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
39208         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
39209         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
39210         * elf/dl-sym.c (do_sym): Likewise.
39211         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
39212         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
39213         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
39214         * elf/dl-writev.h (_dl_writev): Likewise.
39215         * elf/ldconfig.c (search_dir): Likewise.
39216         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
39217         (dl_main): Likewise.
39218         * elf/setup-vdso.h (setup_vdso): Likewise.
39219         * grp/compat-initgroups.c (compat_call): Likewise.
39220         * grp/fgetgrent.c (fgetgrent): Likewise.
39221         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
39222         * grp/putgrent.c (putgrent): Likewise.
39223         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
39224         Likewise.
39225         * hurd/hurdinit.c: Likewise.
39226         * iconvdata/8bit-gap.c (struct): Likewise.
39227         * iconvdata/ansi_x3.110.c : Likewise.
39228         * iconvdata/big5.c : Likewise.
39229         * iconvdata/big5hkscs.c : Likewise.
39230         * iconvdata/cp1255.c: Likewise.
39231         * iconvdata/cp1258.c : Likewise.
39232         * iconvdata/cp932.c : Likewise.
39233         * iconvdata/euc-cn.c: Likewise.
39234         * iconvdata/euc-jisx0213.c : Likewise.
39235         * iconvdata/euc-jp.c: Likewise.
39236         * iconvdata/euc-jp-ms.c : Likewise.
39237         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
39238         * iconvdata/gb18030.c : Likewise.
39239         * iconvdata/gbbig5.c (const): Likewise.
39240         * iconvdata/gbgbk.c: Likewise.
39241         * iconvdata/gbk.c : Likewise.
39242         * iconvdata/ibm1364.c : Likewise.
39243         * iconvdata/ibm930.c : Likewise.
39244         * iconvdata/ibm932.c: Likewise.
39245         * iconvdata/ibm933.c : Likewise.
39246         * iconvdata/ibm935.c : Likewise.
39247         * iconvdata/ibm937.c : Likewise.
39248         * iconvdata/ibm939.c : Likewise.
39249         * iconvdata/ibm943.c: Likewise.
39250         * iconvdata/iso_11548-1.c: Likewise.
39251         * iconvdata/iso-2022-cn.c : Likewise.
39252         * iconvdata/iso-2022-cn-ext.c : Likewise.
39253         * iconvdata/iso-2022-jp-3.c: Likewise.
39254         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
39255         * iconvdata/iso-2022-kr.c : Likewise.
39256         * iconvdata/iso646.c (gconv_end): Likewise.
39257         * iconvdata/iso_6937-2.c : Likewise.
39258         * iconvdata/iso_6937.c : Likewise.
39259         * iconvdata/iso8859-1.c: Likewise.
39260         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
39261         * iconvdata/shift_jisx0213.c : Likewise.
39262         * iconvdata/sjis.c : Likewise.
39263         * iconvdata/t.61.c : Likewise.
39264         * iconvdata/tcvn5712-1.c : Likewise.
39265         * iconvdata/tscii.c: Likewise.
39266         * iconvdata/uhc.c : Likewise.
39267         * iconvdata/unicode.c (gconv_end): Likewise.
39268         * iconvdata/utf-16.c (gconv_end): Likewise.
39269         * iconvdata/utf-32.c (gconv_end): Likewise.
39270         * iconvdata/utf-7.c (base64): Likewise.
39271         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
39272         * iconv/gconv_close.c (__gconv_close): Likewise.
39273         * iconv/gconv_open.c (__gconv_open): Likewise.
39274         * iconv/gconv_simple.c (internal_ucs4_loop_single)
39275         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
39276         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
39277         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
39278         (ucs4le_internal_loop_single): Likewise.
39279         * iconv/iconv.c (iconv): Likewise.
39280         * iconv/iconv_close.c: Likewise.
39281         * iconv/loop.c (SINGLE): Likewise.
39282         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
39283         * include/atomic.h: Likewise.
39284         * inet/inet6_option.c (option_alloc): Likewise.
39285         * intl/bindtextdom.c (set_binding_values): Likewise.
39286         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
39287         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
39288         * intl/localealias.c (read_alias_file): Likewise.
39289         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
39290         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
39291         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
39292         * libio/fmemopen.c (fmemopen): Likewise.
39293         * libio/iofgets.c (_IO_fgets): Likewise.
39294         * libio/iofgets_u.c (fgets_unlocked): Likewise.
39295         * libio/iofgetws.c (fgetws): Likewise.
39296         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
39297         * libio/iogetdelim.c (_IO_getdelim): Likewise.
39298         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
39299         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
39300         * locale/findlocale.c (_nl_find_locale): Likewise.
39301         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
39302         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
39303         Likewise.
39304         * locale/setlocale.c (setlocale): Likewise.
39305         * login/programs/pt_chown.c (main): Likewise.
39306         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
39307         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
39308         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
39309         (mmap, mmap64, mremap, munmap): Likewise.
39310         * math/e_exp2l.c: Likewise.
39311         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
39312         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
39313         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
39314         * math/s_catan.c (__catan): Likewise.
39315         * math/s_catanf.c (__catanf): Likewise.
39316         * math/s_catanh.c (__catanh): Likewise.
39317         * math/s_catanhf.c (__catanhf): Likewise.
39318         * math/s_catanhl.c (__catanhl): Likewise.
39319         * math/s_catanl.c (__catanl): Likewise.
39320         * math/s_ccosh.c (__ccosh): Likewise.
39321         * math/s_ccoshf.c (__ccoshf): Likewise.
39322         * math/s_ccoshl.c (__ccoshl): Likewise.
39323         * math/s_cexp.c (__cexp): Likewise.
39324         * math/s_cexpf.c (__cexpf): Likewise.
39325         * math/s_cexpl.c (__cexpl): Likewise.
39326         * math/s_clog10.c (__clog10): Likewise.
39327         * math/s_clog10f.c (__clog10f): Likewise.
39328         * math/s_clog10l.c (__clog10l): Likewise.
39329         * math/s_clog.c (__clog): Likewise.
39330         * math/s_clogf.c (__clogf): Likewise.
39331         * math/s_clogl.c (__clogl): Likewise.
39332         * math/s_csin.c (__csin): Likewise.
39333         * math/s_csinf.c (__csinf): Likewise.
39334         * math/s_csinh.c (__csinh): Likewise.
39335         * math/s_csinhf.c (__csinhf): Likewise.
39336         * math/s_csinhl.c (__csinhl): Likewise.
39337         * math/s_csinl.c (__csinl): Likewise.
39338         * math/s_csqrt.c (__csqrt): Likewise.
39339         * math/s_csqrtf.c (__csqrtf): Likewise.
39340         * math/s_csqrtl.c (__csqrtl): Likewise.
39341         * math/s_ctan.c (__ctan): Likewise.
39342         * math/s_ctanf.c (__ctanf): Likewise.
39343         * math/s_ctanh.c (__ctanh): Likewise.
39344         * math/s_ctanhf.c (__ctanhf): Likewise.
39345         * math/s_ctanhl.c (__ctanhl): Likewise.
39346         * math/s_ctanl.c (__ctanl): Likewise.
39347         * math/w_pow.c: Likewise.
39348         * math/w_powf.c: Likewise.
39349         * math/w_powl.c: Likewise.
39350         * math/w_scalb.c (sysv_scalb): Likewise.
39351         * math/w_scalbf.c (sysv_scalbf): Likewise.
39352         * math/w_scalbl.c (sysv_scalbl): Likewise.
39353         * misc/error.c (error_tail): Likewise.
39354         * misc/pselect.c (__pselect): Likewise.
39355         * nis/nis_callback.c (__nis_create_callback): Likewise.
39356         * nis/nis_call.c (__nisfind_server): Likewise.
39357         * nis/nis_creategroup.c (nis_creategroup): Likewise.
39358         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
39359         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
39360         * nis/nis_getservlist.c (nis_getservlist): Likewise.
39361         * nis/nis_lookup.c (nis_lookup): Likewise.
39362         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
39363         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
39364         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
39365         * nis/nis_xdr.c (xdr_endpoint): Likewise.
39366         * nis/nss_compat/compat-grp.c (getgrent_next_file)
39367         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
39368         * nis/nss_compat/compat-initgroups.c (add_group)
39369         (internal_getgrent_r): Likewise.
39370         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
39371         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
39372         * nis/nss_compat/compat-spwd.c (getspent_next_file)
39373         (internal_getspnam_r): Likewise.
39374         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
39375         (_nss_nis_getaliasbyname_r): Likewise.
39376         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
39377         (_nss_nis_getntohost_r): Likewise.
39378         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
39379         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
39380         (_nss_nis_getgrgid_r): Likewise.
39381         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
39382         (internal_nis_gethostent_r, internal_gethostbyname2_r)
39383         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
39384         (_nss_nis_gethostbyname4_r): Likewise.
39385         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
39386         (initgroups_netid): Likewise.
39387         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
39388         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
39389         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
39390         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
39391         (_nss_nis_getprotobynumber_r): Likewise.
39392         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
39393         (_nss_nis_getsecretkey): Likewise.
39394         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
39395         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
39396         (_nss_nis_getpwuid_r): Likewise.
39397         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
39398         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
39399         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
39400         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
39401         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
39402         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
39403         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
39404         Likewise.
39405         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
39406         (_nss_nisplus_getntohost_r): Likewise.
39407         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
39408         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
39409         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
39410         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
39411         Likewise.
39412         * nis/nss_nisplus/nisplus-initgroups.c
39413         (_nss_nisplus_initgroups_dyn): Likewise.
39414         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
39415         (_nss_nisplus_getnetbyaddr_r): Likewise.
39416         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
39417         (_nss_nisplus_getprotobynumber_r): Likewise.
39418         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
39419         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
39420         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
39421         Likewise.
39422         * nis/nss_nisplus/nisplus-service.c
39423         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
39424         (_nss_nisplus_getservbyport_r): Likewise.
39425         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
39426         (_nss_nisplus_getspnam_r): Likewise.
39427         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
39428         Likewise.
39429         * nscd/aicache.c (addhstaiX): Likewise.
39430         * nscd/cache.c (cache_search, prune_cache): Likewise.
39431         * nscd/connections.c (register_traced_file, send_ro_fd)
39432         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
39433         (main_loop_epoll): Likewise.
39434         * nscd/grpcache.c (addgrbyX): Likewise.
39435         * nscd/hstcache.c (addhstbyX): Likewise.
39436         * nscd/initgrcache.c (addinitgroupsX): Likewise.
39437         * nscd/mem.c (gc, mempool_alloc): Likewise.
39438         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
39439         (addinnetgrX): Likewise.
39440         * nscd/nscd-client.h (__nscd_acquire_maplock)
39441         (__nscd_drop_map_ref): Likewise.
39442         * nscd/nscd_getai.c (__nscd_getai): Likewise.
39443         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
39444         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
39445         Likewise.
39446         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
39447         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
39448         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
39449         (__nscd_get_map_ref): Likewise.
39450         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
39451         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
39452         Likewise.
39453         * nscd/pwdcache.c (addpwbyX): Likewise.
39454         * nscd/selinux.c (preserve_capabilities): Likewise.
39455         * nscd/servicescache.c (addservbyX): Likewise.
39456         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
39457         * posix/fnmatch.c (fnmatch): Likewise.
39458         * posix/getopt.c (_getopt_internal_r): Likewise.
39459         * posix/glob.c (glob, glob_in_dir): Likewise.
39460         * posix/wordexp.c (exec_comm_child): Likewise.
39461         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
39462         (getanswer_r, gaih_getanswer_slice): Likewise.
39463         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
39464         * resolv/res_init.c: Likewise.
39465         * resolv/res_mkquery.c (res_nmkquery): Likewise.
39466         * resolv/res_query.c (__libc_res_nquery): Likewise.
39467         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
39468         Likewise.
39469         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
39470         * stdio-common/perror.c (perror): Likewise.
39471         * stdio-common/printf_fp.c (___printf_fp): Likewise.
39472         * stdio-common/tmpnam.c (tmpnam): Likewise.
39473         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
39474         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
39475         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
39476         Likewise.
39477         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
39478         * stdlib/putenv.c (putenv): Likewise.
39479         * stdlib/setenv.c (__add_to_environ): Likewise.
39480         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
39481         * stdlib/strtol_l.c (INTERNAL): Likewise.
39482         * string/memmem.c (memmem): Likewise.
39483         * string/strerror.c (strerror): Likewise.
39484         * string/strnlen.c (__strnlen): Likewise.
39485         * string/test-memmem.c (simple_memmem): Likewise.
39486         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
39487         * sunrpc/pm_getport.c (__get_socket): Likewise.
39488         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
39489         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
39490         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
39491         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
39492         Likewise.
39493         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
39494         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
39495         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
39496         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
39497         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
39498         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
39499         Likewise.
39500         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
39501         Likewise.
39502         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
39503         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
39504         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
39505         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
39506         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
39507         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
39508         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
39509         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
39510         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
39511         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
39512         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
39513         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
39514         Likewise.
39515         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
39516         Likewise.
39517         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
39518         Likewise.
39519         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
39520         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
39521         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
39522         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
39523         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
39524         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
39525         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
39526         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
39527         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
39528         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
39529         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
39530         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
39531         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
39532         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
39533         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
39534         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
39535         Likewise.
39536         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
39537         Likewise.
39538         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
39539         Likewise.
39540         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
39541         Likewise.
39542         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
39543         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
39544         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
39545         Likewise.
39546         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
39547         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
39548         * sysdeps/posix/opendir.c (__opendirat): Likewise.
39549         * sysdeps/posix/sleep.c: Likewise.
39550         * sysdeps/posix/tempname.c: Likewise.
39551         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
39552         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
39553         Likewise.
39554         * sysdeps/powerpc/powerpc32/dl-machine.h
39555         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
39556         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
39557         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
39558         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
39559         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
39560         Likewise.
39561         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
39562         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
39563         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
39564         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
39565         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
39566         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
39567         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
39568         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
39569         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
39570         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
39571         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
39572         (elf_machine_lazy_rel): Likewise.
39573         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
39574         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
39575         (elf_machine_lazy_rel): Likewise.
39576         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
39577         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
39578         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
39579         * sysdeps/unix/grantpt.c (grantpt): Likewise.
39580         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
39581         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
39582         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
39583         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
39584         Likewise.
39585         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
39586         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
39587         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
39588         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
39589         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
39590         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
39591         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
39592         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
39593         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
39594         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
39595         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
39596         Likewise.
39597         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
39598         (__posix_fallocate64_l64): Likewise.
39599         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
39600         (posix_fallocate): Likewise.
39601         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
39602         Likewise.
39603         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
39604         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
39605         (getifaddrs_internal): Likewise.
39606         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
39607         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
39608         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
39609         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
39610         * sysdeps/unix/sysv/linux/posix_fallocate64.c
39611         (__posix_fallocate64_l64): Likewise.
39612         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
39613         Likewise.
39614         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
39615         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
39616         (__get_clockfreq): Likewise.
39617         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
39618         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
39619         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
39620         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
39621         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
39622         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
39623         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
39624         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
39625         Likewise.
39626         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
39627         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
39628         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
39629         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
39630         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
39631         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
39632         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
39633         Likewise.
39634         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
39635         (posix_fallocate): Likewise.
39636         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
39637         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
39638         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
39639         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
39640         (elf_machine_rela, elf_machine_rela_relative)
39641         (elf_machine_lazy_rel): Likewise.
39642         * time/asctime.c (asctime_internal): Likewise.
39643         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
39644         * time/tzset.c (__tzset_parse_tz): Likewise.
39645         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
39646         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
39647         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
39648         * wcsmbs/wcsmbsload.h: Likewise.
39650         [BZ #15894]
39651         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
39653         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
39654         (arena_get2): Remove THREAD_STATS conditionals.
39655         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
39656         (__malloc_stats, int): Likewise.
39658 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
39660         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
39661         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
39663         * manual/setjmp.texi: Fix typos/grammar errors.
39665         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
39666         Only return early when n is <= 0.  Delete unused return statement.
39668         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
39669         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
39670         * debug/tst-longjmp_chk3.c: New file.
39672         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
39673         (test_main): Replace code with set_fortify_handler call.
39674         * debug/test-strcpy_chk.c: Likewise.
39675         * debug/tst-chk1.c: Likewise.
39676         * debug/tst-longjmp_chk.c: Likewise.
39677         * test-skeleton.c: Include fcntl.h & paths.h
39678         (set_fortify_handler): Define.
39680         * debug/tst-longjmp_chk.c: Add header comment and include
39681         ../test-skeleton.c.
39682         (do_test): Mark static.
39683         (TEST_FUNCTION): Define.
39685         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
39686         (IP_PMTUDISC_INTERFACE): Likewise.
39687         (IP_MULTICAST_IF): Likewise.
39688         (IP_MULTICAST_TTL): Likewise.
39689         (IP_MULTICAST_LOOP): Likewise.
39690         (IP_ADD_MEMBERSHIP): Likewise.
39691         (IP_DROP_MEMBERSHIP): Likewise.
39692         (IP_UNBLOCK_SOURCE): Likewise.
39693         (IP_BLOCK_SOURCE): Likewise.
39694         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
39695         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
39696         (IP_MSFILTER): Likewise.
39697         (MCAST_JOIN_GROUP): Likewise.
39698         (MCAST_BLOCK_SOURCE): Likewise.
39699         (MCAST_UNBLOCK_SOURCE): Likewise.
39700         (MCAST_LEAVE_GROUP): Likewise.
39701         (MCAST_JOIN_SOURCE_GROUP): Likewise.
39702         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
39703         (MCAST_MSFILTER): Likewise.
39704         (IP_MULTICAST_ALL): Likewise.
39705         (IP_UNICAST_IF): Likewise.
39707         * timezone/Makefile: Delete $(have-ksh) check.
39708         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
39709         * timezone/tzselect.ksh: Add +x mode bits.
39711         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
39712         (ANON_INODE_FS_MAGIC): Likewise.
39713         (BDEVFS_MAGIC): Likewise.
39714         (BINFMTFS_MAGIC): Likewise.
39715         (BTRFS_TEST_MAGIC): Likewise.
39716         (CRAMFS_MAGIC_WEND): Likewise.
39717         (DEBUGFS_MAGIC): Likewise.
39718         (ECRYPTFS_SUPER_MAGIC): Likewise.
39719         (EXT3_SUPER_MAGIC): Likewise.
39720         (EXT4_SUPER_MAGIC): Likewise.
39721         (FUTEXFS_SUPER_MAGIC): Likewise.
39722         (HOSTFS_SUPER_MAGIC): Likewise.
39723         (HUGETLBFS_MAGIC): Likewise.
39724         (MINIX3_SUPER_MAGIC): Likewise.
39725         (MTD_INODE_FS_MAGIC): Likewise.
39726         (NILFS_SUPER_MAGIC): Likewise.
39727         (OPENPROM_SUPER_MAGIC): Likewise.
39728         (PIPEFS_MAGIC): Likewise.
39729         (PSTOREFS_MAGIC): Likewise.
39730         (QNX6_SUPER_MAGIC): Likewise.
39731         (RAMFS_MAGIC): Likewise.
39732         (REISERFS_SUPER_MAGIC_STRING): Likewise.
39733         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
39734         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
39735         (SECURITYFS_MAGIC): Likewise.
39736         (SELINUX_MAGIC): Likewise.
39737         (SMACK_MAGIC): Likewise.
39738         (SOCKFS_MAGIC): Likewise.
39739         (SQUASHFS_MAGIC): Likewise.
39740         (STACK_END_MAGIC): Likewise.
39741         (TMPFS_MAGIC): Likewise.
39742         (USBDEVICE_SUPER_MAGIC): Likewise.
39743         (V9FS_MAGIC): Likewise.
39744         (XENFS_SUPER_MAGIC): Likewise.
39745         (CRAMFS_MAGIC): Fix typo in comment.
39746         (EXT2_SUPER_MAGIC): Update comment.
39747         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
39749 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
39751         * sysdeps/arm: Move directory from ports/sysdeps/arm.
39752         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
39753         * sysdeps/unix/sysv/linux/arm: Move directory from
39754         ports/sysdeps/unix/sysv/linux/arm.
39755         * README: Update listing for arm-*-linux-gnueabi.
39757         * README: Remove mention of am33.
39759 2014-02-07  Roland McGrath  <roland@hack.frob.com>
39761         * bits/sigset.h (__sigemptyset): Use a statement expression rather
39762         than the comma operator, to avoid "rhs of comma has no effect"
39763         compiler warnings.
39764         (__sigfillset, __sigandset, __sigorset): Likewise.
39765         * include/signal.h (__sigemptyset): Likewise.
39766         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
39768 2014-02-07  Allan McRae  <allan@archlinux.org>
39770         * version.h (RELEASE): Set to "development".
39771         (VERSION): Set to "2.19.90"
39772         * NEWS: Add 2.20 section.
39774 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
39776         [BZ #16529]
39777         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
39779 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
39781         * manual/contrib.texi: Update entry for Carlos O'Donell,
39782         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
39784 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
39786         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
39788         * sysdeps/unix/sysv/linux/kernel-features.h
39789         [__LINUX_KERNEL_VERSION >= 0x020621]
39790         (__ASSUME_PROC_PID_TASK_COMM): Define.
39792 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
39794         [BZ #16398]
39795         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
39796         conversion when destination buffer does not have enough space.
39797         * libio/tst-ftell-partial-wide.c: New test case.
39798         * libio/Makefile (tests): Add tst-ftell-partial-wide.
39800         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
39801         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
39802         Leonard and Allan McRae.
39804 2014-02-04  David S. Miller  <davem@davemloft.net>
39806         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
39807         32-bit.
39809 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39811         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
39812         New file
39813         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
39814         New file
39815         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
39816         New file.
39817         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
39818         New file.
39819         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
39820         New file.
39821         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
39822         New file.
39823         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
39824         New file.
39825         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
39826         New file.
39827         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
39828         New file.
39829         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
39830         New file.
39831         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
39832         New file.
39833         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
39834         New file.
39835         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
39836         New file.
39838 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39840         * nptl/shlib-versions: Change powerpc*le start to 2.17.
39841         * shlib-versions: Likewise.
39843 2014-02-04  Roland McGrath  <roland@hack.frob.com>
39844             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39846         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
39847         (abilist-pattern): New variable, set to %-le.abilist.
39849         * Makerules (abilist-pattern): New variable.
39850         (vpath): Use $(abilist-pattern) in place of %.abilist.
39851         (check-abi-% pattern rule): Likewise.
39852         (check-abi, update-abi): Likewise.
39854 2014-02-04  Eric Wong  <normalperson@yhbt.net>
39856         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
39858 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
39860         * manual/startup.texi: Add next, previous, and top entries for
39861         the `Program Arguments' and `Environment Variables' nodes.
39863 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
39865         * manual/macros.texi: Add comments before MTASC-safety macros.
39867         * manual/users.texi: Document MTASC-safety properties.
39869         * manual/threads.texi (pthread_key_create, pthread_key_delete)
39870         (pthread_getspecific, pthread_setspecific): Format with
39871         @deftypefun, and add @safety note.
39872         * manual/signal.texi: Move comments that analyze the above
39873         functions to their home place.
39875 2014-02-03  Allan McRae  <allan@archlinux.org>
39877         * po/sl.po: Update Slovenian translation from translation project.
39879 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
39881         * manual/time.texi (timegm): Add missing blank after @c.
39882         Reported by Joseph Myers <joseph@codesourcery.com>.
39884 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
39886         * manual/check-safety.sh: New.
39887         * manual/Makefile ($(objpfx)stamp-summary): Run it.
39889         * manual/terminal.texi: Document MTASC-safety properties.
39891         * manual/filesys.texi: Document MTASC-safety properties.
39893         * manual/errno.texi: Document MTASC-safety properties.
39895         * manual/intro.texi: Document safety identifiers and
39896         conditionals.
39898         * manual/string.texi (wcstok): Fix prototype.
39899         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
39901         * manual/time.texi: Document MTASC-safety properties.
39903         * manual/string.texi: Document MTASC-safety properties.
39905         * manual/threads.texi: Document MTASC-safety properties.
39907         * manual/stdio.texi: Document MTASC-safety properties.
39909         * manual/syslog.texi: Document MTASC-safety properties.
39911         * manual/sysinfo.texi: Document MTASC-safety properties.
39913         * manual/startup.texi: Document MTASC-safety properties.
39915         * manual/socket.texi: Document MTASC-safety properties.
39917         * manual/signal.texi: Document MTASC-safety properties.
39919 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
39921         * manual/setjmp.texi: Document MTASC-safety properties.
39923         * manual/search.texi: Document MTASC-safety properties.
39925         * manual/resource.texi: Document MTASC-safety properties.
39927         * manual/process.texi: Document MTASC-safety properties.
39929         * manual/platform.texi: Document MTASC-safety properties.
39931         * manual/pipe.texi: Document MTASC-safety properties.
39933         * manual/pattern.texi: Document MTASC-safety properties.
39935         * manual/message.texi: Document MTASC-safety properties.
39937         [BZ #12751]
39938         * manual/memory.texi: Document MTASC-safety properties.
39940         * manual/math.texi: Document MTASC-safety properties.
39942         * manual/locale.texi: Document MTASC-safety properties.
39944         * manual/llio.texi: Document MTASC-safety properties.
39946         * manual/libdl.texi: New.
39948         * manual/lang.texi: Document MTASC-safety properties.
39950         * manual/job.texi: Document MTASC-safety properties.
39952         * manual/getopt.texi: Document MTASC-safety properties.
39954         * manual/ctype.texi: Document MTASC-safety properties.
39956 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
39958         [BZ #16046]
39959         * csu/libc-tls.c (static_map): Remove variable.
39960         (__libc_setup_tls): Use main executable's link map for TLS data.
39961         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
39962         casing for LM_ID_BASE and GL(dl_nns).
39963         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
39964         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
39965         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
39966         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
39967         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
39968         member.
39969         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
39970         l_phnum members.
39972 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
39974         * manual/debug.texi: Document MTASC-safety properties.
39976 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
39978         [BZ #16510]
39979         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
39980         of __x86_64__ when disabling x87 inline functions.
39982 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
39984         * manual/charset.texi: Document MTASC-safety properties.
39986         * manual/crypt.texi: Document MTASC-safety properties.
39988         * manual/conf.texi: Document MTASC-safety properties.
39990         * manual/arith.texi: Document MTASC-safety properties.
39992         * manual/argp.texi: Document MTASC-safety properties.
39994         * manual/macros.texi: Introduce macros to document multi
39995         thread, asynchronous signal and asynchronous cancellation
39996         safety properties.
39997         * manual/intro.texi: Introduce the properties themselves.
39999 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
40001         * sysdeps/sh/sh4/Makefile: New file.
40003 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
40005         * math/gen-libm-test.pl ($srcdir): New variable.
40006         ($auto_input): Use it.
40008 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
40010         [BZ #16506]
40011         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
40012         access beyond array bounds when parsing netgroups file.
40014         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
40015         the old buffer before realloc.
40017 2014-01-27  Allan McRae  <allan@archlinux.org>
40019         * po/fr.po: Update French translation from translation project.
40021 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
40023         * sysdeps/sh/libm-test-ulps: Regenerate.
40025 2014-01-24  David S. Miller  <davem@davemloft.net>
40027         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
40029 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
40031         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
40032         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
40034 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
40036         [BZ #16474]
40037         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
40038         string pointers after reallocation.
40040 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
40042         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
40043         __SH4A__ instead of __SH_FPU_ANY__.
40045 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
40047         * sysdeps/sh/fpu_control.h: New file.
40048         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
40049         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
40050         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
40051         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
40052         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
40053         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
40054         * sysdeps/sh/sys/ucontext.h: Remove.
40055         * sysdeps/sh/sys: Remove directory.
40057 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
40059         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
40060         s390/sys/ucontext.h.
40061         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
40062         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
40064 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
40066         [BZ #15605]
40067         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
40069 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40071         [BZ#16431]
40072         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
40073         Adjust the vDSO correctly for internal calls.
40074         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
40076 2014-01-20  Allan McRae  <allan@archlinux.org>
40078         * po/ca.po: Update Catalan translation from translation project.
40080 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
40082         * sysdeps/s390/sotruss-lib.c: New file.
40084 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40086         [BZ#16430]
40087         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
40088         (__GI___gettimeofday): Alias for a different internal symbol to avoid
40089         local calls issues by not having a PLT stub required for IFUNC calls.
40090         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
40092 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
40094         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
40095         * math/test-fpucw-static.c: Likewise.
40097 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
40099         [BZ #16453]
40100         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
40102 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40104         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
40105         implementation for powerpc.
40107 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
40109         [BZ #14782]
40110         * sysdeps/posix/system.c (__libc_system): Do not enable
40111         asynchronous cancellation.
40113 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
40115         [BZ #16427]
40116         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
40117         handling only for numbers special also in the IEEE case.
40119 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
40121         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
40123 2014-01-11  Allan McRae  <allan@archlinux.org>
40125         * po/bg.po: Update Bulgarian translation from translation project.
40127         * po/de.po: Update German translation from translation project.
40129 2014-01-10  Roland McGrath  <roland@hack.frob.com>
40131         * sysdeps/generic/gcc-compat.h: New file.
40133 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
40135         * benchtests/asin-inputs: Correct slow inputs.
40136         * benchtests/acos-inputs: Likewise.
40138 2014-01-10  Allan McRae  <allan@archlinux.org>
40140         * po:sv.po: Update Swedish translation from translation project.
40142         * po/vi.po: Update Vietnamese translation from translation project.
40144         * po/eo.po: Update Esperanto translation from translation project.
40146         * po/cs.po: Update Czech translation from translation project.
40148         * po/nl.po: Update Dutch translation from translation project.
40150         * po/pl.po: Update Polish translation from translation project.
40152         * po/ru.po: Update Russian translation from translation project.
40154         * po/uk.po: Update Ukrainian translation from translation project.
40156 2014-01-08  Brooks Moses  <bmoses@google.com>
40158         * elf/dl-load.c: Fix comment typo.
40160 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
40162         * po/header.pot: Rename to...
40163         * po/pot.header: ... this.
40164         * po/Makefile: Use pot.header.
40166 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
40167             Maxim Kuvyrkov  <maxim@kugelworks.com>
40169         [BZ #16394]
40170         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
40171         SRC and DEST against LEN.
40173 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40175         [BZ #16414]
40176         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
40177         implementation.
40178         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
40180 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40182         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40184 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
40186         [BZ #16408]
40187         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
40188         for large positive arguments.
40190 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
40192         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
40194         * math/auto-libm-test-in: Mark various tests with
40195         xfail-rounding:ldbl-128ibm.
40196         * math/auto-libm-test-out: Regenerated.
40198         [BZ #16407]
40199         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
40200         Increase overflow threshold.
40202 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
40204         [BZ #14286]
40205         * stdio-common/vfprintf.c: Check for integer overflow.
40207 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
40209         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
40210         the first argument and return value of __tls_get_addr_internal.
40212 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
40214         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
40215         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
40217 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
40219         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
40220         * sysdeps/s390/rtld-global-offsets.sym: New file.
40221         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
40222         GLIBC_2.19 symbol.
40223         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
40224         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
40225         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
40226         ... this.
40227         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
40228         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
40229         ... this.
40230         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
40231         Regenerate.
40232         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
40233         Regenerate.
40234         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
40235         halfs of GPRs for high_gprs contexts.
40236         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
40237         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
40238         field.
40239         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
40240         uc_flags field.
40241         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
40242         64 bit versions:
40243         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
40244         for high GPRs (uc_high_gprs) and for future extensions
40245         (__reserved).
40246         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
40247         for future extensions (__reserved).
40248         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
40249         64 bit versions:
40250         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
40251         SC_HIGHGPRS offset definition.
40252         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
40253         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
40255         * Versions.def: Add GLIBC_2.19 for libpthread.
40256         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
40257         siglongjmp for libpthread with GLIBC_2.19 symver.
40258         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
40259         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
40260         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
40261         * sysdeps/s390/__longjmp.c: New file.
40262         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
40263         * sysdeps/s390/longjmp.c: New file.
40264         * sysdeps/s390/setjmp.S: New file.
40265         * sysdeps/s390/sigjmp.S: New file.
40266         * sysdeps/s390/v1-longjmp.c: New file.
40267         * sysdeps/s390/v1-setjmp.h: New file.
40268         * sysdeps/s390/v1-sigjmp.c: New file.
40269         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
40270         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
40271         GLIBC_2.19 version.
40272         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
40273         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
40274         versioned symbols for ____longjmp_chk.
40275         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
40276         Likewise.
40277         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
40278         Regenerate.
40279         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
40280         Regenerate.
40281         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
40282         Regenerate.
40283         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
40284         Regenerate.
40285         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
40286         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
40287         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
40288         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
40289         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
40290         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
40291         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
40292         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
40293         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
40294         * sysdeps/s390/rtld-__longjmp.c: New file.
40295         * sysdeps/s390/rtld-setjmp.S: New file.
40297 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
40299         [BZ #16400]
40300         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
40301         Return -__logl (x) for small positive arguments without evaluating
40302         a polynomial.
40304 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
40306         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
40307         Rename to ...
40308         (__ptrace_peeksiginfo_args): ... this.
40309         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
40310         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
40311         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
40313 2014-01-06  Allan McRae  <allan@archlinux.org>
40315         * inet/netinet/in.h: Fix typo in comment.
40317 2014-01-05  Andreas Jaeger  <aj@suse.de>
40319         * sysdeps/i386/fpu/libm-test-ulps: Update.
40321 2014-01-05  Allan McRae  <allan@archlinux.org>
40323         * po/libc.pot: Regenerated.
40325         * malloc/memusagestat.c: Fix gettext call formatting.
40327 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
40329         * nscd/nscd.c: Improve usage() output.
40331 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
40333         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
40334         * sysdeps/unix/sysv/linux/configure: Regenerated.
40335         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
40336         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
40338 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
40340         [BZ #16390]
40341         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
40342         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
40344 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40346         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
40347         extra tokens at end of #undef directive.
40348         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
40349         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
40350         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
40352 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
40354         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
40356         * math/auto-libm-test-in: Mark various tests with
40357         xfail-rounding:ldbl-128ibm.
40358         * math/auto-libm-test-out: Regenerated.
40360 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
40362         [BZ #16386]
40363         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
40364         numbers with subnormal high part when calculating exponent.
40366         [BZ #16385]
40367         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
40368         fabs.
40370         [BZ #16384]
40371         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
40372         M_LN2l.
40373         (__ieee754_acoshl): Use __log1pl not __log1p.
40375 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
40377         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
40378         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
40379         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
40380         (grow_heap, heap_trim, _int_new_arena, get_free_list)
40381         (reused_arena, arena_get2): Convert to GNU style.
40382         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
40383         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
40384         (memalign_check, __malloc_set_state): Likewise.
40385         * malloc/mallocbug.c (main): Likewise.
40386         * malloc/malloc.c (__malloc_assert, malloc_init_state)
40387         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
40388         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
40389         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
40390         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
40391         (__posix_memalign, malloc_info): Likewise.
40392         * malloc/malloc.h: Likewise.
40393         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
40394         (mallochook, memalignhook, reallochook, mabort): Likewise.
40395         * malloc/mcheck.h: Likewise.
40396         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
40397         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
40398         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
40399         * malloc/morecore.c (__default_morecore): Likewise.
40400         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
40401         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
40402         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
40403         (print_and_abort): Likewise.
40404         * malloc/obstack.h: Likewise.
40405         * malloc/set-freeres.c (__libc_freeres): Likewise.
40406         * malloc/tst-mallocstate.c (main): Likewise.
40407         * malloc/tst-mtrace.c (main): Likewise.
40408         * malloc/tst-realloc.c (do_test): Likewise.
40410 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
40412         [BZ #16366]
40413         * nscd/netgroupcache.c (do_notfound): New function.
40414         (addgetnetgrentX): Use it.
40416         [BZ # 16365]
40417         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
40418         NSS_STATUS_NOTFOUND.
40420 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
40422         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
40423         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40425 2014-01-01  Allan McRae  <allan@archlinux.org>
40427         * scripts/update-copyrights: Update configure input file suffix.
40429         * NEWS: Update copyright year.
40430         * catgets/gencat.c: Likewise.
40431         * csu/version.c: Likewise.
40432         * debug/catchsegv.sh: Likewise.
40433         * debug/pcprofiledump.c: Likewise.
40434         * debug/xtrace.sh: Likewise.
40435         * elf/ldconfig.c: Likewise.
40436         * elf/ldd.bash.in: Likewise.
40437         * elf/pldd.c: Likewise.
40438         * elf/sotruss.ksh: Likewise.
40439         * elf/sprof.c: Likewise.
40440         * iconv/iconv_prog.c: Likewise.
40441         * iconv/iconvconfig.c: Likewise.
40442         * locale/programs/locale.c: Likewise.
40443         * locale/programs/localedef.c: Likewise.
40444         * login/programs/pt_chown.c: Likewise.
40445         * malloc/memusage.sh: Likewise.
40446         * malloc/memusagestat.c: Likewise.
40447         * malloc/mtrace.pl: Likewise.
40448         * manual/libc.texinfo: Likewise.
40449         * nscd/nscd.c: Likewise.
40450         * nss/getent.c: Likewise.
40451         * nss/makedb.c: Likewise.
40452         * posix/getconf.c: Likewise.
40453         * scripts/test-installation.pl: Likewise.
40455         * All files with FSF copyright notices: Update copyright dates
40456         using scripts/update-copyrights.
40457         * intl/plural.c: Regenerated.
40458         * locale/programs/charmap-kw.h: Likewise.
40459         * locale/programs/locfile-kw.h: Likewise.
40461 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
40463         * sysdeps/unix/sysv/linux/configure: Regenerated.
40464         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
40465         the linux/fanotify.h header.
40466         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
40467         HAVE_LINUX_FANOTIFY_H is defined.
40469 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
40471         * benchtests/cos-inputs: New inputs.
40472         * benchtests/sin-inputs: Likewise.
40474         * benchtests/atan-inputs: New inputs. Fix name of multiple
40475         precision fallback inputs.
40477         * benchtests/atanh-inputs: New inputs.
40478         * benchtests/tanh-inputs: Likewise.
40480         * benchtests/acosh-inputs: New inputs.
40481         * benchtests/asinh-inputs: Likewise.
40483         * benchtests/cosh-inputs: New inputs.
40484         * benchtests/sinh-inputs: Likewise.
40486         * benchtests/acos-inputs: Add more inputs.
40487         * benchtests/asin-inputs: Likewise.
40489 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
40491         [BZ #16375]
40492         * manual/arith.texi: Fix spelling.
40493         * manual/charset.texi: Likewise.
40494         * manual/errno.texi: Likewise.
40495         * manual/filesys.texi: Likewise.
40496         * manual/lang.texi: Likewise.
40497         * manual/llio.texi: Likewise.
40498         * manual/locale.texi: Likewise.
40499         * manual/message.texi: Likewise.
40500         * manual/resource.texi: Likewise.
40501         * manual/search.texi: Likewise.
40502         * manual/setjmp.texi: Likewise.
40503         * manual/stdio.texi: Likewise.
40504         * manual/string.texi: Likewise.
40505         * manual/sysinfo.texi: Likewise.
40506         * manual/time.texi: Likewise.
40508 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
40510         * po/sl.po: New file.
40512 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
40514         * .gitignore: Add core/.gdbinit/.gdb_history.
40516 2013-12-27  Allan McRae  <allan@archlinux.org>
40518         [BZ #16369]
40519         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
40520         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
40522 2013-12-24  Brooks Moses  <bmoses@google.com>
40524         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
40525         all compilers that claim C++98 compliance, not just GCC.
40526         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
40527         Likewise.
40529 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
40531         * NEWS: Restore accidentally deleted bug-fix entries.
40533 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
40534             Ondřej Bílka  <neleai@seznam.cz>
40536         [BZ #15073]
40537         * malloc/malloc.c (_int_free): Perform sanity check only if we
40538         have_lock.
40540 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
40542         [BZ #12986]
40543         * manual/stdio.texi (String Input Conversions): Clarify that character
40544         classes are not supported.
40546 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40548         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40550 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
40552         [BZ #16337]
40553         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
40554         Calculate results for small negative arguments directly rather
40555         than using reflection formula with special underflow handling.
40557         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
40558         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
40559         sysdeps/unix/bsd/bsd4.4/syscalls.list.
40560         (fchflags): Likewise.
40561         (revoke): Likewise.
40562         (setlogin): Likewise.
40563         (sigaltstack): Likewise.
40564         (wait4): Likewise.
40565         (sigblock): Remove.
40566         (sigsetmask): Likewise.
40567         (wait3): Likewise.
40568         (waitpid): Likewise.
40569         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
40570         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
40571         file.
40572         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
40573         * sysdeps/unix/bsd/Makefile: ... here.
40574         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
40575         * sysdeps/unix/bsd/Versions: ... here.
40576         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
40577         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
40578         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
40579         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
40580         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
40581         * sysdeps/unix/bsd/sigblock.c: ... here.
40582         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
40583         * sysdeps/unix/bsd/sigsetmask.c: ... here.
40584         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
40585         * sysdeps/unix/bsd/sigvec.c: ... here.
40586         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
40587         * sysdeps/unix/bsd/tcdrain.c: ... here.
40588         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
40589         * sysdeps/unix/bsd/tcgetattr.c: ... here.
40590         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
40591         * sysdeps/unix/bsd/tcsetattr.c: ... here.
40592         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
40593         * sysdeps/unix/bsd/wait.c: ... here.
40594         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
40595         * sysdeps/unix/bsd/wait3.c: ... here.
40596         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
40597         * sysdeps/unix/bsd/waitpid.c: ... here.
40599 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
40601         [BZ #16356]
40602         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
40603         round-to-nearest for [!USE_AS_EXPM1L].
40604         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
40605         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
40606         more tests of exp and exp10.  Expect some exp10 tests to miss
40607         exceptions or fail in directed rounding modes.
40608         * math/auto-libm-test-out: Regenerated.
40609         * math/libm-test.inc (exp10_tonearest_test_data): New array.
40610         (exp10_test_tonearest): New function.
40611         (exp10_towardzero_test_data): New array.
40612         (exp10_test_towardzero): New function.
40613         (exp10_downward_test_data): New array.
40614         (exp10_test_downward): New function.
40615         (exp10_upward_test_data): New array.
40616         (exp10_test_upward): New function.
40617         (main): Call the new functions.
40618         * sysdeps/i386/fpu/libm-test-ulps: Update.
40619         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40621 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
40623         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
40624         asinh, atan, atan2, atanh, cbrt, cos and cosh.
40625         * math/auto-libm-test-out: Regenerated.
40626         * math/libm-test.inc (acosh_test_data): Add more tests.
40627         (atanh_test_data): Likewise.
40628         (ceil_test_data): Likewise.
40629         (copysign_test_data): Likewise.
40630         * sysdeps/i386/fpu/libm-test-ulps: Update.
40631         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40633         * timezone/checktab.awk: Update from tzcode 2013i.
40634         * timezone/private.h: Likewise.
40635         * timezone/scheck.c: Likewise.
40636         * timezone/tzfile.h: Likewise.
40637         * timezone/tzselect.ksh: Likewise.
40638         * timezone/zdump.c: Likewise.
40639         * timezone/zic.c: Likewise.
40641         * math/auto-libm-test-in: Add tests of cpow.
40642         * math/auto-libm-test-out: Regenerated.
40643         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
40644         * math/gen-auto-libm-tests.c (func_calc_method): Add value
40645         mpc_cc_c.
40646         (func_calc_desc): Add mpc_cc_c union field.
40647         (test_functions): Add cpow.
40648         (special_fill_2pi): New function.
40649         (special_real_inputs): Add 2pi.
40650         (calc_generic_results): Handle mpc_cc_c.
40651         * sysdeps/i386/fpu/libm-test-ulps: Update.
40652         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40654         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
40655         csqrt, ctan and ctanh.
40656         * math/auto-libm-test-out: Regenerated.
40657         * math/libm-test.inc (TEST_COND_x86_64): New macro.
40658         (TEST_COND_x86): Likewise.
40659         (ccos_test_data): Use AUTO_TESTS_c_c.
40660         (ccosh_test_data): Likewise.
40661         (cexp_test_data): Likewise.
40662         (clog_test_data): Likewise.
40663         (csqrt_test_data): Likewise.
40664         (ctan_test_data): Likewise.
40665         (ctan_tonearest_test_data): Likewise.
40666         (ctan_towardzero_test_data): Likewise.
40667         (ctan_downward_test_data): Likewise.
40668         (ctan_upward_test_data): Likewise.
40669         (ctanh_test_data): Likewise.
40670         (ctanh_tonearest_test_data): Likewise.
40671         (ctanh_towardzero_test_data): Likewise.
40672         (ctanh_downward_test_data): Likewise.
40673         (ctanh_upward_test_data): Likewise.
40674         * math/gen-auto-libm-tests.c (func_calc_method): Add value
40675         mpc_c_c.
40676         (func_calc_desc): Add mpc_c_c union field.
40677         (FUNC_mpc_c_c): New macro.
40678         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
40679         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
40680         ctanh.
40681         (special_fill_min_subnorm_p120): New function.
40682         (special_real_inputs): Add min_subnorm_p120.
40683         (calc_generic_results): Handle mpc_c_c.
40684         * sysdeps/i386/fpu/libm-test-ulps: Update.
40685         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40687 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
40689         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
40690         (do_sin_slow): New functions.
40691         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
40692         (cslow2, csloww1, csloww2): Use the new functions.
40694         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
40695         Use M to change sign of result instead of X.  Assume X is
40696         positive.
40697         (csloww1): Likewise.
40698         (__sin): Adjust.
40699         (__cos): Adjust.
40701         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
40702         arguments A and DA.
40703         (__sin): Adjust.
40704         (__cos): Likewise.
40706         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
40707         (__cos): Likewise.
40708         (sloww1): Don't adjust sign of DX.
40709         (csloww1): Likewise.
40710         (sloww2): Use X directly and don't adjust sign of DX.
40711         (csloww2): Likewise.
40713 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
40715         * math/auto-libm-test-in: Add tests of cabs and carg.
40716         * math/auto-libm-test-out: Regenerated.
40717         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
40718         (carg_test_data): Likewise.
40719         * math/gen-auto-libm-tests.c (func_calc_method): Add value
40720         mpc_c_f.
40721         (func_calc_desc): Add mpc_c_f union field.
40722         (test_functions): Add cabs and carg.
40723         (calc_generic_results): Handle mpc_c_f.
40725         * sysdeps/powerpc/powerpc32/libgcc-compat.S
40726         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
40727         as a macro and a compat symbol.
40728         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
40729         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
40730         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
40731         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
40732         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
40733         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
40734         not use .hidden.
40735         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
40736         Likewise.
40737         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
40738         Likewise.
40739         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
40740         Likewise.
40741         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
40742         Likewise.
40743         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
40744         Likewise.
40745         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
40746         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
40747         from GLIBC_2.3.2.
40749 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40751         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40753 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
40755         * manual/texinfo.tex: Update to version 2013-11-26.10 with
40756         trailing whitespace removed.
40757         * scripts/config.guess: Update to version 2013-11-29.
40758         * scripts/config.sub: Update to version 2013-10-01.
40760         * math/auto-libm-test-in: Add tests of sincos.
40761         * math/auto-libm-test-out: Regenerated.
40762         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
40763         * math/gen-auto-libm-tests.c (func_calc_method): Add value
40764         mpfr_f_11.
40765         (func_calc_desc): Add mpfr_f_11 union field.
40766         (test_functions): Add sincos.
40767         (calc_generic_results): Handle mpfr_f_11.
40768         * sysdeps/i386/fpu/libm-test-ulps: Update.
40769         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40771 2013-12-19  Andreas Schwab  <schwab@suse.de>
40773         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
40774         CALL_MCOUNT.
40775         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
40776         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
40777         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
40779 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
40781         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
40782         * sysdeps/i386/fpu/libm-test-ulps: Update.
40783         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40785         [BZ #16293]
40786         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
40787         round-to-nearest mode when using frndint.
40788         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
40789         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
40790         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
40791         Likewise.
40792         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
40793         sinh test to fail.
40794         * math/auto-libm-test-out: Regenerated.
40795         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
40796         (TEST_COND_x86): Likewise.
40797         (expm1_tonearest_test_data): New array.
40798         (expm1_test_tonearest): New function.
40799         (expm1_towardzero_test_data): New array.
40800         (expm1_test_towardzero): New function.
40801         (expm1_downward_test_data): New array.
40802         (expm1_test_downward): New function.
40803         (expm1_upward_test_data): New array.
40804         (expm1_test_upward): New function.
40805         (main): Run the new test functions.
40806         * sysdeps/i386/fpu/libm-test-ulps: Update.
40807         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40809         * include/features.h: Update comment documenting feature test
40810         macros.  Mention _DEFAULT_SOURCE in comment.
40811         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
40812         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
40813         _BSD_SOURCE and _SVID_SOURCE.
40814         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
40815         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
40816         !_SVID_SOURCE]: Likewise.
40817         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
40818         (__USE_POSIX_IMPLICITLY): Define.
40819         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
40820         (_POSIX_SOURCE): Undefine and redefine.
40821         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
40822         (_POSIX_C_SOURCE): Likewise.
40823         * manual/creature.texi (_DEFAULT_SOURCE): Document.
40824         (Feature Test Macros): Update documentation of default features.
40826 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
40828         * benchtests/Makefile: Add bench-strtok.
40829         * benchtests/bench-strtok.c: New file: strtok benchtest.
40831 2013-12-19  Allan McRae  <allan@archlinux.org>
40833         * manual/install.texi: Suppress menu for plain text output.
40834         * INSTALL: Regenerated.
40836 2013-12-18  Brooks Moses  <bmoses@google.com>
40838         [BZ #15846]
40839         * misc/getauxval.c: Include errno.h.
40840         (__getauxval): Set errno to ENOENT if the requested type is not
40841         found.
40842         * misc/sys/auxv.h (getauxval): Document that it may set errno;
40843         don't declare with __attribute_const__.
40844         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
40845         * manual/startup.texi: Document that getauxval sets errno.
40847 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
40849         * math/auto-libm-test-in: Add tests of jn and yn.
40850         * math/auto-libm-test-out: Regenerated.
40851         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
40852         (yn_test_data): Likewise.
40853         * math/gen-auto-libm-tests.c (func_calc_method): Add value
40854         mpfr_if_f.
40855         (func_calc_desc): Add mpfr_if_f union field.
40856         (FUNC_mpfr_if_f): New macro.
40857         (test_functions): Add jn and yn.
40858         (calc_generic_results): Assert type of second input for
40859         mpfr_ff_f.  Handle mpfr_if_f.
40860         (output_for_one_input_case): Disable all checking for arguments
40861         fitting floating-point types in case of an integer argument.
40862         * sysdeps/i386/fpu/libm-test-ulps: Update.
40863         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40865         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
40866         Don't expect fegetround reference in libm.so.
40868 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
40870         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
40871         $(config-cflags-nofma).
40873 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
40875         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
40876         * math/auto-libm-test-out: Regenerated.
40878         [BZ #16338]
40879         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
40880         to determine exponent and adjust argument to have exponent of -1.
40881         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
40882         log2.
40883         * math/auto-libm-test-out: Regenerated.
40884         * sysdeps/i386/fpu/libm-test-ulps: Update.
40885         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40887 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
40889         * manual/probes.texi: Remove cases when per-thread arenas are
40890         disabled.
40892 2013-12-18  Andreas Schwab  <schwab@suse.de>
40894         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
40895         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
40896         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
40897         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
40898         * sysdeps/i386/i686/multiarch/Makefile: Update.
40899         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
40901 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
40903         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
40904         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
40906 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
40908         [BZ #15968]
40909         Support TZ transition times < 00:00:00.
40910         This is needed for version-3 tz-format files; it supports time
40911         stamps past 2037 for America/Godthab (the only entry in the tz
40912         database for which this change is relevant).
40913         * manual/time.texi (TZ Variable): Document transition times
40914         from -167:59:59 through -00:00:01.
40915         * time/tzset.c (tz_rule): Time of day is now signed.
40916         (__tzset_parse_tz): Parse negative time of day.
40918         Document TZ transition times >= 25:00:00.
40919         * manual/time.texi (TZ Variable): Document transition times from
40920         25:00:00 through 167:59:59.  These are already supported, and this
40921         support will help with version-3 tz-format files.
40923         * manual/time.texi (TZ Variable): Modernize North America example
40924         to reflect current (i.e., 2007-and-later) daylight saving rules.
40926         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
40928 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
40930         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
40931         * sysdeps/unix/bsd/bits/stat.h: Likewise.
40932         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
40933         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
40934         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
40935         * sysdeps/unix/bsd/bsdstat.h: Likewise.
40936         * sysdeps/unix/bsd/clock.c: Likewise.
40937         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
40938         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
40939         * sysdeps/unix/bsd/init-posix.c: Likewise.
40940         * sysdeps/unix/bsd/poll.c: Likewise.
40941         * sysdeps/unix/bsd/ptsname.c: Likewise.
40942         * sysdeps/unix/bsd/seekdir.c: Likewise.
40943         * sysdeps/unix/bsd/setegid.c: Likewise.
40944         * sysdeps/unix/bsd/seteuid.c: Likewise.
40945         * sysdeps/unix/bsd/setgid.c: Likewise.
40946         * sysdeps/unix/bsd/setrgid.c: Likewise.
40947         * sysdeps/unix/bsd/setruid.c: Likewise.
40948         * sysdeps/unix/bsd/setsid.c: Likewise.
40949         * sysdeps/unix/bsd/setuid.c: Likewise.
40950         * sysdeps/unix/bsd/sigaction.c: Likewise.
40951         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
40952         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
40953         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
40954         * sysdeps/unix/bsd/telldir.c: Likewise.
40955         * sysdeps/unix/bsd/times.c: Likewise.
40956         * sysdeps/unix/bsd/usleep.c: Likewise.
40958         * misc/Makefile (install-lib): Remove libbsd-compat.a.
40959         ($(objpfx)libbsd-compat.a): Remove rule.
40961         * include/features.h (__FAVOR_BSD): Do not define.
40962         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
40963         features conflicting with POSIX.
40964         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
40965         (_BSD_SOURCE): Remove description of not being a subset of other
40966         feature test macros.
40967         * manual/job.texi (getpgrp): Do not document BSD version.
40968         (getpgid): Do not document by reference to BSD getpgrp.
40969         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
40970         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
40971         * signal/signal.h [__FAVOR_BSD]: Likewise.
40972         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
40973         instead of making contents conditional on [__FAVOR_BSD].
40974         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
40976 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40978         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40980 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
40982         [BZ #16314]
40983         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
40984         values below 2**-450, not 2**-500.
40985         * math/auto-libm-test-in: Don't allow spurious underflow from
40986         hypot.
40987         * math/auto-libm-test-out: Regenerated.
40989         [BZ #16316]
40990         [BZ #16330]
40991         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
40992         values of ha and hb and sort them after adjusting subnormal
40993         arguments.
40994         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
40995         Likewise.
40996         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
40997         values of ea and eb and sort them after adjusting subnormal
40998         arguments.
40999         * math/auto-libm-test-in: Do not expect some hypot tests of
41000         subnormals to fail.  Add more hypot tests.
41001         * math/auto-libm-test-out: Regenerated.
41003 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
41005         [BZ #13304]
41006         * sysdeps/sh/s_fma.c: New file.
41007         * sysdeps/sh/s_fmaf.c: New file.
41008         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
41009         version.
41010         * sysdeps/sh/Implies: Add sh/soft-fp.
41012 2013-12-16  Roland McGrath  <roland@hack.frob.com>
41014         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
41015         level of indirection to members `objname', `errstring', `malloced'.
41016         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
41017         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
41018         it as the __longjmp argument (just pass 1 instead).
41019         (_dl_catch_error): Initialize C with argument pointers and address of
41020         volatile local ERRCODE rather than copying values out of C at return.
41022 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
41024         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
41025         * math/auto-libm-test-out: Regenerated.
41026         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
41027         (hypot_test_data): Likewise.
41028         (pow_test_data): Likewise.
41029         (pow_tonearest_test_data): Likewise.
41030         * math/gen-auto-libm-tests.c (func_calc_method): Add value
41031         mpfr_ff_f.
41032         (func_calc_desc): Add mpfr_ff_f union field.
41033         (FUNC_mpfr_ff_f): New macro.
41034         (test_functions): Add atan2, hypot and pow.
41035         (special_fill_min): New function.
41036         (special_fill_minus_min): Likewise.
41037         (special_fill_min_subnorm): Likewise.
41038         (special_fill_minus_min_subnorm): Likewise.
41039         (special_real_inputs): Add min, -min, min_subnorm and
41040         -min_subnorm.
41041         (calc_generic_results): Handle mpfr_ff_f.
41042         * sysdeps/i386/fpu/libm-test-ulps: Update.
41043         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41045 2013-12-16  Will Newton  <will.newton@linaro.org>
41047         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
41048         (Aligned Memory Blocks): Add documentation for aligned_alloc
41049         and suggest it as an alternative to posix_memalign.
41050         (Hooks for Malloc): Document __memalign_hook is also called
41051         for aligned_alloc.  (Summary of Malloc): Add summary for
41052         aligned alloc.  Document __memalign_hook is also called
41053         for aligned_alloc.
41055 2013-12-16  Will Newton  <will.newton@linaro.org>
41057         * manual/memory.texi (Malloc Examples): Clarify default
41058         alignment documentation.  Suggest posix_memalign rather
41059         than memalign or valloc.
41060         (Aligned Memory Blocks): Remove suggestion to use memalign
41061         or valloc.  Remove obsolete comment about BSD.
41062         Document memalign errno values and mark the function obsolete.
41063         Document posix_memalign returned error codes.  Mark valloc
41064         as obsolete.  (Hooks for Malloc): __memalign_hook is also
41065         called for posix_memalign and valloc.
41066         (Summary of Malloc): Add posix_memalign to function summary.
41067         __memalign_hook is also called for posix_memalign and valloc.
41069 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
41071         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
41072         TAYLOR_SIN.
41073         (__sin): Adjust.
41074         (__cos): Likewise.
41075         (sloww): Use mynumber union.  Expand ternary operator into
41076         if-else statements.
41077         (cslow): use mynumber union.
41079 2013-12-16  Allan McRae  <allan@archlinux.org>
41081         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
41082         * configure: Regenerated.
41084         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
41086         [BZ #14120]
41087         * configure.ac: Added --enable-maintainer-mode. Check for
41088         autoconf when enabled.
41089         * configure: Regenerated.
41091         * nscd/nscd.service: New file.
41092         * nscd/nscd.tmpfiles: New file.
41094 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
41096         [BZ #12100]
41097         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
41098         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
41099         * sysdeps/x86_64/multiarch/strstr.c: ... here.
41100         (strstr): Add __strstr_sse2_unaligned ifunc.
41101         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
41102         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
41103         (strcasestr): Remove __strcasestr_sse42 ifunc.
41104         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
41105         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
41106         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
41108 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
41110         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
41111         * sysdeps/sh/bits/fenv.h: ... here.
41112         * sysdeps/sh/sh4/fpu/bits: Remove directory.
41114 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41116         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
41118         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
41119         hypotf multiarch implementations.
41120         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
41121         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
41122         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
41123         multiarch hypot for PPC64.
41124         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
41125         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
41126         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
41127         multiarch hypotf for PPC64.
41129         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
41130         modff multiarch implementations.
41131         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
41132         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
41133         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
41134         multiarch modf for PPC64.
41135         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
41136         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
41137         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
41138         multiarch modff for PPC64.
41140         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
41141         and logl multiarch implementations.
41142         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
41143         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
41144         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
41145         multiarch logb for PPC64.
41146         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
41147         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
41148         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
41149         multiarch logb for PPC64.
41150         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
41151         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
41152         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
41153         multiarch logb for PPC64.
41155         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
41156         isinff multiarch implementation.
41157         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
41158         file.
41159         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
41160         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
41161         multiarch isinf for PPC64.
41162         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
41163         file.
41164         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
41165         multiarch isinff for PPC64.
41167         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
41168         finitef multiarch implementation.
41169         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
41170         file.
41171         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
41172         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
41173         multiarch finite for PPC64.
41174         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
41175         file.
41176         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
41177         multiarch finitef for PPC64.
41179         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
41180         lrint multiarch implementation.
41181         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
41182         file.
41183         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
41184         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
41185         multiarch llrint for PPC64.
41186         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
41187         multiarch lrint for PPC64.
41189         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
41190         copysignf multiarch implementation.
41191         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
41192         file.
41193         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
41194         file.
41195         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
41196         multiarch copysign for PPC64.
41197         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
41198         multiarch copysignf for PPC64.
41200         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
41201         multiarch implementation.
41202         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
41203         file.
41204         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
41205         file.
41206         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
41207         file.
41208         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
41209         file.
41210         multiarch llround for PPC64.
41211         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
41212         multiarch trunc for PPC64.
41213         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
41214         multiarch truncf for PPC64.
41216         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
41217         multiarch implementation.
41218         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
41219         file.
41220         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
41221         file.
41222         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
41223         file.
41224         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
41225         file.
41226         multiarch llround for PPC64.
41227         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
41228         multiarch round for PPC64.
41229         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
41230         multiarch roundf for PPC64.
41232         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
41233         multiarch implementation.
41234         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
41235         file.
41236         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
41237         file.
41238         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
41239         file.
41240         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
41241         file.
41242         multiarch llround for PPC64.
41243         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
41244         multiarch floor for PPC64.
41245         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
41246         multiarch floorf for PPC64.
41248         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
41249         multiarch implementation.
41250         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
41251         file.
41252         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
41253         file.
41254         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
41255         file.
41256         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
41257         file.
41258         multiarch llround for PPC64.
41259         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
41260         multiarch ceil for PPC64.
41261         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
41262         multiarch ceilf for PPC64.
41264         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
41265         multiarch implementation.
41266         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
41267         file.
41268         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
41269         file.
41270         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
41271         file.
41272         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
41273         multiarch llround for PPC64.
41274         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
41275         multiarch lround for PPC64.
41277         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
41278         multiarch implementation.
41279         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
41280         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
41281         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
41282         file.
41283         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
41284         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
41285         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
41286         multiarch isnan for PPC64.
41287         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
41288         multiarch isnanf for PPC64.
41290         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
41291         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
41292         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
41293         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
41294         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
41295         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
41297         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
41298         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
41299         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
41300         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
41302         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
41303         multiarch implementations.
41304         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
41305         (__libc_ifunc_impl_list): Likewise.
41306         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
41307         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
41308         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
41309         multiarch stpcpy for PPC64.
41311         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
41312         multiarch implementations.
41313         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
41314         (__libc_ifunc_impl_list): Likewise.
41315         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
41316         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
41317         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
41318         multiarch strcpy for PPC64.
41320         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
41321         redefine function name.
41322         (_wordcopy_fwd_dest_aligned): Likewise.
41323         (_wordcopy_bwd_aligned): Likewise.
41324         (_wordcopy_bwd_dest_aligned): Likewise.
41325         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
41326         multiarch implementations.
41327         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
41328         (__libc_ifunc_impl_list): Likewise.
41329         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
41330         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
41331         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
41332         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
41333         multiarch wcscpy for PPC64.
41335         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
41336         multiarch implementations.
41337         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
41338         (__libc_ifunc_impl_list): Likewise.
41339         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
41340         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
41341         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
41342         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
41343         multiarch wcscpy for PPC64.
41345         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
41346         multiarch implementations.
41347         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
41348         (__libc_ifunc_impl_list): Likewise.
41349         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
41350         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
41351         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
41352         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
41353         multiarch wcsrchr for PPC64.
41355         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
41356         multiarch implementations.
41357         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
41358         (__libc_ifunc_impl_list): Likewise.
41359         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
41360         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
41361         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
41362         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
41363         multiarch wcschr for PPC64.
41365         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
41366         multiarch implementations.
41367         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
41368         (__libc_ifunc_impl_list): Likewise.
41369         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
41370         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
41371         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
41372         multiarch strchrnul for PPC64.
41374         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
41375         implementations.
41376         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
41377         (__libc_ifunc_impl_list): Likewise.
41378         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
41379         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
41380         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
41381         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
41382         strchr for PPC64.
41384         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
41385         implementations.
41386         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
41387         (__libc_ifunc_impl_list): Likewise.
41388         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
41389         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
41390         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
41391         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
41392         strncmp for PPC64.
41394         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
41395         multiarch implementations.
41396         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
41397         (__libc_ifunc_impl_list): Likewise.
41398         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
41399         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
41400         strncasecmp for PPC64.
41401         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
41402         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
41403         multiarch strncasecmp_l for PPC64.
41405         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
41406         multiarch implementations.
41407         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
41408         (__libc_ifunc_impl_list): Likewise.
41409         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
41410         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
41411         multiarch strcasecmp for PPC64.
41412         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
41413         file.
41414         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
41415         multiarch strcasecmp_l for PPC64.
41417         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
41418         implementations.
41419         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
41420         (__libc_ifunc_impl_list): Likewise.
41421         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
41422         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
41423         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
41424         strnlen for PPC64.
41426         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
41427         implementations.
41428         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
41429         (__libc_ifunc_impl_list): Likewise.
41430         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
41431         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
41432         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
41433         strlen for PPC64.
41435         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
41436         implementations.
41437         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
41438         (__libc_ifunc_impl_list): Likewise.
41439         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
41440         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
41441         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
41442         rawmemrchr for PPC64.
41444         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
41445         implementation.
41446         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
41447         (__libc_ifunc_impl_list): Likewise.
41448         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
41449         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
41450         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
41451         memrchr for PPC64.
41453         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
41454         implementation.
41455         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
41456         (__libc_ifunc_impl_list): Likewise.
41457         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
41458         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
41459         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
41460         memchr for PPC64.
41462         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
41463         implementation.
41464         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
41465         (__libc_ifunc_impl_list): Likewise.
41466         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
41467         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
41468         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
41469         mempcpy for PPC64.
41471         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
41472         avoid cretion of __bzero symbol.
41473         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
41474         Likewise.
41475         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
41476         Likewise.
41477         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
41478         Likewise.
41479         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
41480         multiarch implementations.
41481         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
41482         (__libc_ifunc_impl_list): Likewise.
41483         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
41484         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
41485         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
41486         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
41487         bzero for PPC32.
41488         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
41489         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
41490         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
41491         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
41492         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
41493         memset for PPC64.
41494         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
41496         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
41497         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
41498         implementations.
41499         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
41500         (__libc_ifunc_impl_list): Likewise.
41501         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
41502         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
41503         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
41504         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
41505         memcmp for PPC64.
41507         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
41508         multiarch for POWER/PPC64.
41509         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
41510         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
41511         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
41512         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
41513         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
41514         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
41515         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
41516         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
41517         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
41518         memcpy for PPC64.
41520         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
41521         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
41522         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
41523         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
41524         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
41525         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
41526         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
41527         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
41528         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
41529         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
41530         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
41531         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
41532         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
41533         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
41534         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
41535         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
41536         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
41537         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
41538         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
41539         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
41540         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
41541         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
41543 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
41545         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
41547 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
41549         * benchtests/Makefile (bench): Add exp2 and log2.
41550         (LDLIBS-bench-exp2): Add -lm.
41551         (LDLIBS-bench-log2): Likewise.
41552         * benchtests/exp2-inputs: New inputs file.
41553         * benchtests/log2-inputs: New inputs file.
41554         * benchtests/log-inputs: Add new inputs.
41555         * benchtests/tan-inputs: Likewise.
41557 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
41559         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
41560         definition...
41561         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
41562         (csloww2): ... from here.
41564         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
41565         instead of structures.
41566         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
41567         (POLYNOMIAL): Likewise.
41568         (TAYLOR_SLOW): Likewise.
41569         (__sin): Likewise.
41570         (__cos): Likewise.
41571         (slow1): Likewise.
41572         (slow2): Likewise.
41573         (sloww): Likewise.
41574         (sloww1); Likewise.
41575         (sloww2): Likewise.
41576         (bsloww1): Likewise.
41577         (bsloww2): Likewise.
41578         (cslow2): Likewise.
41579         (csloww): Likewise.
41580         (csloww1): Likewise.
41581         (csloww2): Likewise.
41583 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
41585         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
41586         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
41587         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
41588         * malloc/hooks.c (realloc_check): Likewise.
41590         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
41591         * malloc/arena.c: Remove PER_THREAD conditional.
41592         [!PER_THREAD]: Remove code.
41593         (ptmalloc_unlock_all2): Likewise.
41594         (ptmalloc_init): Likewise.
41595         (_int_new_arena): Likewise.
41596         (arena_get2): Likewise.
41597         * malloc/hooks.c (__malloc_get_state): Likewise.
41598         (__malloc_set_state): Likewise.
41599         * malloc/malloc.c: Likewise.
41600         (struct malloc_state): Likewise.
41601         (struct malloc_par): Likewise.
41602         (__libc_realloc): Likewise.
41603         (__libc_mallopt): Likewise.
41605 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41607         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
41609 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
41611         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
41612         macro to a function.  Check for zero perturb_byte.
41613         (_int_malloc, _int_free): Remove zero perturb_byte checks.
41615         * malloc/malloc.c: (force_reg): Remove.
41616         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
41617         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
41618         force_reg by atomic_forced_read.
41619         * malloc/arena.c (ptmalloc_init): Likewise.
41620         * malloc/hooks.c (top_check): Likewise.
41622 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41624         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41626 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
41628         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
41630 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
41632         * math/auto-libm-test-in: Add tests of lgamma.
41633         * math/auto-libm-test-out: Regenerated.
41634         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
41635         (M_LOG_2_SQRT_PIl): Likewise.
41636         (lgamma_test_data): Use AUTO_TESTS_f_f1.
41637         * math/gen-auto-libm-tests.c (func_calc_method): Add value
41638         mpfr_f_f1.
41639         (func_calc_desc): Add mpfr_f_f1 union field.
41640         (ARGS1): New macro.
41641         (ARGS2): Likewise.
41642         (ARGS3): Likewise.
41643         (ARGS4): Likewise.
41644         (RET1): Likewise.
41645         (RET2): Likewise.
41646         (CALC): Likewise.
41647         (FUNC): Likewise.
41648         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
41649         (test_functions): Add lgamma.
41650         (calc_generic_results): Handle mpfr_f_f1.
41651         * sysdeps/i386/fpu/libm-test-ulps: Update.
41652         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41654 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41656         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
41657         __mpn_add_n for PowerPC64/POWER7.
41658         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
41659         __mpn_sub_n for PowerPC64/POWER7.
41661         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
41662         __mpn_addmul_1 for PowerPC64.
41663         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
41664         __mpn_submul_1 for PowerPC64.
41665         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
41666         for PowerPC64.
41667         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
41668         for PowerPC64.
41670 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
41672         [BZ #15089]
41673         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
41675 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41677         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
41679         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
41680         add multiarch folders.
41681         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
41682         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
41683         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
41684         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
41685         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
41686         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
41687         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
41688         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
41689         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
41690         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
41691         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
41692         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
41693         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
41694         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
41695         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
41696         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
41697         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
41699         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
41700         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
41701         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
41702         New file.
41703         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
41704         New file.
41705         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
41706         multiarch __ieee754_hypot for PowerPC32.
41707         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
41708         New file.
41709         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
41710         New file.
41711         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
41712         multiarch __ieee754_hypotf for PowerPC32.
41714         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
41715         long_double_symbol only if __logbl is defined.
41716         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
41717         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
41718         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
41719         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
41720         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
41721         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
41722         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
41723         path for implementation.
41724         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
41725         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
41726         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
41727         logb, and logbl multiarch implementations for PowerPC32.
41728         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
41729         file.
41730         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
41731         file.
41732         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
41733         multiarch logb for PowerPC32.
41734         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
41735         file.
41736         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
41737         file.
41738         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
41739         multiarch logbf for PowerPC32.
41740         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
41741         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
41742         file.
41743         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
41744         multiarch logbl implementation for PowerPC32.
41746         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
41747         and modff multiarch implementations.
41748         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
41749         New file.
41750         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
41751         New file.
41752         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
41753         multiarch modf for PowerPC32.
41754         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
41755         New file.
41756         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
41757         New file.
41758         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
41759         multiarch modff for PowerPC32.
41761         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
41762         and lrintf multiarch implementations.
41763         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
41764         New file.
41765         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
41766         New file.
41767         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
41768         multiarch lrint for PowerPC32.
41769         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
41770         file: multiarch lrintf for PowerPC32.
41772         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
41773         and lroundf multiarch implementations.
41774         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
41775         New file.
41776         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
41777         New file.
41778         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
41779         New file.
41780         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
41781         multiarch lround for PowerPC32.
41782         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
41783         file: multiarch lroundf for PowerPC32.
41785         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
41786         copysign and copysignf multiarch implementations.
41787         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
41788         New file.
41789         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
41790         New file.
41791         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
41792         file: multiarch copysign for PowerPC32.
41793         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
41794         file: multiarch copysignf for PowerPC32.
41796         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
41797         and truncf multiarch implementations.
41798         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
41799         New file.
41800         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
41801         file.
41802         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
41803         multiarch trunc for PowerPC32.
41804         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
41805         New file.
41806         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
41807         New file.
41808         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
41809         multiarch truncf for PowerPC32.
41811         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
41812         and roundf multiarch implementations.
41813         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
41814         New file.
41815         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
41816         file.
41817         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
41818         multiarch round for PowerPC32.
41819         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
41820         New file.
41821         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
41822         New file.
41823         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
41824         multiarch roundf for PowerPC32.
41826         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
41827         and floorf multiarch implementations.
41828         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
41829         New file.
41830         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
41831         file.
41832         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
41833         multiarch floor for PowerPC32.
41834         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
41835         New file.
41836         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
41837         New file.
41838         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
41839         multiarch floorf for PowerPC32.
41841         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
41842         and ceilf multiarch implementations.
41843         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
41844         New file.
41845         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
41846         file.
41847         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
41848         multiarch ceil for PowerPC32.
41849         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
41850         New file.
41851         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
41852         file.
41853         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
41854         multiarch ceilf for PowerPC32.
41856         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
41857         is defined.
41858         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
41859         FINITEF is defined.
41860         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
41861         and finitef multiarch implementations.
41862         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
41863         New file.
41864         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
41865         file.
41866         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
41867         multiarch finite for PowerPC32.
41868         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
41869         New file.
41870         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
41871         file: multiarch finitef for PowerPC32.
41873         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
41874         and isinff multiarch implementations.
41875         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
41876         file.
41877         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
41878         file.
41879         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
41880         multiarch isinf for PowerPC32.
41881         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
41882         New file.
41883         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
41884         multiarch isinff for PowerPC32.
41886         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
41887         alias when __isnan is defined.
41888         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
41889         and isnanf multiarch implementations.
41890         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
41891         file.
41892         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
41893         file.
41894         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
41895         file.
41896         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
41897         file.
41898         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
41899         multiarch isnan for PowerPC32.
41900         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
41901         New file.
41902         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
41903         New file.
41904         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
41905         multiarch isnanf for PowerPC32.
41907         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
41908         and sqrtf multiarch implementations.
41909         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
41910         file.
41911         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
41912         file.
41913         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
41914         multiarch sqrt for PowerPC32.
41915         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
41916         file.
41917         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
41918         file.
41919         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
41920         multiarch sqrtf for PowerPC32.
41922         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
41923         and llroundf multiarch implementations.
41924         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
41925         New file.
41926         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
41927         New file.
41928         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
41929         New file.
41930         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
41931         file: multiarch llround for PowerPC32.
41932         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
41933         file: multiarch llroundf for PowerPC32.
41935         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
41936         multiarch PowerPC32 fpu implementations.
41937         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
41938         New file.
41939         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
41940         New file.
41941         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
41942         multiarch llrint for PowerPC32.
41943         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
41944         New file.
41945         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
41946         New file.
41947         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
41948         file.
41950         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
41952         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
41953         file.
41954         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
41955         file.
41956         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
41957         file.
41958         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
41959         multiarch wordcopy for PPC32.
41960         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
41961         wordcopy objects.
41962         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
41963         (__libc_ifunc_impl_list): Likewise.
41964         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
41965         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
41966         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
41967         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
41968         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
41969         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
41971         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
41972         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
41973         file.
41974         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
41975         file.
41976         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
41977         file.
41978         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
41979         multiarch wcscpy for PPC32.
41980         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
41981         multiarch objects.
41982         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
41983         (__libc_ifunc_impl_list): Likewise.
41984         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
41985         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
41986         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
41987         sysdeps/powerpc/power6/wcscpy.c.
41989         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
41990         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
41991         file.
41992         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
41993         file.
41994         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
41995         file.
41996         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
41997         multiarch wcsrchr for PPC32.
41998         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
41999         multiarch objects.
42000         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
42001         (__libc_ifunc_impl_list): Likewise.
42002         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
42003         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
42004         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
42005         sysdeps/powerpc/power6/wcsrchr.c.
42007         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
42008         file.
42009         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
42010         file.
42011         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
42012         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
42013         multiarch wcschr for PPc32.
42014         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
42015         multiarch objects.
42016         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
42017         (__libc_ifunc_impl_list): Likewise.
42018         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
42019         * sysdeps/powerpc/power6/wcschr.c: ... to here.
42020         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
42021         sysdeps/powerpc/power6/wcschr.c.
42023         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
42024         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
42025         file.
42026         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
42027         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
42028         file: multiarch strchr for PPC32.
42029         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
42030         multiarch objects.
42031         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
42032         (__libc_ifunc_impl_list): Likewise.
42034         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
42035         name.
42036         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
42037         file.
42038         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
42039         file.
42040         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
42041         multiarch strchrnul for PPC32.
42042         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
42043         multiarch objects.
42044         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
42045         (__libc_ifunc_impl_list): Likewise.
42047         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
42048         file.
42049         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
42050         multiarch strncasecmp for PPC32.
42051         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
42052         file.
42053         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
42054         multiarch strncasecmp_l for PPC32.
42055         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
42056         strncasecmp multiarch objects.
42057         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
42058         (__libc_ifunc_impl_list): Likewise.
42060         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
42061         file.
42062         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
42063         multiarch strncasecmp for PPC32.
42064         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
42065         New file.
42066         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
42067         multiarch strcasecmp_l for PPC32.
42068         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
42069         multiarch objects.
42070         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
42071         (__libc_ifunc_impl_list): Likewise.
42073         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
42074         file.
42075         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
42076         file.
42077         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
42078         multiarch strncmp for PPC32.
42079         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
42080         multiarch objects.
42081         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
42082         (__libc_ifunc_impl_list): Likewise.
42084         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
42085         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
42086         file.
42087         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
42088         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
42089         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
42090         multiarch objects.
42091         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
42092         (__libc_ifunc_impl_list): Likewise.
42094         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
42095         file.
42096         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
42097         file.
42098         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
42099         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
42100         multiarch objects.
42101         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
42102         (__libc_ifunc_impl_list): Likewise.
42104         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
42105         file.
42106         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
42107         file.
42108         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
42109         multiarch rawmemchr for PPC32.
42110         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
42111         multiarch objects.
42112         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
42113         (__libc_ifunc_impl_list): Likewise.
42115         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
42116         file.
42117         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
42118         file.
42119         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
42120         file: memrchr multiarch for PPC32.
42121         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
42122         multiarch objects.
42123         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
42124         (__libc_ifunc_impl_list): Likewise.
42126         * string/memchr.c (__memchr): Using macro to redefine symbol name.
42127         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
42128         file.
42129         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
42130         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
42131         multiarch memchr for PPC32.
42132         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
42133         multiarch objects.
42134         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
42135         (__libc_ifunc_impl_list): Likewise.
42137         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
42138         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
42139         file.
42140         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
42141         file.
42142         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
42143         file: multiarch mempcpy for PPC32.
42144         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
42145         multiarch objects.
42146         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
42147         (__libc_ifunc_impl_list): Likewise.
42149         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
42150         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
42151         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
42152         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
42153         multiarch bzero for PPC32.
42154         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
42155         file.
42156         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
42157         file.
42158         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
42159         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
42160         file: multiarch memset for PPC32.
42161         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
42162         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
42163         memset multiarch objects.
42164         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
42165         (__libc_ifunc_impl_list): Likewise.
42167         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
42168         file.
42169         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
42170         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
42171         memcmp for PPC32.
42172         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
42173         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
42174         multiarch objects.
42175         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
42176         (__libc_ifunc_impl_list): Likewise.
42178         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
42179         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
42180         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
42181         file.
42182         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
42183         file.
42184         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
42185         file.
42186         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
42187         multiarch memcpy for PPC32.
42188         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
42189         multiarch objects.
42190         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
42191         (__libc_ifunc_impl_list): Likewise.
42193         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
42194         support multiarch for POWER/PPC32.
42195         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
42196         Likewise.
42197         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
42198         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
42199         Implies file to make multiarch folder appers before the fpu and
42200         default folder for power4 configuration.
42202 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
42204         * scripts/bench.pl: Append volatile keyword to type.
42206 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
42208         * sysdeps/sh/sotruss-lib.c: New file.
42209         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
42211 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42213         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42215 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
42217         [BZ #6810]
42218         * math/w_tgamma.c: Include <errno.h>.
42219         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
42220         * math/w_tgammaf.c: Include <errno.h>.
42221         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
42222         * math/w_tgammal.c: Include <errno.h>.
42223         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
42224         * math/auto-libm-test-in: Do not allow missing errno on tgamma
42225         underflow.  Add more tgamma tests.
42226         * math/auto-libm-test-out: Regenerated.
42227         * sysdeps/i386/fpu/libm-test-ulps: Update.
42228         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42230         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
42231         sin, sinh, tan, tanh, tgamma, y0 and y1.
42232         * math/auto-libm-test-out: Regenerated.
42233         * math/libm-test.inc (TEST_COND_x86_64): New macro.
42234         (TEST_COND_x86): Likewise.
42235         (M_E2l): Remove macro.
42236         (M_E3l): Likewise.
42237         (M_2_SQRT_PIl): Likewise.
42238         (M_SQRT_PIl): Likewise.
42239         (M_1_DIV_El): Likewise.
42240         (log_test_data): Use AUTO_TESTS_f_f.
42241         (log10_test_data): Likewise.
42242         (log1p_test_data): Likewise.
42243         (log2_test_data): Likewise.
42244         (sin_test_data): Likewise.
42245         (sin_tonearest_test_data): Likewise.
42246         (sin_towardzero_test_data): Likewise.
42247         (sin_downward_test_data): Likewise.
42248         (sin_upward_test_data): Likewise.
42249         (sinh_test_data): Likewise.
42250         (sinh_tonearest_test_data): Likewise.
42251         (sinh_towardzero_test_data): Likewise.
42252         (sinh_downward_test_data): Likewise.
42253         (sinh_upward_test_data): Likewise.
42254         (tan_test_data): Likewise.
42255         (tan_tonearest_test_data): Likewise.
42256         (tan_towardzero_test_data): Likewise.
42257         (tan_downward_test_data): Likewise.
42258         (tan_upward_test_data): Likewise.
42259         (tanh_test_data): Likewise.
42260         (tgamma_test_data): Likewise.
42261         (y0_test_data): Likewise.
42262         (y1_test_data): Likewise.
42263         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
42264         (special_real_inputs): Add pi/4.
42265         * sysdeps/i386/fpu/libm-test-ulps: Update.
42266         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42268 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42270         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
42271         "longjmp_target" static probes.
42272         (__longjmp): Rename to __longjmp_symbol.
42273         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
42274         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
42275         on which longjmp to generate.
42276         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
42277         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
42278         probe.
42279         (__sigsetjmp): Rename to __sigsetjmp_symbol.
42280         (__sigjmp_save): Rename to __sigjmp_save_symbol.
42281         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
42282         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
42283         and __sigjmp_save_symbol based on which sigsetjmp to generated.
42284         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
42285         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
42286         __longjmp_symbol based on which __longjmp to generate.
42287         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
42288         probe.
42289         (setjmp): Rename to setjmp_symbol.
42290         (__sigsetjmp): Rename to __sigsetjmp_symbol.
42291         (_setjmp): Rename to _setjmp_symbol.
42292         (__sigsetjmp): Rename to __sigsetjmp_symbol.
42293         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
42294         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
42295         which setjmp to generate.
42296         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
42297         "longjmp_target" static probes.
42299 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
42301         * benchtests/README: Add note about output arguments.
42302         * benchtests/bench-sincos.c: Remove file.
42303         * benchtests/sincos-inputs: New file.
42304         * scripts/bench.pl: Identify output arguments and define
42305         static variables for them.
42307         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
42309         [BZ #15941]
42310         * Makefile (INSTALL): Add install-plain.texi as the primary
42311         dependency.
42312         * manual/install-plain.texi: New file.
42313         * manual/install.texi: Include node directive only for
42314         non-plaintext output.
42316 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
42318         * stdlib/longlong.h: Update from GCC.
42320         [BZ #6807]
42321         [BZ #15901]
42322         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
42323         * math/w_j0f.c (y0f): Likewise.
42324         * math/w_j0l.c (__y0l): Likewise.
42325         * math/w_j1.c (y1): Likewise.
42326         * math/w_j1f.c (y1f): Likewise.
42327         * math/w_j1l.c (__y1l): Likewise.
42328         * math/w_jn.c (yn): Likewise.
42329         * math/w_jnf.c (ynf): Likewise.
42330         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
42331         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
42332         value for Bessel function domain errors outside _SVID_ mode.
42333         Adjust sign of return value for yn (negative integer, 0).
42334         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
42335         by zero in return for negative x and set sign appropriately for
42336         negative n.
42337         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
42338         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
42339         * math/libm-test.inc (y0_test_data): Add more tests and adjust
42340         expectations in error cases.
42341         (y1_test_data): Likewise.
42342         (yn_test_data): Likewise.
42343         * sysdeps/i386/fpu/libm-test-ulps: Update.
42344         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42346 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
42348         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
42349         "64" to "64-v1".  Add "64-v2".
42350         (abi-64-options): Rename to ...
42351         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
42352         (abi-64-condition): Rename to ...
42353         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
42354         (abi-64-ld-soname): Rename to ...
42355         (abi-64-v1-ld-soname): ... this.
42356         (abi-64-v2-options): Define.
42357         (abi-64-v2-condition): Likewise.
42358         (abi-64-v2-ld-soname): Likewise.
42359         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
42360         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
42361         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
42362         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
42363         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
42365 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
42366             Alan Modra  <amodra@gmail.com>
42368         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
42369         New versions for use with the ELFv2 ABI.
42370         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
42371         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
42372         declaration.
42373         (struct La_ppc64v2_retval): Likewise.
42374         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
42375         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
42376         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
42377         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
42378         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
42379         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
42380         Do not save or restore CR.
42381         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
42382         (_dl_profile_resolve): Do no save or restore CR.  Support extended
42383         return values for ELFv2 ABI.  Fix location of FPR return registers.
42384         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
42385         updated values for _CALL_ELF == 2.
42386         (La_regs, La_retval, int_retval): Likewise.
42388 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
42390         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
42391         (FRAME_MIN_SIZE_PARM): Likewise.
42392         (FRAME_BACKCHAIN): Likewise.
42393         (FRAME_CR_SAVE): Likewise.
42394         (FRAME_LR_SAVE): Likewise.
42395         (FRAME_TOC_SAVE): Likewise.
42396         (FRAME_PARM_SAVE): Likewise.
42397         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
42398         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
42399         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
42400         (call_mcount_parm_offset): New macro.
42401         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
42402         (PROF): Use symbolic stack frame offsets.
42403         (TAIL_CALL_SYSCALL_ERROR): Likewise.
42404         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
42405         Redefine in terms of FRAME_MIN_SIZE.
42406         (_dl_runtime_resolve): Use symbolic stack frame offsets.
42407         (_dl_profile_resolve): Likewise.  Update comment.
42408         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
42409         symbols stack frame offsets.
42410         (__sigsetjmp): Likewise.
42411         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
42412         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
42413         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
42414         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
42416         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
42417         (FRAME_BACKCHAIN): Remove.
42418         (FRAME_CR_SAVE): Likewise.
42419         (FRAME_LR_SAVE): Likewise.
42420         (FRAME_COMPILER_DW): Likewise.
42421         (FRAME_LINKER_DW): Likewise.
42422         (FRAME_TOC_SAVE): Likewise.
42423         (FRAME_PARM_SAVE): Likewise.
42424         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
42425         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
42426         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
42427         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
42428         (CHECK_SP): Use symbolic stack frame offsets.
42429         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
42430         zone" instead of caller's parameter save area for temp storage.
42431         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
42432         Likewise.  Also, use symbolic stack frame offsets.
42433         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
42434         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
42435         our own stack frame instead of the caller's.
42436         (__socket): Use symbolic stack frame offsets.
42438 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
42439             Alan Modra  <amodra@gmail.com>
42441         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
42442         Define.
42443         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
42444         (PPC64_LOCAL_ENTRY_OFFSET): Define.
42445         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
42446         New function.
42447         (elf_machine_fixup_plt): Call it.
42448         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
42449         reloc arguments.
42450         (elf_machine_rela): Update call to elf_machine_plt_conflict.
42451         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
42452         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
42453         r2 before calling target.
42455 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
42456             Alan Modra  <amodra@gmail.com>
42458         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
42459         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
42460         versions of macros to support ELFv2 ABI.
42461         (LOCALENTRY): New macro.
42462         (ENTRY, EALIGN): Use it.
42463         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
42464         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
42465         fall through into ENTRY entry point.
42466         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
42467         Only define if _CALL_ELF != 2.
42469         (elf_machine_matches_host): Verify ABI version matches.
42470         (RTLD_START): Use LOCALENTRY.
42471         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
42472         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
42473         (PLT_ENTRY_WORDS): New macro.
42474         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
42475         (elf_machine_runtime_setup): Support ELFv2 ABI.
42476         (elf_machine_fixup_plt): Likewise.
42477         (elf_machine_plt_conflict): Likewise.
42478         (resolve_ifunc): Likewise.
42479         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
42480         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
42481         Likewise.
42482         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
42483         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
42484         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
42485         (makecontext): Support ELFv2 ABI.
42486         * elf/elf.h (EF_PPC64_ABI): Define.
42488 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
42490         * sysdeps/powerpc/powerpc64/sysdep.h
42491         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
42492         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
42493         (ENTRY) [ASSEMBLER]: ... but instead here ...
42494         (EALIGN) [ASSEMBLER]: ... and here.
42495         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
42496         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
42497         (ENTRY_2) [!ASSEMBLER]: Use it.
42498         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
42499         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
42500         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
42501         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
42502         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
42503         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
42504         Use PPC64_LOAD_FUNCPTR.
42506         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
42508 2013-12-04  Alan Modra  <amodra@gmail.com>
42510         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
42511         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
42512         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
42513         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
42515         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
42516         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
42517         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
42518         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
42519         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
42520         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
42522 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
42524         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
42525         (__makecontext): Fix incorrect CFI when backtracing out of
42526         context created via makecontext.
42527         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
42528         (__setcontext): Fix incorrect CFI during switch to new context.
42529         (__novec_setcontext): Likewise.
42531 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
42533         [BZ #4772]
42534         * time/strptime_l.c (__strptime_internal): Allow modifiers
42535         in strptime.
42536         * time/tst-strptime.c (day_tests): Add testcase.
42538 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
42540         * scripts/bench.pl: Skip over blank lines.
42542 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
42544         [BZ #926]
42545         * manual/time.texi (Calendar Time): Clarify what timezone functions
42546         use.
42548 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42550         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42552 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
42554         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
42555         implementation.
42556         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
42557         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
42558         * debug/memset_chk.c (__memset_chk): Likewise.
42559         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
42560         * debug/strncpy_chk.c: Likewise.
42562 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
42564         [BZ #15268]
42565         [BZ #15425]
42566         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
42567         (__ieee754_exp): For possibly underflowing results, check size of
42568         result and force underflow exception if required.
42569         * math/auto-libm-test-in: Add more tests of exp.
42570         * math/auto-libm-test-out: Regenerated.
42571         * sysdeps/i386/fpu/libm-test-ulps: Update.
42572         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42574         [BZ #16283]
42575         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
42576         * math/w_exp2f.c (__exp2f): Likewise.
42577         * math/w_exp2l.c (__exp2l): Likewise.
42578         * math/auto-libm-test-in: Do not allow missing errno on exp2
42579         underflow.
42580         * math/auto-libm-test-out: Regenerated.
42582 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
42584         [BZ #16274]
42585         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
42586         handle filename validation.
42587         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
42588         (do_open): Delete.
42590 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
42592         [BZ #6786]
42593         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
42594         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
42595         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
42596         <float.h>.
42597         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
42598         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
42599         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
42600         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
42601         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
42602         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
42603         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
42604         * math/auto-libm-test-in: Don't allow missing errno from erfc.
42605         Add more erfc tests.
42606         * math/auto-libm-test-out: Regenerated.
42607         * sysdeps/i386/fpu/libm-test-ulps: Update.
42608         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42610         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
42611         exp2, expm1, j0 and j1.
42612         * math/auto-libm-test-out: Regenerated.
42613         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
42614         (erfc_test_data): Likewise.
42615         (exp_test_data): Likewise.
42616         (exp_tonearest_test_data): Likewise.
42617         (exp_towardzero_test_data): Likewise.
42618         (exp_downward_test_data): Likewise.
42619         (exp_upward_test_data): Likewise.
42620         (exp10_test_data): Likewise.
42621         (exp2_test_data): Likewise.
42622         (expm1_test_data): Likewise.
42623         (j0_test_data): Likewise.
42624         (j1_test_data): Likewise.
42625         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
42626         (input_flag_type): Add flag_xfail_rounding.
42627         (input_flags): Add xfail-rounding.
42628         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
42629         (output_for_one_input_case): Handle flag_xfail_rounding.
42630         * sysdeps/i386/fpu/libm-test-ulps: Update.
42631         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42633 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
42635         [BZ #16289]
42636         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
42637         division by 0.
42639 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
42641         [BZ #16195]
42642         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
42643         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
42644         (STAP_PROBE0): New macro.
42645         (STAP_PROBE1): Likewise.
42646         (STAP_PROBE2): Likewise.
42647         (STAP_PROBE3): Likewise.
42648         (STAP_PROBE4): Likewise.
42650 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
42652         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
42654 2013-12-02  Steve Ellcey  <sellcey@mips.com>
42656         * benchtests/Makefile (bench): Add sqrt.
42657         (LDLIBS-bench-sqrt): New.
42658         * benchtests/sqrt-input: New.
42660 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
42662         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
42663         (GAIH_EAI): Likewise.
42664         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
42665         (gaih_inet): Likewise.
42666         (getaddrinfo): Don't use GAIH_EAI.
42668         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
42669         (struct gaih): Remove definition.
42671 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
42673         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
42674         Use HERRNOP directly.
42676 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42678         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42680 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
42682         * math/gen-auto-libm-tests.c (test_functions): Add more
42683         single-argument functions.
42684         (special_fill_pi_2): New function.
42685         (special_fill_minus_pi_2): Likewise.
42686         (special_fill_pi_6): Likewise.
42687         (special_fill_minus_pi_6): Likewise.
42688         (special_fill_pi_3): Likewise.
42689         (special_fill_2pi_3): Likewise.
42690         (special_fill_e): Likewise.
42691         (special_fill_1_e): Likewise.
42692         (special_fill_e_minus_1): Likewise.
42693         (special_real_inputs): Add more special inputs.
42694         (output_for_one_input_case): Do not require ERANGE on underflow to
42695         zero if round-to-nearest result does not underflow to zero, unless
42696         exact results required.
42697         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
42698         atan, atanh, cbrt, cos and cosh.
42699         * math/auto-libm-test-out: Regenerated.
42700         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
42701         (acos_tonearest_test_data): Likewise.
42702         (acos_towardzero_test_data): Likewise.
42703         (acos_downward_test_data): Likewise.
42704         (acos_upward_test_data): Likewise.
42705         (acosh_test_data): Likewise.
42706         (asin_test_data): Likewise.
42707         (asin_tonearest_test_data): Likewise.
42708         (asin_towardzero_test_data): Likewise.
42709         (asin_upward_test_data): Likewise.
42710         (asinh_test_data): Likewise.
42711         (atan_test_data): Likewise.
42712         (atanh_test_data): Likewise.
42713         (cbrt_test_data): Likewise.
42714         (cos_test_data): Likewise.
42715         (cos_tonearest_test_data): Likewise.
42716         (cos_towardzero_test_data): Likewise.
42717         (cos_downward_test_data): Likewise.
42718         (cos_upward_test_data): Likewise.
42719         (cosh_test_data): Likewise.
42720         (cosh_tonearest_test_data): Likewise.
42721         (cosh_towardzero_test_data): Likewise.
42722         (cosh_downward_test_data): Likewise.
42723         (cosh_upward_test_data): Likewise.
42724         * sysdeps/i386/fpu/libm-test-ulps: Update.
42725         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42727 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
42729         [BZ #6787]
42730         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
42731         * math/w_exp10f.c (__exp10f): Likewise.
42732         * math/w_exp10l.c (__exp10l): Likewise.
42733         * math/libm-test.inc (exp10_test_data): Add more tests and expect
42734         errno settings in existing tests.
42736         [BZ #14032]
42737         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
42738         precision control set to double precision.
42739         * sysdeps/i386/fpu/w_sqrt.c: New file.
42740         * math/auto-libm-test-in: Add more tests.
42741         * math/auto-libm-test-out: Update.
42743         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
42744         (sqrt_test_tonearest): New function.
42745         (sqrt_towardzero_test_data): New variable.
42746         (sqrt_test_towardzero): New function.
42747         (sqrt_downward_test_data): New variable.
42748         (sqrt_test_downward): New function.
42749         (sqrt_upward_test_data): New variable.
42750         (sqrt_test_upward): New function.
42751         (main): Call the new functions.
42753         * math/gen-auto-libm-tests.c: New file.
42754         * math/auto-libm-test-in: Likewise.
42755         * math/auto-libm-test-out: New generated file.
42756         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
42757         variables.
42758         (%beautify): Add generated representations of zero.
42759         (top level): Set $auto_input and call parse_auto_input.
42760         (beautify): Remove trailing "f" from hex float constants.
42761         (parse_args): Handle XFAIL_TEST.
42762         (convert_condition): New function.
42763         (or_value): Likewise.
42764         (or_cond_value): Likewise.
42765         (generate_testfile): Handle AUTO_TESTS_* lines.
42766         (parse_auto_input): New function.
42767         * math/libm-test.inc (XFAIL_TEST): New macro.
42768         (ERRNO_UNCHANGED): Update value.
42769         (ERRNO_EDOM): Likewise.
42770         (ERRNO_ERANGE): Likewise.
42771         (IGNORE_RESULT): Likewise.
42772         (TEST_COND_flt_32): New macro.
42773         (TEST_COND_dbl_64): Likewise.
42774         (TEST_COND_ldbl_96_intel): Likewise.
42775         (TEST_COND_ldbl_96_m68k): Likewise.
42776         (TEST_COND_ldbl_128): Likewise.
42777         (TEST_COND_ldbl_128ibm): Likewise.
42778         (TEST_COND_long32): Likewise.
42779         (TEST_COND_long64): Likewise.
42780         (TEST_COND_before_rounding): Likewise.
42781         (TEST_COND_after_rounding): Likewise.
42782         (enable_test): Handle XFAIL_TEST flag.
42783         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
42784         with finite results.
42785         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
42786         auto-libm-test-out.
42788 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
42789             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
42791         [BZ #16214]
42792         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
42793         __tls_get_addr_internal instead of __tls_get_offset in order to
42794         avoid GOT pointer dependency.  Make rtld export
42795         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
42796         __tls_get_addr since we are a __tls_get_offset platform.
42797         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
42798         GOT pointer being set up before.
42799         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
42801 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
42803         * manual/math.texi (Errors in Math Functions): Document accuracy
42804         goals.
42806         [BZ #15004]
42807         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
42808         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
42809         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
42810         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
42811         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
42812         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
42813         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
42814         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
42815         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
42816         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
42817         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
42818         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
42819         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
42820         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
42821         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
42822         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
42824         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
42825         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
42826         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
42827         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
42828         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
42829         Likewise.
42830         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
42831         Likewise.
42832         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
42833         Likewise.
42834         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
42835         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
42836         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
42837         atomic-feupdateenv and flt-rounds.
42838         * sysdeps/powerpc/nofpu/Versions (libc): Add
42839         __atomic_feholdexcept, __atomic_feclearexcept,
42840         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
42841         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
42842         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
42843         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
42844         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
42845         here.
42846         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
42847         Update.
42849         * manual/arith.texi (FP Exceptions): Document that exceptions may
42850         not be raised when matherr is used.
42851         (Math Error Reporting): Document overflow in directed rounding
42852         modes.  Document that errno may not be set when finite values are
42853         returned on overflow.  Document intent to set errno on underflow
42854         only for underflow to zero.
42856         [BZ #16271]
42857         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
42858         round-to-nearest then adjust result for other rounding modes.
42859         * include/fenv.h (fegetround): Use libm_hidden_proto.
42860         * math/fegetround.c (fegetround): Use libm_hidden_def.
42861         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
42862         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
42863         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
42864         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
42865         Likewise.
42866         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
42867         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
42868         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
42869         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
42871 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
42873         [BZ #16077]
42874         * nss/Versions (libnss_files): Add
42875         _nss_files_gethostbyname3_r.
42876         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
42877         New function.
42878         (HOST_DB_LOOKUP): Remove macro.
42879         (_nss_files_gethostbyname_r): Implement function without the
42880         HOST_DB_LOOKUP macro.
42881         (_nss_files_gethostbyname2_r): Likewise.
42883 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
42885         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
42887 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
42889         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
42890         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
42891         warning.
42893 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42895         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
42896         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
42897         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
42898         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
42899         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
42900         __fe_nomask_env_priv and attribute_hidden.
42901         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
42902         (libc_feupdateenv_test_ppc): Likewise.
42903         (libc_feresetround_ppc): Likewise.
42904         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
42905         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
42906         compat_symbol macro.
42907         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
42908         (__fe_nomask_env): Likewise.
42909         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
42911 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
42913         * string/Makefile: Remove ifunc tests.
42914         * string/test-string.h: Define TEST_IFUNC.
42915         * string/test-bcopy-ifunc.c: Remove.
42916         * string/test-bzero-ifunc.c: Likewise.
42917         * string/test-memccpy-ifunc.c: Likewise.
42918         * string/test-memchr-ifunc.c: Likewise.
42919         * string/test-memcmp-ifunc.c: Likewise.
42920         * string/test-memcpy-ifunc.c: Likewise.
42921         * string/test-memmem-ifunc.c: Likewise.
42922         * string/test-memmove-ifunc.c: Likewise.
42923         * string/test-mempcpy-ifunc.c: Likewise.
42924         * string/test-memrchr-ifunc.c: Likewise.
42925         * string/test-memset-ifunc.c: Likewise.
42926         * string/test-rawmemchr-ifunc.c: Likewise.
42927         * string/test-stpcpy-ifunc.c: Likewise.
42928         * string/test-stpncpy-ifunc.c: Likewise.
42929         * string/test-strcasecmp-ifunc.c: Likewise.
42930         * string/test-strcasestr-ifunc.c: Likewise.
42931         * string/test-strcat-ifunc.c: Likewise.
42932         * string/test-strchr-ifunc.c: Likewise.
42933         * string/test-strchrnul-ifunc.c: Likewise.
42934         * string/test-strcmp-ifunc.c: Likewise.
42935         * string/test-strcpy-ifunc.c: Likewise.
42936         * string/test-strcspn-ifunc.c: Likewise.
42937         * string/test-strlen-ifunc.c: Likewise.
42938         * string/test-strncasecmp-ifunc.c: Likewise.
42939         * string/test-strncat-ifunc.c: Likewise.
42940         * string/test-strncmp-ifunc.c: Likewise.
42941         * string/test-strncpy-ifunc.c: Likewise.
42942         * string/test-strnlen-ifunc.c: Likewise.
42943         * string/test-strpbrk-ifunc.c: Likewise.
42944         * string/test-strrchr-ifunc.c: Likewise.
42945         * string/test-strspn-ifunc.c: Likewise.
42946         * string/test-strstr-ifunc.c: Likewise.
42948 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
42950         * benchtests/Makefile: Remove ifunc tests.
42951         * benchtests/bench-string.h: Define TEST_IFUNC.
42952         * benchtests/bench-bcopy-ifunc.c: Remove.
42953         * benchtests/bench-bzero-ifunc.c: Likewise.
42954         * benchtests/bench-memccpy-ifunc.c: Likewise.
42955         * benchtests/bench-memchr-ifunc.c: Likewise.
42956         * benchtests/bench-memcmp-ifunc.c: Likewise.
42957         * benchtests/bench-memcpy-ifunc.c: Likewise.
42958         * benchtests/bench-memmem-ifunc.c: Likewise.
42959         * benchtests/bench-memmove-ifunc.c: Likewise.
42960         * benchtests/bench-mempcpy-ifunc.c: Likewise.
42961         * benchtests/bench-memrchr-ifunc.c: Likewise.
42962         * benchtests/bench-memset-ifunc.c: Likewise.
42963         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
42964         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
42965         * benchtests/bench-stpcpy-ifunc.c: Likewise.
42966         * benchtests/bench-stpncpy-ifunc.c: Likewise.
42967         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
42968         * benchtests/bench-strcasestr-ifunc.c: Likewise.
42969         * benchtests/bench-strcat-ifunc.c: Likewise.
42970         * benchtests/bench-strchr-ifunc.c: Likewise.
42971         * benchtests/bench-strchrnul-ifunc.c: Likewise.
42972         * benchtests/bench-strcmp-ifunc.c: Likewise.
42973         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
42974         * benchtests/bench-strcpy-ifunc.c: Likewise.
42975         * benchtests/bench-strcspn-ifunc.c: Likewise.
42976         * benchtests/bench-strlen-ifunc.c: Likewise.
42977         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
42978         * benchtests/bench-strncat-ifunc.c: Likewise.
42979         * benchtests/bench-strncmp-ifunc.c: Likewise.
42980         * benchtests/bench-strncpy-ifunc.c: Likewise.
42981         * benchtests/bench-strnlen-ifunc.c: Likewise.
42982         * benchtests/bench-strpbrk-ifunc.c: Likewise.
42983         * benchtests/bench-strrchr-ifunc.c: Likewise.
42984         * benchtests/bench-strsep-ifunc.c: Likewise.
42985         * benchtests/bench-strspn-ifunc.c: Likewise.
42986         * benchtests/bench-strstr-ifunc.c: Likewise.
42988 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
42990         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
42992 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
42994         * resolv/netdb.h: Use __glibc_reserved instead __unused.
42995         * rt/aio.h: Likewise.
42996         * sysdeps/gnu/bits/utmp.h: Likewise.
42997         * sysdeps/gnu/bits/utmpx.h: Likewise.
42998         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
42999         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
43000         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
43001         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
43002         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
43003         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
43004         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
43005         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
43006         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
43007         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
43008         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
43009         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
43010         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
43011         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
43012         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
43013         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
43014         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
43015         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
43016         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
43017         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
43018         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
43019         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
43020         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
43021         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
43022         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
43023         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
43024         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
43025         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
43026         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
43027         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
43028         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
43029         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
43030         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
43031         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
43032         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
43033         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
43034         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
43035         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
43036         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
43037         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
43038         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
43039         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
43041 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
43043         [BZ #16245]
43044         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
43045         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
43047 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
43049         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
43050         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
43051         Likewise.
43053 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43055         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
43056         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
43057         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
43058         (__fesetround): Remove define.
43059         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
43060         rounding and exceptions handling.
43061         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
43062         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
43063         (__fe_nomask_env): Likewise.
43064         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
43065         __fegetround instead of fegetround.
43066         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
43067         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
43069 2013-11-21  Roland McGrath  <roland@hack.frob.com>
43071         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
43072         it's there.
43074         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
43076 2013-11-21  Meador Inge  <meadori@codesourcery.com>
43078         [BZ #11157]
43079         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
43080         (encrypt_r): Likewise.
43081         * malloc/obstack.h (obstack_free): Likewise.
43082         * posix/unistd.h (encrypt): Likewise.
43084 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
43086         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
43087         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
43088         DL_CALL_DT_FINI() that call the functions directly.
43089         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
43090         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
43091         * elf/dl-fini.c: Likewise.
43093 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
43095         * malloc/hooks.c (memalign_check): Add alignment rounding.
43096         * malloc/malloc.c (_mid_memalign): New function.
43097         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
43098         Implement by calling _mid_memalign.
43099         * manual/probes.texi (Memory Allocation Probes): Remove
43100         memory_valloc_retry and memory_pvalloc_retry.
43102 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
43104         * locale/programs/locarchive.c (open_archive): Add const
43105         qualifier to ARCHIVEFNAME and copy default fname to
43106         DEFAULT_FNAME.
43108         [BZ #15601]
43109         * libio/tst-widetext.input: Rename Oriya to Odia.
43110         * locale/iso-639.def: Likewise.
43112         * manual/probes.texi (Mathematical Function Probes): Add
43113         documentation for sin, cos, asin and acos probes.
43114         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
43115         (__sin32): Add slowasin probe.
43116         (__cos32): Add slowacos probe.
43117         (__mpsin): Add slowsin probe.
43118         (__mpcos): Add slowcos probe.
43120 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
43122         [BZ #15483]
43123         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
43124         thread-local __sim_exceptions_thread and global
43125         __sim_exceptions_global.
43126         (__sim_disabled_exceptions): Change to thread-local
43127         __sim_disabled_exceptions_thread and global
43128         __sim_disabled_exceptions_global.
43129         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
43130         and global __sim_round_mode_global.
43131         (__simulate_exceptions): Use thread-local floating-point state and
43132         set global state from it as needed.
43133         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
43134         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
43135         __sim_round_mode_thread.
43136         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
43137         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
43138         and global __sim_exceptions_global.
43139         (__sim_disabled_exceptions): Change to thread-local
43140         __sim_disabled_exceptions_thread and global
43141         __sim_disabled_exceptions_global.
43142         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
43143         and global __sim_round_mode_global.
43144         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
43145         (SIM_SET_GLOBAL): Likewise.
43146         * sysdeps/powerpc/soft-fp/sfp-machine.h
43147         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
43148         __sim_round_mode_thread.
43149         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
43150         __sim_disabled_exceptions_thread.
43151         (__sim_exceptions): Change to __sim_exceptions_thread.
43152         (__sim_disabled_exceptions): Change to
43153         __sim_disabled_exceptions_thread.
43154         (__sim_round_mode): Change to __sim_round_mode_thread.
43155         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
43156         thread-local floating-point state and set global state from it as
43157         needed.
43158         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
43159         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
43160         (__sim_disabled_exceptions): Remove extern declaration.
43161         (feenableexcept): Use thread-local floating-point state and set
43162         global state from it as needed.
43163         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
43164         extern declaration.
43165         (__sim_disabled_exceptions): Likewise.
43166         (__sim_round_mode): Likewise.
43167         (__fegetenv): Use thread-local floating-point state.
43168         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
43169         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
43170         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
43171         floating-point state and set global state from it as needed.
43172         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
43173         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
43174         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
43175         Likewise.
43176         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
43177         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
43178         Likewise.
43179         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
43180         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
43181         Use __sim_round_mode_thread.
43182         * math/test-fenv-tls.c: New file.
43183         * math/Makefile (tests): Add test-fenv-tls.
43184         ($(objpfx)test-fenv-tls): Depend on
43185         $(common-objpfx)nptl/libpthread.so.
43187 2013-11-19  Andreas Schwab  <schwab@suse.de>
43189         * locale/programs/locale.c (show_info): Decode wordarray elements.
43190         * locale/categories.def (LC_MONETARY): Add element for
43191         _NL_MONETARY_CRNCYSTR.
43192         * locale/C-monetary.c (conversion_rate): New variable.
43193         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
43194         element.
43196 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
43198         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
43199         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
43201 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
43203         * elf/Makefile (tst-auxv): New test.
43204         * elf/tst-auxv.c: New
43205         * elf/rtld.c (dl_main): Adjust AT_EXECFN
43207 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
43209         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
43210         (hidden_proto): Caller changed.
43211         (hidden_tls_proto): New macro.
43212         (libc_hidden_tls_proto): Likewise.
43213         (rtld_hidden_tls_proto): Likewise.
43214         (libm_hidden_tls_proto): Likewise.
43215         (libresolv_hidden_tls_proto): Likewise.
43216         (librt_hidden_tls_proto): Likewise.
43217         (libdl_hidden_tls_proto): Likewise.
43218         (libnss_files_hidden_tls_proto): Likewise.
43219         (libnsl_hidden_tls_proto): Likewise.
43220         (libnss_nisplus_hidden_tls_proto): Likewise.
43221         (libutil_hidden_tls_proto): Likewise.
43223 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
43225         [BZ #10253]
43226         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
43227         (decompose_rpath): Defer expansion to fillin_rpath.
43228         (_dl_init_paths): Pass linkmap to fillin_rpath.
43230 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
43232         * benchtests/Makefile: Add strsep.
43233         * benchtests/bench-strsep.c: New file: strsep benchtest.
43234         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
43236 2013-11-18  Andreas Schwab  <schwab@suse.de>
43238         * locale/programs/locale.c (show_info) [case byte]: Check for
43239         '\377' instead of '\177'.
43240         * locale/C-monetary.c (not_available): Always use "\377".
43241         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
43242         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
43243         detect unavailable sign_posn locale elements.
43244         * locale/localeconv.c (__localeconv): For grouping and
43245         mon_grouping handle "\177" and "\377" like no grouping.
43246         (INT_ELEM): New macro.  Use it to set all numeric members.
43247         * locale/programs/ld-monetary.c (monetary_read)
43248         <tok_mon_grouping>: Normalize single -1 to the empty string.
43249         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
43250         Likewise.
43252 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
43254         [BZ #16055]
43255         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
43256         when we match (nil).
43257         * stdio-common/tst-sscanf.c (struct test): Add testcase.
43259 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
43261         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
43262         (NO_TEST_INLINE): Update value.
43263         (ERRNO_UNCHANGED): Likewise.
43264         (ERRNO_EDOM): Likewise.
43265         (ERRNO_ERANGE): Likewise.
43266         (IGNORE_RESULT): Likewise.
43267         (check_float_internal): Check signs of NaN results if
43268         TEST_NAN_SIGN used.
43269         (check_complex): Pass TEST_NAN_SIGN flag through to second
43270         check_float_internal call.
43271         (copysign_test_data): Add tests with quiet NaNs as second
43272         argument.  Use TEST_NAN_SIGN.
43273         (fabs_test_data): Add test of negative quiet NaN argument.  Use
43274         TEST_NAN_SIGN.
43275         (signbit_test_data): Add tests of quiet NaN argument.
43276         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
43278         * math/gen-libm-test.pl (show_exceptions): Take extra argument
43279         $ignore_result.
43280         (parse_args): Handle function results specified as IGNORE.
43281         * math/libm-test.inc (IGNORE_RESULT): New macro.
43282         (check_float_internal): Do not check numerical result if flag
43283         IGNORE_RESULT set.
43284         (check_complex): Pass through IGNORE_RESULT to second
43285         check_float_internal call.
43286         (check_int): Do not check numerical result if flag IGNORE_RESULT
43287         set.
43288         (check_long): Likewise.
43289         (check_bool): Likewise.
43290         (check_longlong): Likewise.
43291         (lrint_test_data): Add tests of infinite and NaN arguments.
43292         (lrint_tonearest_test_data): Likewise.
43293         (lrint_towardzero_test_data): Likewise.
43294         (lrint_downward_test_data): Likewise.
43295         (lrint_upward_test_data): Likewise.
43296         (llrint_test_data): Likewise.
43297         (llrint_tonearest_test_data): Likewise.
43298         (llrint_towardzero_test_data): Likewise.
43299         (llrint_downward_test_data): Likewise.
43300         (llrint_upward_test_data): Likewise.
43301         (lround_test_data): Likewise.
43302         (llround_test_data): Likewise.
43304         * math/libm-test.inc (NO_TEST_INLINE): New macro.
43305         (ERRNO_UNCHANGED): Update value.
43306         (ERRNO_EDOM): Likewise.
43307         (ERRNO_ERANGE): Likewise.
43308         (NO_TEST_INLINE_FLOAT): New macro.
43309         (NO_TEST_INLINE_DOUBLE): Likewise.
43310         (enable_test): New function.
43311         (RUN_TEST_f_f): Check enable_test before running test.
43312         (RUN_TEST_2_f): Likewise.
43313         (RUN_TEST_fff_f): Likewise.
43314         (RUN_TEST_c_f): Likewise.
43315         (RUN_TEST_f_f1): Likewise.
43316         (RUN_TEST_fF_f1): Likewise.
43317         (RUN_TEST_fI_f1): Likewise.
43318         (RUN_TEST_ffI_f1): Likewise.
43319         (RUN_TEST_c_c): Likewise.
43320         (RUN_TEST_cc_c): Likewise.
43321         (RUN_TEST_f_i): Likewise.
43322         (RUN_TEST_f_i_tg): Likewise.
43323         (RUN_TEST_ff_i_tg): Likewise.
43324         (RUN_TEST_f_b): Likewise.
43325         (RUN_TEST_f_b_tg): Likewise.
43326         (RUN_TEST_f_l): Likewise.
43327         (RUN_TEST_f_L): Likewise.
43328         (RUN_TEST_fFF_11): Likewise.
43329         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
43330         conditionals.
43331         (cosh_test_data): Likewise.
43332         (exp_test_data): Likewise.
43333         (expm1_test_data): Likewise.
43334         (hypot_test_data): Likewise.
43335         (pow_test_data): Likewise.
43336         (sinh_test_data): Likewise.
43337         (tanh_test_data): Likewise.
43338         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
43339         flags argument.
43341         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
43342         tests with quiet NaN input and output.
43343         (acosh_test_data): Likewise.
43344         (asin_test_data): Likewise.
43345         (asinh_test_data): Likewise.
43346         (atan_test_data): Likewise.
43347         (atanh_test_data): Likewise.
43348         (atan2_test_data): Likewise.
43349         (cbrt_test_data): Likewise.
43350         (cos_test_data): Likewise.
43351         (cosh_test_data): Likewise.
43352         (erf_test_data): Likewise.
43353         (erfc_test_data): Likewise.
43354         (exp_test_data): Likewise.
43355         (exp10_test_data): Likewise.
43356         (exp2_test_data): Likewise.
43357         (expm1_test_data): Likewise.
43358         (hypot_test_data): Likewise.
43359         (j0_test_data): Likewise.
43360         (j1_test_data): Likewise.
43361         (jn_test_data): Likewise.
43362         (lgamma_test_data): Likewise.
43363         (log_test_data): Likewise.
43364         (log10_test_data): Likewise.
43365         (log1p_test_data): Likewise.
43366         (log2_test_data): Likewise.
43367         (pow_test_data): Likewise.
43368         (scalb_test_data): Likewise.
43369         (sin_test_data): Likewise.
43370         (sincos_test_data): Likewise.
43371         (sinh_test_data): Likewise.
43372         (tan_test_data): Likewise.
43373         (tanh_test_data): Likewise.
43374         (tgamma_test_data): Likewise.
43375         (y0_test_data): Likewise.
43376         (y1_test_data): Likewise.
43377         (yn_test_data): Likewise.
43379         [BZ #16167]
43380         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
43381         argument being NaN and avoid computations with second argument in
43382         that case.
43383         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
43384         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
43385         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
43387 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
43389         * locale/iso-639.def: Add Chitwani Tharu (the).
43391 2013-11-14  Andreas Schwab  <schwab@suse.de>
43393         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
43394         word instead of empty string.
43396 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43398         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
43399         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
43400         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
43401         (__fe_nomask_env): Likewise.
43403 2013-11-13  Steve Ellcey  <sellcey@mips.com>
43405         * benchtests/bench-timing.h: Include time.h.
43407 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
43409         [BZ #15997]
43410         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
43411         to 3.4.0 for x32.
43412         * sysdeps/unix/sysv/linux/configure: Regenerated.
43414 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
43416         [BZ #16151]
43417         * stdlib/strtod_l.c (round_and_return): Do not consider
43418         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
43419         exponent one less than half the least subnormal exponent.
43420         * stdlib/test-strtod-round-data: Add more tests.
43421         * stdlib/tst-strtod-round.c (tests): Regenerated.
43423 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43425         [BZ #14143]
43426         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
43427         (__fe_mask_env): Likewise.
43428         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
43429         libm_hidden_proto and add function prototype.
43430         (__fe_mask_env): Add function prototype.
43431         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
43432         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
43433         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
43434         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
43435         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
43436         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
43438 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
43440         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
43441         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
43443 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
43445         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
43446         of htab_find_slot().
43448 2013-11-11  David S. Miller  <davem@davemloft.net>
43450         [BZ #16150]
43451         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
43452         symbol in the non-vis3 case in static builds.
43453         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
43454         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
43455         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
43456         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
43458 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
43460         [BZ #387]
43461         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
43462         it is empty.
43464 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43466         * benchtests/Makefile: Add bench-strtod.
43467         * benchtests/bench-strtod.c: New file: strtod benchtest
43469 2013-11-11  Andreas Schwab  <schwab@suse.de>
43471         [BZ #16153]
43472         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
43473         terminating NUL in key length.
43475 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43477         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
43478         Add artificial ODP entry for vDSO symbol for PPC64.
43479         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
43480         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
43482 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
43484         [BZ #15374]
43485         * nss/getent.c (services_keys): Recognize services starting with digit.
43487 2013-11-06  David S. Miller  <davem@davemloft.net>
43489         [BZ #15985]
43490         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
43491         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
43493 2013-11-06  Will Newton  <will.newton@linaro.org>
43495         * manual/memory.texi (Malloc Examples): Remove register
43496         keyword from examples.
43498 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
43500         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
43502 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
43504         [BZ #6981]
43505         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
43506         depending on [__GCC_IEC_559 > 0].
43507         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
43508         depending on [__GCC_IEC_559_COMPLEX > 0].
43510 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
43512         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
43513         to iso-639.def.
43515 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
43517         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
43519 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
43521         [BZ #16112]
43522         * malloc/malloc (malloc_info): Do not handle first bin as
43523         special case.
43525 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
43527         * locale/iso-639.def: Add Central Nahuatl (nhn).
43529 2013-11-01  Bruno Haible  <bruno@clisp.org>
43531         [BZ #7003]
43532         * manual/math.texi (BSD Random): Specify range upper bound as
43533         in POSIX.
43535 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
43537         * locale/iso-639.def: Add Meadow Mari (mhr).
43539 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
43541         [BZ #14752], [BZ #15763]
43542         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
43543         Validate name.
43544         * rt/tst_shm.c: Add test for escaping directory.
43546 2013-10-31  Andreas Schwab  <schwab@suse.de>
43548         [BZ #15917]
43549         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
43550         followed by 'x' as part of digit sequence.
43551         * stdio-common/tst-sscanf.c (double_tests2): New tests.
43553 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
43555         [BZ #16037]
43556         * configure.ac: allow GNU Make 4.0 and greater.
43557         * configure: Regenerated.
43559 2013-10-30  Will Newton  <will.newton@linaro.org>
43561         [BZ #16038]
43562         * malloc/hooks.c (memalign_check): Limit alignment to the
43563         maximum representable power of two.
43564         * malloc/malloc.c (__libc_memalign): Likewise.
43565         * malloc/tst-memalign.c (do_test): Add test for very
43566         large alignment values.
43567         * malloc/tst-posix_memalign.c (do_test): Likewise.
43569 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
43571         [BZ #11087]
43572         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
43573         (munmap_chunk): Likewise.
43574         (mremap_chunk): Likewise.
43576 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
43578         [BZ #15799]
43579         * stdlib/div.c (div): Remove obsolete code.
43580         * stdlib/ldiv.c (ldiv): Likewise.
43581         * stdlib/lldiv.c (lldiv): Likewise.
43583 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
43585         [BZ #16071]
43586         * nss/nss_files/files-XXX.c (get_contents_ret): New
43587         enumerator.
43588         (get_contents): New function.
43589         (internal_getent): Use it.  Expand size of LINEBUFLEN.
43591 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
43593         * configure.in: Moved to ...
43594         * configure.ac: ... here. Change reference to configure.in
43595         to configure.ac.
43596         * sysdeps/arm/preconfigure.ac: ... here.
43597         configure.in to configure.ac.
43598         * sysdeps/gnu/configure.in: Moved to ...
43599         * sysdeps/gnu/configure.ac: ... here.
43600         * sysdeps/i386/configure.in: Moved to ...
43601         * sysdeps/i386/configure.ac: ... here.
43602         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
43603         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
43604         * sysdeps/mach/configure.in: Moved to ...
43605         * sysdeps/mach/configure.ac: ... here.
43606         * sysdeps/mach/hurd/configure.in: Moved to ...
43607         * sysdeps/mach/hurd/configure.ac: ... here.
43608         * sysdeps/powerpc/configure.in: Moved to ...
43609         * sysdeps/powerpc/configure.ac: ... here.
43610         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
43611         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
43612         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
43613         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
43614         * sysdeps/s390/s390-32/configure.in: Moved to ...
43615         * sysdeps/s390/s390-32/configure.ac: ... here.
43616         * sysdeps/s390/s390-64/configure.in: Moved to ...
43617         * sysdeps/s390/s390-64/configure.ac: ... here.
43618         * sysdeps/sh/configure.in: Moved to ...
43619         * sysdeps/sh/configure.ac: ... here.
43620         * sysdeps/sparc/configure.in: Moved to ...
43621         * sysdeps/sparc/configure.ac: ... here.
43622         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
43623         * sysdeps/unix/sysv/linux/configure.ac: ... here.
43624         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
43625         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
43626         * sysdeps/x86_64/configure.in: Moved to ...
43627         * sysdeps/x86_64/configure.ac: ... here.
43628         * sysdeps/x86_64/preconfigure.in: Moved to ...
43629         * sysdeps/x86_64/preconfigure.ac: ... here.
43630         * aclocal.m4: Change reference to configure.in to configure.ac.
43631         * config.h.in: Likewise.
43632         * manual/install.texi: Likewise.
43633         * manual/maint.texi: Likewise.
43634         * Makefile: Likewise.
43635         * malloc/Makefile: Likewise.
43636         * nscd/Makefile: Likewise.
43637         * Makeconfig: Change reference to configure.in and
43638         preconfigure.in to configure.ac and preconfigure.ac
43639         respectively.
43640         * INSTALL: Regenerated.
43641         * configure: Likewise.
43642         * sysdeps/gnu/configure: Likewise.
43643         * sysdeps/i386/configure: Likewise.
43644         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
43645         * sysdeps/mach/configure: Likewise.
43646         * sysdeps/mach/hurd/configure: Likewise.
43647         * sysdeps/powerpc/configure: Likewise.
43648         * sysdeps/powerpc/powerpc32/configure: Likewise.
43649         * sysdeps/powerpc/powerpc64/configure: Likewise.
43650         * sysdeps/s390/s390-32/configure: Likewise.
43651         * sysdeps/s390/s390-64/configure: Likewise.
43652         * sysdeps/sh/configure: Likewise.
43653         * sysdeps/sparc/configure: Likewise.
43654         * sysdeps/unix/sysv/linux/configure: Likewise.
43655         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
43656         * sysdeps/x86_64/configure: Likewise.
43657         * sysdeps/x86_64/preconfigure: Likewise.
43659 2013-10-29  Andreas Schwab  <schwab@suse.de>
43661         * stdio-common/Makefile (tst-swscanf-ENV): Define.
43663 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
43665         * benchtests/pow-inputs: Add new inputs.
43667         * benchtests/exp-inputs: Add new inputs.
43669         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
43670         conditional check for return value.
43671         (__cos32): Likewise.
43673 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43675         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
43676         to provide a boost for large inputs with word alignment.
43677         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
43678         implementation based on optimized PPC64 strcpy.
43679         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
43680         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
43681         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
43682         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
43684 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
43686         [BZ #2801]
43687         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
43689 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
43691         [BZ #14876]
43692         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
43693         * time/tst-strptime.c (day_tests): Add testcase.
43695 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
43697         [BZ #14029]
43698         * manual/pattern.texi: Acknowledge that fnmatch can fail.
43700 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
43702         [BZ #16074]
43703         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
43704         MAP_FAILED on error.
43706 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
43708         [BZ #16072]
43709         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
43710         heap for large requests.
43712 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
43714         [BZ #9954]
43715         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
43716         result if the result has no associated interface.
43717         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
43718         interface for all 127.X.Y.Z addresses.
43720 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
43722         * locale/iso-639.def: Add Ligurian (lij)
43724 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
43726         [BZ #15825]
43727         * sunrpc/rpc_main.c: Document rpcgen -5.
43729 2013-10-19  Michael Stahl  <mstahl@redhat.com>
43731         * elf/rtld.c (do_preload): Print the reason why preloading failed.
43733 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
43735         [BZ #10278]
43736         * posix/glob.c: Match only directories when trailing slash is present.
43737         * posix/tst-gnuglob.c (my_opendir): Do not open files.
43738         (main): Add testcase.
43740 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
43742         [BZ #15670]
43743         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
43745 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
43747         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
43748         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
43749         AUTH_DES and cindex for FIPS 140-2.
43750         (DES Encryption): Add cindex FIPS 46-3.
43752         * locale/locarchive.h (struct locarhandle): Add fname.
43753         * locale/programs/localedef.c (main): Pass ARGV[remaining]
43754         if an optional argument was specified to --list-archive,
43755         otherwise NULL.
43756         * locale/programs/locarchive.c (show_archive_content): Take new
43757         argument fname and pass it via ah.fname to open_archive.
43758         * locale/programs/localedef.h: Update decl.
43759         (open_archive): If AH->fname is non-null, open that file
43760         rather than the default file name, and don't ignore ENOENT.
43761         (create_archive): Set AH.fname to NULL.
43762         (delete_locales_from_archive): Likewise.
43763         (add_locales_to_archive): Likewise.
43764         * locale/programs/locfile.c (write_all_categories): Likewise.
43766 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
43767             Aldy Hernandez  <aldyh@redhat.com>
43769         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
43770         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
43771         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
43772         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
43773         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
43774         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
43775         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
43776         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
43777         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
43778         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
43779         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
43780         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
43781         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
43782         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
43783         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
43784         Likewise.
43785         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
43786         Likewise.
43787         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
43788         Likewise.
43789         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
43790         Likewise.
43791         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
43792         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
43793         Likewise.
43794         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
43795         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
43796         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
43797         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
43798         Likewise.
43799         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
43800         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
43801         * sysdeps/powerpc/preconfigure: Likewise.
43802         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
43803         Likewise.
43804         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
43805         Replace contents of file by #include of <fenv_libc.h>.
43806         * sysdeps/powerpc/soft-fp/sfp-machine.h
43807         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
43808         and <sys/prctl.h>.
43809         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
43810         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
43811         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
43812         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
43813         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
43814         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
43815         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
43816         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
43817         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
43818         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
43819         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
43820         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
43821         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
43822         Allow copysignl PLT reference to be missing.
43824 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
43825             Joseph Myers  <joseph@codesourcery.com
43827         [BZ #15948]
43828         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
43829         single character.
43830         (add_to_tablewc): Assert sequence of wide characters is nonempty.
43832 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
43834         * elf/tst-tls-dlinfo.c: Don't include tls.h.
43835         * elf/tst-tls1.c: Likewise.
43836         * elf/tst-tls10.h: Likewise.
43837         * elf/tst-tls14.c: Likewise.
43838         * elf/tst-tls2.c: Likewise.
43839         * elf/tst-tls3.c: Likewise.
43840         * elf/tst-tls4.c: Likewise.
43841         * elf/tst-tls5.c: Likewise.
43842         * elf/tst-tls6.c: Likewise.
43843         * elf/tst-tls7.c: Likewise.
43844         * elf/tst-tls8.c: Likewise.
43845         * elf/tst-tls9.c: Likewise.
43846         * elf/tst-tlsmod1.c: Likewise.
43847         * elf/tst-tlsmod13.c: Likewise.
43848         * elf/tst-tlsmod13a.c: Likewise.
43849         * elf/tst-tlsmod14a.c: Likewise.
43850         * elf/tst-tlsmod16a.c: Likewise.
43851         * elf/tst-tlsmod16b.c: Likewise.
43852         * elf/tst-tlsmod2.c: Likewise.
43853         * elf/tst-tlsmod3.c: Likewise.
43854         * elf/tst-tlsmod4.c: Likewise.
43855         * elf/tst-tlsmod5.c: Likewise.
43856         * elf/tst-tlsmod6.c: Likewise.
43858 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
43860         [BZ #12486]
43861         * malloc/malloc.c: remove checks for statistics.
43863 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
43865         [BZ #15277]
43866         * inet/inet_net.c (inet_network): Detect additional invalid strings.
43867         * inet/tst-network.c: Add testcase.
43869 2013-10-17  Andreas Schwab  <schwab@suse.de>
43871         [BZ #15218]
43872         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
43873         to determine canonical name.
43875 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
43877         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
43878         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
43879         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
43880         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
43881         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
43882         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
43883         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
43884         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
43885         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
43886         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
43887         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
43888         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
43889         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
43890         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
43891         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
43892         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
43893         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
43894         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
43895         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
43896         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
43897         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
43898         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
43899         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
43900         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
43901         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
43902         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
43903         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
43904         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
43905         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
43906         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
43907         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
43908         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
43909         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
43910         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
43911         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
43912         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
43913         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
43914         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
43915         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
43916         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
43917         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
43918         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
43919         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
43920         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
43921         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
43922         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
43923         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
43924         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
43925         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
43926         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
43927         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
43928         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
43929         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
43930         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
43931         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
43932         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
43933         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
43934         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
43936 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
43938         [BZ #16041]
43939         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
43940         make result into a quiet NaN.
43942 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
43944         * soft-fp/adddf3.c: Fix horizontal whitespace.
43945         * soft-fp/addsf3.c: Likewise.
43946         * soft-fp/addtf3.c: Likewise.
43947         * soft-fp/divdf3.c: Likewise.
43948         * soft-fp/divsf3.c: Likewise.
43949         * soft-fp/divtf3.c: Likewise.
43950         * soft-fp/double.h: Likewise.
43951         * soft-fp/eqdf2.c: Likewise.
43952         * soft-fp/eqsf2.c: Likewise.
43953         * soft-fp/eqtf2.c: Likewise.
43954         * soft-fp/extenddftf2.c: Likewise.
43955         * soft-fp/extended.h: Likewise.
43956         * soft-fp/extendsfdf2.c: Likewise.
43957         * soft-fp/extendsftf2.c: Likewise.
43958         * soft-fp/extendxftf2.c: Likewise.
43959         * soft-fp/fixdfdi.c: Likewise.
43960         * soft-fp/fixdfsi.c: Likewise.
43961         * soft-fp/fixdfti.c: Likewise.
43962         * soft-fp/fixsfdi.c: Likewise.
43963         * soft-fp/fixsfsi.c: Likewise.
43964         * soft-fp/fixsfti.c: Likewise.
43965         * soft-fp/fixtfdi.c: Likewise.
43966         * soft-fp/fixtfsi.c: Likewise.
43967         * soft-fp/fixtfti.c: Likewise.
43968         * soft-fp/fixunsdfdi.c: Likewise.
43969         * soft-fp/fixunsdfsi.c: Likewise.
43970         * soft-fp/fixunsdfti.c: Likewise.
43971         * soft-fp/fixunssfdi.c: Likewise.
43972         * soft-fp/fixunssfsi.c: Likewise.
43973         * soft-fp/fixunssfti.c: Likewise.
43974         * soft-fp/fixunstfdi.c: Likewise.
43975         * soft-fp/fixunstfsi.c: Likewise.
43976         * soft-fp/fixunstfti.c: Likewise.
43977         * soft-fp/floatdidf.c: Likewise.
43978         * soft-fp/floatdisf.c: Likewise.
43979         * soft-fp/floatditf.c: Likewise.
43980         * soft-fp/floatsidf.c: Likewise.
43981         * soft-fp/floatsisf.c: Likewise.
43982         * soft-fp/floatsitf.c: Likewise.
43983         * soft-fp/floattidf.c: Likewise.
43984         * soft-fp/floattisf.c: Likewise.
43985         * soft-fp/floattitf.c: Likewise.
43986         * soft-fp/floatundidf.c: Likewise.
43987         * soft-fp/floatundisf.c: Likewise.
43988         * soft-fp/floatunditf.c: Likewise.
43989         * soft-fp/floatunsidf.c: Likewise.
43990         * soft-fp/floatunsisf.c: Likewise.
43991         * soft-fp/floatunsitf.c: Likewise.
43992         * soft-fp/floatuntidf.c: Likewise.
43993         * soft-fp/floatuntisf.c: Likewise.
43994         * soft-fp/floatuntitf.c: Likewise.
43995         * soft-fp/fmadf4.c: Likewise.
43996         * soft-fp/fmasf4.c: Likewise.
43997         * soft-fp/fmatf4.c: Likewise.
43998         * soft-fp/gedf2.c: Likewise.
43999         * soft-fp/gesf2.c: Likewise.
44000         * soft-fp/getf2.c: Likewise.
44001         * soft-fp/ledf2.c: Likewise.
44002         * soft-fp/lesf2.c: Likewise.
44003         * soft-fp/letf2.c: Likewise.
44004         * soft-fp/muldf3.c: Likewise.
44005         * soft-fp/mulsf3.c: Likewise.
44006         * soft-fp/multf3.c: Likewise.
44007         * soft-fp/negdf2.c: Likewise.
44008         * soft-fp/negsf2.c: Likewise.
44009         * soft-fp/negtf2.c: Likewise.
44010         * soft-fp/op-1.h: Likewise.
44011         * soft-fp/op-2.h: Likewise.
44012         * soft-fp/op-4.h: Likewise.
44013         * soft-fp/op-8.h: Likewise.
44014         * soft-fp/op-common.h: Likewise.
44015         * soft-fp/quad.h: Likewise.
44016         * soft-fp/single.h: Likewise.
44017         * soft-fp/soft-fp.h: Likewise.
44018         * soft-fp/sqrtdf2.c: Likewise.
44019         * soft-fp/sqrtsf2.c: Likewise.
44020         * soft-fp/sqrttf2.c: Likewise.
44021         * soft-fp/subdf3.c: Likewise.
44022         * soft-fp/subsf3.c: Likewise.
44023         * soft-fp/subtf3.c: Likewise.
44024         * soft-fp/truncdfsf2.c: Likewise.
44025         * soft-fp/trunctfdf2.c: Likewise.
44026         * soft-fp/trunctfsf2.c: Likewise.
44027         * soft-fp/trunctfxf2.c: Likewise.
44028         * soft-fp/unorddf2.c: Likewise.
44029         * soft-fp/unordsf2.c: Likewise.
44030         * soft-fp/unordtf2.c: Likewise.
44032 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
44034         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
44035         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
44037 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
44039         * elf/dl-libc.c: Clear initfini list after freeing.
44041 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
44043         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
44044         * soft-fp/addsf3.c: Likewise.
44045         * soft-fp/addtf3.c: Likewise.
44046         * soft-fp/divdf3.c: Likewise.
44047         * soft-fp/divsf3.c: Likewise.
44048         * soft-fp/divtf3.c: Likewise.
44049         * soft-fp/double.h: Likewise.
44050         * soft-fp/eqdf2.c: Likewise.
44051         * soft-fp/eqsf2.c: Likewise.
44052         * soft-fp/eqtf2.c: Likewise.
44053         * soft-fp/extenddftf2.c: Likewise.
44054         * soft-fp/extended.h: Likewise.
44055         * soft-fp/extendsfdf2.c: Likewise.
44056         * soft-fp/extendsftf2.c: Likewise.
44057         * soft-fp/extendxftf2.c: Likewise.
44058         * soft-fp/fixdfdi.c: Likewise.
44059         * soft-fp/fixdfsi.c: Likewise.
44060         * soft-fp/fixdfti.c: Likewise.
44061         * soft-fp/fixsfdi.c: Likewise.
44062         * soft-fp/fixsfsi.c: Likewise.
44063         * soft-fp/fixsfti.c: Likewise.
44064         * soft-fp/fixtfdi.c: Likewise.
44065         * soft-fp/fixtfsi.c: Likewise.
44066         * soft-fp/fixtfti.c: Likewise.
44067         * soft-fp/fixunsdfdi.c: Likewise.
44068         * soft-fp/fixunsdfsi.c: Likewise.
44069         * soft-fp/fixunsdfti.c: Likewise.
44070         * soft-fp/fixunssfdi.c: Likewise.
44071         * soft-fp/fixunssfsi.c: Likewise.
44072         * soft-fp/fixunssfti.c: Likewise.
44073         * soft-fp/fixunstfdi.c: Likewise.
44074         * soft-fp/fixunstfsi.c: Likewise.
44075         * soft-fp/fixunstfti.c: Likewise.
44076         * soft-fp/floatdidf.c: Likewise.
44077         * soft-fp/floatdisf.c: Likewise.
44078         * soft-fp/floatditf.c: Likewise.
44079         * soft-fp/floatsidf.c: Likewise.
44080         * soft-fp/floatsisf.c: Likewise.
44081         * soft-fp/floatsitf.c: Likewise.
44082         * soft-fp/floattidf.c: Likewise.
44083         * soft-fp/floattisf.c: Likewise.
44084         * soft-fp/floattitf.c: Likewise.
44085         * soft-fp/floatundidf.c: Likewise.
44086         * soft-fp/floatundisf.c: Likewise.
44087         * soft-fp/floatunsidf.c: Likewise.
44088         * soft-fp/floatunsisf.c: Likewise.
44089         * soft-fp/floatuntidf.c: Likewise.
44090         * soft-fp/floatuntisf.c: Likewise.
44091         * soft-fp/floatuntitf.c: Likewise.
44092         * soft-fp/fmadf4.c: Likewise.
44093         * soft-fp/fmasf4.c: Likewise.
44094         * soft-fp/fmatf4.c: Likewise.
44095         * soft-fp/gedf2.c: Likewise.
44096         * soft-fp/gesf2.c: Likewise.
44097         * soft-fp/getf2.c: Likewise.
44098         * soft-fp/ledf2.c: Likewise.
44099         * soft-fp/lesf2.c: Likewise.
44100         * soft-fp/letf2.c: Likewise.
44101         * soft-fp/muldf3.c: Likewise.
44102         * soft-fp/mulsf3.c: Likewise.
44103         * soft-fp/multf3.c: Likewise.
44104         * soft-fp/negdf2.c: Likewise.
44105         * soft-fp/negsf2.c: Likewise.
44106         * soft-fp/negtf2.c: Likewise.
44107         * soft-fp/op-1.h: Likewise.
44108         * soft-fp/op-2.h: Likewise.
44109         * soft-fp/op-4.h: Likewise.
44110         * soft-fp/op-8.h: Likewise.
44111         * soft-fp/op-common.h: Likewise.
44112         * soft-fp/quad.h: Likewise.
44113         * soft-fp/single.h: Likewise.
44114         * soft-fp/soft-fp.h: Likewise.
44115         * soft-fp/sqrtdf2.c: Likewise.
44116         * soft-fp/sqrtsf2.c: Likewise.
44117         * soft-fp/sqrttf2.c: Likewise.
44118         * soft-fp/subdf3.c: Likewise.
44119         * soft-fp/subsf3.c: Likewise.
44120         * soft-fp/subtf3.c: Likewise.
44121         * soft-fp/truncdfsf2.c: Likewise.
44122         * soft-fp/trunctfdf2.c: Likewise.
44123         * soft-fp/trunctfsf2.c: Likewise.
44124         * soft-fp/trunctfxf2.c: Likewise.
44125         * soft-fp/unorddf2.c: Likewise.
44126         * soft-fp/unordsf2.c: Likewise.
44127         * soft-fp/unordtf2.c: Likewise.
44129 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
44131         [BZ #15672]
44132         * misc/error.c (error_tail): Fix possible buffer overflow.
44134 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
44136         [BZ #13028]
44137         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
44138         address.
44140 2013-10-14  P. J. McDermott  <pj@pehjota.net>
44142         [BZ #832]
44143         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
44144         testing pipefail option.
44146 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
44148         * soft-fp/double.h: Indent preprocessor directives inside #if.
44149         * soft-fp/extended.h: Likewise.
44150         * soft-fp/op-2.h: Likewise.
44151         * soft-fp/op-4.h: Likewise.
44152         * soft-fp/op-common.h: Likewise.
44153         * soft-fp/quad.h: Likewise.
44154         * soft-fp/single.h: Likewise.
44155         * soft-fp/soft-fp.h: Likewise.
44157 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
44159         * iconv/iconv_prog.c: Fix typos.
44160         * stdio-common/psiginfo-data.h: Likewise.
44162 2013-10-12   Reuben Thomas <rrt@sc3d.org>
44164         [BZ #15764]
44165         * locale/setlocale.c: Fix typo.
44167 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
44169         [BZ #16036]
44170         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
44171         signaling NaN arguments.
44172         * soft-fp/unordsf2.c (__unordsf2): Likewise.
44173         * soft-fp/unordtf2.c (__unordtf2): Likewise.
44175         [BZ #14910]
44176         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
44177         unordered operands.
44178         * soft-fp/gesf2.c (__gesf2): Likewise.
44179         * soft-fp/getf2.c (__getf2): Likewise.
44180         * soft-fp/ledf2.c (__ledf2): Likewise.
44181         * soft-fp/lesf2.c (__lesf2): Likewise.
44182         * soft-fp/letf2.c (__letf2): Likewise.
44184         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
44185         * soft-fp/eqsf2.c (__eqsf2): Likewise.
44186         * soft-fp/eqtf2.c (__eqtf2): Likewise.
44187         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
44188         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
44189         * soft-fp/fixdfti.c (__fixdfti): Likewise.
44190         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
44191         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
44192         * soft-fp/fixsfti.c (__fixsfti): Likewise.
44193         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
44194         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
44195         * soft-fp/fixtfti.c (__fixtfti): Likewise.
44196         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
44197         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
44198         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
44199         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
44200         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
44201         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
44202         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
44203         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
44204         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
44205         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
44206         * soft-fp/floatdisf.c (__floatdisf): Likewise.
44207         * soft-fp/floatsisf.c (__floatsisf): Likewise.
44208         * soft-fp/floattidf.c (__floattidf): Likewise.
44209         * soft-fp/floattisf.c (__floattisf): Likewise.
44210         * soft-fp/floattitf.c (__floattitf): Likewise.
44211         * soft-fp/floatundidf.c (__floatundidf): Likewise.
44212         * soft-fp/floatundisf.c (__floatundisf): Likewise.
44213         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
44214         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
44215         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
44216         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
44217         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
44218         * soft-fp/gesf2.c (__gesf2): Likewise.
44219         * soft-fp/getf2.c (__getf2): Likewise.
44220         * soft-fp/ledf2.c (__ledf2): Likewise.
44221         * soft-fp/lesf2.c (__lesf2): Likewise.
44222         * soft-fp/letf2.c (__letf2): Likewise.
44224         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
44225         Undefine and redefine.
44226         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
44227         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
44228         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
44229         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
44230         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
44231         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
44232         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
44233         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
44234         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
44235         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
44236         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
44237         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
44238         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
44239         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
44240         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
44242         [BZ #16032]
44243         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
44244         without decrementing exponent if mantissa >= that for the
44245         denominator, not >.
44246         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
44247         denominator, not >.  Decrement exponent in < case instead of
44248         incrementing in >= case.
44249         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
44250         without decrementing exponent if mantissa >= that for the
44251         denominator, not >.
44253         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
44254         computing saturated result for unsigned overflow.
44256 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
44257             Jeff Law  <law@redhat.com>
44259         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
44260         (atan2Mp): Add systemtap probe marker.
44261         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
44262         (__ieee754_log): Add systemtap probe marker.
44263         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
44264         (atanMp): Add systemtap probe marker.
44265         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
44266         (tanMp): Add systemtap probe marker.
44267         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
44268         (__slowexp): Add systemtap probe marker.
44269         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
44270         (__slowpow): Add systemtap probe marker.
44271         * manual/probes.texi: Document probes.
44273 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
44275         [BZ #15362]
44276         * libio/fileops.c (_IO_new_file_write): Return count of bytes
44277         written.
44278         (_IO_new_file_xsputn): Don't return EOF if nothing has been
44279         written.
44280         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
44281         written to buffer but not flushed.
44282         * libio/iofwrite_u.c:  Likewise.
44283         * libio/iopadn.c:  Return bytes returned even if EOF was
44284         encountered.
44285         * libio/iowpadn.c:  Likewise.
44286         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
44287         if _IO_padn does not write the whole buffer.
44288         [!COMPILE_WPRINTF] (PAD): Likewise.
44290 2013-10-10  David S. Miller  <davem@davemloft.net>
44292         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
44293         directory block.
44295 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
44297         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
44298         instead of FSF address.
44299         * soft-fp/fixdfti.c: Likewise.
44300         * soft-fp/fixsfti.c: Likewise.
44301         * soft-fp/fixtfti.c: Likewise.
44302         * soft-fp/fixunsdfti.c: Likewise.
44303         * soft-fp/fixunssfti.c: Likewise.
44304         * soft-fp/fixunstfti.c: Likewise.
44305         * soft-fp/floattidf.c: Likewise.
44306         * soft-fp/floattisf.c: Likewise.
44307         * soft-fp/floattitf.c: Likewise.
44308         * soft-fp/floatuntidf.c: Likewise.
44309         * soft-fp/floatuntisf.c: Likewise.
44310         * soft-fp/floatuntitf.c: Likewise.
44311         * soft-fp/trunctfxf2.c: Likewise.
44313         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
44314         * soft-fp/fixdfti.c: Likewise.
44315         * soft-fp/fixsfti.c: Likewise.
44316         * soft-fp/fixtfti.c: Likewise.
44317         * soft-fp/fixunsdfti.c: Likewise.
44318         * soft-fp/fixunssfti.c: Likewise.
44319         * soft-fp/fixunstfti.c: Likewise.
44320         * soft-fp/floattidf.c: Likewise.
44321         * soft-fp/floattisf.c: Likewise.
44322         * soft-fp/floattitf.c: Likewise.
44323         * soft-fp/floatuntidf.c: Likewise.
44324         * soft-fp/floatuntisf.c: Likewise.
44325         * soft-fp/floatuntitf.c: Likewise.
44326         * soft-fp/trunctfxf2.c: Likewise.
44328 2013-10-10  David S. Miller  <davem@davemloft.net>
44330         * sysdeps/sparc/fpu/libm-test-ulps: Update.
44332 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
44334         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
44335         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
44336         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
44337         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
44338         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
44339         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
44340         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
44342         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
44343         for NaNs before doing comparisons on argument.
44344         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
44345         Likewise.
44347 2013-10-10  Will Newton  <will.newton@linaro.org>
44349         * malloc/hooks.c (memalign_check): Ensure the value of bytes
44350         passed to _int_memalign does not overflow.
44352 2013-10-10  Torvald Riegel  <triegel@redhat.com>
44354         * scripts/bench.pl: Add include-sources directive.
44355         * benchtests/README: Update documentation.
44357 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
44359         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
44360         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
44361         instead of FP_INIT_ROUNDMODE.
44362         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
44363         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
44365         [BZ #16034]
44366         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
44367         copy class of input value.
44368         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
44369         not handle exceptions.
44370         * soft-fp/negsf2.c (__negsf2): Likewise.
44371         * soft-fp/negtf2.c (__negtf2): Likewise.
44372         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
44374 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
44376         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
44377         semicolon.  From Linux kernel.
44379 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
44381         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
44383 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
44385         [BZ #156]
44386         * manual/socket.texi: Added statement about buffer
44387         for gethostbyname2_r.
44389 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
44391         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
44392         Use .p2align directive instead, throughout.
44393         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
44394         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
44395         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
44396         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
44397         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
44398         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
44399         * sysdeps/x86_64/strchr.S: Likewise.
44400         * sysdeps/x86_64/strrchr.S: Likewise.
44402 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
44404         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
44406         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
44408         * sysdeps/generic/math_private.h (__mpsin1): Remove
44409         declaration.
44410         (__mpcos1): Likewise.
44411         (__mpsin): New argument __range_reduce.
44412         (__mpcos): Likewise.
44413         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
44414         (slow): Use __mpsin and __mpcos.
44415         (slow1): Likewise.
44416         (slow2): Likewise.
44417         (sloww): Likewise.
44418         (sloww1): Likewise.
44419         (sloww2): Likewise.
44420         (bsloww): Likewise.
44421         (bsloww1): Likewise.
44422         (bsloww2): Likewise.
44423         (cslow2): Likewise.
44424         (csloww): Likewise.
44425         (csloww1): Likewise.
44426         (csloww2): Likewise.
44427         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
44428         range_reduce.  Merge in __mpsin1.
44429         (__mpcos): Likewise.
44430         (__mpsin1): Remove.
44431         (__mpcos1): Likewise.
44433 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
44435         * locale/loadlocale.c (_nl_intern_locale_data): Use
44436         LOCFILE_ALIGNED_P.
44437         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
44438         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
44439         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
44440         obstack data is appropriately aligned.
44441         (obstack_int32_grow_fast): Likewise.
44442         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
44443         * locale/programs/locfile.c (add_locale_uint32): Likewise.
44444         (add_locale_uint32_array): Likewise.
44446 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
44448         * benchtests/Makefile: Remove ARGLIST and RET variables.
44449         ($(objpfx)bench-%.c): Pass only function name to the script.
44450         * benchtests/README: Update documentation.
44451         * benchtests/acos-inputs: Add new directives.
44452         * benchtests/acosh-inputs: Likewise.
44453         * benchtests/asin-inputs: Likewise.
44454         * benchtests/asinh-inputs: Likewise.
44455         * benchtests/atan-inputs: Likewise.
44456         * benchtests/atanh-inputs: Likewise.
44457         * benchtests/cos-inputs: Likewise.
44458         * benchtests/cosh-inputs: Likewise.
44459         * benchtests/exp-inputs: Likewise.
44460         * benchtests/log-inputs: Likewise.
44461         * benchtests/pow-inputs: Likewise.
44462         * benchtests/rint-inputs: Likewise.
44463         * benchtests/sin-inputs: Likewise.
44464         * benchtests/sinh-inputs: Likewise.
44465         * benchtests/tan-inputs: Likewise.
44466         * benchtests/tanh-inputs: Likewise.
44467         * scripts/bench.pl: Add support for new directives.
44469 2013-10-07  Alan Modra  <amodra@gmail.com>
44471         * README: Fix careless merge.
44473 2013-10-05  Alan Modra  <amodra@gmail.com>
44475         * NEWS: Mention powerpc64le support and bugs fixed.
44476         * README: Both big-endian and little-endian powerpc64 supported.
44478 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
44480         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
44481         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
44482         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
44483         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
44485 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
44487         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
44488         match prototype.
44490 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
44492         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
44493         Move -mhard-float appending from
44494         ports/sysdeps/powerpc/powerpc32/Makefile.
44495         [$(with-fp) = yes] (ASFLAGS): Likewise.
44496         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
44497         * sysdeps/powerpc/nofpu: Move directory from
44498         ports/sysdeps/powerpc/nofpu.
44499         * sysdeps/powerpc/soft-fp: Move directory from
44500         ports/sysdeps/powerpc/soft-fp.
44501         * sysdeps/powerpc/powerpc32/405: Move directory from
44502         ports/sysdeps/powerpc/powerpc32/405.
44503         * sysdeps/powerpc/powerpc32/440: Move directory from
44504         ports/sysdeps/powerpc/powerpc32/440.
44505         * sysdeps/powerpc/powerpc32/464: Move directory from
44506         ports/sysdeps/powerpc/powerpc32/464.
44507         * sysdeps/powerpc/powerpc32/476: Move directory from
44508         ports/sysdeps/powerpc/powerpc32/476.
44509         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
44510         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
44511         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
44512         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
44513         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
44514         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
44515         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
44516         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
44517         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
44518         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
44519         * README: Update for powerpc-*-linux-gnu software floating point
44520         support in libc.
44522         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
44523         case to powerpc/powerpc32*.
44524         * sysdeps/unix/sysv/linux/configure: Regenerated.
44526         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
44527         (_FPU_MASK_OM): Define as 0x04.
44528         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
44529         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
44530         0x00c10080.
44531         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
44532         0x0000003c.
44533         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
44535         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
44536         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
44537         getcontext_e500.
44538         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
44539         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
44540         setcontext_e500.
44541         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
44542         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
44543         and setcontext_e500.
44545 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
44547         * locale/iso-3166.def: Update iso-1366.def and related occurrences
44549 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
44551         * manual/threads.texi (Default Thread Attributes): Fix typo.
44553 2013-10-04  Will Newton  <will.newton@linaro.org>
44555         * malloc/Makefile: Add tst-memalign.
44556         * malloc/tst-memalign.c: New file.
44558         * malloc/tst-posix_memalign.c: Add comments.
44559         (do_test): Add comments and call free on all potentially
44560         allocated pointers. Add space after cast.
44562         * malloc/tst-pvalloc.c: Add comments.
44563         (do_test): Add comments and call free on all potentially
44564         allocated pointers. Remove duplicate check for NULL pointer.
44565         Add space after cast.
44567         * malloc/tst-valloc.c: Add comments.
44568         (do_test): Add comments and call free on all potentially
44569         allocated pointers. Remove duplicate check for NULL pointer.
44570         Add space after cast.
44572 2013-10-04  Alan Modra  <amodra@gmail.com>
44574         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
44575         Use stdint types in rather than __attribute__((mode())).
44576         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
44578 2013-10-04  Alan Modra  <amodra@gmail.com>
44580         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
44581         Correct handling of unaligned relocs for little-endian.
44582         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
44584 2013-10-04  Alan Modra  <amodra@gmail.com>
44586         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
44587         * configure: Regenerate.
44588         * nptl/shlib-versions: Powerpc*le starts at 2.18.
44589         * shlib-versions: Likewise.
44591 2013-10-04  Alan Modra  <amodra@gmail.com>
44593         * string/tester.c (test_memrchr): Increment reported test cycle.
44595 2013-10-04  Alan Modra  <amodra@gmail.com>
44597         * string/test-memcpy.c (do_one_test): When reporting errors, print
44598         string address and don't overrun end of string.
44600 2013-10-04  Alan Modra  <amodra@gmail.com>
44602         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
44603         insrdi.  Make better use of reg selection to speed exit slightly.
44604         Schedule entry path a little better.  Remove useless "are we done"
44605         checks on entry to main loop.  Handle wrapping around zero address.
44606         Correct main loop count.  Handle single left-over word from main
44607         loop inline rather than by using loop_small.  Remove extra word
44608         case in loop_small caused by wrong loop count.  Add little-endian
44609         support.
44610         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
44611         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
44612         cache hint.
44613         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
44614         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
44615         support.  Avoid rlwimi.
44616         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
44618 2013-10-04  Alan Modra  <amodra@gmail.com>
44620         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
44621         insrdi.  Formatting.
44622         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
44623         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
44624         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
44625         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
44626         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
44627         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
44629 2013-10-04  Alan Modra  <amodra@gmail.com>
44631         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
44632         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
44633         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
44634         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
44635         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
44636         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
44637         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
44638         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
44639         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
44640         use of regs.  Use power7 mtocrf.  Tidy function tails.
44642 2013-10-04  Alan Modra  <amodra@gmail.com>
44644         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
44645         Formatting.  Consistently use rXXX register defines or rN defines.
44646         Use early exit labels that avoid restoring unused non-volatile regs.
44647         Make cr field use more consistent with rWORDn compares.  Rename
44648         regs used as shift registers for unaligned loop, using rN defines
44649         for short lifetime/multiple use regs.
44650         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
44651         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
44652         addi 1,1,64 to pop stack frame.  Simplify return value code.
44653         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
44655 2013-10-04  Alan Modra  <amodra@gmail.com>
44657         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
44658         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
44659         rather than rlwimi.
44660         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
44661         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
44662         little-endian support.  Correct typos.
44663         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
44664         rather than rlwimi.
44665         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
44666         in loop and entry code to keep "and." results.
44667         (strchr): Add little-endian support.  Comment.  Move cntlzd
44668         earlier in tail.
44669         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
44671 2013-10-04  Alan Modra  <amodra@gmail.com>
44673         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
44674         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
44675         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
44676         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
44678 2013-10-04  Alan Modra  <amodra@gmail.com>
44680         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
44681         (rTMP): Define as r11.
44682         (strcmp): Add little-endian support.  Optimise tail.
44683         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
44684         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
44685         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
44686         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
44687         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
44688         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
44689         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
44691 2013-10-04  Alan Modra  <amodra@gmail.com>
44693         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
44694         little-endian support.  Remove unnecessary "are we done" tests.
44695         Handle "s" wrapping around zero and extremely large "size".
44696         Correct main loop count.  Handle single left-over word from main
44697         loop inline rather than by using small_loop.  Correct comments.
44698         Delete "zero" tail, use "end_max" instead.
44699         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
44701 2013-10-04  Alan Modra  <amodra@gmail.com>
44703         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
44704         support.  Don't branch over align.
44705         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
44706         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
44707         support.  Rearrange tmp reg use to suit.  Comment.
44708         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
44710 2013-10-04  Alan Modra  <amodra@gmail.com>
44712         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
44714 2013-10-04  Alan Modra  <amodra@gmail.com>
44716         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
44717         conditional form of branch and link when obtaining pc.
44718         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
44720 2013-10-04  Alan Modra  <amodra@gmail.com>
44722         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
44723         HIWORD/LOWORD.
44724         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
44725         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
44727 2013-10-04  Alan Modra  <amodra@gmail.com>
44729         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
44730         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
44731         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
44732         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
44733         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
44734         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
44735         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
44736         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
44737         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
44738         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
44740 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
44741             Alistair Popple <alistair@ozlabs.au.ibm.com>
44742             Alan Modra <amodra@gmail.com>
44744         [BZ #15723]
44745         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
44746         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
44747         _dl_hwcap access for little-endian.
44748         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
44749         destroy vmx regs when saving unaligned.
44750         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
44751         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
44752         destroy vmx regs when saving unaligned.
44754 2013-10-04  Alan Modra  <amodra@gmail.com>
44756         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
44757         Don't use a union to pack hi/low value.
44759 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
44761         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
44762         for little-endian.
44763         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
44764         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
44765         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
44766         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
44767         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
44769 2013-10-04  Alan Modra  <amodra@gmail.com>
44771         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
44772         constants to usual value for .cst8 section, and remove redundant
44773         high address load.
44774         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
44775         constant for 0x1p52.  Load little-endian words of double from
44776         correct stack offsets.
44778 2013-10-04  Alan Modra  <amodra@gmail.com>
44780         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
44781         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
44782         words of double from correct stack offsets.
44783         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
44784         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
44785         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
44786         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
44787         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
44788         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
44789         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
44790         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
44791         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
44792         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
44793         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
44794         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
44795         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
44796         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
44797         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
44798         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
44799         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
44801 2013-10-04  Alan Modra  <amodra@gmail.com>
44803         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
44804         64-bit int/double union.
44805         (_FPU_SETCW): Likewise.
44806         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
44807         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
44809 2013-10-04  Alan Modra  <amodra@gmail.com>
44811         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
44812         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
44814 2013-10-04  Alan Modra  <amodra@gmail.com>
44816         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
44817         use vector int constants.
44818         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
44820 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
44822         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
44823         array with long long.
44824         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
44825         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
44826         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
44827         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
44828         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
44829         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
44830         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
44831         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
44832         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
44833         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
44834         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
44835         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
44836         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
44838 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
44840         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
44841         (__signbit): Likewise.  Correct for little-endian.
44842         (__signbitl): Call __signbit.
44843         (lrint): Correct for little-endian.
44844         (lrintf): Call lrint.
44846 2013-10-04  Alan Modra  <amodra@gmail.com>
44848         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
44849         union 32-bit int array member with 64-bit int array.
44850         (t515, tm256): Double rather than long double.
44851         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
44853 2013-10-04  Alan Modra  <amodra@gmail.com>
44855         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
44856         Delete.
44857         (IEEE854_LONG_DOUBLE_BIAS): Delete.
44858         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
44859         version of math_ldbl.h.
44861 2013-10-04  Alan Modra  <amodra@gmail.com>
44863         [BZ #15734], [BZ #15735]
44864         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
44865         all uses of ieee875 long double macros and unions.  Simplify test
44866         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
44867         ldbl_extract_mantissa value for ix,iy exponents.  Properly
44868         normalize after ldbl_extract_mantissa, and don't add hidden bit
44869         already handled.  Don't treat low word of ieee854 mantissa like
44870         low word of IBM long double and mask off bit when testing for
44871         zero.
44872         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
44873         all uses of ieee875 long double macros and unions.  Simplify tests
44874         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
44875         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
44876         two1022, instead use their values.  Recognise that tests for large
44877         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
44878         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
44879         Rewrite all uses of ieee875 long double macros and unions.  Simplify
44880         test for 0.0L and nan.  Correct negation.
44881         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
44882         ieee875 long double macros and unions.  Correct output for large
44883         magnitude x.  Correct absolute value calculation.
44884         (__erfcl): Likewise.
44885         * math/libm-test.inc: Add tests for errors discovered in IBM long
44886         double versions of fmodl, remainderl, erfl and erfcl.
44888 2013-10-04  Alan Modra  <amodra@gmail.com>
44890         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
44891         all uses of ieee854 long double macros and unions.  Simplify tests
44892         for long doubles that are fully specified by the high double.
44893         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
44894         Likewise.
44895         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
44896         Remove dead code too.
44897         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
44898         (__ieee754_ynl): Likewise.
44899         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
44900         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
44901         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
44902         Remove dead code too.
44903         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
44904         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
44905         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
44906         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
44907         Simplify.
44908         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
44909         Simplify.
44910         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
44911         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
44912         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
44913         Comment on variable precision.
44914         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
44915         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
44916         Likewise.
44917         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
44918         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
44919         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
44920         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
44921         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
44923 2013-10-04  Alan Modra  <amodra@gmail.com>
44925         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
44926         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
44927         all uses of ieee854 long double macros and unions.
44928         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
44929         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
44930         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
44931         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
44932         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
44933         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
44934         Likewise.
44935         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
44936         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
44937         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
44938         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
44939         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
44940         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
44941         Simplify sign and nan test too.
44942         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
44943         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
44944         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
44945         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
44946         Likewise.
44947         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
44948         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
44949         Likewise.
44950         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
44951         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
44952         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
44953         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
44954         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
44955         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
44957 2013-10-04  Alan Modra  <amodra@gmail.com>
44959         * stdio-common/printf_size.c (__printf_size): Don't use
44960         union ieee854_long_double in fpnum union.
44961         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
44962         signbit macro to retrieve sign from long double.
44963         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
44964         retrieve sign from long double.
44965         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
44966         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
44967         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
44968         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
44969         * math/test-misc.c (main): Don't use union ieee854_long_double.
44971 2013-10-04  Alan Modra  <amodra@gmail.com>
44973         [BZ #15680]
44974         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
44975         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
44976         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
44977         calculation.  Remove unnecessary test for denormal exponent.
44978         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
44979         Correct handling of denormals.  Avoid undefined shift behaviour.
44980         Correct normalisation of low mantissa when low double is denormal.
44981         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
44982         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
44983         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
44984         Correct normalisation of low mantissa.  Test for overflow of high
44985         mantissa and normalise.
44986         (ldbl_nearbyint): Use more readable constant for two52.
44987         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
44988         (__mpn_construct_long_double): Fix test for overflow of high
44989         mantissa and correct normalisation.  Avoid undefined shift.
44991 2013-10-04  Alan Modra  <amodra@gmail.com>
44993         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
44994         (union ibm_extended_long_double): Define as an array of ieee754_double.
44995         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
44996         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
44997         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
44998         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
44999         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
45000         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
45001         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
45002         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
45003         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
45004         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
45005         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
45007 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
45009         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
45010         page size instead of calling getpagesize.
45012         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
45013         (LOCFILE_ALIGN_MASK): Likewise.
45014         (LOCFILE_ALIGN_UP): Likewise.
45015         (LOCFILE_ALIGNED_P): Likewise.
45016         * locale/programs/ld-collate.c (collate_output): Use the new
45017         macros instead of __alignof__ (int32_t).
45018         * locale/weight.h (findidx): Likewise.
45020 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
45022         [BZ #431]
45023         * manual/string.texi: Fix strncat and wcsncat.
45025 2013-10-03  Brooks Moses  <bmoses@google.com>
45027         [BZ #15915]
45028         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
45029         * Makerules: ...here, and adjust associated comments.
45031 2013-10-02  Will Newton  <will.newton@linaro.org>
45033         * malloc/Makefile: Add tst-pvalloc.
45034         * malloc/tst-pvalloc.c: New file.
45036 2013-10-02  Will Newton  <will.newton@linaro.org>
45038         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
45039         improve test coverage.
45041 2013-10-02  Will Newton  <will.newton@linaro.org>
45043         * malloc/Makefile: Add tst-posix_memalign.
45044         * malloc/tst-posix_memalign.c: New file.
45046 2013-10-01  Eric Blake  <eblake@redhat.com>
45048         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
45049         Use __THROWNL rather than __THROW on static functions.
45051 2013-09-30  Petr Machata  <pmachata@redhat.com>
45053         * elf/elf.h (R_AARCH64_ABS16): New macro.
45054         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
45055         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
45056         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
45057         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
45058         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
45059         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
45060         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
45061         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
45062         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
45063         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
45064         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
45065         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
45066         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
45067         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
45068         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
45069         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
45070         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
45071         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
45072         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
45073         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
45074         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
45075         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
45076         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
45077         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
45078         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
45079         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
45080         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
45081         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
45082         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
45083         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
45084         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
45085         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
45086         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
45087         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
45088         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
45089         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
45090         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
45091         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
45092         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
45093         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
45094         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
45095         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
45096         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
45097         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
45098         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
45099         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
45100         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
45101         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
45102         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
45103         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
45104         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
45105         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
45106         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
45107         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
45108         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
45109         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
45110         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
45111         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
45112         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
45113         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
45114         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
45115         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
45116         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
45117         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
45118         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
45119         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
45120         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
45121         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
45122         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
45123         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
45124         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
45125         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
45126         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
45127         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
45128         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
45129         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
45130         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
45131         (R_AARCH64_TLSDESC_LDR): Likewise.
45132         (R_AARCH64_TLSDESC_ADD): Likewise.
45133         (R_AARCH64_TLSDESC_CALL): Likewise.
45135 2013-09-30  Andreas Schwab  <schwab@suse.de>
45137         [BZ #15048]
45138         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
45139         the nss database lookup.
45140         * nscd/initgrcache.c (addinitgroupsX): Likewise.
45141         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
45143 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
45145         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
45147 2013-09-28  P. J. McDermott  <pj@pehjota.net>
45149         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
45150         ${Bash-specific parameter/pattern/string} parameter expansion.
45151         * sysdeps/unix/make-syscalls.sh: Likewise.
45153 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
45155         * sysdeps/sh/stackguard-macros.h: New file.
45157 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
45159         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
45160         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
45161         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
45162         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
45163         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
45164         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
45166 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45168         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
45169         Fix thread ID register.
45171 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
45173         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
45174         [POSIX || UNIX98]: Require rather than permitting all symbols from
45175         <time.h>.
45176         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
45177         element of struct sched_param.
45178         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
45179         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
45180         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
45181         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
45182         constant.
45184 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
45186         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
45187         argument calculation.
45189 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
45191         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
45192         Expect macro.
45193         [POSIX] (pthread_attr_t): Do not require type.
45194         [POSIX] (pthread_cond_t): Likewise.
45195         [POSIX] (pthread_condattr_t): Likewise.
45196         [POSIX] (pthread_key_t): Likewise.
45197         [POSIX] (pthread_mutex_t): Likewise.
45198         [POSIX] (pthread_mutexattr_t): Likewise.
45199         [POSIX] (pthread_once_t): Likewise.
45200         [POSIX] (pthread_t): Likewise.
45201         [POSIX-based standards] (pthread_atfork): Expect function.
45203 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
45204             Richard Sandiford  <richard@codesourcery.com>
45206         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
45207         (swap_endianness_p): New extern variable.
45208         (set_big_endian): New inline function.
45209         (maybe_swap_uint32): Likewise.
45210         (maybe_swap_uint32_array): Likewise.
45211         (maybe_swap_uint32_obstack): Likewise.
45212         * locale/programs/locfile.c: Include <stdbool.h>.
45213         (swap_endianness_p): New variable.
45214         (add_locale_uint32): Call maybe_swap_uint32.
45215         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
45216         (write_locale_data): Call maybe_swap_uint32_array.
45217         * locale/programs/ld-collate.c (obstack_int32_grow): Call
45218         maybe_swap_uint32.
45219         (obstack_int32_grow_fast): Likewise.
45220         (output_weightwc): Call maybe_swap_uint32_obstack.
45221         (collate_output): Likewise.
45222         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
45223         (OPT_LITTLE_ENDIAN): Likewise.
45224         (options): Add --little-endian and --big-endian options.
45225         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
45226         * locale/programs/locarchive.c: Include "locfile.h".
45227         (GET): New macro.
45228         (SET): Likewise.
45229         (INC): Likewise.
45230         (create_archive): Use the new macros to access fields of
45231         structures directly mapped from or written to locale archives.
45232         (oldlocrecentcmp): Likewise.
45233         (enlarge_archive): Likewise.
45234         (insert_name): Likewise.
45235         (add_alias): Likewise.
45236         (add_locale): Likewise.
45237         (delete_locales_from_archive): Likewise.
45238         (show_archive_content): Likewise.
45239         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
45240         locale data.
45242 2013-09-24  Roland McGrath  <roland@hack.frob.com>
45244         * manual/freemanuals.texi: Updated from (newly) canonical copy at
45245         http://www.gnu.org/doc/freemanuals.texi.
45246         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
45248 2013-09-24  Will Newton  <will.newton@linaro.org>
45250         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
45251         macro.
45253 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
45255         * locale/hashval.h (compute_hashval): Interpret bytes of key as
45256         unsigned char.
45258 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
45260         * manual/threads.texi (POSIX Threads): Fix a typo.
45262 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
45264         [BZ #14547]
45265         * string/tst-strcoll-overflow.c: New test case.
45266         * string/Makefile (xtests): Add tst-strcoll-overflow.
45267         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
45268         cache if string sizes may cause integer overflow.
45270         [BZ #14547]
45271         * string/strcoll_l.c (coll_seq): New members rule, idx,
45272         save_idx and back_us.
45273         (get_next_seq_nocache): New function.
45274         (do_compare_nocache): New function.
45275         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
45276         when malloc fails.
45278 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
45280         [BZ #15754]
45281         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
45282         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
45283         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
45285         [BZ #15754]
45286         * elf/Makefile (tests): Add tst-ptrguard1.
45287         (tests-static): Add tst-ptrguard1-static.
45288         (tst-ptrguard1-ARGS): Define.
45289         (tst-ptrguard1-static-ARGS): Define.
45290         * elf/tst-ptrguard1.c: New file.
45291         * elf/tst-ptrguard1-static.c: New file.
45292         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
45293         * sysdeps/i386/stackguard-macros.h: Likewise.
45294         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
45295         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
45296         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
45297         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
45298         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
45299         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
45301 2013-09-23  Hector Marco  <hecmargi@upv.es>
45302             Ismael Ripoll  <iripoll@disca.upv.es>
45303             Carlos O'Donell  <carlos@redhat.com>
45305         [BZ #15754]
45306         * sysdeps/generic/stackguard-macros.h: Define
45307         __pointer_chk_guard_local and POINTER_CHK_GUARD.
45308         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
45309         Define __pointer_chk_guard_local.
45310         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
45311         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
45313 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
45315         [BZ #15859]
45316         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
45318 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
45320         * include/string.h (__ffs): Declare as hidden.
45321         * string/ffs.c (__ffs): Define as hidden.
45322         * sysdeps/i386/ffs.c (__ffs): Likewise.
45323         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
45324         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
45325         * sysdeps/s390/ffs.c (__ffs): Likewise.
45326         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
45328 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
45330         * NEWS: Mention malloc probes.
45332         * malloc/arena.c (new_heap): New memory_heap_new probe.
45333         (grow_heap): New memory_heap_more probe.
45334         (shrink_heap): New memory_heap_less probe.
45335         (heap_trim): New memory_heap_free probe.
45336         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
45337         (systrim): New memory_sbrk_less probe.
45338         * manual/probes.texi: Document them.
45340         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
45341         * manual/probes.texi: Document it.
45343         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
45344         (__libc_realloc): Add memory_realloc_retry probe.
45345         (__libc_memalign): Add memory_memalign_retry probe.
45346         (__libc_valloc): Add memory_valloc_retry probe.
45347         (__libc_pvalloc): Add memory_pvalloc_retry probe.
45348         (__libc_calloc): Add memory_calloc_retry probe.
45349         * manual/probes.texi: Document them.
45351         * malloc/arena.c (get_free_list): Add probe
45352         memory_arena_reuse_free_list.
45353         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
45354         and memory_arena_reuse.
45355         (arena_get2) [!PER_THREAD]: Likewise.
45356         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
45357         memory_arena_reuse_realloc.
45358         * manual/probes.texi: Document them.
45360         * malloc/malloc.c (__libc_free): Add
45361         memory_mallopt_free_dyn_thresholds probe.
45362         (__libc_mallopt): Add multiple memory_mallopt probes.
45363         * manual/probes.texi: Document them.
45365         * malloc/malloc.c: Include stap-probe.h.
45366         (__libc_mallopt): Add memory_mallopt probe.
45367         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
45368         * manual/probes.texi: New.
45369         * manual/Makefile (chapters): Add probes.
45370         * manual/threads.texi: Set next node.
45372 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
45374         [BZ #15963, #13985]
45375         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
45376         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
45377         Add `Chinese' to `nan' entry name.
45379 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
45381         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
45382         (POLYNOMIAL): Likewise.
45383         (TAYLOR_SINCOS): Likewise.
45384         (TAYLOR_SLOW): Likewise.
45385         (__sin): Use TAYLOR_SINCOS.
45386         (__cos): Likewise.
45387         (slow): Use TAYLOR_SLOW.
45388         (sloww): Likewise.
45389         (bsloww): Likewise.
45390         (csloww): Likewise.
45392 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
45394         * stdlib/strtod_l.c: Fix buffer overrun.
45396 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
45398         * benchtests/Makefile (bench): Add sincos.
45399         * benchtests/bench-sincos.c: New file.
45401         * math/libm-test.inc (cos_test_data): New test inputs.
45402         (sin_test_data): Likewise.
45404         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
45405         macro.
45406         (__sin): Use it.
45407         (__cos): Likewise.
45408         (slow1): Likewise.
45409         (slow2): Likewise.
45410         (sloww1): Likewise.
45411         (sloww2): Likewise.
45412         (bsloww1): Likewise.
45413         (bsloww2): Likewise.
45414         (cslow2): Likewise.
45415         (csloww1): Likewise.
45416         (csloww2): Likewise.
45418         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
45419         function.
45420         (__sin): Use it.
45421         (__cos): Likewise.
45423         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
45424         gotos.
45425         (__cos): Likewise.
45427 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
45429         * config.h.in (HAVE_MIPS_NAN2008): New macro.
45430         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
45431         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
45432         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
45433         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
45434         * elf/cache.c (print_entry): Handle the new cache flags.
45436 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
45437             Aldy Hernandez  <aldyh@redhat.com>
45439         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
45440         Change condition to [_SOFT_FLOAT].
45441         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
45442         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
45443         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
45444         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
45445         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
45446         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
45447         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
45448         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
45449         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
45450         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
45451         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
45452         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
45453         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
45454         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
45455         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
45456         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
45457         declaration.
45459 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
45461         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
45462         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
45463         (__longjmp): Use LOAD_GP to load saved GPRs.
45464         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
45465         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
45466         (__sigsetjmp): Use SAVE_GP to save GPRs.
45468         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
45469         Do not append -msoft-float.
45470         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
45472 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
45474         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
45476 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
45478         [BZ #15966]
45479         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
45480         (_FPU_GETCW): Use initial "__" on variable and field names but not
45481         on macro parameter name.
45482         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
45483         parentheses around reference to macro parameter.
45485 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
45487         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
45488         prototype.
45489         (ctype_startup): Use uint32_t in cast and sizeof for
45490         ctype->charnames.
45492 2013-09-11  Jia Liu  <proljc@gmail.com>
45494         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
45495         __daddr_t_defined.
45496         [__FreeBSD__]: Likewise.
45498 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
45500         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
45501         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
45502         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
45503         (strchr): Remove __strchr_sse42 ifunc selection.
45504         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
45505         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
45507 2013-09-11  Will Newton  <will.newton@linaro.org>
45509         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
45510         parameter to RES. Remove hardcoded 1000 value.
45511         * benchtests/bench-skeleton.c (main): Pass RES parameter
45512         to TIMING_INIT and multiply result by 1000.
45514 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45516         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45518 2013-09-11  Andreas Schwab  <schwab@suse.de>
45520         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
45521         if not defined.
45522         (O_TMPFILE) [__USE_GNU]: Define.
45523         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
45524         Define.
45526 2013-09-11  Will Newton  <will.newton@linaro.org>
45528         [BZ #15857]
45529         * malloc/malloc.c (__libc_memalign): Check the value of bytes
45530         does not overflow.
45532 2013-09-11  Will Newton  <will.newton@linaro.org>
45534         [BZ #15856]
45535         * malloc/malloc.c (__libc_valloc): Check the value of bytes
45536         does not overflow.
45538 2013-09-11  Will Newton  <will.newton@linaro.org>
45540         [BZ #15855]
45541         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
45542         does not overflow.
45544 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
45546         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
45547         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
45548         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
45549         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
45550         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
45552 2013-09-10  Allan McRae  <allan@archlinux.org>
45554         [BZ #15748]
45555         * manual/arith.texi (Parsing of Floats): Clarify
45556         cross-reference.
45558         [BZ #15849]
45559         * manual/install.texi (Running make install): Mention
45560         --enable-pt-chown.
45561         * INSTALL: Regenerated.
45563 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
45565         * csu/init-first.c (_init): Remove the !SHARED condition around
45566         FPU control word initialization.
45567         * elf/dl-support.c (_dl_fpu_control): New variable.
45568         (_dl_aux_init) <AT_FPUCW>: Initialize it.
45569         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
45570         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
45571         * math/test-fpucw-static.c: New file.
45572         * math/test-fpucw-ieee.c: New file.
45573         * math/test-fpucw-ieee-static.c: New file.
45574         * math/Makefile (tests): Add `test-fpucw-ieee' and
45575         `$(tests-static)'.
45576         (tests-static): New variable.
45577         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
45578         dependency to...
45579         [($(build-shared),yes)]
45580         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
45581         ... this.
45582         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
45583         New dependency.
45585 2013-09-09  Allan McRae  <allan@archlinux.org>
45587         [BZ #15939]
45588         * manual/string.texi (Collation Functions): Fix typo in
45589         strcoll example.
45590         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
45592         [BZ #15893]
45593         * stdlib/isomac.c (get_null_defines): Fix memory leak.
45595         [BZ #15892]
45596         * libio/memstream.c (open_memstream): Fix memory leak.
45597         * libio/wmemstream.c (open_wmemstream): Likewise.
45599         [BZ #15895]
45600         * nscd/netgroupcache.c: Fix nesting of ifdefs.
45602 2013-09-09  Will Newton  <will.newton@linaro.org>
45604         * malloc/Makefile: Add tst-realloc to tests.
45605         * malloc/tst-realloc.c: New file.
45607 2013-09-09  Allan McRae  <allan@archlinux.org>
45609         [BZ #15844]
45610         * COPYING: Update from GNU website to fix FSF address.
45611         * COPYING.LIB: Likewise.
45613 2013-09-06  David S. Miller  <davem@davemloft.net>
45615         * po/zh_TW.po: Update Chinese (traditional) translation from
45616         translation project.
45618 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
45619             Joseph Myers  <joseph@codesourcery.com>
45621         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
45622         "localeinfo.h".
45623         (obstack_chunk_alloc): New macro.
45624         (obstack_chunk_free): Likewise.
45625         (record_offset): New function.
45626         (init_locale_data): Likewise.
45627         (align_locale_data): Likewise.
45628         (add_locale_empty): Likewise.
45629         (add_locale_raw_data): Likewise.
45630         (add_locale_raw_obstack): Likewise.
45631         (add_locale_string): Likewise.
45632         (add_locale_wstring): Likewise.
45633         (add_locale_uint32): Likewise.
45634         (add_locale_uint32_array): Likewise.
45635         (add_locale_char): Likewise.
45636         (start_locale_structure): Likewise.
45637         (end_locale_structure): Likewise.
45638         (start_locale_prelude): Likewise.
45639         (end_locale_prelude): Likewise.
45640         (write_locale_data): Take locale_file structure rather than an
45641         iovec.
45642         * locale/programs/locfile.h: Include "obstack.h".
45643         (struct locale_file): Change to store locale file contents instead
45644         of header.
45645         (init_locale_data): New prototype.
45646         (align_locale_data): Likewise.
45647         (add_locale_empty): Likewise.
45648         (add_locale_raw_data): Likewise.
45649         (add_locale_raw_obstack): Likewise.
45650         (add_locale_string): Likewise.
45651         (add_locale_wstring): Likewise.
45652         (add_locale_uint32): Likewise.
45653         (add_locale_uint32_array): Likewise.
45654         (add_locale_char): Likewise.
45655         (start_locale_structure): Likewise.
45656         (end_locale_structure): Likewise.
45657         (start_locale_prelude): Likewise.
45658         (end_locale_prelude): Likewise.
45659         (write_locale_data): Update prototype.
45660         * locale/programs/3level.h (struct TABLE): Remove result field.
45661         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
45662         Use new locale_file interface.
45663         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
45664         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
45665         * locale/programs/ld-address.c (address_output): Use new
45666         locale_file interface.
45667         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
45668         NO_ADD_LOCALE.
45669         (collate_finish): Don't call collseq_table_finalize.
45670         (collate_output): Use new locale_file interface.
45671         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
45672         in file.
45673         (NO_FINALIZE): Change to NO_ADD_LOCALE.
45674         (TABLE): Move defines earlier in file.
45675         (ELEMENT): Likewise.
45676         (DEFAULT): Likewise.
45677         (wctrans_table_add): Move macro and inline function earlier in
45678         file.
45679         (struct wctype_table): Move type earlier in file.
45680         (add_locale_wctype_table): New static prototype.
45681         (struct locale_ctype_t): Use logical types instead of struct iovec
45682         pointers for members.
45683         (ctype_output): Use new locale_file interface.
45684         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
45685         new locale_file interface.
45686         (allocate_arrays): Update for use of new locale_file interface.
45687         * locale/programs/ld-identification.c (identification_output): Use
45688         new locale_file interface.
45689         * locale/programs/ld-measurement.c (measurement_output): Likewise.
45690         * locale/programs/ld-messages.c (messages_output): Likewise.
45691         * locale/programs/ld-monetary.c (monetary_output): Likewise.
45692         * locale/programs/ld-name.c (name_output): Likewise.
45693         * locale/programs/ld-numeric.c (numeric_output): Likewise.
45694         * locale/programs/ld-paper.c (paper_output): Likewise.
45695         * locale/programs/ld-telephone.c (telephone_output): Likewise.
45696         * locale/programs/ld-time.c (time_output): Likewise.
45698 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45700         * benchtests/Makefile: Add memrchr benchmark.
45701         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
45702         benchmark as memrchr.
45703         * benchtests/bench-memrchr-ifunc.c: New file.
45704         * benchtests/bench-memrchr.c: New file.
45706 2013-09-06   Will Newton  <will.newton@linaro.org>
45708         * benchtests/Makefile (string-bench): Add memcpy.
45710 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
45711             Cong Wang  <amwang@redhat.com>
45713         [BZ #15850]
45714         * sysdeps/unix/sysv/linux/bits/in.h
45715         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
45716         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
45717         before __USE_KERNEL_IPV6_DEFS uses.
45718         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
45719         IPPROTO_BEETPH.
45720         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
45721         sockaddr_in6, or ipv6_mreq.
45723 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45725         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
45726         memory access for final bytes in some large inputs.
45727         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
45729 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45731         * string/test-memrchr.c: New file.
45732         * string/test-memrchr-ifunc.c: New file.
45733         * string/Makefile: Add new memrchr testcase.
45735 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
45737         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
45738         fanotify_init returns EPERM.
45740 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
45742         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
45743         errors.
45744         (top level): Treat second token from macro or constant entries for
45745         allowed headers as allowed.
45746         * include/complex.h: Condition internal declarations on
45747         [!_ISOMAC].
45748         * include/fenv.h: Condition include of <stdbool.h> and internal
45749         declarations on [!_ISOMAC].
45751 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
45753         [BZ #15923]
45754         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
45756 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
45758         * configure.in (--enable-versioning): Remove configure option.
45759         (libc_cv_asm_symver_directive): Remove configure test.
45760         (libc_cv_ld_version_script_option): Likewise.
45761         (VERSIONING): Remove variable and AC_SUBST.
45762         (DO_VERSIONING): Remove AC_DEFINE.
45763         * configure: Regenerated.
45764         * config.h.in (DO_VERSIONING): Remove macro.
45765         * Makerules [$(versioning) = yes]: Change conditionals to
45766         [$(build-shared) = yes].
45767         * config.make.in (versioning): Remove variable.
45768         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
45769         [$(build-shared) = yes].
45770         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
45771         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
45772         * elf/Makefile [$(versioning) = yes]: Change conditionals to
45773         [$(build-shared) = yes].
45774         * extra-lib.mk [$(versioning) = yes]: Likewise.
45775         * hurd/Makefile [$(versioning) = yes]: Likewise.
45776         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
45777         [SHARED].
45778         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
45779         [SHARED].
45780         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
45781         [SHARED && !NO_HIDDEN].
45782         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
45783         [SHARED].
45784         [SHARED && DO_VERSIONING]: Likewise..
45785         * libio/Makefile [$(versioning) = yes]: Change conditionals to
45786         [$(build-shared) = yes].
45787         * manual/install.texi (--disable-versioning): Remove
45788         documentation.
45789         * INSTALL: Regenerated.
45790         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
45791         to [SHARED].
45792         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
45793         [$(build-shared) = yes].
45794         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
45795         * sysdeps/i386/i686/multiarch/strstr-c.c
45796         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
45797         [SHARED && !NO_HIDDEN].
45798         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
45799         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
45800         * sysdeps/powerpc/powerpc32/dl-machine.c
45801         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
45802         * sysdeps/powerpc/powerpc32/sysdep.h
45803         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
45804         to [SHARED && PIC && !NO_HIDDEN].
45805         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
45806         conditional to [SHARED].
45808 2013-09-04   Will Newton  <will.newton@linaro.org>
45810         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
45811         * benchtests/bench-string.h: Include bench-timing.h instead
45812         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
45813         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
45814         call to HP_TIMING_DIFF_INIT.
45815         * benchtests/bench-memccpy.c: Use bench-timing.h macros
45816         instead of hp-timing.h macros.
45817         * benchtests/bench-memchr.c: Likewise.
45818         * benchtests/bench-memcmp.c: Likewise.
45819         * benchtests/bench-memcpy.c: Likewise.
45820         * benchtests/bench-memmem.c: Likewise.
45821         * benchtests/bench-memmove.c: Likewise.
45822         * benchtests/bench-memset.c: Likewise.
45823         * benchtests/bench-rawmemchr.c: Likewise.
45824         * benchtests/bench-strcasecmp.c: Likewise.
45825         * benchtests/bench-strcasestr.c: Likewise.
45826         * benchtests/bench-strcat.c: Likewise.
45827         * benchtests/bench-strchr.c: Likewise.
45828         * benchtests/bench-strcmp.c: Likewise.
45829         * benchtests/bench-strcpy.c: Likewise.
45830         * benchtests/bench-strcpy_chk.c: Likewise.
45831         * benchtests/bench-strlen.c: Likewise.
45832         * benchtests/bench-strncasecmp.c: Likewise.
45833         * benchtests/bench-strncat.c: Likewise.
45834         * benchtests/bench-strncmp.c: Likewise.
45835         * benchtests/bench-strncpy.c: Likewise.
45836         * benchtests/bench-strnlen.c: Likewise.
45837         * benchtests/bench-strpbrk.c: Likewise.
45838         * benchtests/bench-strrchr.c: Likewise.
45839         * benchtests/bench-strspn.c: Likewise.
45840         * benchtests/bench-strstr.c: Likewise.
45842 2013-09-04  Will Newton  <will.newton@linaro.org>
45844         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
45846 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
45848         [BZ #15427]
45849         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
45850         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
45851         * math/libm-test.inc (lgamma_test_data): Add more tests.
45852         * sysdeps/i386/fpu/libm-test-ulps: Update.
45853         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45855 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
45857         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
45858         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
45859         Add ifunc.
45860         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
45861         Add strcmp-sse2-unaligned
45862         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
45864 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
45866         * Versions.def (libc): Add GLIBC_2.19.
45868 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
45870         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
45871         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
45873 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
45875         [BZ #14155]
45876         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
45877         intermediate calculations in recurrence.
45878         (__ieee754_ynf): Likewise.
45879         * math/libm-test.inc (jn_test_data): Do not allow spurious
45880         underflow exception.  Add more tests.
45881         (yn_test_data): Add more tests.
45882         * sysdeps/i386/fpu/libm-test-ulps: Update.
45883         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45885 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
45887         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
45889 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
45891         * csu/init-first.c: Fix then/than typos.
45892         * locale/programs/ld-collate.c: Likewise.
45893         * locale/programs/linereader.h: Likewise.
45894         * manual/charset.texi: Likewise.
45895         * manual/filesys.texi: Likewise.
45896         * manual/stdio.texi: Likewise.
45897         * manual/string.texi: Likewise.
45898         * stdlib/fmtmsg.c: Likewise.
45899         * sysdeps/i386/stpncpy.S: Likewise.
45900         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
45901         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
45902         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
45903         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
45905 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
45907         * elf/dl-open.c: Fix typos.
45908         * iconvdata/gbbig5.c: Likewise.
45909         * iconvdata/iso-2022-jp.c: Likewise.
45910         * iconv/gconv_int.h: Likewise.
45911         * iconv/loop.c: Likewise.
45912         * nis/rpcsvc/nis.h: Likewise.
45913         * resolv/ns_name.c: Likewise.
45914         * stdio-common/vfscanf.c: Likewise.
45915         * streams/stropts.h: Likewise.
45916         * sunrpc/rpc_thread.c: Likewise.
45917         * sysdeps/i386/strpbrk.S: Likewise.
45918         * sysdeps/ieee754/k_standard.c: Likewise.
45919         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
45920         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
45921         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
45922         * sysdeps/mach/hurd/profil.c: Likewise.
45923         * sysdeps/s390/dl-procinfo.h: Likewise.
45924         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
45925         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
45926         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
45927         * sysdeps/x86_64/dl-trampoline.S: Likewise.
45928         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
45930 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
45932         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
45933         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
45935 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
45937         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
45938         aix specific files.
45939         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
45940         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
45941         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
45942         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
45943         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
45944         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
45945         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
45946         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
45948 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
45949             Roland McGrath  <roland@hack.frob.com>
45951         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
45952         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
45954 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
45956         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
45957         __executable_start symbol instead of _start.
45959 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
45961         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
45962         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
45963         Move macros to...
45964         * sysdeps/gnu/ldsodefs.h: ... this new file.
45966         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
45967         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
45968         instead of ELFOSABI_LINUX.
45970         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
45971         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
45972         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
45973         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
45974         Likewise.
45975         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
45976         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
45977         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
45978         Likewise.
45979         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
45980         (ibm_extended_long_double): Add ieee_nan member.
45981         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
45982         (do_test): New function.
45984         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
45985         TEST_TRUNC.
45986         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
45987         functions, renamed from truncdfsf_test, trunctfsf_test,
45988         trunctfdf_test.
45989         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
45990         functions.
45991         (do_test): Run all these.
45993 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
45995         * argp/argp-help.c: Fix typos.
45996         * argp/argp-parse.c: Likewise.
45997         * debug/backtracesyms.c: Likewise.
45998         * elf/elf.h: Likewise.
45999         * malloc/malloc.c: Likewise.
46000         * nis/nis_print.c: Likewise.
46001         * resolv/res_comp.c: Likewise.
46002         * stdlib/stdlib.h: Likewise.
46003         * sunrpc/clnt_tcp.c: Likewise.
46004         * sunrpc/clnt_udp.c: Likewise.
46005         * sunrpc/clnt_unix.c: Likewise.
46006         * sysdeps/unix/bsd/ptsname.c: Likewise.
46007         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
46008         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
46009         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
46010         Likewise.
46011         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
46012         Likewise.
46013         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
46014         Likewise.
46015         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
46017 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
46019         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
46020         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
46022 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
46024         [BZ #15897]
46025         * dlfcn/Makefile (tests): Add bug-dl-leaf.
46026         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
46027         ($(objpfx)bug-dl-leaf): New rule.
46028         ($(objpfx)bug-dl-leaf.so): Likewise.
46029         ($(objpfx)bug-dl-leaf.out): Likewise.
46030         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
46031         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
46032         * dlfcn/bug-dl-leaf.c: New test.
46033         * dlfcn/bug-dl-leaf-lib.c: Likewise.
46034         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
46035         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
46036         (dlclose): Likewise.
46037         (dlmopen): Likewise.
46039 2013-08-27  Roland McGrath  <roland@hack.frob.com>
46041         * include/netdb.h [!_ISOMAC]:
46042         Don't include <tls.h>.
46043         (h_errno, __libc_h_errno): Move declaration and macros out of
46044         [_LIBC_REENTRANT].
46046         * include/resolv.h [_RESOLV_H_]:
46047         Don't include <tls.h>.
46048         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
46049         * resolv/res_libc.c: Don't include <tls.h>.
46050         (_res): Use __attribute__ ((nocommon)) in place of
46051         __attribute__ ((section (".bss"))).
46053         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
46054         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
46056         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
46058         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
46059         only under [SIOCGIFCONF && SIOCGIFNETMASK].
46061         * resolv/res_mkquery.c: Include <sys/time.h>.
46063         * inet/ifreq.c: Moved to ...
46064         * sysdeps/unix/ifreq.c: ... here.
46065         * inet/ifreq.c: New file, true stub version.
46067         * socket/sa_len.c: New file.
46068         * socket/Makefile (aux): Add it.
46069         * sysdeps/unix/sysv/linux/Makefile
46070         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
46071         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
46072         and #include <socket/sa_len.c>.
46073         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
46074         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
46076         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
46077         * bits/socket.h: ... here.
46079         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
46080         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
46081         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
46083 2013-08-27  Andreas Schwab  <schwab@suse.de>
46085         [BZ #15736]
46086         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
46087         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
46088         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
46089         * string/test-strcasecmp.c (test_main): Run tests in several
46090         locales.
46091         * string/test-strncasecmp.c (test_main): Likewise.
46093         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
46094         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
46095         to __strcasecmp_nonascii and __strncasecmp_nonascii.
46096         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
46097         (__strncasecmp_ssse3) [PIC]: Likewise.
46099 2013-08-26  Roland McGrath  <roland@hack.frob.com>
46101         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
46103         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
46104         instead of explicitly declaring xdecrypt.
46105         * nis/nss_nis/nis-publickey.c: Likewise.
46107 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
46109         [BZ #15890]
46110         * nscd/aicache.c: Include res_hconf.h.
46111         (addhstaiX): Initialize res_hconf.
46113 2013-08-26  Andreas Schwab  <schwab@suse.de>
46115         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
46116         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
46118 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
46120         * nscd/aicache.c (addhstaiX): Fix indentation.
46122 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
46124         * configure.ac: Quote $build_pt_chown test.
46125         * configure: Regenerated.
46127 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
46129         [BZ #15532]
46130         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
46131         * math/s_cexpf.c (__cexpf): Likewise.
46132         * math/s_cexpl.c (__cexpl): Likewise.
46133         * math/libm-test.inc (cexp_test_data): Correct expected return
46134         value for NaN + i0.  Add another test.
46136 2013-08-22  David S. Miller  <davem@davemloft.net>
46138         * po/ca.po: Update Catalan translation from translation project.
46139         * po/uk.po: Add Ukrainian translations from translation project.
46141 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
46143         [BZ #15797]
46144         * math/s_fdim.c (__fdim): Check for infinite arguments if result
46145         is infinite, not alongside NaN test.
46146         * math/s_fdimf.c (__fdimf): Likewise.
46147         * math/s_fdiml.c (__fdiml): Likewise.
46148         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
46149         errno is unchanged.
46151 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
46153         * argp/argp-help.c: Fix typos.
46154         * crypt/speeds.c: Likewise.
46155         * csu/check_fds.c: Likewise.
46156         * elf/dl-load.c: Likewise.
46157         * elf/dl-open.c: Likewise.
46158         * elf/reldep3.c: Likewise.
46159         * elf/reldep.c: Likewise.
46160         * elf/sprof.c: Likewise.
46161         * iconv/iconv_charmap.c: Likewise.
46162         * iconv/skeleton.c: Likewise.
46163         * iconv/strtab.c: Likewise.
46164         * io/lockf64.c: Likewise.
46165         * libio/libioP.h: Likewise.
46166         * resolv/gai_notify.c: Likewise.
46167         * resolv/ns_name.c: Likewise.
46168         * resolv/ns_samedomain.c: Likewise.
46169         * resolv/res_send.c: Likewise.
46170         * stdlib/random.c: Likewise.
46171         * sunrpc/rpc/xdr.h: Likewise.
46172         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
46173         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
46174         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
46175         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
46176         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
46177         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
46178         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
46179         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
46180         * sysdeps/mach/hurd/check_fds.c: Likewise.
46181         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
46182         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
46183         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
46184         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
46185         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
46186         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
46187         * sysdeps/pthread/aio_notify.c: Likewise.
46188         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
46189         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
46190         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
46191         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
46192         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
46194 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
46196         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
46197         version if bit_Slow_SSE4_2 is set.
46198         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
46199         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
46201 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46203         [BZ #15867]
46204         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
46205         trampoline stack frame information.
46206         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
46207         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
46208         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
46209         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
46210         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
46211         * sysdeps/unix/sysv/linux/powerpc/init-first.c
46212         (_libc_vdso_platform_setup): Initialize the signal trampolines.
46213         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
46214         sa_flags value.
46215         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
46216         interrupting a syscall and set with option SA_SIGINFO.
46218 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
46220         [BZ #15531]
46221         * math/s_cproj.c (__cproj): Only return an infinity if one part of
46222         argument is infinite.
46223         * math/s_cprojf.c (__cprojf): Likewise.
46224         * math/s_cprojl.c (__cprojl): Likewise.
46225         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
46226         * math/libm-test.inc (cproj_test_data): Add more tests.
46228         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
46230         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
46231         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
46232         size.  Use __ffs to determine corresponding shift.
46234 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
46235             Roland McGrath  <roland@hack.frob.com>
46237         * Makefile (INSTALL): Remove trailing blank lines from output of
46238         makeinfo.
46240 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
46242         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
46243         Align 32 bit compat elf_greg to 8 bytes.
46245 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
46247         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
46249 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
46251         * string/strcoll_l.c (coll_seq): New structure.
46252         (get_next_seq_cached): New function.
46253         (get_next_seq): New function.
46254         (do_compare): New function.
46255         (STRCOLL): Use GNU style definition.  Simplify implementation
46256         by using get_next_seq, get_next_seq_cached and do_compare.
46258 2013-08-16  Florian Weimer  <fweimer@redhat.com>
46260         [BZ #14699]
46261         CVE-2013-4237
46262         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
46263         member.
46264         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
46265         member.
46266         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
46267         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
46268         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
46269         conditional.
46270         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
46271         GETDENTS_64BIT_ALIGNED.
46272         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
46273         * manual/filesys.texi (Reading/Closing Directory): Document
46274         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
46275         strongly.
46276         * manual/conf.texi (Limits for Files): Add portability note to
46277         NAME_MAX, PATH_MAX.
46278         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
46280 2013-08-13  Andreas Schwab  <schwab@suse.de>
46282         [BZ #15749]
46283         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
46284         of fabs.
46285         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
46286         LDBL_MAX_EXP >= 16384]: Add tests for it.
46288 2013-08-12  David S. Miller  <davem@davemloft.net>
46290         * version.h (RELEASE): Set to "development".
46291         (VERSION): Set to "2.18.90".
46292         * NEWS: Add 2.19 section.
46294 2013-08-03  David S. Miller  <davem@davemloft.net>
46296         * po/ko.po: Update Korean translation from translation project.
46298 2013-08-01  David S. Miller  <davem@davemloft.net>
46300         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
46301         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
46302         Bilka.
46304 2013-07-30  David S. Miller  <davem@davemloft.net>
46306         * po/fr.po: Update French translation from translation project.
46308 2013-07-28  David S. Miller  <davem@davemloft.net>
46310         * po/cs.po: Update Czech translation from translation project.
46312         * po/sv.po: Update Swedish translation from translation project.
46314 2013-07-27  David S. Miller  <davem@davemloft.net>
46316         * po/eo.po: Update Esperanto translation from translation project.
46318         * po/vi.po: Update Vietnamese translation from translation project.
46320         * po/de.po: Update German translation from translation project.
46322 2013-07-26  David S. Miller  <davem@davemloft.net>
46324         * po/bg.po: Update Bulgarian translation from translation project.
46326         * po/nl.po: Update Dutch translation from translation project.
46327         * po/pl.po: Update Polish translation from translation project.
46328         * po/ru.po: Update Russian translation from translation project.
46330 2013-07-24  David S. Miller  <davem@davemloft.net>
46332         * po/libc.pot: Update.
46334 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46336         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
46337         variable page size.
46338         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
46339         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
46340         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
46342 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
46344         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
46346 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
46347             Andreas Schwab  <schwab@suse.de>
46348             Roland McGrath  <roland@hack.frob.com>
46349             Joseph Myers  <joseph@codesourcery.com>
46350             Carlos O'Donell  <carlos@redhat.com>
46352         [BZ #15755]
46353         * config.h.in: Define HAVE_PT_CHOWN.
46354         * config.make.in (build-pt-chown): New variable.
46355         * configure.in (--enable-pt_chown): New configure option.
46356         * configure: Regenerate.
46357         * login/Makefile: Include Makeconfig.  Build pt_chown only if
46358         build-pt-chown is enabled.
46359         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
46360         pt_chown to fix pty ownership.
46361         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
46362         CLOSE_ALL_FDS.
46363         * manual/install.texi (Configuring and compiling): Mention
46364         --enable-pt_chown. Add @findex for grantpt.
46365         * INSTALL: Regenerate.
46367 2013-07-20  David S. Miller  <davem@davemloft.net>
46369         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
46370         difference between 32-bit and 64-bit.
46372 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
46374         [BZ #15711]
46375         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
46376         Avoid system header dependency with -ffreestanding.
46377         ($(objpfx)bits/syscall%d): Likewise.
46379 2013-07-13  David S. Miller  <davem@davemloft.net>
46381         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
46382         underflows from atanl/atan2l due to bug 15319.
46383         (casinh_test_data): Likewise.
46385 2013-07-07  David S. Miller  <davem@davemloft.net>
46387         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
46389 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
46391         * sysdeps/i386/fpu/libm-test-ulps: Update.
46392         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46394 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
46396         * configure.in (--enable-lock-elision): Fix message text.
46397         * INSTALL: Regenerate.
46398         * configure: Regenerate.
46400 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46402         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46404 2013-07-03  Andreas Jaeger  <aj@suse.de>
46406         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
46407         define.
46408         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
46409         (ptrace_peeksiginfo_args): Add.
46410         (__ptrace_peeksiginfo_flags): Add.
46411         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
46412         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
46413         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
46415 2013-07-03  Allan McRae  <allan@archlinux.org>
46417         * sysdeps/i386/fpu/libm-test-ulps: Update.
46419 2013-07-02  David S. Miller  <davem@davemloft.net>
46421         * sysdeps/sparc/fpu/libm-test-ulps: Update.
46423 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
46425         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
46427 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
46429         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
46430         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46432 2013-07-02  Andi Kleen <ak@linux.intel.com>
46434         * config.h.in (ENABLE_LOCK_ELISION): Add.
46435         * configure.in (--enable-lock-elision): Add option.
46436         * manual/install.texi: Document --enable lock elision.
46437         * configure: Regenerate
46438         * INSTALL: Regenerate.
46440 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
46442         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
46443         SSE4.2 strcasecmp for libc.a.
46444         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
46446 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
46448         [BZ #13304]
46449         * soft-fp/op-common.h (_FP_FMA): New macro.
46450         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
46451         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
46452         (_FP_MUL_MEAT_1_imm): ... here.
46453         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
46454         (_FP_MUL_MEAT_1_wide): ... here.
46455         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
46456         (_FP_MUL_MEAT_1_hard): ... here.
46457         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
46458         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
46459         (_FP_MUL_MEAT_2_wide): ... here.
46460         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
46461         (_FP_MUL_MEAT_2_wide_3mul): ... here.
46462         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
46463         (_FP_MUL_MEAT_2_gmp): ... here.
46464         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
46465         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
46466         (_FP_MUL_MEAT_4_wide): ... here.
46467         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
46468         (_FP_MUL_MEAT_4_gmp): ... here.
46469         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
46470         (_FP_WFRACBITS_DW_S): Likewise.
46471         (_FP_WFRACXBITS_DW_S): Likewise.
46472         (_FP_HIGHBIT_DW_S): Likewise.
46473         (FP_FMA_S): Likewise.
46474         (_FP_FRAC_HIGH_DW_S): Likewise.
46475         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
46476         (_FP_WFRACBITS_DW_D): Likewise.
46477         (_FP_WFRACXBITS_DW_D): Likewise.
46478         (_FP_HIGHBIT_DW_D): Likewise.
46479         (FP_FMA_D): Likewise.
46480         (_FP_FRAC_HIGH_DW_D): Likewise.
46481         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
46482         (_FP_WFRACBITS_DW_E): Likewise.
46483         (_FP_WFRACXBITS_DW_E): Likewise.
46484         (_FP_HIGHBIT_DW_E): Likewise.
46485         (FP_FMA_E): Likewise.
46486         (_FP_FRAC_HIGH_DW_E): Likewise.
46487         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
46488         (_FP_WFRACBITS_DW_Q): Likewise.
46489         (_FP_WFRACXBITS_DW_Q): Likewise.
46490         (_FP_HIGHBIT_DW_Q): Likewise.
46491         (FP_FMA_Q): Likewise.
46492         (_FP_FRAC_HIGH_DW_Q): Likewise.
46493         * soft-fp/fmasf4.c: New file.
46494         * soft-fp/fmadf4.c: Likewise.
46495         * soft-fp/fmatf4.c: Likewise.
46497 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
46499         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
46500         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
46501         Silvermont.
46502         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
46503         macro.
46504         (index_Slow_SSE4_2): Likewise.
46505         (index_Prefer_PMINUB_for_stringop): Likewise.
46506         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
46507         bit_Slow_SSE4_2 is set.
46508         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
46509         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
46511 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
46513         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
46514         rtld_global._dl_hwcap2.
46515         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
46516         POWER8.
46517         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
46518         POWER8 feature descriptions defined in _dl_hwcap2.
46519         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
46520         string handling for POWER8 feature bits.
46521         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
46522         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
46523         _dl_powerpc_cap_flags.
46524         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
46525         * sysdeps/powerpc/rtld-global-offsets.sym
46526         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
46527         _dl_hwcap2 in the rtld_global_ro structure.
46529 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
46531         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
46532         hardware capabilities in support of AT_HWCAP2.
46533         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
46534         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
46535         GLRO(dl_hwcap2).
46536         (_dl_show_auxv): Add support for calling _dl_procinfo to display
46537         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
46538         explicitly the unknown a_type display mechanism is used.
46539         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
46540         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
46541         struct member.
46542         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
46543         to macro prototype for AT_HWCAP2 support.
46544         * sysdeps/i386/dl-procinfo.h: Likewise.
46545         * sysdeps/s390/dl-procinfo.h: Likewise.
46546         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
46547         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
46548         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
46549         return -1 for unknown a_type display fallback.
46550         * sysdeps/sparc/dl-procinfo.h: Likewise.
46551         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
46552         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
46554 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
46556         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
46557         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
46559 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
46561         [BZ #12492]
46562         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
46563         mprotect making __stack_prot writable.
46565 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
46566             Joseph Myers  <joseph@codesourcery.com>
46568         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
46569         as being properly aligned.
46571 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
46573         * dlfcn/modstatic5.c: New file.
46574         * dlfcn/tststatic5.c: New file.
46575         * dlfcn/Makefile (tests): Add tststatic5.
46576         (tests-static): Likewise.
46577         (modules-names): Add modstatic5.
46578         (tststatic5-ENV): New variable.
46579         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
46581         [BZ #15022]
46582         * elf/dl-support.c (_dl_main_map): New variable.
46583         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
46584         (_dl_nns, _dl_load_adds): Set to 1.
46585         (_dl_initial_searchlist): Refer to _dl_main_map.
46586         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
46587         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
46588         call to _dl_get_origin.
46589         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
46590         around call_map.
46591         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
46592         * dlfcn/modstatic3.c: New file.
46593         * dlfcn/tststatic3.c: New file.
46594         * dlfcn/tststatic4.c: New file.
46595         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
46596         (tests-static): Likewise.
46597         (modules-names): Add modstatic3.
46598         (tststatic3-ENV, tststatic4-ENV): New variables.
46599         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
46600         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
46602 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
46604         * configure.in (CC): Require GCC version 4.4 or later.
46605         * configure: Regenerated.
46606         * manual/install.texi (Tools for Compilation): Update GCC version
46607         requirement.
46608         * INSTALL: Regenerated.
46610 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
46612         [BZ #15674]
46613         * string/test-memcmp.c (check2): New.
46614         (main): Call check2.
46616         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
46618 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
46620         [BZ #15022]
46621         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
46622         over to...
46623         (dl_open_worker) [!SHARED]: ... here.
46625 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
46627         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
46629 2013-06-25  Richard Henderson  <rth@redhat.com>
46631         * locale/programs/locarchive.c: Include <libc-internal.h>
46633 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
46635         * manual/texinfo.tex: Update to version 2013-06-21.17, with
46636         trailing whitespace removed.
46638 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
46640         [BZ #10283]
46641         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
46642         * locale/programs/locarchive.c: Include libc-mmap.h.
46643         (prepare_address_space): Take two new outputs (the mmap base and len).
46644         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
46645         values.
46646         (create_archive): Declare new mmap base and len values for
46647         prepare_address_space, and store the result in ah.
46648         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
46649         (enlarge_archive): If ah->mmap_base is not NULL, use that and
46650         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
46651         Declare new mmap base and len values for
46652         prepare_address_space, and store the result in new_ah.
46653         (open_archive): Declare new mmap base and len values for
46654         prepare_address_space, and store the result in ah.
46655         (close_archive): If ah->mmap_base is not NULL, use that and
46656         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
46657         * sysdeps/generic/libc-mmap.h: New file.
46659 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
46661         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
46662         (ALIGN_UP): Likewise.
46663         (PTR_ALIGN_DOWN): Likewise.
46664         (PTR_ALIGN_UP): Likewise.
46666 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
46668         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
46669         entry mapped to PPC_PLATFORM_POWER8.
46670         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
46671         POWER8.
46672         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
46673         (_dl_string_platform): Add case for exporting platform position for
46674         POWER8.
46675         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
46676         search path to sysdeps/powerpc/powerpc32/power8 directory.
46677         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
46678         search path to sysdeps/powerpc/powerpc64/power8 directory.
46679         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
46680         power7 directories.
46681         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
46682         power7 directories.
46684 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
46686         * INSTALL: Regenerate.
46688         * nscd/connections.c (nscd_init): Fix comment.
46690 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
46692         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
46694         [BZ #15667]
46695         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
46696         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
46698 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
46700         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
46701         DL_DST_REQ_STATIC.
46702         (DL_DST_REQ_STATIC): Remove macro.
46704 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
46706         [BZ #7006]
46707         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
46708         with a shift of 0 bits.
46710 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
46712         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
46713         $(tststatic-ENV).
46715 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
46717         [BZ #15655]
46718         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
46720 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46722         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
46723         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
46724         accepts -fno-tree-loop-distribute-patterns.
46725         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
46726         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
46727         recursive call.
46728         * string/memset.c (memset): Likewise.
46729         * string/test-memmove.c (simple_memmove): Disable loop transformation
46730         to library calls.
46731         * string/test-memset.c (simple_memset): Likewise.
46732         * benchtests/bench-memmove.c (simple_memmove): Likewise.
46733         * benchtests/bench-memset.c (simple_memset): Likewise.
46734         * configure: Regenerated.
46736 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
46738         * math/test-misc.c (main): Ignore fesetround failure when failures
46739         of subsequent rounding tests would be ignored.
46741         [BZ #15654]
46742         * math/fedisblxcpt.c (fedisableexcept): Return 0.
46743         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
46744         * math/fegetenv.c (__fegetenv): Return 0.
46745         * math/fegetexcept.c (fegetexcept): Return 0.
46746         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
46747         FE_TONEAREST.
46748         * math/feholdexcpt.c (feholdexcept): Return 0.
46749         * math/fesetenv.c (__fesetenv): Return 0.
46750         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
46751         argument FE_TONEAREST.
46752         * math/feupdateenv.c (__feupdateenv): Return 0.
46753         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
46755 2013-06-18  Roland McGrath  <roland@hack.frob.com>
46757         * elf/rtld-Rules (rtld-compile-command.S): New variable.
46758         (rtld-compile-command.s, rtld-compile-command.c): New variables.
46759         ($(objpfx)rtld-%.os rules): Use them.
46761 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46763         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
46764         fields.
46766 2013-06-17  Roland McGrath  <roland@hack.frob.com>
46768         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
46769         length of target pattern, then descending length of dependency pattern.
46770         * configure.in (AWK): Require gawk 3.1.2 or newer.
46771         * manual/install.texi (Tools for Compilation): Say that we do.
46772         * configure: Regenerated.
46774         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
46775         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
46776         * scripts/sysd-rules.awk: ... this new script.
46777         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
46778         than a glob-style pattern.
46780 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
46782         * math/test-misc.c (main): Do not treat incorrectly rounded
46783         conversions as failure unless ROUNDING_TESTS passes.
46785 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
46787         [BZ #15631]
46788         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
46789         restore exception state around main square root computation, then
46790         check for inexactness explicitly.
46792         * math/libm-test.inc (fma_test_data): Add another test.
46794 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
46796         * manual/threads.texi (Non-POSIX Extensions): New document
46797         node.  Document pthread_getattr_default_np and
46798         pthread_setattr_default_np.
46800         * Versions.def (libpthread): Add GLIBC_2.18.
46801         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
46802         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
46803         Likewise.
46804         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
46805         Likewise.
46806         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
46807         Likewise.
46808         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
46809         Likewise.
46810         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
46811         Likewise.
46812         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
46813         Likewise.
46814         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
46815         Likewise.
46816         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
46817         Likewise.
46818         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
46819         Likewise.
46821 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
46823         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46824         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
46826 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
46827             H.J. Lu  <hjl.tools@gmail.com>
46829         [BZ #15627]
46830         * sysdeps/x86_64/rtld-memset.c: Remove file.
46831         * sysdeps/x86_64/rtld-memset.S: New file.
46833 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
46835         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
46836         (test_in_one_mode): Take arguments for whether the rounding mode
46837         is supported for each floating-point type.
46838         (do_test): Pass new arguments to test_in_one_mode using
46839         ROUNDING_TESTS.
46841 2013-06-13  Roland McGrath  <roland@hack.frob.com>
46843         * posix/tst-waitid.c (do_test): Distinguish different instances of
46844         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
46845         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
46846         before entering the kernel for waitpid.
46848 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
46850         * NEWS: Fix note on clock function precision.  Text by Roland
46851         McGrath.
46853 2013-06-13  Roland McGrath  <roland@hack.frob.com>
46855         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
46856         it into place only when and if the sanity check passes.
46858 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
46860         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
46861         output for whether conversion result is exact.  Take argument
46862         indicating whether type is IBM long double.
46863         (round_for_all): Change need_exact field to ibm_ld.
46864         * stdlib/tst-strtod-round.c (struct exactness): New type.
46865         (struct test): Change bool ld_ok field to struct exactness exact.
46866         (TEST): Update all definitions for change to field.
46867         (tests): Regenerate array contents.
46868         (test_in_one_mode): Take pointer to new field instead of old ld_ok
46869         field value.  Check for IBM long double here.
46870         (do_test): Update calls to test_in_one_mode.
46872 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
46874         [BZ #12515]
46875         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
46876         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
46878 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46880         [BZ #15605]
46881         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
46882         generated by the compiler on loop optimizations.
46883         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
46884         general definitions.
46886 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
46888         * math/bug-nextafter.c: Include <math-tests.h>.
46889         (main): Only test for exceptions if EXCEPTION_TESTS is true for
46890         the relevant type.
46891         * math/bug-nexttoward.c: Include <math-tests.h>.
46892         (main): Only test for exceptions if EXCEPTION_TESTS is true for
46893         the relevant type.
46894         * math/test-misc.c: Include <math-tests.h>.
46895         (main): Only test for exceptions if EXCEPTION_TESTS is true for
46896         the relevant type.
46898 2013-06-12  Andreas Jaeger  <aj@suse.de>
46900         * po/ia.po: Update Interlingua translation from translation
46901         project.
46903 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
46905         * include/fenv.h: Include stdbool.h.
46906         (struct rm_ctx): New structure.
46907         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
46908         Define macro.
46909         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
46910         (SET_RESTORE_ROUNDF): Likewise.
46911         (SET_RESTORE_ROUNDL): Likewise.
46912         (SET_RESTORE_ROUND_NOEX): Likewise.
46913         (SET_RESTORE_ROUND_NOEXF): Likewise.
46914         (SET_RESTORE_ROUND_NOEXL): Likewise.
46915         (SET_RESTORE_ROUND_53BIT): Likewise.
46916         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
46917         (libc_feresetround_noexf_ctx): Likewise.
46918         (libc_feresetround_noexl_ctx): Likewise.
46919         (libc_feholdsetround_53bit_ctx): Likewise.
46920         (libc_feresetround_53bit_ctx): Likewise.
46921         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
46922         (libc_feholdexcept_setround_sse_ctx): New function.
46923         (libc_fesetenv_sse_ctx): Likewise.
46924         (libc_feupdateenv_sse_ctx): Likewise.
46925         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
46926         (libc_feholdexcept_setround_387_ctx): Likewise.
46927         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
46928         (libc_feholdsetround_387_prec_ctx): Likewise.
46929         (libc_feholdsetround_387_ctx): Likewise.
46930         (libc_feholdsetround_387_53bit_ctx): Likewise.
46931         (libc_feholdsetround_sse_ctx): Likewise.
46932         (libc_feresetround_sse_ctx): Likewise.
46933         (libc_feresetround_387_ctx): Likewise.
46934         (libc_feupdateenv_387_ctx): Likewise.
46935         (libc_feholdexcept_setroundf_ctx): Define macro.
46936         (libc_fesetenvf_ctx): Likewise.
46937         (libc_feupdateenvf_ctx): Likewise.
46938         (libc_feholdsetroundf_ctx): Likewise.
46939         (libc_feresetroundf_ctx): Likewise.
46940         (libc_feholdexcept_setround_ctx): Likewise.
46941         (libc_fesetenv_ctx): Likewise.
46942         (libc_feupdateenv_ctx): Likewise.
46943         (libc_feholdsetround_ctx): Likewise.
46944         (libc_feresetround_ctx): Likewise.
46945         (libc_feholdexcept_setroundl_ctx): Likewise.
46946         (libc_feupdateenvl_ctx): Likewise.
46947         (libc_feholdsetroundl_ctx): Likewise.
46948         (libc_feresetroundl_ctx): Likewise.
46949         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
46950         (libc_feresetround_53bit_ctx): Likewise.
46952 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
46954         * locale/iso-639.def: Convert to UTF-8.
46956 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
46958         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
46959         (EXCEPTION_TESTS_double): Likewise.
46960         (EXCEPTION_TESTS_long_double): Likewise.
46961         (EXCEPTION_TESTS): Likewise.
46962         * math/libm-test.inc (test_exceptions): Only test exceptions if
46963         EXCEPTION_TESTS (FLOAT).
46965 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
46967         * benchtests/Makefile (string-bench): Add strcpy_chk and
46968         stpcpy_chk.
46969         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
46970         * benchtests/bench-stpcpy_chk.c: New file.
46971         * benchtests/bench-strcpy_chk-ifunc.c: New file.
46972         * benchtests/bench-strcpy_chk.c: New file.
46973         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
46974         code.
46975         (do_test): Likewise.
46977 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
46979         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
46980         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
46981         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
46982         with tabs where appropriate.
46983         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
46984         dl-procinfo.h.
46985         [PPC_PLATFORM_PPC440]: Likewise.
46986         [PPC_PLATFORM_PPC464]: Likewise.
46987         [PPC_PLATFORM_PPC476]: Likewise.
46988         (_dl_string_platform): Add support for detecting ppc405, ppc440,
46989         ppc464, and ppc476 platform strings merging from ports/
46990         dl-procinfo.h.
46992 2013-06-11  Andreas Schwab  <schwab@suse.de>
46994         [BZ #14991]
46995         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
46996         (from_ucs4_idx): Regenerate.
46997         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
46998         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
46999         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
47000         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
47001         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
47002         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
47003         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
47004         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
47005         from FROM_LOOP and TO_LOOP specific macros.
47006         (BODY): Handle combining characters.
47007         * iconvdata/BIG5HKSCS.irreversible: Update.
47008         * iconvdata/BIG5HKSCS.precomposed: New file.
47009         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
47010         characters.
47011         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
47013 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
47015         * include/sys/time.h: Fix indentation and add copyright header.
47017         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
47018         (do_test): Likewise.
47019         * string/test-memchr.c (do_one_test): Likewise.
47020         (do_test): Likewise.
47021         * string/test-memcmp.c (do_one_test): Likewise.
47022         (do_test): Likewise.
47023         * string/test-memcpy.c (do_one_test): Likewise.
47024         (do_test): Likewise.
47025         * string/test-memmem.c (do_one_test): Likewise.
47026         (do_test): Likewise.
47027         (do_random_tests): Likewise.
47028         * string/test-memmove.c (do_one_test): Likewise.
47029         (do_test): Likewise.
47030         * string/test-memset.c (do_one_test): Likewise.
47031         (do_test): Likewise.
47032         * string/test-rawmemchr.c (do_one_test): Likewise.
47033         (do_test): Likewise.
47034         * string/test-strcasecmp.c (do_one_test): Likewise.
47035         (do_test): Likewise.
47036         * string/test-strcasestr.c (do_one_test): Likewise.
47037         (do_test): Likewise.
47038         * string/test-strcat.c (do_one_test): Likewise.
47039         (do_test): Likewise.
47040         * string/test-strchr.c (do_one_test): Likewise.
47041         (do_test): Likewise.
47042         * string/test-strcmp.c (do_one_test): Likewise.
47043         (do_test): Likewise.
47044         * string/test-strcpy.c (do_one_test): Likewise.
47045         (do_test): Likewise.
47046         * string/test-string.h: Likewise.
47047         (test_init): Likewise.
47048         * string/test-strlen.c (do_one_test): Likewise.
47049         (do_test): Likewise.
47050         * string/test-strncasecmp.c (do_one_test): Likewise.
47051         (do_test): Likewise.
47052         * string/test-strncat.c (do_one_test): Likewise.
47053         (do_test): Likewise.
47054         * string/test-strncmp.c (do_one_test): Likewise.
47055         (do_test_limit): Likewise.
47056         (do_test): Likewise.
47057         * string/test-strncpy.c (do_one_test): Likewise.
47058         (do_test): Likewise.
47059         * string/test-strnlen.c (do_one_test): Likewise.
47060         (do_test): Likewise.
47061         * string/test-strpbrk.c (do_one_test): Likewise.
47062         (do_test): Likewise.
47063         * string/test-strrchr.c (do_one_test): Likewise.
47064         (do_test): Likewise.
47065         * string/test-strspn.c (do_one_test): Likewise.
47066         (do_test): Likewise.
47067         * string/test-strstr.c (do_one_test): Likewise.
47068         (do_test): Likewise.
47070         * benchtests/Makefile (string-bench): Add string benchmarks.
47071         * benchtests/bench-bcopy-ifunc.c: New file.
47072         * benchtests/bench-bcopy.c: New file.
47073         * benchtests/bench-bzero-ifunc.c: New file.
47074         * benchtests/bench-bzero.c: New file.
47075         * benchtests/bench-memccpy-ifunc.c: New file.
47076         * benchtests/bench-memccpy.c: New file.
47077         * benchtests/bench-memchr-ifunc.c: New file.
47078         * benchtests/bench-memchr.c: New file.
47079         * benchtests/bench-memcmp-ifunc.c: New file.
47080         * benchtests/bench-memcmp.c: New file.
47081         * benchtests/bench-memmem-ifunc.c: New file.
47082         * benchtests/bench-memmem.c: New file.
47083         * benchtests/bench-memmove-ifunc.c: New file.
47084         * benchtests/bench-memmove.c: New file.
47085         * benchtests/bench-mempcpy-ifunc.c: New file.
47086         * benchtests/bench-mempcpy.c: New file.
47087         * benchtests/bench-memset-ifunc.c: New file.
47088         * benchtests/bench-memset.c: New file.
47089         * benchtests/bench-rawmemchr-ifunc.c: New file.
47090         * benchtests/bench-rawmemchr.c: New file.
47091         * benchtests/bench-stpcpy-ifunc.c: New file.
47092         * benchtests/bench-stpcpy.c: New file.
47093         * benchtests/bench-stpncpy-ifunc.c: New file.
47094         * benchtests/bench-stpncpy.c: New file.
47095         * benchtests/bench-strcasecmp-ifunc.c: New file.
47096         * benchtests/bench-strcasecmp.c: New file.
47097         * benchtests/bench-strcasestr-ifunc.c: New file.
47098         * benchtests/bench-strcasestr.c: New file.
47099         * benchtests/bench-strcat-ifunc.c: New file.
47100         * benchtests/bench-strcat.c: New file.
47101         * benchtests/bench-strchr-ifunc.c: New file.
47102         * benchtests/bench-strchr.c: New file.
47103         * benchtests/bench-strchrnul-ifunc.c: New file.
47104         * benchtests/bench-strchrnul.c: New file.
47105         * benchtests/bench-strcmp-ifunc.c: New file.
47106         * benchtests/bench-strcmp.c: New file.
47107         * benchtests/bench-strcpy-ifunc.c: New file.
47108         * benchtests/bench-strcpy.c: New file.
47109         * benchtests/bench-strcspn-ifunc.c: New file.
47110         * benchtests/bench-strcspn.c: New file.
47111         * benchtests/bench-strlen-ifunc.c: New file.
47112         * benchtests/bench-strlen.c: New file.
47113         * benchtests/bench-strncasecmp-ifunc.c: New file.
47114         * benchtests/bench-strncasecmp.c: New file.
47115         * benchtests/bench-strncat-ifunc.c: New file.
47116         * benchtests/bench-strncat.c: New file.
47117         * benchtests/bench-strncmp-ifunc.c: New file.
47118         * benchtests/bench-strncmp.c: New file.
47119         * benchtests/bench-strncpy-ifunc.c: New file.
47120         * benchtests/bench-strncpy.c: New file.
47121         * benchtests/bench-strnlen-ifunc.c: New file.
47122         * benchtests/bench-strnlen.c: New file.
47123         * benchtests/bench-strpbrk-ifunc.c: New file.
47124         * benchtests/bench-strpbrk.c: New file.
47125         * benchtests/bench-strrchr-ifunc.c: New file.
47126         * benchtests/bench-strrchr.c: New file.
47127         * benchtests/bench-strspn-ifunc.c: New file.
47128         * benchtests/bench-strspn.c: New file.
47129         * benchtests/bench-strstr-ifunc.c: New file.
47130         * benchtests/bench-strstr.c: New file.
47132         * benchtests/Makefile: Disable parallel execution of targets.
47133         (string-bench): Add memcpy.
47134         (benchset): New variable to store a list of benchmark sets.
47135         (bench-func): Renamed from bench.
47136         (bench-set): New target.
47137         (bench): Depend on bench-func and bench-set.
47138         * benchtests/README: Add section on benchmark sets.
47139         * benchtests/bench-memcpy-ifunc.c: New file.
47140         * benchtests/bench-memcpy.c: New file.
47141         * benchtests/bench-string.h: New file.
47143 2013-06-11  Andreas Schwab  <schwab@suse.de>
47145         [BZ #15577]
47146         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
47147         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
47148         values in the triple.
47149         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
47150         terminator in the group key.
47152 2013-06-11  Andreas Jaeger  <aj@suse.de>
47154         * po/zh_TW.po: Update Chinese (traditional) translation from
47155         translation project.
47157 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
47159         * include/time.h (__clock_gettime): Add libc_hidden_proto.
47160         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
47161         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
47162         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
47163         (clock_getcpuclockid): Likewise.
47164         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
47165         Add weak_alias and libc_hidden_def.
47166         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
47167         * rt/clock_gettime.c (clock_gettime): Rename to
47168         __clock_gettime.  Add weak_alias and libc_hidden_def.
47169         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
47170         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
47171         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
47172         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
47173         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
47174         Likewise.
47175         * rt/clock_settime.c (clock_settime): Rename to
47176         __clock_settime.  Add weak_alias and libc_hidden_def.
47177         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
47179 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
47181         * mach/err_boot.sub: Remove trailing whitespace.
47182         * mach/err_ipc.sub: Likewise.
47183         * mach/err_mach.sub: Likewise.
47185         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
47186         (ROUNDING_TESTS_double): Likewise.
47187         (ROUNDING_TESTS_long_double): Likewise.
47188         (ROUNDING_TESTS): Likewise.
47189         * math/libm-test.inc: Include <math-tests.h>.
47190         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
47191         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
47192         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
47193         (IF_ROUND_INIT_FE_UPWARD): Likewise.
47195 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
47197         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
47198         of assigning.
47200 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
47202         * sysdeps/gnu/errlist.awk: Do not generate space at end of
47203         otherwise empty TRANS lines.
47204         * sysdeps/gnu/errlist.c: Regenerated.
47206         * catgets/gencat.c (error_print): Use (void) in function
47207         definition.
47208         * crypt/crypt_util.c (__init_des): Likewise.
47209         * crypt/speeds.c (Stop): Likewise.
47210         (main): Likewise.
47211         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
47212         * inet/ruserpass.c (token): Likewise.
47213         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
47214         * intl/localealias.c (extend_alias_table): Likewise.
47215         * intl/plural-exp.c (init_germanic_plural): Likewise.
47216         * libio/fcloseall.c (__fcloseall): Likewise.
47217         * libio/genops.c (_IO_flush_all): Likewise.
47218         (_IO_flush_all_linebuffered): Likewise.
47219         (_IO_cleanup): Likewise.
47220         (_IO_iter_begin): Likewise.
47221         (_IO_iter_end): Likewise.
47222         (_IO_list_lock): Likewise.
47223         (_IO_list_unlock): Likewise.
47224         (_IO_list_resetlock): Likewise.
47225         * libio/getchar.c (getchar): Likewise.
47226         * libio/getchar_u.c (getchar_unlocked): Likewise.
47227         * libio/getwchar.c (getwchar): Likewise.
47228         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
47229         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
47230         * login/getpt.c (__getpt): Likewise.
47231         * login/tst-utmp.c (main): Likewise.
47232         * malloc/hooks.c (__malloc_check_init): Likewise.
47233         * malloc/malloc.c (__malloc_stats): Likewise.
47234         * malloc/mtrace.c (tr_break): Likewise.
47235         (mtrace): Likewise.
47236         (muntrace): Likewise.
47237         * misc/fstab.c (endfsent): Likewise.
47238         * misc/getclktck.c (__getclktck): Likewise.
47239         * misc/getdtsz.c (__getdtablesize): Likewise.
47240         * misc/gethostid.c (gethostid): Likewise.
47241         * misc/getpagesize.c (__getpagesize): Likewise.
47242         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
47243         (__get_nprocs): Likewise.
47244         (__get_phys_pages): Likewise.
47245         (__get_avphys_pages): Likewise.
47246         * misc/getttyent.c (getttyent): Likewise.
47247         (setttyent): Likewise.
47248         (endttyent): Likewise.
47249         * misc/getusershell.c (getusershell): Likewise.
47250         (endusershell): Likewise.
47251         (setusershell): Likewise.
47252         (initshells): Likewise.
47253         * misc/hsearch.c (__hdestroy): Likewise.
47254         * misc/sync.c (sync): Likewise.
47255         * misc/syslog.c (closelog_internal): Likewise.
47256         (closelog): Likewise.
47257         * misc/ttyslot.c (ttyslot): Likewise.
47258         * misc/vhangup.c (vhangup): Likewise.
47259         * posix/fork.c (__fork): Likewise.
47260         * posix/getegid.c (__getegid): Likewise.
47261         * posix/geteuid.c (__geteuid): Likewise.
47262         * posix/getgid.c (__getgid): Likewise.
47263         * posix/getpid.c (__getpid): Likewise.
47264         * posix/getppid.c (__getppid): Likewise.
47265         * posix/getuid.c (__getuid): Likewise.
47266         * posix/pause.c (pause): Likewise.
47267         * posix/setpgrp.c (setpgrp): Likewise.
47268         * posix/setsid.c (__setsid): Likewise.
47269         * posix/test-vfork.c (noop): Likewise.
47270         * resolv/gethnamaddr.c (_endhtent): Likewise.
47271         (_gethtent): Likewise.
47272         (ht_endhostent): Likewise.
47273         (gethostent): Likewise.
47274         (dns_service): Likewise.
47275         * stdlib/drand48.c (drand48): Likewise.
47276         * stdlib/lrand48.c (lrand48): Likewise.
47277         * stdlib/mrand48.c (mrand48): Likewise.
47278         * stdlib/rand.c (rand): Likewise.
47279         * stdlib/random.c (__random): Likewise.
47280         * stdlib/setenv.c (clearenv): Likewise.
47281         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
47282         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
47283         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
47284         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
47285         (__get_nprocs): Likewise.
47286         (__get_phys_pages): Likewise.
47287         (__get_avphys_pages): Likewise.
47288         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
47289         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
47290         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
47291         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
47292         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
47293         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
47294         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
47295         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
47296         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
47297         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
47298         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
47299         * sysdeps/mach/hurd/sync.c (sync): Likewise.
47300         * sysdeps/posix/clock.c (clock): Likewise.
47301         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
47302         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
47303         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
47304         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
47305         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
47306         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
47307         (__get_nprocs_conf): Likewise.
47308         (__get_phys_pages): Likewise.
47309         (__get_avphys_pages): Likewise.
47310         * time/clock.c (clock): Likewise.
47311         * time/tzset.c (__tzname_max): Likewise.
47313 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
47315         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
47316         (__bswap_32): Do not use "register".
47317         * crypt/crypt.c (_ufc_doit_r): Likewise.
47318         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
47319         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
47320         * gmon/gmon.c (__monstartup): Likewise.
47321         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
47322         * hurd/hurdmalloc.c (more_memory): Likewise.
47323         (malloc): Likewise.
47324         (free): Likewise.
47325         (realloc): Likewise.
47326         (malloc_fork_prepare): Likewise.
47327         (malloc_fork_parent): Likewise.
47328         (malloc_fork_child): Likewise.
47329         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
47330         (_svcauth_des): Likewise.
47331         * inet/inet_lnaof.c (inet_lnaof): Likewise.
47332         * inet/inet_net.c (inet_network): Likewise.
47333         * inet/inet_netof.c (inet_netof): Likewise.
47334         * inet/rcmd.c (__validuser2_sa): Likewise.
47335         * io/fts.c (fts_open): Likewise.
47336         (fts_load): Likewise.
47337         (fts_close): Likewise.
47338         (fts_read): Likewise.
47339         (fts_children): Likewise.
47340         (fts_build): Likewise.
47341         (fts_stat): Likewise.
47342         (fts_sort): Likewise.
47343         (fts_alloc): Likewise.
47344         (fts_lfree): Likewise.
47345         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
47346         (_IO_file_xsgetn): Likewise.
47347         (_IO_file_xsgetn_mmap): Likewise.
47348         * libio/iofopncook.c (_IO_cookie_read): Likewise.
47349         (_IO_cookie_write): Likewise.
47350         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
47351         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
47352         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
47353         * malloc/obstack.c (_obstack_begin): Likewise.
47354         (_obstack_begin_1): Likewise.
47355         (_obstack_newchunk): Likewise.
47356         (_obstack_allocated_p): Likewise.
47357         (obstack_free): Likewise.
47358         (_obstack_memory_used): Likewise.
47359         * misc/getttyent.c (getttynam): Likewise.
47360         (getttyent): Likewise.
47361         (skip): Likewise.
47362         (value): Likewise.
47363         * misc/getusershell.c (initshells): Likewise.
47364         * misc/syslog.c (__vsyslog_chk): Likewise.
47365         * misc/ttyslot.c (ttyslot): Likewise.
47366         * nis/nis_hash.c (__nis_hash): Likewise.
47367         * posix/fnmatch_loop.c (FCT): Likewise.
47368         * posix/getconf.c (print_all): Likewise.
47369         (main): Likewise.
47370         * posix/getopt.c (exchange): Likewise.
47371         * posix/glob.c (globfree): Likewise.
47372         (prefix_array): Likewise.
47373         (__glob_pattern_type): Likewise.
47374         * resolv/arpa/nameser.h (NS_GET16): Likewise.
47375         (NS_GET32): Likewise.
47376         (NS_PUT16): Likewise.
47377         (NS_PUT32): Likewise.
47378         * resolv/gethnamaddr.c (getanswer): Likewise.
47379         (gethostbyname2): Likewise.
47380         (gethostbyaddr): Likewise.
47381         (_gethtent): Likewise.
47382         (_gethtbyname2): Likewise.
47383         (_gethtbyaddr): Likewise.
47384         * resolv/ns_print.c (dst_s_get_int16): Likewise.
47385         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
47386         * resolv/res_init.c (__res_vinit): Likewise.
47387         (net_mask): Likewise.
47388         * resolv/res_mkquery.c (outchar): Likewise.
47389         (PRINT): Likewise.
47390         * stdio-common/printf_fp.c (outchar): Likewise.
47391         (PRINT): Likewise.
47392         * stdio-common/printf_fphex.c (outchar): Likewise.
47393         (PRINT): Likewise.
47394         * stdio-common/printf_size.c (outchar): Likewise.
47395         (PRINT): Likewise.
47396         * stdio-common/test_rdwr.c (main): Likewise.
47397         * stdio-common/tfformat.c (matches): Likewise.
47398         * stdio-common/vfprintf.c (outchar): Likewise.
47399         (printf_unknown): Likewise.
47400         (buffered_vfprintf): Likewise.
47401         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
47402         * stdio-common/xbug.c (AppendToBuffer): Likewise.
47403         (ReadFile): Likewise.
47404         * stdlib/qsort.c (SWAP): Likewise.
47405         (_quicksort): Likewise.
47406         * stdlib/setenv.c (__add_to_environ): Likewise.
47407         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
47408         * stdlib/strtol_l.c (__strtol_l): Likewise.
47409         * stdlib/tst-strtod.c (main): Likewise.
47410         * stdlib/tst-strtol.c (main): Likewise.
47411         * stdlib/tst-strtoll.c (main): Likewise.
47412         * string/bits/string2.h (__strcmp_cc): Likewise.
47413         (__strcmp_cg): Likewise.
47414         (__strcspn_c1): Likewise.
47415         (__strcspn_c2): Likewise.
47416         (__strcspn_c3): Likewise.
47417         (__strspn_c1): Likewise.
47418         (__strspn_c2): Likewise.
47419         (__strspn_c3): Likewise.
47420         (__strsep_1c): Likewise.
47421         (__strsep_2c): Likewise.
47422         (__strsep_3c): Likewise.
47423         * string/memccpy.c (__memccpy): Likewise.
47424         * string/stpcpy.c (__stpcpy): Likewise.
47425         * string/strcmp.c (strcmp): Likewise.
47426         * string/strrchr.c (strrchr): Likewise.
47427         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
47428         Likewise.
47429         * sysdeps/mach/hurd/getcwd.c
47430         (_hurd_canonicalize_directory_name_internal): Likewise.
47431         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
47432         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
47433         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
47434         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
47435         Likewise, in both definitions.
47436         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
47437         definitions.
47438         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
47439         64] (__bswap_64): Likewise.
47440         * time/test_time.c (main): Likewise.
47441         * time/tzfile.c (__tzfile_read): Likewise.
47442         (__tzfile_compute): Likewise.
47443         * time/tzset.c (__tzset_parse_tz): Likewise.
47444         (tzset_internal): Likewise.
47445         (compute_change): Likewise.
47446         * wcsmbs/wcscat.c (__wcscat): Likewise.
47447         * wcsmbs/wcschr.c (wcschr): Likewise.
47448         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
47449         * wcsmbs/wcscspn.c (wcscspn): Likewise.
47450         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
47451         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
47452         * wcsmbs/wcsspn.c (wcsspn): Likewise.
47453         * wcsmbs/wcsstr.c (wcsstr): Likewise.
47454         * wcsmbs/wmemchr.c (wmemchr): Likewise.
47455         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
47456         * wcsmbs/wmemset.c (wmemset): Likewise.
47458 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
47460         * scripts/config.guess: Update to version 2013-05-16.
47461         * scripts/config.sub: Update to version 2013-04-24.
47462         * scripts/install-sh: Update to version 2011-11-20.07.
47463         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
47464         * scripts/move-if-change: Update to version 2012-01-06 07:23.
47466 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
47468         * debug/fgetws_u_chk.c: Fix leading whitespaces.
47469         * elf/sln.c: Likewise.
47470         * hurd/hurd/ioctl.h: Likewise.
47471         * hurd/hurdmalloc.c: Likewise.
47472         * hurd/xattr.c: Likewise.
47473         * include/shlib-compat.h: Likewise.
47474         * inet/ruserpass.c: Likewise.
47475         * libio/iofgets_u.c: Likewise.
47476         * libio/iofgetws_u.c: Likewise.
47477         * locale/programs/ld-identification.c: Likewise.
47478         * locale/programs/ld-time.c: Likewise.
47479         * mach/msg-destroy.c: Likewise.
47480         * nss/nss_files/files-netgrp.c: Likewise.
47481         * resolv/res_data.c: Likewise.
47482         * soft-fp/op-1.h: Likewise.
47483         * soft-fp/op-2.h: Likewise.
47484         * soft-fp/op-4.h: Likewise.
47485         * soft-fp/op-common.h: Likewise.
47486         * stdio-common/printf_fphex.c: Likewise.
47487         * stdlib/strtod_l.c: Likewise.
47488         * sunrpc/rpc/clnt.h: Likewise.
47489         * sysdeps/generic/framestate.c: Likewise.
47490         * sysdeps/i386/bsd-_setjmp.S: Likewise.
47491         * sysdeps/i386/bsd-setjmp.S: Likewise.
47492         * sysdeps/i386/__longjmp.S: Likewise.
47493         * sysdeps/i386/setjmp.S: Likewise.
47494         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
47495         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
47496         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
47497         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
47498         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
47499         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
47500         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
47501         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
47502         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
47503         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
47504         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
47505         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
47506         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
47507         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
47508         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
47509         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
47510         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
47511         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
47512         * sysdeps/ieee754/support.c: Likewise.
47513         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
47514         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
47515         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
47516         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
47517         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
47518         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
47519         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
47520         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
47521         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
47522         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
47523         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
47524         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
47525         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
47526         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
47527         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
47528         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
47529         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
47530         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
47532 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
47534         * posix/transbug.c: Remove executable mode.
47536 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
47538         * crypt/speeds.c: Remove trailing whitespace.
47539         * dlfcn/default.c: Likewise.
47540         * elf/ifuncdep2.c: Likewise.
47541         * elf/ifuncmain1.c: Likewise.
47542         * elf/ifuncmain1vis.c: Likewise.
47543         * elf/testobj.h: Likewise.
47544         * elf/tst-stackguard1.c: Likewise.
47545         * gmon/sys/gmon.h: Likewise.
47546         * hurd/hurdmsg.c: Likewise.
47547         * hurd/new-fd.c: Likewise.
47548         * hurd/ports-get.c: Likewise.
47549         * iconvdata/ibm1008_420.c: Likewise.
47550         * inet/tst-getni1.c: Likewise.
47551         * inet/tst-getni2.c: Likewise.
47552         * libio/ioungetc.c: Likewise.
47553         * libio/wfiledoalloc.c: Likewise.
47554         * manual/libm-err-tab.pl: Likewise.
47555         * math/w_dremf.c: Likewise.
47556         * misc/ftruncate.c: Likewise.
47557         * posix/bug-glob2.c: Likewise.
47558         * posix/tst-pcre.c: Likewise.
47559         * posix/wait4.c: Likewise.
47560         * resolv/README: Likewise.
47561         * resolv/res_debug.h: Likewise.
47562         * resolv/tst-inet_ntop.c: Likewise.
47563         * setjmp/bug269-setjmp.c: Likewise.
47564         * soft-fp/extended.h: Likewise.
47565         * soft-fp/op-1.h: Likewise.
47566         * soft-fp/op-2.h: Likewise.
47567         * soft-fp/op-4.h: Likewise.
47568         * soft-fp/op-8.h: Likewise.
47569         * soft-fp/testit.c: Likewise.
47570         * stdio-common/bug16.c: Likewise.
47571         * stdlib/random.c: Likewise.
47572         * sunrpc/rpcsvc/rquota.x: Likewise.
47573         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
47574         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
47575         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
47576         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
47577         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
47578         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
47579         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
47580         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
47581         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
47582         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
47583         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
47584         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
47585         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
47586         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
47587         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
47588         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
47589         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
47590         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
47591         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
47592         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
47593         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
47594         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
47595         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
47596         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
47597         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
47598         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
47599         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
47600         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
47601         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
47602         * sysdeps/ieee754/s_lib_version.c: Likewise.
47603         * sysdeps/mach/hurd/check_fds.c: Likewise.
47604         * sysdeps/mach/hurd/getsockname.c: Likewise.
47605         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
47606         * sysdeps/mach/hurd/recvfrom.c: Likewise.
47607         * sysdeps/powerpc/bits/link.h: Likewise.
47608         * sysdeps/powerpc/dl-procinfo.c: Likewise.
47609         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
47610         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
47611         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
47612         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
47613         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
47614         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
47615         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
47616         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
47617         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
47618         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
47619         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
47620         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
47621         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
47622         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
47623         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
47624         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
47625         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
47626         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
47627         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
47628         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
47629         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
47630         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
47631         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
47632         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
47633         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
47634         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
47635         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
47636         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
47637         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
47638         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
47639         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
47640         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
47641         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
47642         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
47643         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
47644         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
47645         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
47646         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
47647         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
47648         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
47649         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
47650         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
47651         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
47652         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
47653         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
47654         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
47655         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
47656         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
47657         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
47658         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
47659         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
47660         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
47661         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
47662         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
47663         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
47664         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
47665         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
47666         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
47667         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
47668         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
47669         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
47670         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
47671         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
47672         * sysdeps/powerpc/sysdep.h: Likewise.
47673         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
47674         * sysdeps/s390/s390-64/sub_n.S: Likewise.
47675         * sysdeps/sh/dl-trampoline.S: Likewise.
47676         * sysdeps/sh/memset.S: Likewise.
47677         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
47678         * sysdeps/sh/strlen.S: Likewise.
47679         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
47680         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
47681         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
47682         * sysdeps/sparc/sparc32/rem.S: Likewise.
47683         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
47684         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
47685         * sysdeps/sparc/sparc32/strchr.S: Likewise.
47686         * sysdeps/sparc/sparc32/udiv.S: Likewise.
47687         * sysdeps/sparc/sparc32/urem.S: Likewise.
47688         * sysdeps/sparc/sparc64/add_n.S: Likewise.
47689         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
47690         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
47691         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
47692         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
47693         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
47694         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
47695         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
47696         * sysdeps/unix/bsd/times.c: Likewise.
47697         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
47698         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
47699         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
47700         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
47701         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
47702         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
47703         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
47704         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
47705         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
47706         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
47707         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
47708         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
47709         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
47710         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
47711         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
47712         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
47713         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
47714         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
47715         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
47716         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
47717         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
47718         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
47719         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
47720         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
47721         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
47722         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
47723         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
47724         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
47725         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
47726         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
47727         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
47728         * sysdeps/x86_64/strcspn.S: Likewise.
47730 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
47732         * locale/C-translit.h: Revert #include <stdint.h> because this is a
47733         generated file.  Regenerate properly from gen-translit.pl.
47734         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
47735         locale/C-translit.h.
47737 2013-06-05  Andreas Schwab  <schwab@suse.de>
47739         [BZ #15100]
47740         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
47741         week as 6 instead of -1.
47742         * time/tst-strptime.c (day_tests): Add test case.
47744 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
47746         * sysdeps/generic/math_private.h
47747         (libc_feholdexcept_setround_53bit): Replace with
47748         libc_feholdsetround_53bit.
47749         (libc_feupdateenv_53bit): Replace with
47750         libc_feresetround_53bit.
47751         (SET_RESTORE_ROUND_53BIT): Adjust.
47753 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
47755         * string/test-strchrnul.c: Add copyright header.
47757         * posix/tst-getaddrinfo4.c: Increase test timeout.
47759 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
47761         [BZ #15536]
47762         * math/libm-test.inc (MAX_EXP): Remove
47763         (MIN_EXP): Define.
47764         (ulp): Use MIN_EXP - MANT_DIG.
47765         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
47767 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
47769         * po/be.po: Revert last change.
47770         * po/zh_CN.po: Likewise.
47771         * po/header.pot: Likewise.
47773 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
47775         * Makefile ($(common-objpfx)linkobj/libc.so): Define
47776         link-libc-deps to empty as target-specific variable.
47777         * Makerules (link-libc-args): New variable.
47778         (libc-for-link): Likewise.
47779         (link-libc-deps): Likewise.
47780         (lib%.so): Depend on $(link-libc-deps).  Link with
47781         $(link-libc-args).
47782         (build-module): Link with $(link-libc-args).
47783         (build-module-asneeded): Likewise.
47784         (build-module-helper-objlist): Filter out $(link-libc-deps) from
47785         list of objects.
47786         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
47787         target-specific variable.
47788         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
47789         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
47790         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
47791         libc.
47792         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
47793         libc and ld.so.
47794         ($(objpfx)libpcprofile.so): Likewise.
47795         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
47796         libc_nonshared.a.
47797         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
47798         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
47799         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
47800         $(link-libc-deps).
47801         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
47802         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
47803         * login/Makefile ($(objpfx)libutil.so): Likewise.
47804         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
47805         * math/Makefile ($(objpfx)libm.so): Likewise.
47806         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
47807         $(objpfx)libnsl.so): Define libc-for-link as target-specific
47808         variable instead of depending directly on libc.
47809         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
47810         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
47811         $(link-libc-deps).
47812         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
47813         libc.
47814         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
47815         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
47816         ($(objpfx)libanl.so): Likewise.
47817         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
47818         ld.so.
47819         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
47820         $(link-libc-deps).
47821         * sysdeps/i386/fpu/Makefile: Remove file.
47822         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
47823         ($(objpfx)libm.so): Remove dependency on ld.so.
47825 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
47827         [BZ # 15553]
47828         * nis/yp_xdr.c (XDRMAXNAME): Define.
47829         (XDRMAXRECORD): Define.
47830         (xdr_domainname): Use XDRMAXNAME.
47831         (xdr_mapname): Likewise.
47832         (xdr_peername): Likewise.
47833         (xdr_keydat): Use XDRMAXRECORD.
47834         (xdr_valdat): Likewise.
47836 2013-05-30  Jeff Law  <law@redhat.com>
47838         [BZ #14256]
47839         * manual/errno.texi (ESTALE): Update to account for more than
47840         just NFS file systems.
47841         * sysdeps/gnu/errlist.c: Regenerated.
47843 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
47845         [BZ #15465]
47846         * elf/Makefile (tests): Add tst-null-argv.
47847         (modules-names):  Add tst-null-argv-lib.
47848         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
47849         (tst-null-argv-ENV): Set environment for tst-null-argv.
47850         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
47851         (RTLD_PROGNAME): New macro.
47852         * elf/tst-null-argv.c: New test case.
47853         * elf/tst-null-argv-lib.c: Library for test case.
47854         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
47855         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
47856         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
47857         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
47858         * elf/dl-init.c (call_init): Likewise.
47859         (_dl_init): Likewise.
47860         * elf/dl-load.c (print_search_path): Likewise.
47861         (_dl_map_object): Likewise.
47862         * elf/dl-lookup.c (do_lookup_x): Likewise.
47863         (add_dependency): Likewise.
47864         (_dl_lookup_symbol_x): Likewise.
47865         (_dl_debug_bindings): Likewise.
47866         * elf/dl-open.c (_dl_show_scope): Likewise.
47867         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
47868         * elf/dl-version.c (match_symbol): Likewise.
47869         (_dl_check_map_versions): Likewise.
47870         * elf/rtld.c (dl_main): Likewise.
47871         (print_unresolved): Use RTLD_PROGNAME.
47872         (print_missing_version): Likewise.
47873         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
47874         (elf_machine_rela): Likewise.
47875         * sysdeps/powerpc/powerpc32/dl-machine.c
47876         (__process_machine_rela): Likewise.
47877         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
47878         Likewise.
47879         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
47880         Likewise.
47881         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
47882         Likewise.
47883         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
47884         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
47885         Likewise.
47886         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
47887         Likewise.
47888         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
47890 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
47892         * po/be.po: Add descriptive title.
47893         * po/zh_CN.po: Likewise.
47894         * po/header.pot: Likewise.
47896 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
47898         * locale/programs/locarchive.c (create_archive): Inlucde fname in
47899         error message.
47900         (enlarge_archive): Likewise.
47902 2013-05-28  Ben North  <ben@redfrontdoor.org>
47904         * manual/arith.texi (frexp): It is the magnitude of the return
47905         value which lies in [0.5, 1), not the return value itself.
47907 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47909         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47911 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
47913         * stdio-common/bug26.c (main): Correct fscanf template.
47915         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
47916         declare _dl_skip_args.
47918         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
47919         Don't declare.
47921         * manual/platform.texi: Add missing @end deftypefun.
47923 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
47925         [BZ #15529]
47926         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
47927         bit of mantissa of 2^16382.
47928         * math/libm-test.inc (hypot_test_data): Add more tests.
47930         * math/libm-test.inc: Add drem and pow10 to list of tested
47931         functions.
47932         (pow10_test): New function.
47933         (drem_test): Likewise.
47934         (drem_test_tonearest): Likewise.
47935         (drem_test_towardzero): Likewise.
47936         (drem_test_downward): Likewise.
47937         (drem_test_upward): Likewise.
47938         (main): Call the new functions.
47940         * math/libm-test.inc (finite_test_data): Remove.
47941         (finite_test): Run tests from isfinite_test_data.
47942         (gamma_test_data): Remove.
47943         (gamma_test): Run tests from lgamma_test_data.
47944         * sysdeps/i386/fpu/libm-test-ulps: Update.
47945         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47947 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47949         * manual/platform.texi: Add PowerPC PPR function set documentation.
47950         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
47951         implementation.
47953 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
47955         * math/libm-test.inc (MAX_EXP): Define.
47956         (ULPDIFF): Define.
47957         (ulp): New function.
47958         (check_float_internal): Use ULPDIFF.
47959         (cpow_test): Disable failing test.
47960         (check_ulp): Test ulp() implemetnation.
47961         (main): Call check_ulp before starting tests.
47963 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
47965         * math/gen-libm-test.pl (generate_testfile): Do not handle
47966         START_DATA and END_DATA.
47967         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
47968         END_DATA.
47969         (acos_tonearest_test_data): Likewise.
47970         (acos_towardzero_test_data): Likewise.
47971         (acos_downward_test_data): Likewise.
47972         (acos_upward_test_data): Likewise.
47973         (acosh_test_data): Likewise.
47974         (asin_test_data): Likewise.
47975         (asin_tonearest_test_data): Likewise.
47976         (asin_towardzero_test_data): Likewise.
47977         (asin_downward_test_data): Likewise.
47978         (asin_upward_test_data): Likewise.
47979         (asinh_test_data): Likewise.
47980         (atan_test_data): Likewise.
47981         (atanh_test_data): Likewise.
47982         (atan2_test_data): Likewise.
47983         (cabs_test_data): Likewise.
47984         (cacos_test_data): Likewise.
47985         (cacosh_test_data): Likewise.
47986         (carg_test_data): Likewise.
47987         (casin_test_data): Likewise.
47988         (casinh_test_data): Likewise.
47989         (catan_test_data): Likewise.
47990         (catanh_test_data): Likewise.
47991         (cbrt_test_data): Likewise.
47992         (ccos_test_data): Likewise.
47993         (ccosh_test_data): Likewise.
47994         (ceil_test_data): Likewise.
47995         (cexp_test_data): Likewise.
47996         (cimag_test_data): Likewise.
47997         (clog_test_data): Likewise.
47998         (clog10_test_data): Likewise.
47999         (conj_test_data): Likewise.
48000         (copysign_test_data): Likewise.
48001         (cos_test_data): Likewise.
48002         (cos_tonearest_test_data): Likewise.
48003         (cos_towardzero_test_data): Likewise.
48004         (cos_downward_test_data): Likewise.
48005         (cos_upward_test_data): Likewise.
48006         (cosh_test_data): Likewise.
48007         (cosh_tonearest_test_data): Likewise.
48008         (cosh_towardzero_test_data): Likewise.
48009         (cosh_downward_test_data): Likewise.
48010         (cosh_upward_test_data): Likewise.
48011         (cpow_test_data): Likewise.
48012         (cproj_test_data): Likewise.
48013         (creal_test_data): Likewise.
48014         (csin_test_data): Likewise.
48015         (csinh_test_data): Likewise.
48016         (csqrt_test_data): Likewise.
48017         (ctan_test_data): Likewise.
48018         (ctan_tonearest_test_data): Likewise.
48019         (ctan_towardzero_test_data): Likewise.
48020         (ctan_downward_test_data): Likewise.
48021         (ctan_upward_test_data): Likewise.
48022         (ctanh_test_data): Likewise.
48023         (ctanh_tonearest_test_data): Likewise.
48024         (ctanh_towardzero_test_data): Likewise.
48025         (ctanh_downward_test_data): Likewise.
48026         (ctanh_upward_test_data): Likewise.
48027         (erf_test_data): Likewise.
48028         (erfc_test_data): Likewise.
48029         (exp_test_data): Likewise.
48030         (exp_tonearest_test_data): Likewise.
48031         (exp_towardzero_test_data): Likewise.
48032         (exp_downward_test_data): Likewise.
48033         (exp_upward_test_data): Likewise.
48034         (exp10_test_data): Likewise.
48035         (exp2_test_data): Likewise.
48036         (expm1_test_data): Likewise.
48037         (fabs_test_data): Likewise.
48038         (fdim_test_data): Likewise.
48039         (finite_test_data): Likewise.
48040         (floor_test_data): Likewise.
48041         (fma_test_data): Likewise.
48042         (fma_towardzero_test_data): Likewise.
48043         (fma_downward_test_data): Likewise.
48044         (fma_upward_test_data): Likewise.
48045         (fmax_test_data): Likewise.
48046         (fmin_test_data): Likewise.
48047         (fmod_test_data): Likewise.
48048         (fpclassify_test_data): Likewise.
48049         (frexp_test_data): Likewise.
48050         (gamma_test_data): Likewise.
48051         (hypot_test_data): Likewise.
48052         (ilogb_test_data): Likewise.
48053         (isfinite_test_data): Likewise.
48054         (isgreater_test_data): Likewise.
48055         (isgreaterequal_test_data): Likewise.
48056         (isinf_test_data): Likewise.
48057         (isless_test_data): Likewise.
48058         (islessequal_test_data): Likewise.
48059         (islessgreater_test_data): Likewise.
48060         (isnan_test_data): Likewise.
48061         (isnormal_test_data): Likewise.
48062         (issignaling_test_data): Likewise.
48063         (isunordered_test_data): Likewise.
48064         (j0_test_data): Likewise.
48065         (j1_test_data): Likewise.
48066         (jn_test_data): Likewise.
48067         (ldexp_test_data): Likewise.
48068         (lgamma_test_data): Likewise.
48069         (lrint_test_data): Likewise.
48070         (lrint_tonearest_test_data): Likewise.
48071         (lrint_towardzero_test_data): Likewise.
48072         (lrint_downward_test_data): Likewise.
48073         (lrint_upward_test_data): Likewise.
48074         (llrint_test_data): Likewise.
48075         (llrint_tonearest_test_data): Likewise.
48076         (llrint_towardzero_test_data): Likewise.
48077         (llrint_downward_test_data): Likewise.
48078         (llrint_upward_test_data): Likewise.
48079         (log_test_data): Likewise.
48080         (log10_test_data): Likewise.
48081         (log1p_test_data): Likewise.
48082         (log2_test_data): Likewise.
48083         (logb_test_data): Likewise.
48084         (logb_downward_test_data): Likewise.
48085         (lround_test_data): Likewise.
48086         (llround_test_data): Likewise.
48087         (modf_test_data): Likewise.
48088         (nearbyint_test_data): Likewise.
48089         (nextafter_test_data): Likewise.
48090         (nexttoward_test_data): Likewise.
48091         (pow_test_data): Likewise.
48092         (pow_tonearest_test_data): Likewise.
48093         (pow_towardzero_test_data): Likewise.
48094         (pow_downward_test_data): Likewise.
48095         (pow_upward_test_data): Likewise.
48096         (remainder_test_data): Likewise.
48097         (remainder_tonearest_test_data): Likewise.
48098         (remainder_towardzero_test_data): Likewise.
48099         (remainder_downward_test_data): Likewise.
48100         (remainder_upward_test_data): Likewise.
48101         (remquo_test_data): Likewise.
48102         (rint_test_data): Likewise.
48103         (rint_tonearest_test_data): Likewise.
48104         (rint_towardzero_test_data): Likewise.
48105         (rint_downward_test_data): Likewise.
48106         (rint_upward_test_data): Likewise.
48107         (round_test_data): Likewise.
48108         (scalb_test_data): Likewise.
48109         (scalbn_test_data): Likewise.
48110         (scalbln_test_data): Likewise.
48111         (signbit_test_data): Likewise.
48112         (sin_test_data): Likewise.
48113         (sin_tonearest_test_data): Likewise.
48114         (sin_towardzero_test_data): Likewise.
48115         (sin_downward_test_data): Likewise.
48116         (sin_upward_test_data): Likewise.
48117         (sincos_test_data): Likewise.
48118         (sinh_test_data): Likewise.
48119         (sinh_tonearest_test_data): Likewise.
48120         (sinh_towardzero_test_data): Likewise.
48121         (sinh_downward_test_data): Likewise.
48122         (sinh_upward_test_data): Likewise.
48123         (sqrt_test_data): Likewise.
48124         (tan_test_data): Likewise.
48125         (tan_tonearest_test_data): Likewise.
48126         (tan_towardzero_test_data): Likewise.
48127         (tan_downward_test_data): Likewise.
48128         (tan_upward_test_data): Likewise.
48129         (tanh_test_data): Likewise.
48130         (tgamma_test_data): Likewise.
48131         (trunc_test_data): Likewise.
48132         (y0_test_data): Likewise.
48133         (y1_test_data): Likewise.
48134         (yn_test_data): Likewise.
48135         (significand_test_data): Likewise.
48137         * math/gen-libm-test.pl (@functions): Remove variable.
48138         (generate_testfile): Don't handle START and END lines.
48139         * math/libm-test.inc (START): New macro.
48140         (END): Likewise.
48141         (END_COMPLEX): Likewise.
48142         (acos_test): Use END macro without arguments.
48143         (acos_test_tonearest): Likewise.
48144         (acos_test_towardzero): Likewise.
48145         (acos_test_downward): Likewise.
48146         (acos_test_upward): Likewise.
48147         (acosh_test): Likewise.
48148         (asin_test): Likewise.
48149         (asin_test_tonearest): Likewise.
48150         (asin_test_towardzero): Likewise.
48151         (asin_test_downward): Likewise.
48152         (asin_test_upward): Likewise.
48153         (asinh_test): Likewise.
48154         (atan_test): Likewise.
48155         (atanh_test): Likewise.
48156         (atan2_test): Likewise.
48157         (cabs_test): Likewise.
48158         (cacos_test): Use END_COMPLEX macro without arguments.
48159         (cacosh_test): Likewise.
48160         (carg_test): Use END macro without arguments.
48161         (casin_test): Use END_COMPLEX macro without arguments.
48162         (casinh_test): Likewise.
48163         (catan_test): Likewise.
48164         (catanh_test): Likewise.
48165         (cbrt_test): Use END macro without arguments.
48166         (ccos_test): Use END_COMPLEX macro without arguments.
48167         (ccosh_test): Likewise.
48168         (ceil_test): Use END macro without arguments.
48169         (cexp_test): Use END_COMPLEX macro without arguments.
48170         (cimag_test): Use END macro without arguments.
48171         (clog_test): Use END_COMPLEX macro without arguments.
48172         (clog10_test): Likewise.
48173         (conj_test): Likewise.
48174         (copysign_test): Use END macro without arguments.
48175         (cos_test): Likewise.
48176         (cos_test_tonearest): Likewise.
48177         (cos_test_towardzero): Likewise.
48178         (cos_test_downward): Likewise.
48179         (cos_test_upward): Likewise.
48180         (cosh_test): Likewise.
48181         (cosh_test_tonearest): Likewise.
48182         (cosh_test_towardzero): Likewise.
48183         (cosh_test_downward): Likewise.
48184         (cosh_test_upward): Likewise.
48185         (cpow_test): Use END_COMPLEX macro without arguments.
48186         (cproj_test): Likewise.
48187         (creal_test): Use END macro without arguments.
48188         (csin_test): Use END_COMPLEX macro without arguments.
48189         (csinh_test): Likewise.
48190         (csqrt_test): Likewise.
48191         (ctan_test): Likewise.
48192         (ctan_test_tonearest): Likewise.
48193         (ctan_test_towardzero): Likewise.
48194         (ctan_test_downward): Likewise.
48195         (ctan_test_upward): Likewise.
48196         (ctanh_test): Likewise.
48197         (ctanh_test_tonearest): Likewise.
48198         (ctanh_test_towardzero): Likewise.
48199         (ctanh_test_downward): Likewise.
48200         (ctanh_test_upward): Likewise.
48201         (erf_test): Use END macro without arguments.
48202         (erfc_test): Likewise.
48203         (exp_test): Likewise.
48204         (exp_test_tonearest): Likewise.
48205         (exp_test_towardzero): Likewise.
48206         (exp_test_downward): Likewise.
48207         (exp_test_upward): Likewise.
48208         (exp10_test): Likewise.
48209         (exp2_test): Likewise.
48210         (expm1_test): Likewise.
48211         (fabs_test): Likewise.
48212         (fdim_test): Likewise.
48213         (finite_test): Likewise.
48214         (floor_test): Likewise.
48215         (fma_test): Likewise.
48216         (fma_test_towardzero): Likewise.
48217         (fma_test_downward): Likewise.
48218         (fma_test_upward): Likewise.
48219         (fmax_test): Likewise.
48220         (fmin_test): Likewise.
48221         (fmod_test): Likewise.
48222         (fpclassify_test): Likewise.
48223         (frexp_test): Likewise.
48224         (gamma_test): Likewise.
48225         (hypot_test): Likewise.
48226         (ilogb_test): Likewise.
48227         (isfinite_test): Likewise.
48228         (isgreater_test): Likewise.
48229         (isgreaterequal_test): Likewise.
48230         (isinf_test): Likewise.
48231         (isless_test): Likewise.
48232         (islessequal_test): Likewise.
48233         (islessgreater_test): Likewise.
48234         (isnan_test): Likewise.
48235         (isnormal_test): Likewise.
48236         (issignaling_test): Likewise.
48237         (isunordered_test): Likewise.
48238         (j0_test): Likewise.
48239         (j1_test): Likewise.
48240         (jn_test): Likewise.
48241         (ldexp_test): Likewise.
48242         (lgamma_test): Likewise.
48243         (lrint_test): Likewise.
48244         (lrint_test_tonearest): Likewise.
48245         (lrint_test_towardzero): Likewise.
48246         (lrint_test_downward): Likewise.
48247         (lrint_test_upward): Likewise.
48248         (llrint_test): Likewise.
48249         (llrint_test_tonearest): Likewise.
48250         (llrint_test_towardzero): Likewise.
48251         (llrint_test_downward): Likewise.
48252         (llrint_test_upward): Likewise.
48253         (log_test): Likewise.
48254         (log10_test): Likewise.
48255         (log1p_test): Likewise.
48256         (log2_test): Likewise.
48257         (logb_test): Likewise.
48258         (logb_test_downward): Likewise.
48259         (lround_test): Likewise.
48260         (llround_test): Likewise.
48261         (modf_test): Likewise.
48262         (nearbyint_test): Likewise.
48263         (nextafter_test): Likewise.
48264         (nexttoward_test): Likewise.
48265         (pow_test): Likewise.
48266         (pow_test_tonearest): Likewise.
48267         (pow_test_towardzero): Likewise.
48268         (pow_test_downward): Likewise.
48269         (pow_test_upward): Likewise.
48270         (remainder_test): Likewise.
48271         (remainder_test_tonearest): Likewise.
48272         (remainder_test_towardzero): Likewise.
48273         (remainder_test_downward): Likewise.
48274         (remainder_test_upward): Likewise.
48275         (remquo_test): Likewise.
48276         (rint_test): Likewise.
48277         (rint_test_tonearest): Likewise.
48278         (rint_test_towardzero): Likewise.
48279         (rint_test_downward): Likewise.
48280         (rint_test_upward): Likewise.
48281         (round_test): Likewise.
48282         (scalb_test): Likewise.
48283         (scalbn_test): Likewise.
48284         (scalbln_test): Likewise.
48285         (signbit_test): Likewise.
48286         (sin_test): Likewise.
48287         (sin_test_tonearest): Likewise.
48288         (sin_test_towardzero): Likewise.
48289         (sin_test_downward): Likewise.
48290         (sin_test_upward): Likewise.
48291         (sincos_test): Likewise.
48292         (sinh_test): Likewise.
48293         (sinh_test_tonearest): Likewise.
48294         (sinh_test_towardzero): Likewise.
48295         (sinh_test_downward): Likewise.
48296         (sinh_test_upward): Likewise.
48297         (sqrt_test): Likewise.
48298         (tan_test): Likewise.
48299         (tan_test_tonearest): Likewise.
48300         (tan_test_towardzero): Likewise.
48301         (tan_test_downward): Likewise.
48302         (tan_test_upward): Likewise.
48303         (tanh_test): Likewise.
48304         (tgamma_test): Likewise.
48305         (trunc_test): Likewise.
48306         (y0_test): Likewise.
48307         (y1_test): Likewise.
48308         (yn_test): Likewise.
48309         (significand_test): Likewise.
48311 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
48313         [BZ #15381]
48314         * libio/genops.c (_IO_no_init): Initialize wide struct info.
48316 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
48318         [BZ #14894]
48319         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
48320         __ppc_mdoio and __ppc_mdoom.
48321         * manual/platform.texi: Document new functions __ppc_yield,
48322         __ppc_mdoio and __ppc_mdoom.
48324 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
48326         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
48327         (main): Mention "tls" pseudo-hwcap is legacy.
48328         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
48330 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
48332         * math/gen-libm-test.pl (parse_args): Output only string of
48333         arguments as text for test name, not full call or descriptions of
48334         tests for extra outputs.
48335         (generate_testfile): Do not pass function name to parse_args.
48336         Generate this_func variable from START.
48337         * math/libm-test.inc (struct test_f_f_data): Rename test_name
48338         field to arg_str.
48339         (struct test_ff_f_data): Likewise.
48340         (test_ff_f_data_nexttoward): Likewise.
48341         (struct test_fi_f_data): Likewise.
48342         (struct test_fl_f_data): Likewise.
48343         (struct test_if_f_data): Likewise.
48344         (struct test_fff_f_data): Likewise.
48345         (struct test_c_f_data): Likewise.
48346         (struct test_f_f1_data): Likewise.  Remove field extra_name.
48347         (struct test_fF_f1_data): Likewise.
48348         (struct test_ffI_f1_data): Likewise.
48349         (struct test_c_c_data): Rename test_name field to arg_str.
48350         (struct test_cc_c_data): Likewise.
48351         (struct test_f_i_data): Likewise.
48352         (struct test_ff_i_data): Likewise.
48353         (struct test_f_l_data): Likewise.
48354         (struct test_f_L_data): Likewise.
48355         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
48356         and extra2_name.
48357         (COMMON_TEST_SETUP): New macro.
48358         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
48359         (COMMON_TEST_CLEANUP): Likewise.
48360         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
48361         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
48362         macros.
48363         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
48364         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
48365         macros.
48366         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
48367         (RUN_TEST_fff_f): Take argument string.  Call new setup and
48368         cleanup macros.
48369         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
48370         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
48371         macros.
48372         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
48373         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
48374         macros.
48375         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
48376         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
48377         cleanup macros.
48378         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
48379         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
48380         cleanup macros.
48381         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
48382         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
48383         cleanup macros.
48384         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
48385         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
48386         macros.
48387         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
48388         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
48389         macros.
48390         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
48391         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
48392         macros.
48393         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
48394         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
48395         cleanup macros.
48396         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
48397         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
48398         cleanup macros.
48399         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
48400         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
48401         macros.
48402         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
48403         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
48404         cleanup macros.
48405         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
48406         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
48407         macros.
48408         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
48409         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
48410         macros.
48411         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
48412         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
48413         cleanup macros.
48414         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
48416 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
48418         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
48419         to _sifields.sigfault.
48420         (si_addr_lsb): Define new macro.
48421         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
48422         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
48423         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
48425 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
48427         [BZ #15441]
48428         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
48429         returns -1.
48430         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
48431         null return -1.
48432         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
48433         loading the domain.
48435 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
48437         * math/gen-libm-test.pl (parse_args): Do not include expected
48438         result in test name.
48439         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
48440         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
48441         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
48442         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
48443         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
48444         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48446 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
48448         * benchtests/Makefile: Sort function entries.
48450         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
48451         tanh, asinh, acosh, atanh.
48452         * benchtests/acos-inputs: New file.
48453         * benchtests/acosh-inputs: New file.
48454         * benchtests/asin-inputs: New file.
48455         * benchtests/asinh-inputs: New file.
48456         * benchtests/atanh-inputs: New file.
48457         * benchtests/cosh-inputs: New file.
48458         * benchtests/log-inputs: New file.
48459         * benchtests/sinh-inputs: New file.
48460         * benchtests/tanh-inputs: New file.
48462 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
48464         [BZ #15339]
48465         * posix/tst-getaddrinfo4.c: New test.
48466         * posix/Makefile (tests): Add it.
48468 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
48470         [BZ #15339]
48471         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
48472         when no services were used.
48473         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
48474         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
48476 2013-05-21  Andreas Schwab  <schwab@suse.de>
48478         [BZ #15014]
48479         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
48480         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
48481         successful.
48482         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
48483         redundant variable declarations and reallocation of buffer when
48484         parsing as IPv6 address.  Always set NSS status when called from
48485         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
48486         buffer too small.  Correct computation of needed size.
48487         * nss/Makefile (tests): Add test-digits-dots.
48488         * nss/test-digits-dots.c: New test.
48490 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
48492         * benchtests/Makefile: Remove instructions for adding
48493         benchmark tests.
48494         * benchtests/README: New file to explain how to execute and
48495         enhance the benchmark tests.
48497 2013-05-21  Andreas Schwab  <schwab@suse.de>
48499         [BZ #15493]
48500         * setjmp/Makefile (tests): Add tst-sigsetjmp.
48501         * setjmp/tst-sigsetjmp.c: New test.
48503 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
48505         * sysdeps/x86_64/memset.S (memset): New implementation.
48506         (__bzero): Likewise.
48507         (__memset_tail): New function.
48509 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
48511         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
48512         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
48513         __memcpy_sse2_unaligned ifunc selection.
48514         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
48515         Add memcpy-sse2-unaligned.S.
48516         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
48517         Add: __memcpy_sse2_unaligned.
48519 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
48521         [BZ #15490]
48522         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
48523         math_force_eval before restoring floating-point envrionment.
48524         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
48525         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
48526         Likewise.
48527         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
48528         <math_private.h>.
48529         (__nearbyintl): Use math_force_eval before restoring
48530         floating-point environment.
48531         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
48533         * math/gen-libm-test.pl (special_functions): Remove.
48534         (parse_args): Don't handle TEST_extra.  Handle functions with no
48535         return value.
48536         * math/libm-test.inc (struct test_sincos_data): Replace with
48537         struct test_fFF_11_data.
48538         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
48539         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
48540         (sincos_test_data): Change element type to struct
48541         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
48542         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
48543         RUN_TEST_LOOP_sincos.
48544         * math/README.libm-test: Don't mention special handling of
48545         individual functions.
48546         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
48547         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
48548         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
48549         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
48550         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
48551         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48553         * math/gen-libm-test.pl (get_variable): Remove function.
48554         (parse_args): Don't show pointer parameters to call in test
48555         names.  Use "extra output N" in test names for extra outputs
48556         rather than naming variables.
48558 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
48560         [BZ #15488]
48561         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
48562         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
48563         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
48564         double tests.
48565         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
48566         disable.
48567         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
48568         check_long_double.
48570         * math/gen-libm-test.pl (@tests): Remove variable.
48571         ($count): Likewise.
48572         (new_test): Remove function.
48573         (show_exceptions): New function.
48574         (special_functions): Use show_exceptions instead of new_test.
48575         (parse_args): Likewise.
48576         (generate_testfile): Pass only function name in generated call to
48577         print_max_error or print_complex_max_error.
48578         (get_ulps): Do not handle complex tests specially.
48579         (output_test): Rename to ...
48580         (get_all_ulps_for_test): ... this.  Return a string rather than
48581         printing to a file.  Require ulps to be present.
48582         (output_ulps): Generate arrays rather than #defines.
48583         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
48584         (struct ulp_data): New type.
48585         (BUILD_COMPLEX_ULP): Remove macro.
48586         (compare_ulp_data): New function.
48587         (find_ulps): Likewise.
48588         (find_test_ulps): Likewise.
48589         (find_function_ulps): Likewise.
48590         (find_complex_function_ulps): Likewise.
48591         (print_max_error): Determine allowed ulps using
48592         find_function_ulps.
48593         (print_complex_max_error): Determine allowed ulps using
48594         find_complex_function_ulps.
48595         (check_float_internal): Determine max ulps using find_test_ulps.
48596         (check_float): Do not take max_ulp parameter.  Update call to
48597         check_float_internal.
48598         (check_complex): Likewise.
48599         (check_int): Do not take max_ulp parameter.
48600         (check_long): Likewise.
48601         (check_bool): Likewise.
48602         (check_longlong): Likewise.
48603         (struct test_f_f_data): Remove max_ulp field.
48604         (struct test_ff_f_data): Likewise.
48605         (struct test_ff_f_data_nexttoward): Likewise.
48606         (struct test_fi_f_data): Likewise.
48607         (struct test_fl_f_data): Likewise.
48608         (struct test_if_f_data): Likewise.
48609         (struct test_fff_f_data): Likewise.
48610         (struct test_c_f_data): Likewise.
48611         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
48612         (struct test_fF_f1_data): Likewise.
48613         (struct test_ffI_f1_data): Likewise.
48614         (struct test_c_c_data): Remove max_ulp field.
48615         (struct test_cc_c_data): Likewise.
48616         (struct test_f_i_data): Likewise.
48617         (struct test_ff_i_data): Likewise.
48618         (struct test_f_l_data): Likewise.
48619         (struct test_f_L_data): Likewise.
48620         (struct test_sincos_data): Likewise.
48621         (RUN_TEST_f_f): Do not handle ulps.
48622         (RUN_TEST_LOOP_f_f): Likewise.
48623         (RUN_TEST_2_f): Likewise.
48624         (RUN_TEST_LOOP_2_f): Likewise.
48625         (RUN_TEST_fff_f): Likewise.
48626         (RUN_TEST_LOOP_fff_f): Likewise.
48627         (RUN_TEST_c_f): Likewise.
48628         (RUN_TEST_LOOP_c_f): Likewise.
48629         (RUN_TEST_f_f1): Likewise.
48630         (RUN_TEST_LOOP_f_f1): Likewise.
48631         (RUN_TEST_fF_f1): Likewise.
48632         (RUN_TEST_LOOP_fF_f1): Likewise.
48633         (RUN_TEST_fI_f1): Likewise.
48634         (RUN_TEST_LOOP_fI_f1): Likewise.
48635         (RUN_TEST_ffI_f1): Likewise.
48636         (RUN_TEST_LOOP_ffI_f1): Likewise.
48637         (RUN_TEST_c_c): Likewise.
48638         (RUN_TEST_LOOP_c_c): Likewise.
48639         (RUN_TEST_cc_c): Likewise.
48640         (RUN_TEST_LOOP_cc_c): Likewise.
48641         (RUN_TEST_f_i): Likewise.
48642         (RUN_TEST_LOOP_f_i): Likewise.
48643         (RUN_TEST_f_i_tg): Likewise.
48644         (RUN_TEST_LOOP_f_i_tg): Likewise.
48645         (RUN_TEST_ff_i_tg): Likewise.
48646         (RUN_TEST_LOOP_ff_i_tg): Likewise.
48647         (RUN_TEST_f_b): Likewise.
48648         (RUN_TEST_LOOP_f_b): Likewise.
48649         (RUN_TEST_f_b_tg): Likewise.
48650         (RUN_TEST_LOOP_f_b_tg): Likewise.
48651         (RUN_TEST_f_l): Likewise.
48652         (RUN_TEST_LOOP_f_l): Likewise.
48653         (RUN_TEST_f_L): Likewise.
48654         (RUN_TEST_LOOP_f_L): Likewise.
48655         (RUN_TEST_sincos): Likewise.
48656         (RUN_TEST_LOOP_sincos): Likewise.
48658 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
48660         [BZ #15480]
48661         [BZ #15485]
48662         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
48663         main case of finite arguments, set rounding mode to FE_TONEAREST
48664         and discard exceptions.
48665         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
48666         exceptions.
48667         (remainder_tonearest_test_data): New variable.
48668         (remainder_test_tonearest): New function.
48669         (remainder_towardzero_test_data): New variable.
48670         (remainder_test_towardzero): New function.
48671         (remainder_downward_test_data): New variable.
48672         (remainder_test_downward): New function.
48673         (remainder_upward_test_data): New variable.
48674         (remainder_test_upward): New function.
48675         (main): Call the new test functions.
48677         * math/libm-test.inc (struct test_f_f1_data): Remove field
48678         extra_init.
48679         (struct test_fF_f1_data): Likewise.
48680         (struct test_ffI_f1_data): Likewise.
48681         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
48682         based on value of EXTRA_EXPECTED.
48683         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
48684         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
48685         EXTRA_VAR based on value of EXTRA_EXPECTED.
48686         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
48687         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
48688         EXTRA_VAR based on value of EXTRA_EXPECTED.
48689         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
48690         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
48691         EXTRA_VAR based on value of EXTRA_EXPECTED.
48692         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
48693         * math/gen-libm-test.pl (parse_args): Don't output initializers
48694         for extra output values.
48696         * math/libm-test.inc (check_int): Expect result to be exactly
48697         equal to expected value and do not handle ulps.
48698         (check_long): Likewise.
48699         (check_longlong): Likewise.
48701         * math/libm-test.inc (ceil_test_data): Test for "inexact"
48702         exceptions.
48703         (cimag_test_data): Likewise.
48704         (conj_test_data): Likewise.
48705         (copysign_test_data): Likewise.
48706         (cproj_test_data): Likewise.
48707         (creal_test_data): Likewise.
48708         (fabs_test_data): Likewise.
48709         (fdim_test_data): Likewise.
48710         (finite_test_data): Likewise.
48711         (floor_test_data): Likewise.
48712         (fmax_test_data): Likewise.
48713         (fmin_test_data): Likewise.
48714         (fmod_test_data): Likewise.
48715         (fpclassify_test_data): Likewise.
48716         (frexp_test_data): Likewise.
48717         (ilogb_test_data): Likewise.
48718         (isfinite_test_data): Likewise.
48719         (isgreater_test_data): Likewise.
48720         (isgreaterequal_test_data): Likewise.
48721         (isinf_test_data): Likewise.
48722         (isless_test_data): Likewise.
48723         (islessequal_test_data): Likewise.
48724         (islessgreater_test_data): Likewise.
48725         (isnan_test_data): Likewise.
48726         (isnormal_test_data): Likewise.
48727         (issignaling_test_data): Likewise.
48728         (isunordered_test_data): Likewise.
48729         (ldexp_test_data): Likewise.
48730         (lrint_test_data): Likewise.
48731         (lrint_test_data) [TEST_FLOAT]: Disable one test.
48732         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
48733         (lrint_tonearest_test_data): Test for "inexact" exceptions.
48734         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
48735         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
48736         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
48737         test input.
48738         (lrint_towardzero_test_data): Test for "inexact" exceptions.
48739         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
48740         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
48741         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
48742         that test input.
48743         (lrint_downward_test_data): Test for "inexact" exceptions.
48744         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
48745         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
48746         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
48747         test input.
48748         (lrint_upward_test_data): Test for "inexact" exceptions.
48749         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
48750         test input.
48751         (llrint_test_data): Test for "inexact" exceptions.
48752         (llrint_test_data) [TEST_FLOAT]: Disable one test.
48753         (llrint_tonearest_test_data): Test for "inexact" exceptions.
48754         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
48755         (llrint_towardzero_test_data): Test for "inexact" exceptions.
48756         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
48757         (llrint_downward_test_data): Test for "inexact" exceptions.
48758         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
48759         (llrint_upward_test_data): Test for "inexact" exceptions.
48760         (logb_test_data): Likewise.
48761         (logb_downward_test_data): Likewise.
48762         (nextafter_test_data): Likewise.
48763         (nexttoward_test_data): Likewise.
48764         (remainder_test_data): Likewise.
48765         (remquo_test_data): Likewise.
48766         (scalbn_test_data): Likewise.
48767         (scalbln_test_data): Likewise.
48768         (signbit_test_data): Likewise.
48769         (sqrt_test_data): Likewise.
48770         (significand_test_data): Likewise.
48772 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
48774         [BZ #15424]
48775         * benchtests/bench-modf.c (struct args): Mark arg0 as
48776         volatile.
48777         * scripts/bench.pl: Mark members of struct args as volatile.
48779 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48781         [BZ # 15497]
48782         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
48783         negative infinity on POWER6 or lower.
48784         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
48786 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
48788         [BZ #15442]
48789         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
48790         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
48791         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
48792         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
48793         (_FP_SETQNAN): New macro.
48794         (_FP_SETQNAN_SEMIRAW): Likewise.
48795         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
48796         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
48797         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
48798         (FP_EXTEND): Use _FP_FRAC_SNANP.
48799         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
48800         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
48801         into account.
48802         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
48803         New macro.
48804         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
48805         Likewise.
48807 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
48809         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
48810         with DIVIDE_BY_ZERO_EXCEPTION.
48811         (gamma_test_data): Likewise.
48812         (lgamma_test_data): Likewise.
48813         (log_test_data): Likewise.
48814         (log10_test_data): Likewise.
48815         (log2_test_data): Likewise.
48816         (tgamma_test_data): Likewise.
48818         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
48819         (acos_test_tonearest): Likewise.
48820         (acos_test_towardzero): Likewise.
48821         (acos_test_downward): Likewise.
48822         (acos_test_upward): Likewise.
48823         (acosh_test): Likewise.
48824         (asin_test): Likewise.
48825         (asin_test_tonearest): Likewise.
48826         (asin_test_towardzero): Likewise.
48827         (asin_test_downward): Likewise.
48828         (asin_test_upward): Likewise.
48829         (asinh_test): Likewise.
48830         (atan_test): Likewise.
48831         (atanh_test): Likewise.
48832         (atan2_test): Likewise.
48833         (cabs_test): Likewise.
48834         (cacos_test): Likewise.
48835         (cacosh_test): Likewise.
48836         (casin_test): Likewise.
48837         (casinh_test): Likewise.
48838         (catan_test): Likewise.
48839         (catanh_test): Likewise.
48840         (cbrt_test): Likewise.
48841         (ccos_test): Likewise.
48842         (ccosh_test): Likewise.
48843         (cexp_test): Likewise.
48844         (clog_test): Likewise.
48845         (clog10_test): Likewise.
48846         (cos_test): Likewise.
48847         (cos_test_tonearest): Likewise.
48848         (cos_test_towardzero): Likewise.
48849         (cos_test_downward): Likewise.
48850         (cos_test_upward): Likewise.
48851         (cosh_test): Likewise.
48852         (cosh_test_tonearest): Likewise.
48853         (cosh_test_towardzero): Likewise.
48854         (cosh_test_downward): Likewise.
48855         (cosh_test_upward): Likewise.
48856         (cpow_test): Likewise.
48857         (csin_test): Likewise.
48858         (csinh_test): Likewise.
48859         (csqrt_test): Likewise.
48860         (ctan_test): Likewise.
48861         (ctan_test_tonearest): Likewise.
48862         (ctan_test_towardzero): Likewise.
48863         (ctan_test_downward): Likewise.
48864         (ctan_test_upward): Likewise.
48865         (ctanh_test): Likewise.
48866         (ctanh_test_tonearest): Likewise.
48867         (ctanh_test_towardzero): Likewise.
48868         (ctanh_test_downward): Likewise.
48869         (ctanh_test_upward): Likewise.
48870         (erf_test): Likewise.
48871         (erfc_test): Likewise.
48872         (exp_test): Likewise.
48873         (exp_test_tonearest): Likewise.
48874         (exp_test_towardzero): Likewise.
48875         (exp_test_downward): Likewise.
48876         (exp_test_upward): Likewise.
48877         (exp10_test): Likewise.
48878         (exp2_test): Likewise.
48879         (expm1_test): Likewise.
48880         (fmod_test): Likewise.
48881         (gamma_test): Likewise.
48882         (hypot_test): Likewise.
48883         (j0_test): Likewise.
48884         (j1_test): Likewise.
48885         (jn_test): Likewise.
48886         (lgamma_test): Likewise.
48887         (log_test): Likewise.
48888         (log10_test): Likewise.
48889         (log1p_test): Likewise.
48890         (log2_test): Likewise.
48891         (logb_test_downward): Likewise.
48892         (pow_test): Likewise.
48893         (pow_test_tonearest): Likewise.
48894         (pow_test_towardzero): Likewise.
48895         (pow_test_downward): Likewise.
48896         (pow_test_upward): Likewise.
48897         (remainder_test): Likewise.
48898         (remquo_test): Likewise.
48899         (sin_test): Likewise.
48900         (sin_test_tonearest): Likewise.
48901         (sin_test_towardzero): Likewise.
48902         (sin_test_downward): Likewise.
48903         (sin_test_upward): Likewise.
48904         (sincos_test): Likewise.
48905         (sinh_test): Likewise.
48906         (sinh_test_tonearest): Likewise.
48907         (sinh_test_towardzero): Likewise.
48908         (sinh_test_downward): Likewise.
48909         (sinh_test_upward): Likewise.
48910         (sqrt_test): Likewise.
48911         (tan_test): Likewise.
48912         (tan_test_tonearest): Likewise.
48913         (tan_test_towardzero): Likewise.
48914         (tan_test_downward): Likewise.
48915         (tan_test_upward): Likewise.
48916         (tanh_test): Likewise.
48917         (tgamma_test): Likewise.
48918         (y0_test): Likewise.
48919         (y1_test): Likewise.
48920         (yn_test): Likewise.
48922         * math/gen-libm-test.pl (adjust_arg): Remove function.
48923         (special_function): Remove argument $in_func.  Only handle
48924         generating output for tables of tests, not inside functions.
48925         (parse_args): Likewise.
48926         (generate_testfile): Remove variable $in_func.  Update call to
48927         parse_args.
48928         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
48929         (MINUS_ZERO_INIT): Rename macro to minus_zero.
48930         (PLUS_INFTY_INIT): Rename macro to plus_infty.
48931         (MINUS_INFTY_INIT): Rename macro to minus_infty.
48932         (QNAN_VALUE_INIT): Rename macro to qnan_value.
48933         (MAX_VALUE_INIT): Rename macro to max_value.
48934         (MIN_VALUE_INIT): Rename macro to min_value.
48935         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
48936         (plus_zero): Remove variable.
48937         (minus_zero): Likewise.
48938         (plus_infty): Likewise.
48939         (minus_infty): Likewise.
48940         (qnan_value): Likewise.
48941         (max_value): Likewise.
48942         (min_value): Likewise.
48943         (min_subnorm_value): Likewise.
48945 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
48947         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
48948         uint64_t or uint32_t usage.
48949         * crypt/sha256-block.c: Likewise.
48950         * crypt/sha256-crypt.c: Likewise.
48951         * crypt/sha256.c: Likewise.
48952         * crypt/sha512-block.c: Likewise.
48953         * crypt/sha512-crypt.c: Likewise.
48954         * crypt/sha512.c: Likewise.
48955         * debug/backtrace-tst.c: Likewise.
48956         * debug/pcprofiledump.c: Likewise.
48957         * elf/cache.c: Likewise.
48958         * elf/dl-cache.c: Likewise.
48959         * elf/dl-misc.c: Likewise.
48960         * elf/dl-profile.c: Likewise.
48961         * elf/dl-support.c: Likewise.
48962         * elf/ldconfig.c: Likewise.
48963         * elf/sprof.c: Likewise.
48964         * iconv/dummy-repertoire.c: Likewise.
48965         * iconv/iconv_charmap.c: Likewise.
48966         * iconv/skeleton.c: Likewise.
48967         * iconvdata/8bit-generic.c: Likewise.
48968         * iconvdata/cp737.h: Likewise.
48969         * iconvdata/cp775.h: Likewise.
48970         * iconvdata/ibm1008.h: Likewise.
48971         * iconvdata/ibm1025.h: Likewise.
48972         * iconvdata/ibm1046.h: Likewise.
48973         * iconvdata/ibm1097.h: Likewise.
48974         * iconvdata/ibm1112.h: Likewise.
48975         * iconvdata/ibm1122.h: Likewise.
48976         * iconvdata/ibm1123.h: Likewise.
48977         * iconvdata/ibm1124.h: Likewise.
48978         * iconvdata/ibm1129.h: Likewise.
48979         * iconvdata/ibm1130.h: Likewise.
48980         * iconvdata/ibm1132.h: Likewise.
48981         * iconvdata/ibm1133.h: Likewise.
48982         * iconvdata/ibm1137.h: Likewise.
48983         * iconvdata/ibm1140.h: Likewise.
48984         * iconvdata/ibm1141.h: Likewise.
48985         * iconvdata/ibm1142.h: Likewise.
48986         * iconvdata/ibm1143.h: Likewise.
48987         * iconvdata/ibm1144.h: Likewise.
48988         * iconvdata/ibm1145.h: Likewise.
48989         * iconvdata/ibm1146.h: Likewise.
48990         * iconvdata/ibm1147.h: Likewise.
48991         * iconvdata/ibm1148.h: Likewise.
48992         * iconvdata/ibm1149.h: Likewise.
48993         * iconvdata/ibm1153.h: Likewise.
48994         * iconvdata/ibm1154.h: Likewise.
48995         * iconvdata/ibm1155.h: Likewise.
48996         * iconvdata/ibm1156.h: Likewise.
48997         * iconvdata/ibm1157.h: Likewise.
48998         * iconvdata/ibm1158.h: Likewise.
48999         * iconvdata/ibm1160.h: Likewise.
49000         * iconvdata/ibm1161.h: Likewise.
49001         * iconvdata/ibm1162.h: Likewise.
49002         * iconvdata/ibm1163.h: Likewise.
49003         * iconvdata/ibm1164.h: Likewise.
49004         * iconvdata/ibm1166.h: Likewise.
49005         * iconvdata/ibm1167.h: Likewise.
49006         * iconvdata/ibm12712.h: Likewise.
49007         * iconvdata/ibm1390.h: Likewise.
49008         * iconvdata/ibm1399.h: Likewise.
49009         * iconvdata/ibm16804.h: Likewise.
49010         * iconvdata/ibm4517.h: Likewise.
49011         * iconvdata/ibm4899.h: Likewise.
49012         * iconvdata/ibm4909.h: Likewise.
49013         * iconvdata/ibm4971.h: Likewise.
49014         * iconvdata/ibm5347.h: Likewise.
49015         * iconvdata/ibm803.h: Likewise.
49016         * iconvdata/ibm856.h: Likewise.
49017         * iconvdata/ibm901.h: Likewise.
49018         * iconvdata/ibm902.h: Likewise.
49019         * iconvdata/ibm9030.h: Likewise.
49020         * iconvdata/ibm9066.h: Likewise.
49021         * iconvdata/ibm921.h: Likewise.
49022         * iconvdata/ibm922.h: Likewise.
49023         * iconvdata/ibm9448.h: Likewise.
49024         * iconvdata/isiri-3342.h: Likewise.
49025         * iconvdata/jis0201.h: Likewise.
49026         * include/link.h: Likewise.
49027         * include/netdb.h: Likewise.
49028         * inet/check_native.c: Likewise.
49029         * inet/check_pf.c: Likewise.
49030         * inet/getipv4sourcefilter.c: Likewise.
49031         * inet/getnameinfo.c: Likewise.
49032         * inet/getsourcefilter.c: Likewise.
49033         * inet/htonl.c: Likewise.
49034         * inet/setipv4sourcefilter.c: Likewise.
49035         * inet/setsourcefilter.c: Likewise.
49036         * inet/test-inet6_opt.c: Likewise.
49037         * inet/tst-network.c: Likewise.
49038         * locale/C-collate.c: Likewise.
49039         * locale/C-ctype.c: Likewise.
49040         * locale/C-time.c: Likewise.
49041         * locale/C-translit.h: Likewise.
49042         * locale/loadarchive.c: Likewise.
49043         * locale/programs/3level.h: Likewise.
49044         * locale/programs/charmap.c: Likewise.
49045         * locale/programs/charmap.h: Likewise.
49046         * locale/programs/ld-address.c: Likewise.
49047         * locale/programs/ld-collate.c: Likewise.
49048         * locale/programs/ld-ctype.c: Likewise.
49049         * locale/programs/ld-identification.c: Likewise.
49050         * locale/programs/ld-measurement.c: Likewise.
49051         * locale/programs/ld-messages.c: Likewise.
49052         * locale/programs/ld-monetary.c: Likewise.
49053         * locale/programs/ld-name.c: Likewise.
49054         * locale/programs/ld-numeric.c: Likewise.
49055         * locale/programs/ld-paper.c: Likewise.
49056         * locale/programs/ld-telephone.c: Likewise.
49057         * locale/programs/ld-time.c: Likewise.
49058         * locale/programs/linereader.c: Likewise.
49059         * locale/programs/locale.c: Likewise.
49060         * locale/programs/locarchive.c: Likewise.
49061         * locale/programs/locfile.h: Likewise.
49062         * locale/programs/repertoire.c: Likewise.
49063         * locale/programs/simple-hash.c: Likewise.
49064         * locale/programs/simple-hash.h: Likewise.
49065         * malloc/memusage.c: Likewise.
49066         * malloc/memusagestat.c: Likewise.
49067         * nis/nis_defaults.c: Likewise.
49068         * nis/nis_hash.c: Likewise.
49069         * nis/nis_print.c: Likewise.
49070         * nis/nis_xdr.c: Likewise.
49071         * nscd/connections.c: Likewise.
49072         * nscd/hstcache.c: Likewise.
49073         * nscd/nscd_gethst_r.c: Likewise.
49074         * nscd/nscd_getserv_r.c: Likewise.
49075         * nscd/nscd_helper.c: Likewise.
49076         * nscd/servicescache.c: Likewise.
49077         * nss/makedb.c: Likewise.
49078         * nss/nss_db/db-XXX.c: Likewise.
49079         * nss/nss_db/db-initgroups.c: Likewise.
49080         * nss/nss_db/db-netgrp.c: Likewise.
49081         * nss/nss_files/files-network.c: Likewise.
49082         * nss/nss_files/files-parse.c: Likewise.
49083         * posix/bug-regex5.c: Likewise.
49084         * posix/fnmatch_loop.c: Likewise.
49085         * posix/regcomp.c: Likewise.
49086         * posix/regexec.c: Likewise.
49087         * posix/tst-rfc3484-2.c: Likewise.
49088         * posix/tst-rfc3484-3.c: Likewise.
49089         * posix/tst-rfc3484.c: Likewise.
49090         * resolv/nss_dns/dns-canon.c: Likewise.
49091         * resolv/nss_dns/dns-network.c: Likewise.
49092         * resolv/res_init.c: Likewise.
49093         * resolv/res_mkquery.c: Likewise.
49094         * resolv/tst-aton.c: Likewise.
49095         * stdlib/cxa_atexit.c: Likewise.
49096         * stdlib/cxa_finalize.c: Likewise.
49097         * stdlib/gen-fpioconst.c: Likewise.
49098         * stdlib/strtol_l.c: Likewise.
49099         * string/tst-endian.c: Likewise.
49100         * sunrpc/auth_des.c: Likewise.
49101         * sunrpc/clnt_udp.c: Likewise.
49102         * sunrpc/rtime.c: Likewise.
49103         * sunrpc/svcauth_des.c: Likewise.
49104         * sunrpc/xdr.c: Likewise.
49105         * sunrpc/xdr_intXX_t.c: Likewise.
49106         * sunrpc/xdr_rec.c: Likewise.
49107         * sysdeps/generic/ldconfig.h: Likewise.
49108         * sysdeps/generic/ldsodefs.h: Likewise.
49109         * sysdeps/generic/memusage.h: Likewise.
49110         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
49111         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
49112         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
49113         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
49114         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
49115         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
49116         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
49117         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
49118         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
49119         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
49120         * sysdeps/posix/getaddrinfo.c: Likewise.
49121         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
49122         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
49123         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
49124         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
49125         * sysdeps/powerpc/test-gettimebase.c: Likewise.
49126         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
49127         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
49128         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
49129         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
49130         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
49131         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
49132         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
49133         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
49134         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
49135         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
49136         * sysdeps/x86_64/dl-tls.h: Likewise.
49137         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
49138         * time/alt_digit.c: Likewise.
49139         * time/era.c: Likewise.
49140         * wcsmbs/tst-c16c32-1.c: Likewise.
49142 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
49144         * math/libm-test.inc (struct test_sincos_data): New type.
49145         (RUN_TEST_LOOP_sincos): New macro.
49146         (sincos_test_data): New variable.
49147         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
49149 2013-05-16  Richard Henderson  <rth@redhat.com>
49151         * math/atest-exp2.c (LIMB64): New macro.
49152         (CONSTSZ): New macro.
49153         (mp_exp1, mp_exp_m1, mp_log2): New variables.
49154         (hexdig): Move ...
49155         (print_mpn_fp): ... to function scope.
49156         (read_mpn_hex): Remove.
49157         (get_log2): Remove.
49158         (exp2_mpn): Use mp_log2.
49159         (main): Use mp_exp1.
49161 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
49163         * math/libm-test.inc: Remove comment about not testing "inexact"
49164         exceptions.
49165         (INEXACT_EXCEPTION): New macro.
49166         (NO_INEXACT_EXCEPTION): Likewise.
49167         (INVALID_EXCEPTION_OK): Update value.
49168         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
49169         (OVERFLOW_EXCEPTION_OK): Likewise.
49170         (UNDERFLOW_EXCEPTION_OK): Likewise.
49171         (IGNORE_ZERO_INF_SIGN): Likewise.
49172         (ERRNO_UNCHANGED): Likewise.
49173         (ERRNO_EDOM): Likewise.
49174         (ERRNO_ERANGE): Likewise.
49175         (test_exceptions): Handle testing "inexact" exceptions.
49176         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
49177         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
49178         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
49179         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
49180         INEXACT_EXCEPTION.
49181         (rint_towardzero_test_data): Likewise.
49182         (rint_downward_test_data): Likewise.
49183         (rint_upward_test_data): Likewise.
49185         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
49186         with OVERFLOW_EXCEPTION.
49187         (exp10_test_data): Likewise.
49188         (exp2_test_data): Likewise.
49189         (expm1_test_data): Likewise.
49190         (lgamma_test_data): Likewise.
49191         (pow_test_data): Likewise.
49192         (tgamma_test_data): Likewise.
49193         (yn_test_data): Remove duplicate test of overflow.
49195         * math/libm-test.inc (struct test_cc_c_data): New type.
49196         (RUN_TEST_LOOP_cc_c): New macro.
49197         (cpow_test_data): New variable.
49198         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
49200         * math/libm-test.inc (struct test_f_L_data): New type.
49201         (RUN_TEST_LOOP_f_L): New macro.
49202         (llrint_test_data): New variable.
49203         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
49204         (llrint_tonearest_test_data): New variable.
49205         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
49206         (llrint_towardzero_test_data): New variable.
49207         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
49208         (llrint_downward_test_data): New variable.
49209         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
49210         (llrint_upward_test_data): New variable.
49211         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
49212         (llround_test_data): New variable.
49213         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
49215 2013-05-13  Peter Collingbourne  <pcc@google.com>
49217         * math/atest-exp2.c (get_log2): Remove const attribute.
49219 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
49221         * math/libm-test.inc (struct test_f_l_data): New type.
49222         (RUN_TEST_LOOP_f_l): New macro.
49223         (lrint_test_data): New variable.
49224         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
49225         (lrint_tonearest_test_data): New variable.
49226         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
49227         (lrint_towardzero_test_data): New variable.
49228         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
49229         (lrint_downward_test_data): New variable.
49230         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
49231         (lrint_upward_test_data): New variable.
49232         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
49233         (lround_test_data): New variable.
49234         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
49236 2013-05-15  Peter Collingbourne  <pcc@google.com>
49238         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
49239         (EXTRACT_WORDS64) Use where appropriate.
49240         (INSERT_WORDS64) Likewise.
49242         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
49243         constraints with x constraints.
49244         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
49246         * malloc/obstack.c (_obstack_compat): Add initializer.
49248 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
49250         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
49251         si_trapno and add si_addr_lsb to _sifields.sigfault.
49252         (si_trapno): Remove macro.
49253         (si_addr_lsb): Define new macro.
49254         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
49256 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
49258         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
49259         instead of TEST_f_l.
49260         (llrint_test_tonearest): Likewise.
49261         (llrint_test_towardzero): Likewise.
49262         (llrint_test_downward): Likewise.
49263         (llrint_test_upward): Likewise.
49264         (llround_test): Likewise.
49266         * math/libm-test.inc (struct test_f_i_data): Add comment.
49267         (RUN_TEST_LOOP_f_b): New macro.
49268         (RUN_TEST_LOOP_f_b_tg): Likewise.
49269         (finite_test_data): New variable.
49270         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
49271         (isfinite_test_data): New variable.
49272         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
49273         (isinf_test_data): New variable.
49274         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
49275         (isnan_test_data): New variable.
49276         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
49277         (isnormal_test_data): New variable.
49278         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
49279         (issignaling_test_data): New variable.
49280         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
49281         (signbit_test_data): New variable.
49282         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
49284         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
49285         with INVALID_EXCEPTION.
49286         (acosh_test_data): Likewise.
49287         (asin_test_data): Likewise.
49288         (atanh_test_data): Likewise.
49289         (fmod_test_data): Likewise.
49290         (log_test_data): Likewise.
49291         (log10_test_data): Likewise.
49292         (log2_test_data): Likewise.
49293         (pow_test_data): Likewise.
49294         (sqrt_test_data): Likewise.
49295         (y0_test_data): Likewise.
49296         (y1_test_data): Likewise.
49297         (yn_test_data): Likewise.
49299         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
49300         function contents.
49302         * math/libm-test.inc (struct test_ff_i_data): New type.
49303         (RUN_TEST_LOOP_ff_i_tg): New macro.
49304         (isgreater_test_data): New variable.
49305         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
49306         (isgreaterequal_test_data): New variable.
49307         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
49308         (isless_test_data): New variable.
49309         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
49310         (islessequal_test_data): New variable.
49311         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
49312         (islessgreater_test_data): New variable.
49313         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
49314         (isunordered_test_data): New variable.
49315         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
49317 2013-05-14  David S. Miller  <davem@davemloft.net>
49319         * sysdeps/sparc/fpu/libm-test-ulps: Update.
49321 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
49323         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
49325         * math/libm-test.inc (struct test_fF_f1_data): Change type of
49326         extra_test to int.
49327         (struct test_f_i_data): Change type of max_ulp to int.
49329         * math/libm-test.inc (test_ffI_f1_data): New type.
49330         (RUN_TEST_LOOP_ffI_f1): New macro.
49331         (remquo_test_data): New variable.
49332         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
49334         * setjmp/tst-setjmp-fp.c: New file.
49335         * setjmp/Makefile (tests): Add tst-setjmp-fp.
49336         (link-libm): New variable.
49337         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
49339         * math/libm-test.inc (struct test_f_i_data): New type.
49340         (RUN_TEST_LOOP_f_i): New macro.
49341         (RUN_TEST_LOOP_f_i_tg): Likewise.
49342         (fpclassify_test_data): New variable.
49343         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
49344         (ilogb_test_data): New variable.
49345         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
49347         * math/libm-test.inc (scalbln_test): Correct function name in END
49348         call.
49350         * math/libm-test.inc (struct test_f_f1_data): Add comment.
49351         (RUN_TEST_LOOP_fI_f1): New macro.
49352         (frexp_test_data): New variable.
49353         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
49355         * math/libm-test.inc (struct test_fF_f1_data): New type.
49356         (RUN_TEST_LOOP_fF_f1): New macro.
49357         (modf_test_data): New variable.
49358         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
49360         * math/libm-test.inc (struct test_f_f1_data): New type.
49361         (RUN_TEST_LOOP_f_f1): New macro.
49362         (gamma_test_data): New variable.
49363         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
49364         (lgamma_test_data): New variable.
49365         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
49367 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
49369         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
49370         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
49371         (main): Comment "tls" pseudo-hwcap.
49373 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
49375         * math/libm-test.inc (struct test_fl_f_data): New type.
49376         (RUN_TEST_LOOP_fl_f): New variable.
49377         (scalbln_test_data): New variable.
49378         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
49380         * math/libm-test.inc (struct test_fi_f_data): New type.
49381         (RUN_TEST_LOOP_fi_f): New macro.
49382         (ldexp_test_data): New variable.
49383         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
49384         (scalbn_test_data): New variable.
49385         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
49387         * math/libm-test.inc (struct test_c_f_data): New type.
49388         (RUN_TEST_LOOP_c_f): New macro.
49389         (cabs_test_data): New variable.
49390         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
49391         (carg_test_data): New variable.
49392         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
49393         (cimag_test_data): New variable.
49394         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
49395         (creal_test_data): New variable.
49396         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
49398         * math/libm-test.inc (struct test_if_f_data): New type.
49399         (RUN_TEST_LOOP_if_f): New macro.
49400         (jn_test_data): New variable.
49401         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
49402         (yn_test_data): New variable.
49403         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
49405         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
49407 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49409         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
49410         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
49412 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
49414         * benchtests/Makefile (CPPFLAGS-nonlib): Add
49415         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
49416         (bench-deps): Add bench-timing.h.
49417         * benchtests-bench-skeleton.c: Include bench-timing.h.
49418         (main): Use TIMING_* macros instead of clock_gettime.
49419         * benchtests/bench-timing.h: New file.
49421         [BZ #14582]
49422         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
49423         Renamed from _LIB_VERSION.
49424         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
49426 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
49428         * math/libm-test.inc (struct test_fff_f_data): New type.
49429         (RUN_TEST_LOOP_fff_f): New macro.
49430         (fma_test_data): New variable.
49431         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
49432         (fma_towardzero_test_data): New variable.
49433         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
49434         (fma_downward_test_data): New variable.
49435         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
49436         (fma_upward_test_data): New variable.
49437         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
49439         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
49440         (struct test_c_c_data): New type.
49441         (RUN_TEST_LOOP_c_c): New macro.
49442         (cacos_test_data): New variable.
49443         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
49444         (cacosh_test_data): New variable.
49445         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
49446         (casin_test_data): New variable.
49447         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
49448         (casinh_test_data): New variable.
49449         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
49450         (catan_test_data): New variable.
49451         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
49452         (catanh_test_data): New variable.
49453         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
49454         (ccos_test_data): New variable.
49455         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
49456         (ccosh_test_data): New variable.
49457         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
49458         (cexp_test_data): New variable.
49459         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
49460         (clog_test_data): New variable.
49461         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
49462         (clog10_test_data): New variable.
49463         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
49464         (conj_test_data): New variable.
49465         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
49466         (cproj_test_data): New variable.
49467         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
49468         (csin_test_data): New variable.
49469         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
49470         (csinh_test_data): New variable.
49471         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
49472         (csqrt_test_data): New variable.
49473         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
49474         (ctan_test_data): New variable.
49475         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
49476         (ctan_tonearest_test_data): New variable.
49477         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
49478         (ctan_towardzero_test_data): New variable.
49479         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
49480         (ctan_downward_test_data): New variable.
49481         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
49482         (ctan_upward_test_data): New variable.
49483         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
49484         (ctanh_test_data): New variable.
49485         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
49486         (ctanh_tonearest_test_data): New variable.
49487         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
49488         (ctanh_towardzero_test_data): New variable.
49489         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
49490         (ctanh_downward_test_data): New variable.
49491         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
49492         (ctanh_upward_test_data): New variable.
49493         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
49494         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
49495         of BUILD_COMPLEX.
49497         * math/libm-test.inc (struct test_ff_f_data): New type.
49498         (struct test_ff_f_data_nexttoward): Likewise.
49499         (RUN_TEST_LOOP_2_f): New macro.
49500         (RUN_TEST_LOOP_ff_f): Likewise.
49501         (atan2_test_data): New variable.
49502         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
49503         (copysign_test_data): New variable.
49504         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
49505         (fdim_test_data): New variable.
49506         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
49507         (fmax_test_data): New variable.
49508         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
49509         (fmin_test_data): New variable.
49510         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
49511         (fmod_test_data): New variable.
49512         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
49513         (hypot_test_data): New variable.
49514         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
49515         (nextafter_test_data): New variable.
49516         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
49517         (nexttoward_test_data): New variable.
49518         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
49519         (pow_test_data): New variable.
49520         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
49521         (pow_tonearest_test_data): New variable.
49522         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
49523         (pow_towardzero_test_data): New variable.
49524         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
49525         (pow_downward_test_data): New variable.
49526         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
49527         (pow_upward_test_data): New variable.
49528         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
49529         (remainder_test_data): New variable.
49530         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
49531         (scalb_test_data): New variable.
49532         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
49533         * sysdeps/i386/fpu/libm-test-ulps: Update.
49535 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
49537         * math/libm-test.inc (fma_test): Use max_value instead of local
49538         variable fltmax.
49539         (nextafter_test): Likewise.
49541         * math/libm-test.inc (acos_towardzero_test_data): New variable.
49542         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
49543         (acos_downward_test_data): New variable.
49544         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
49545         (acos_upward_test_data): New variable.
49546         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
49547         (acosh_test_data): New variable.
49548         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
49549         (asin_test_data): New variable.
49550         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
49551         (asin_tonearest_test_data): New variable.
49552         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
49553         (asin_towardzero_test_data): New variable.
49554         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
49555         (asin_downward_test_data): New variable.
49556         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
49557         (asin_upward_test_data): New variable.
49558         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
49559         (asinh_test_data): New variable.
49560         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
49561         (atan_test_data): New variable.
49562         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
49563         (atanh_test_data): New variable.
49564         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
49565         (cbrt_test_data): New variable.
49566         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
49567         (ceil_test_data): New variable.
49568         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
49569         (cos_test_data): New variable.
49570         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
49571         (cos_tonearest_test_data): New variable.
49572         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
49573         (cos_towardzero_test_data): New variable.
49574         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
49575         (cos_downward_test_data): New variable.
49576         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
49577         (cos_upward_test_data): New variable.
49578         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
49579         (cosh_test_data): New variable.
49580         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
49581         (cosh_tonearest_test_data): New variable.
49582         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
49583         (cosh_towardzero_test_data): New variable.
49584         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
49585         (cosh_downward_test_data): New variable.
49586         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
49587         (cosh_upward_test_data): New variable.
49588         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
49589         (erf_test_data): New variable.
49590         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
49591         (erfc_test_data): New variable.
49592         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
49593         (exp_test_data): New variable.
49594         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
49595         (exp_tonearest_test_data): New variable.
49596         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
49597         (exp_towardzero_test_data): New variable.
49598         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
49599         (exp_downward_test_data): New variable.
49600         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
49601         (exp_upward_test_data): New variable.
49602         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
49603         (exp10_test_data): New variable.
49604         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
49605         (exp2_test_data): New variable.
49606         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
49607         (expm1_test_data): New variable.
49608         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
49609         (fabs_test_data): New variable.
49610         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
49611         (floor_test_data): New variable.
49612         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
49613         (j0_test_data): New variable.
49614         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
49615         (j1_test_data): New variable.
49616         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
49617         (log_test_data): New variable.
49618         (log_test): Run tests with RUN_TEST_LOOP_f_f.
49619         (log10_test_data): New variable.
49620         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
49621         (log1p_test_data): New variable.
49622         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
49623         (log2_test_data): New variable.
49624         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
49625         (logb_test_data): New variable.
49626         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
49627         (logb_downward_test_data): New variable.
49628         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
49629         (nearbyint_test_data): New variable.
49630         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
49631         (rint_test_data): New variable.
49632         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
49633         (rint_tonearest_test_data): New variable.
49634         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
49635         (rint_towardzero_test_data): New variable.
49636         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
49637         (rint_downward_test_data): New variable.
49638         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
49639         (rint_upward_test_data): New variable.
49640         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
49641         (round_test_data): New variable.
49642         (round_test): Run tests with RUN_TEST_LOOP_f_f.
49643         (sin_test_data): New variable.
49644         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
49645         (sin_tonearest_test_data): New variable.
49646         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
49647         (sin_towardzero_test_data): New variable.
49648         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
49649         (sin_downward_test_data): New variable.
49650         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
49651         (sin_upward_test_data): New variable.
49652         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
49653         (sinh_test_data): New variable.
49654         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
49655         (sinh_tonearest_test_data): New variable.
49656         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
49657         (sinh_towardzero_test_data): New variable.
49658         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
49659         (sinh_downward_test_data): New variable.
49660         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
49661         (sinh_upward_test_data): New variable.
49662         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
49663         (sqrt_test_data): New variable.
49664         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
49665         (tan_test_data): New variable.
49666         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
49667         (tan_tonearest_test_data): New variable.
49668         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
49669         (tan_towardzero_test_data): New variable.
49670         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
49671         (tan_downward_test_data): New variable.
49672         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
49673         (tan_upward_test_data): New variable.
49674         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
49675         (tanh_test_data): New variable.
49676         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
49677         (tgamma_test_data): New variable.
49678         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
49679         (trunc_test_data): New variable.
49680         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
49681         (y0_test_data): New variable.
49682         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
49683         (y1_test_data): New variable.
49684         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
49685         (significand_test_data): New variable.
49686         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
49688 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
49690         [BZ #12387]
49691         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
49693 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
49695         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
49697 2013-05-10  Andreas Jaeger  <aj@suse.de>
49699         [BZ #15448]
49700         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
49701         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
49703 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
49705         * math/gen-libm-test.pl (adjust_arg): New function.
49706         (special_functions): Handle generating output in both functions
49707         and arrays.
49708         (parse_args): Likewise.
49709         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
49710         $in_func argument to parse_args.
49711         * math/libm-test.inc (struct test_f_f_data): New type.
49712         (IF_ROUND_INIT_): New macro.
49713         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
49714         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
49715         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
49716         (IF_ROUND_INIT_FE_UPWARD): Likewise.
49717         (ROUND_RESTORE_): Likewise.
49718         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
49719         (ROUND_RESTORE_FE_TONEAREST): Likewise.
49720         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
49721         (ROUND_RESTORE_FE_UPWARD): Likewise.
49722         (RUN_TEST_LOOP_f_f): New macro.
49723         (acos_test_data): New variable.
49724         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
49725         (acos_tonearest_test_data): New variable.
49726         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
49728 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
49730         * benchtests/bench-skeleton.c (startup): Fix coding style.
49732 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
49734         [BZ #6809]
49735         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
49736         negative infinity argument.
49737         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
49738         negative infinity argument.
49739         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
49740         negative infinity argument.
49741         * math/libm-test.inc (tgamma_test): Expect errno to be set for
49742         domain errors.
49744 2013-05-10  Florian Weimer  <fweimer@redhat.com>
49746         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
49747         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
49748         * iconv/iconv_prog.c (main): Likewise.
49749         * locale/programs/charmap-dir.c (charmap_readdir)
49750         (fopen_uncompressed): Likewise.
49751         * locale/programs/locfile.c (siblings_uncached)
49752         (write_locale_data): Use lstat64 instead of lstat.
49753         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
49754         stat.
49756 2013-05-10  Andreas Jaeger  <aj@suse.de>
49758         [BZ #15395]
49759         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
49760         localization.
49761         Include <locale.h>.
49763 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
49765         * elf/dl-close.c (_dl_close_worker): Add comments.
49767 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
49769         [BZ #15359]
49770         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
49771         high part of pi/2.
49772         (__ieee754_rem_pio2l): Update comments.
49774         [BZ #15429]
49775         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
49776         high part of pi/2.
49777         (__ieee754_rem_pio2l): Update comments.
49779         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
49780         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
49782         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
49783         M_PI_4l.
49785         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
49786         (M_PI_34_LOG10El): Likewise.
49787         (M_PI2_LOG10El): Likewise.
49788         (M_PI4_LOG10El): Likewise.
49789         (M_PI_LOG10El): Likewise.
49791 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49793         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49795 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
49797         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
49798         (MINUS_ZERO_INIT): Likewise.
49799         (PLUS_INFTY_INIT): Likewise.
49800         (MINUS_INFTY_INIT): Likewise.
49801         (QNAN_VALUE_INIT): Likewise.
49802         (MAX_VALUE_INIT): Likewise.
49803         (MIN_VALUE_INIT): Likewise.
49804         (MIN_SUBNORM_VALUE_INIT): Likewise.
49805         (plus_zero): Initialize with PLUS_ZERO_INIT.
49806         (minus_zero): Initialize with MINUS_ZERO_INIT.
49807         (plus_infty): Initialize with PLUS_INFTY_INIT.
49808         (minus_infty): Initialize with MINUS_INFTY_INIT.
49809         (qnan_value): Initialize with QNAN_VALUE_INIT.
49810         (max_value): Initialize with MAX_VALUE_INIT.
49811         (min_value): Initialize with MIN_VALUE_INIT.
49812         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
49814         * math/libm-test.inc (RUN_TEST_if_f): New macro.
49815         (jn_test): Use TEST_if_f instead of TEST_ff_f.
49816         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
49817         (yn_test): Use TEST_if_f instead of TEST_ff_f.
49819         * math/libm-test.inc (RUN_TEST_f_f): New macro.
49820         (RUN_TEST_2_f): Likewise.
49821         (RUN_TEST_ff_f): Likewise.
49822         (RUN_TEST_fi_f): Likewise.
49823         (RUN_TEST_fl_f): Likewise.
49824         (RUN_TEST_fff_f): Likewise.
49825         (RUN_TEST_c_f): Likewise.
49826         (RUN_TEST_f_f1): Likewise.
49827         (RUN_TEST_fF_f1): Likewise.
49828         (RUN_TEST_fI_f1): Likewise.
49829         (RUN_TEST_ffI_f1): Likewise.
49830         (RUN_TEST_c_c): Likewise.
49831         (RUN_TEST_cc_c): Likewise.
49832         (RUN_TEST_f_i): Likewise.
49833         (RUN_TEST_f_i_tg): Likewise.
49834         (RUN_TEST_ff_i_tg): Likewise.
49835         (RUN_TEST_f_b): Likewise.
49836         (RUN_TEST_f_b_tg): Likewise.
49837         (RUN_TEST_f_l): Likewise.
49838         (RUN_TEST_f_L): Likewise.
49839         (RUN_TEST_sincos): Likewise.
49840         * math/gen-libm-test.pl (new_test): Take new argument to indicate
49841         whether to show exceptions.  Do not include ");\n" in return
49842         value.
49843         (special_functions): Output call to RUN_TEST_sincos instead of
49844         check_float calls.  Update calls to new_test.
49845         (parse_args): Output call to single RUN_TEST_* macro instead of
49846         check_* calls and other assignments.  Update calls to new_test.
49848         [BZ #2546]
49849         [BZ #2560]
49850         [BZ #5159]
49851         [BZ #15426]
49852         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
49853         input to result for tgamma overflow.
49854         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
49855         (gamma_coeff): New variable.
49856         (NCOEFF): New macro.
49857         (gamma_positive): New function.
49858         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
49859         underflow here.  Use gamma_positive instead of exp (lgamma) for
49860         other arguments.
49861         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
49862         (gamma_coeff): New variable.
49863         (NCOEFF): New macro.
49864         (gammaf_positive): New function.
49865         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
49866         underflow here.  Use gamma_positive instead of exp (lgamma) for
49867         other arguments.
49868         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
49869         (gamma_coeff): New variable.
49870         (NCOEFF): New macro.
49871         (gammal_positive): New function.
49872         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
49873         underflow here.  Use gamma_positive instead of exp (lgamma) for
49874         other arguments.
49875         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
49876         (gamma_coeff): New variable.
49877         (NCOEFF): New macro.
49878         (gammal_positive): New function.
49879         (__ieee754_gammal_r): Handle positive infinity, overflow and
49880         underflow here.  Handle NaN the same as positive infinity.  Remove
49881         check x < 0xffffffff for negative integers.  Use gamma_positive
49882         instead of exp (lgamma) for other arguments.
49883         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
49884         (gamma_coeff): New variable.
49885         (NCOEFF): New macro.
49886         (gammal_positive): New function.
49887         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
49888         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
49889         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
49890         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
49891         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
49892         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
49893         * sysdeps/generic/math_private.h (__gamma_productf): New
49894         prototype.
49895         (__gamma_product): Likewise.
49896         (__gamma_productl): Likewise.
49897         * math/Makefile (libm-calls): Add gamma_product.
49898         * math/libm-test.inc (tgamma_test): Add more tests.
49899         * sysdeps/i386/fpu/libm-test-ulps: Update.
49900         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49902 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
49904         * benchtests/bench-skeleton.c (main): Preheat CPU.
49906 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
49908         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
49910 2013-05-07  Roland McGrath  <roland@hack.frob.com>
49912         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
49913         and _dl_skip_args_internal.
49915 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
49917         * manual/message.texi (Message Translation): Talk about users.
49918         Message to key mapping impacts design.
49920 2013-05-06  Roland McGrath  <roland@hack.frob.com>
49922         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
49924         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
49926         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
49927         * sysdeps/wordsize-64/glob64.c: ... here.
49929         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
49930         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
49931         New macros.
49933         * debug/getlogin_r_chk.c: Moved to ...
49934         * login/getlogin_r_chk.c: ... here.
49935         * debug/Makefile (routines): Move getlogin_r_chk to ...
49936         * login/Makefile (routines): ... here.
49937         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
49938         * login/Versions (libc: GLIBC_2.4): ... here.
49940         * io/poll.c (__poll): Renamed from poll.
49941         Add libc_hidden_def.
49942         (poll): Define as weak alias.
49944         * debug/ptsname_r_chk.c: Moved to ...
49945         * login/ptsname_r_chk.c: ... here.
49946         * debug/Makefile (routines): Move ptsname_r_chk to ...
49947         * login/Makefile (routines): ... here.
49948         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
49949         * login/Versions (libc: GLIBC_2.4): ... here.
49951         * posix/getlogin.c: Moved to ...
49952         * login/getlogin.c: ... here.
49953         * posix/getlogin_r.c: Moved to ...
49954         * login/getlogin_r.c: ... here.
49955         * posix/getlogin_r.c: Moved to ...
49956         * login/getlogin_r.c: ... here.
49957         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
49958         * login/Makefile (routines): ... here.
49959         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
49960         * login/Versions (libc: GLIBC_2.0): ... here.
49962         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
49963         (setrlimit): Define as weak alias.
49965         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
49966         Call __ names for open, ftruncate, and close.
49967         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
49968         (truncate): Define as weak alias.
49970 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
49972         * math/gen-libm-test.pl (parse_args): Initialize x before each
49973         test of frexp, modf and remquo.
49975         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
49976         test signgam value.
49978 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49980         [BZ #15418]
49981         [BZ #15419]
49982         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
49983         internal tests.
49984         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
49986 2013-05-06  Roland McGrath  <roland@hack.frob.com>
49988         * elf/dl-writev.h: New file.
49989         * elf/dl-misc.c: Include it.
49990         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
49991         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
49993 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
49995         * math/libm-test.inc (noXFails): Remove variable.
49996         (noXPasses): Likewise.
49997         (BUILD_COMPLEX_INT): Remove macro.
49998         (print_screen): Remove xfail argument.
49999         (print_screen_max_error): Likewise.
50000         (update_stats): Likewise.
50001         (print_max_error): Likewise.  Update calls to other affected
50002         functions.
50003         (print_complex_max_error): Likewise.
50004         (test_single_exception): Update calls to print_screen.
50005         (test_single_errno): Likewise.
50006         (check_float_internal): Remove xfail argument.  Update calls to
50007         other affected functions.
50008         (check_float): Likewise.
50009         (check_complex): Likewise.
50010         (check_int): Likewise.
50011         (check_long): Likewise.
50012         (check_bool): Likewise.
50013         (check_longlong): Likewise.
50014         (main): Don't print noXFails and noXPasses.
50015         * math/gen-libm-test.pl (top level): Don't mention expected
50016         failure handling in comment.
50017         (new_test): Don't handle expected failures.
50018         (parse_args): Don't mention expected failure handling in comment.
50019         (generate_testfile): Don't handle expected failures.
50020         (parse_ulps): Likewise.
50021         (print_ulps_file): Likewise.
50022         (get_failure): Remove function.
50023         (output_test): Don't handle expected failures.
50024         * make/README.libm-test: Don't mention expected failure handling.
50026         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
50027         (minus_zero): Likewise.
50028         (plus_infty): Likewise.
50029         (minus_infty): Likewise.
50030         (qnan_value): Likewise.
50031         (max_value): Likewise.
50032         (min_value): Likewise.
50033         (min_subnorm_value): Likewise.
50034         (initialize): Do not initialize those variables dynamically.
50036 2013-05-03  Roland McGrath  <roland@hack.frob.com>
50038         * io/open.c (__open_2): Moved to ...
50039         * io/open_2.c: ... this new file.
50040         * io/open64.c (__open64_2): Moved to ...
50041         * io/open64_2.c: ... this new file.
50042         * io/openat.c (__openat_2): Moved to ...
50043         * io/openat_2.c: ... this new file.
50044         * io/openat64.c (__openat64_2): Moved to ...
50045         * io/openat64_2.c: ... this new file.
50046         * io/Makefile (routines): Add them.
50047         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
50048         * sysdeps/unix/sysv/linux/open_2.c: File removed.
50049         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
50050         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
50051         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
50052         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
50053         (__openat64): Add hidden_ver.
50054         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
50055         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
50057         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
50058         Separately conditionalize setting of GLRO(dl_sysinfo) so
50059         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
50060         as well, but the actual setting is only under [NEED_DL_SYSINFO].
50062 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50064         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
50065         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
50066         definition.
50067         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
50068         * sysdeps/unix/sysv/linux/powerpc/init-first.c
50069         (_libc_vdso_platform_setup): Add __vdso_time initialization.
50070         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
50071         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
50073 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
50075         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
50076         test signgam value.
50078         * math/libm-test.inc (hypot_test): Do not use
50079         IGNORE_ZERO_INF_SIGN.
50081 2013-05-03  Andreas Jaeger  <aj@suse.de>
50083         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
50084         Linux 3.9.
50085         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
50086         (PF_MAX): Adjust for VSOCK change.
50088 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50090         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50092 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
50094         [BZ #15264]
50095         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
50096         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
50097         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
50099 2013-05-02  David S. Miller  <davem@davemloft.net>
50101         * sysdeps/sparc/fpu/libm-test-ulps: Update.
50103 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
50105         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
50107 2013-05-01  Roland McGrath  <roland@hack.frob.com>
50109         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
50111 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
50113         [BZ #14952]
50114         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
50115         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
50116         Use __attribute__ ((__gnu_inline__)).
50117         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
50118         Don't use __attribute__ ((__gnu_inline__)).
50120 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
50122         [BZ #15423]
50123         * math/s_catan.c (__catan): Handle small real or imaginary part of
50124         input specially to avoid spurious underflow.
50125         * math/s_catanf.c (__catanf): Likewise.
50126         * math/s_catanh.c (__catanh): Likewise.
50127         * math/s_catanhf.c (__catanhf): Likewise.
50128         * math/s_catanhl.c (__catanhl): Likewise.
50129         * math/s_catanl.c (__catanl): Likewise.
50130         * math/libm-test.inc (catan_test): Add more tests.
50131         (catanh_test): Likewise.
50132         * sysdeps/i386/fpu/libm-test-ulps: Update.
50133         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50135 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50137         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50139 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
50141         [BZ #15416]
50142         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
50143         accurately for denominator in atan2.
50144         * math/s_catanf.c (__catanf): Likewise.
50145         * math/s_catanh.c (__catanh): Likewise.
50146         * math/s_catanhf.c (__catanhf): Likewise.
50147         * math/s_catanhl.c (__catanhl): Likewise.
50148         * math/s_catanl.c (__catanl): Likewise.
50149         * math/libm-test.inc (catan_test): Add more tests.
50150         (catanh_test): Likewise.
50151         * sysdeps/i386/fpu/libm-test-ulps: Update.
50152         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50154 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
50156         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
50158         * benchtests/Makefile (bench): Remove slow benchmarks.
50159         * benchtests/atan-inputs: Add slow benchmark inputs.
50160         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
50161         (BENCH_FUNC): Accept variant offset.
50162         (VARIANT): Define.
50163         * benchtests/bench-skeleton.c (main): Run benchmark for each
50164         variant.
50165         * benchtests/cos-inputs: Add slow benchmark inputs.
50166         * benchtests/exp-inputs: Likewise.
50167         * benchtests/pow-inputs: Likewise.
50168         * benchtests/sin-inputs: Likewise.
50169         * benchtests/slowatan-inputs: Remove.
50170         * benchtests/slowatan.c: Remove.
50171         * benchtests/slowcos-inputs: Remove.
50172         * benchtests/slowcos.c: Remove.
50173         * benchtests/slowexp-inputs: Remove.
50174         * benchtests/slowexp.c: Remove.
50175         * benchtests/slowpow-inputs: Remove.
50176         * benchtests/slowpow.c: Remove.
50177         * benchtests/slowsin-inputs: Remove.
50178         * benchtests/slowsin.c: Remove.
50179         * benchtests/slowtan-inputs: Remove.
50180         * benchtests/slowtan.c: Remove.
50181         * benchtests/tan-inputs: Add slow benchmark inputs.
50182         * scripts/bench.pl: Parse comments and directives.
50184         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
50185         in CPPFLAGS.
50186         ($(objpfx)bench-%.c): Remove *-ITER.
50187         * benchtests/bench-modf.c: Remove definition of ITER.
50188         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
50189         (main): Loop for DURATION seconds instead of fixed number of
50190         iterations.
50191         * scripts/bench.pl: Don't expect iterations in parameters.
50193 2013-04-29  Roland McGrath  <roland@hack.frob.com>
50195         * io/fchdir.c (__fchdir): Renamed from fchdir.
50196         (fchdir): Define as weak alias.
50198 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
50200         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
50201         (ERRNO_EDOM): Likewise.
50202         (ERRNO_ERANGE): Likewise.
50203         (noErrnoTests): New variable.
50204         (init_max_error): Set errno to 0.
50205         (test_single_errno): New function.
50206         (test_errno): Likewise.
50207         (check_float_internal): Call test_errno.  Set errno to 0.
50208         (check_complex): Refer to errno tests in comment.
50209         (check_int): Call test_errno.  Set errno to 0.
50210         (check_long): Likewise.
50211         (check_bool): Likewise.
50212         (check_longlong): Likewise.
50213         (cos_test): Use ERRNO_* flags for errno tests instead of
50214         check_int.
50215         (expm1_test): Likewise.
50216         (fmod_test): Likewise.
50217         (ilogb_test): Likewise.
50218         (lgamma_test): Likewise.
50219         (pow_test): Likewise.
50220         (remainder_test): Likewise.
50221         (sin_test): Likewise.
50222         (tan_test): Likewise.
50223         (yn_test): Likewise.
50224         (initialize): Set errno to 0.
50225         (main): Print number of errno tests.
50226         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
50228 2013-04-29  Andreas Jaeger  <aj@suse.de>
50230         [BZ #15084]
50231         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
50232         and RES_USEVC.
50234         [BZ #15085]
50235         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
50236         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
50237         unimplemented.
50239         [BZ #15380]
50240         * stdlib/random.c (__initstate): Return NULL if
50241         __initstate fails.
50243         [BZ #15086]
50244         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
50245         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
50246         RES_SNGLKUPREOP.
50248 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50250         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50252 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
50254         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
50255         of individual tests.
50256         (casin_test): Likewise.
50257         (casinh_test): Likewise.
50259 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
50261         [BZ #15409]
50262         * math/s_catan.c (__catan): Handle arguments with large real or
50263         imaginary part separately without squaring.
50264         * math/s_catanf.c (__catanf): Likewise.
50265         * math/s_catanh.c (__catanh): Likewise.
50266         * math/s_catanhf.c (__catanhf): Likewise.
50267         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
50268         and redefine.
50269         (__catanhl): Handle arguments with large real or imaginary part
50270         separately without squaring.
50271         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
50272         and redefine.
50273         (__catanl): Handle arguments with large real or imaginary part
50274         separately without squaring.
50275         * math/libm-test.inc (catan_test): Add more tests.
50276         (catanh_test): Likewise.
50277         * sysdeps/i386/fpu/libm-test-ulps: Update.
50278         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50280 2013-04-27  Andreas Jaeger  <aj@suse.de>
50282         [BZ #15007]
50283         * stdlib/stdlib.h: Update guards for qecvt.
50284         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
50285         <stdlib.h>.
50287 2013-04-27  Allan McRae  <allan@archlinux.org>
50289         * sysdeps/i386/fpu/libm-test-ulps: Update.
50291 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
50293         [BZ #15406]
50294         * math/s_catan.c: Include <float.h>.
50295         (__catan): Ensure underflow exception occurs for underflowed
50296         result.
50297         * math/s_catanf.c: Include <float.h>.
50298         (__catanf): Ensure underflow exception occurs for underflowed
50299         result.
50300         * math/s_catanh.c: Include <float.h>.
50301         (__catanh): Ensure underflow exception occurs for underflowed
50302         result.
50303         * math/s_catanhf.c: Include <float.h>.
50304         (__catanhf): Ensure underflow exception occurs for underflowed
50305         result.
50306         * math/s_catanhl.c: Include <float.h>.
50307         (__catanhl): Ensure underflow exception occurs for underflowed
50308         result.
50309         * math/s_catanl.c: Include <float.h>.
50310         (__catanl): Ensure underflow exception occurs for underflowed
50311         result.
50312         * math/libm-test.inc (catan_test): Add more tests.
50313         (catanh_test): Likewise.
50315         [BZ #15405]
50316         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
50317         underflowed result.
50318         * math/s_ccoshf.c (__ccoshf): Likewise.
50319         * math/s_ccoshl.c (__ccoshl): Likewise.
50320         * math/s_csin.c (__csin): Likewise.
50321         * math/s_csinf.c (__csinf): Likewise.
50322         * math/s_csinh.c (__csinh): Likewise.
50323         * math/s_csinhf.c (__csinhf): Likewise.
50324         * math/s_csinhl.c (__csinhl): Likewise.
50325         * math/s_csinl.c (__csinl): Likewise.
50326         * math/libm-test.inc (ccos_test): Add more tests.
50327         (ccosh_test): Likewise.
50328         (csin_test): Likewise.
50329         (csinh_test): Likewise.
50331 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50333         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
50334         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
50335         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
50336         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
50337         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
50338         powerpc/power5+/fpu folders.
50339         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
50342 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
50344         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
50346 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
50348         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
50349         additions to variable.
50350         [$(config-machine) = x86_64] (modules-names): Likewise.
50351         ($(objpfx)tst-audit3): Remove dependency.
50352         ($(objpfx)tst-audit3.out): Likewise.
50353         ($(objpfx)tst-audit4): Likewise.
50354         ($(objpfx)tst-audit4.out): Likewise.
50355         ($(objpfx)tst-audit5): Likewise.
50356         ($(objpfx)tst-audit5.out): Likewise.
50357         ($(objpfx)tst-audit6): Likewise.
50358         ($(objpfx)tst-audit6.out): Likewise.
50359         ($(objpfx)tst-audit7): Likewise.
50360         ($(objpfx)tst-audit7.out): Likewise.
50361         (tst-audit3-ENV): Remove variable.
50362         (tst-audit4-ENV): Likewise.
50363         (tst-audit5-ENV): Likewise.
50364         (tst-audit6-ENV): Likewise.
50365         (tst-audit7-ENV): Likewise.
50366         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
50367         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
50368         addition to variable.
50369         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
50370         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
50371         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
50372         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
50373         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
50374         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
50375         tst-audit3, tst-audit4 and tst-audit5.
50376         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
50377         tst-audit6 and tst-audit7.
50378         [$(subdir) = elf] (modules-names): Add audit modules for those
50379         tests.
50380         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
50381         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
50382         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
50383         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
50384         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
50385         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
50386         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
50387         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
50388         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
50389         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
50390         [$(subdir) = elf] (tst-audit3-ENV): New variable.
50391         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
50392         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
50393         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
50394         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
50395         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
50396         Likewise.
50397         [$(subdir) = elf && $(config-cflags-avx) = yes]
50398         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
50399         [$(subdir) = elf && $(config-cflags-avx) = yes]
50400         (CFLAGS-tst-auditmod4a.c): Likewise.
50401         [$(subdir) = elf && $(config-cflags-avx) = yes]
50402         (CFLAGS-tst-auditmod4b.c): Likewise.
50403         [$(subdir) = elf && $(config-cflags-avx) = yes]
50404         (CFLAGS-tst-auditmod6b.c): Likewise.
50405         [$(subdir) = elf && $(config-cflags-avx) = yes]
50406         (CFLAGS-tst-auditmod6c.c): Likewise.
50407         [$(subdir) = elf && $(config-cflags-avx) = yes]
50408         (CFLAGS-tst-auditmod7b.c): Likewise.
50409         * elf/tst-audit3.c: Move to ...
50410         * sysdeps/x86_64/tst-audit3.c: ... here.
50411         * elf/tst-audit4.c: Move to ...
50412         * sysdeps/x86_64/tst-audit4.c: ... here.
50413         * elf/tst-audit5.c: Move to ...
50414         * sysdeps/x86_64/tst-audit5.c: ... here.
50415         * elf/tst-audit6.c: Move to ...
50416         * sysdeps/x86_64/tst-audit6.c: ... here.
50417         * elf/tst-audit7.c: Move to ...
50418         * sysdeps/x86_64/tst-audit7.c: ... here.
50419         * elf/tst-auditmod3a.c: Move to ...
50420         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
50421         * elf/tst-auditmod3b.c: Move to ...
50422         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
50423         * elf/tst-auditmod4a.c: Move to ...
50424         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
50425         * elf/tst-auditmod4b.c: Move to ...
50426         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
50427         * elf/tst-auditmod5a.c: Move to ...
50428         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
50429         * elf/tst-auditmod5b.c: Move to ...
50430         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
50431         * elf/tst-auditmod6a.c: Move to ...
50432         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
50433         * elf/tst-auditmod6b.c: Move to ...
50434         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
50435         * elf/tst-auditmod6c.c: Move to ...
50436         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
50437         * elf/tst-auditmod7a.c: Move to ...
50438         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
50439         * elf/tst-auditmod7b.c: Move to ...
50440         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
50442 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
50444         [BZ #15366]
50445         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
50446         define unconditionally.
50447         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
50448         define unconditionally.
50449         (INT8_C, INT16_C, etc.): Likewise.
50451 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
50453         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
50454         __ehdr_start with hidden visibility.
50456         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
50458 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
50460         * math/libm-test.inc (cos_test): Use accurate hex constants.
50461         (sincost_test): Likewise.
50463 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
50465         * math/libm-test.inc (catan_test): Add more tests.
50466         (catanh_test): Likewise.
50468         * math/s_catanf.c (__catanf): Use suffixed floating-point
50469         constants.
50470         * math/s_catanhf.c (__catanhf): Likewise.
50471         * math/s_catanhl.c (__catanhl): Likewise.
50472         * math/s_catanl.c (__catanl): Likewise.
50474         [BZ #15394]
50475         * math/s_catan.c (__catan): Calculate imaginary part of result
50476         with log1p not log unless computing log of number close to 0.
50477         * math/s_catanf.c (__catanf): Likewise.
50478         * math/s_catanl.c (__catanl): Likewise.
50479         * math/s_catanh.c (__catanh): Calculate real part of result with
50480         log1p not log unless computing log of number close to 0.
50481         * math/s_catanhf.c (__catanhf): Likewise.
50482         * math/s_catanhl.c (__catanhl): Likewise.
50483         * math/libm-test.inc (catan_test): Add more tests.
50484         (catanh_test): Likewise.
50485         * sysdeps/i386/fpu/libm-test-ulps: Update.
50486         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50488 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
50490         * benchtests/Makefile: Mention files in which fast and slow
50491         paths of math functions are implemented.
50493 2013-04-23  Roland McGrath  <roland@hack.frob.com>
50495         * sysdeps/posix/timespec_get.c: New file.
50497 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50499         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
50500         POWER.
50501         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
50502         for POWER.
50503         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
50504         powerpc/power5/fpu folders.
50505         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
50506         * benchtests/Makefile: Add modf testcase.
50507         * benchtests/bench-modf.c: New file: Benchmark test for mo
50509 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
50511         [BZ #14888]
50512         * time/Makefile (tests): Add tst-strptime-whitespace.
50513         * time/strptime_l.c (get_number): Use ISSPACE.
50514         (__strptime_internal): Likewise.
50515         * time/tst-strptime-whitespace.c: New test case.
50517 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
50519         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
50520         member.
50521         (_nss_files_init): Set it here.
50523 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
50525         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
50526         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
50527         unsigned.
50529 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
50531         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
50533 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
50535         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
50536         size just once.
50538 2013-04-21  David S. Miller  <davem@davemloft.net>
50540         * po/ru.po: Update Russion translation from translation project.
50542 2013-04-17  Adam Conrad  <adconrad@0c3.net>
50544         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
50545         and setfsgid.
50547 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
50549         * configure.in: Remove i386 configure warning. Remove i386 case.
50550         * configure: Regenerate.
50551         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
50552         Add example to error message.
50553         * sysdeps/i386/configure: Regenerate.
50555 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
50557         * benchtests/Makefile (bench): Add cos, tan, slowcos and
50558         slowtan.
50559         * benchtests/cos-inputs: New file.
50560         * benchtests/slowcos-inputs: New file.
50561         * benchtests/slowcos.c: New file.
50562         * benchtests/slowtan-inputs: New file.
50563         * benchtests/slowtan.c: New file.
50564         * benchtests/tan-inputs: New file.
50566 2013-04-16  Roland McGrath  <roland@hack.frob.com>
50568         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
50569         considered kosher.
50571 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
50573         * benchtests/Makefile: Include cppflags-iterator.mk to add
50574         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
50576         * Makefile.in (bench-clean): New target.
50577         * benchtests/Makefile (bench-clean): Likewise.
50579 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
50581         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
50583 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
50585         * stdio-common/tstdiomisc.c: Fix coding-style violation.
50587 2013-04-15  Andreas Schwab  <schwab@suse.de>
50589         * nscd/grpcache.c (cache_addgr): Properly check for short write.
50590         * nscd/initgrcache.c (addinitgroupsX): Likewise.
50591         * nscd/pwdcache.c (cache_addpw): Likewise.
50592         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
50593         more than recsize.
50595 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
50597         * benchtests/Makefile (bench): Write all output to
50598         bench-out.tmp together.
50600 2013-04-15  Andreas Schwab  <schwab@suse.de>
50602         * nscd/nscd.c (main): Don't fork again after closing files.
50604 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
50606         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
50608         * benchtests/Rules (bench-deps): Collect dependencies into a
50609         single variable.  Add Makefile to dependencies.
50610         ($(objpfx)bench-%.c): Depend on bench-deps.
50612 2013-04-12  Roland McGrath  <roland@hack.frob.com>
50613             Xavier Roche  <roche+kml2@exalead.com>
50615         [BZ #15361]
50616         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
50617         just that it's a file descriptor.
50618         * manual/llio.texi (Synchronizing AIO Operations): Update description
50619         for EBADF error from aio_fsync.
50621 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
50623         * Rules (bench): Move target definition...
50624         * benchtests/Makefile: ... here.
50626 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
50628         * math/libm-test.inc (cos_test): Fix PI/2 test.
50629         (sincos_test): Likewise.
50630         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
50631         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
50633 2013-04-11  Andreas Schwab  <schwab@suse.de>
50635         [BZ #13988]
50636         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
50637         accept exponent character only when digits were seen.
50638         * stdio-common/Makefile (tests): Add bug26.
50639         * stdio-common/bug26.c: New file.
50641         [BZ #14293]
50642         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
50643         non-freeable.
50645 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
50647         * Makeconfig (rtld-prefix): Define built linker prefix.
50648         * Rules (run-bench): Use it.
50649         * math/Makefile (run-regen-ulps): Likewise.
50651         * Rules (bench): Remove eval.
50653 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
50654             Roland McGrath  <roland@hack.frob.com>
50655             Ondrej Bilka  <neleai@seznam.cz>
50657         [BZ #15346]
50658         * time/getdate.c: Include ctype.h and alloca.h.
50659         (__getdate_r): Trim leading and trailing spaces of input.
50660         * time/tst-getdate.c (tests): Add tests with leading and
50661         trailing spaces.
50663 2013-04-08  Roland McGrath  <roland@hack.frob.com>
50665         [BZ #14280]
50666         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
50667         when computing value.
50669 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
50671         * math/README.libm-test (How can I generate "libm-test-ulps"?):
50672         Use testrun.sh to run libm tests.
50674         [BZ #15309]
50675         * elf/dl-open.c (dl_open_worker): memset all of seen array.
50677 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
50679         [BZ #15264]
50680         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
50682 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
50684         * Makefile.in (regen-ulps): New target.
50685         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
50686         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
50687         [ifneq (no,$(PERL)] (regen-ulps): New target.
50688         [ifeq (no,$(PERL)] (regen-ulps): New target.
50689         * math/libm-test.inc (ulps_file_name): Define.
50690         (output_dir): New variable.
50691         (options): Add "output-dir" option.
50692         (parse_opt): Handle 'o' case.
50693         (main): If output_dir is non-NULL use it as a prefix
50694         otherwise use "".
50695         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
50697 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
50699         [BZ #10060, #10062]
50700         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
50701         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
50702         fail configure if __sync_val_compare_and_swap is not inlined.
50703         * sysdeps/i386/configure: Regenerate.
50704         * configure.in: Build for i686 when configured for i386.
50705         * configure: Regenerate.
50706         * README: Remove i386 reference.
50708 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
50710         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
50711         * sysdeps/s390/s390-64/sysdep.h: Likewise.
50713 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
50715         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
50716         (lmsnanval): New variables.
50717         (F): Add conversion tests.
50718         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
50719         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
50721         * stdio-common/tstdiomisc.c (F): Properly collect individual
50722         tests' results.
50724         [BZ #14686, #15336]
50725         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
50726         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
50727         Instead, use input NaN values or generate a qNaN by arithmetic
50728         operation.  Also fix bugs to comply with the standard.
50729         * math/libm-test.inc (remainder_test): Add more tests.
50731         [BZ #15335, #15342]
50732         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
50733         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
50734         input NaN values or generate a qNaN by arithmetic operation.
50736         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
50737         unreachable code.
50739         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
50740         definitions.
50742 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
50744         [BZ #14478]
50745         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
50746         underflowed result.
50747         * math/s_cexpf.c (__cexpf): Likewise.
50748         * math/s_cexpl.c (__cexpl): Likewise.
50749         * math/libm-test.inc (cexp_test): Add more tests.
50751 2013-04-03  Andreas Schwab  <schwab@suse.de>
50753         [BZ #15330]
50754         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
50755         order arrays from heap if bigger than alloca cutoff.
50757 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
50759         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
50760         (SNAN_TESTS_double): Refer to GCC PR56831.
50761         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
50762         GCC PR56828.
50764 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
50766         * Rules (bench): Move bench.out after the run is complete.
50768         * Rules (bench): Echo currently running benchmark.
50770         * benchtests/Makefile (bench): Add atan and slowatan.
50771         * benchtests/atan-inputs: New file.
50772         * benchtests/slowatan-inputs: New file.
50773         * benchtests/slowatan.c: New file.
50775         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
50776         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
50777         its value.
50779         [BZ #15305]
50780         * sysdeps/unix/sysv/linux/kernel-features.h
50781         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
50782         __ASSUME_XFS_RESTRICTED_CHOWN.
50783         * sysdeps/unix/sysv/linux/pathconf.c
50784         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
50785         Save and restore errno.
50787 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
50789         [BZ #15327]
50790         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
50791         arguments using __kernel_casinh.
50792         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
50793         arguments using __kernel_casinhf.
50794         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
50795         arguments using __kernel_casinhl.
50796         * math/libm-test.inc (cacosh_test): Add more tests.
50797         * sysdeps/i386/fpu/libm-test-ulps: Update.
50798         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50800 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
50802         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
50803         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
50805         * bench/Makefile (bench): Add sin and slowsin.
50806         * benchtests/sin-inputs: New file.
50807         * benchtests/slowsin-inputs: New file.
50808         * benchtests/slowsin.c: New file.
50810         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
50811         (bench): Add slowexp and slowpow.
50812         (exp-ITER): Increase iterations.
50813         (pow-ITER): Likewise.
50814         * benchtests/exp-inputs: Change input.
50815         * benchtests/pow-inputs: Likewise.
50816         * benchtests/slowexp-inputs: New file.
50817         * benchtests/slowexp.c: New file.
50818         * benchtests/slowpow-inputs: New file.
50819         * benchtests/slowpow.c: New file.
50821 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50823         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
50824         instructions.
50825         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
50826         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
50827         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
50828         * benchtests/Makefile: Add rint benchtest.
50829         * benchtests/rint-inputs: Input for rint benchtest.
50831 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
50833         * Versions.def (libm): Add GLIBC_2.18.
50834         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
50835         hidden libm prototypes.
50836         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
50837         * math/Makefile (libm-calls): Add s_issignaling.
50838         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
50839         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
50840         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
50841         declaration.
50842         * math/math.h [__USE_GNU] (issignaling): New macro.
50843         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
50844         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
50845         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
50846         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
50847         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
50848         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
50849         * manual/arith.texi (issignaling): New section.
50850         * manual/libm-err-tab.pl (@all_functions): Update comment.
50851         * math/gen-libm-test.pl (parse_args): Apply special handling for
50852         issignaling.
50853         * math/libm-test.inc (print_float, issignaling_test): New
50854         functions.
50855         (check_float_internal): Add issignaling checks.
50856         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
50857         default definition.
50858         * sysdeps/powerpc/math-tests.h: New file.
50859         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
50860         tests.
50861         * math/test-snan.c (TEST_FUNC): Likewise.
50863 2013-03-30  David S. Miller  <davem@davemloft.net>
50865         * po/de.po: Update from translation team.
50867 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
50869         [BZ #10357]
50870         * math/k_casinh.c (__kernel_casinh): Handle arguments with
50871         imaginary part less than 1.0 and real part less than 0.5
50872         specially.
50873         * math/k_casinhf.c (__kernel_casinhf): Likewise.
50874         * math/k_casinhl.c (__kernel_casinhl): Likewise.
50875         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
50876         (cacos_test): Add more tests.
50877         (casin_test): Likewise.
50878         (casinh_test): Likewise.
50879         * sysdeps/i386/fpu/libm-test-ulps: Update.
50880         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50882 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
50884         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
50885         ONE with its value.
50887         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
50888         (__pow_mp): Replace ONE and MONE with their values.
50889         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
50890         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
50891         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
50892         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
50893         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
50894         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
50896         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
50898         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
50899         (__pow_mp): Replace ZERO and MZERO with their values.
50900         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
50901         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
50902         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
50903         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
50904         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
50905         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
50906         (__sqr): Likewise.
50908         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
50910         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
50912 2013-03-28  Roland McGrath  <roland@hack.frob.com>
50914         * include/stdlib.h [!SHARED] (__call_tls_dtors):
50915         Declare with __attribute__ ((weak)).
50916         * stdlib/exit.c (__libc_atexit) [!SHARED]:
50917         Call __call_tls_dtors only if it's not NULL.
50919 2013-03-28  Roland McGrath  <roland@hack.frob.com>
50921         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
50922         didn't do it already, then set _dl_phdr and _dl_phnum based on the
50923         magic __ehdr_start linker symbol if it's defined.
50924         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
50925         them up here if it was already done.
50927         * elf/dl-support.c (_dl_phdr): Make pointer to const.
50928         (_dl_aux_init): Use const in cast when setting it.
50929         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
50930         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
50931         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
50933         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
50934         Declare them here.
50935         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
50936         * csu/libc-tls.c: Nor here.
50937         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
50939         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
50940         (__libc_message): Never call vsyslog.
50942 2013-03-28  Alan Modra  <amodra@gmail.com>
50944         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
50945         Define as empty.
50946         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
50947         Likewise.
50949 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50951         [BZ #15214]
50952         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
50953         underflow.
50954         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50956 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
50958         [BZ #15304]
50959         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
50960         Don't add gid passed as argument.
50962         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
50964 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
50966         [BZ #15307]
50967         * math/k_casinh.c (__kernel_casinh): Handle arguments with
50968         imaginary part between 1.0 and 1.5 and real part less than 0.5
50969         specially.
50970         * math/k_casinhf.c (__kernel_casinhf): Likewise.
50971         * math/k_casinhl.c (__kernel_casinhl): Likewise.
50972         * math/libm-test.inc (cacos_test): Add more tests.
50973         (casin_test): Likewise.
50974         (casinh_test): Likewise.
50975         * sysdeps/i386/fpu/libm-test-ulps: Update.
50976         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50978 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
50980         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
50981         constants.
50982         (norm): Likewise.
50983         (denorm): Likewise.
50984         (__dbl_mp): Likewise.
50985         (add_magnitudes): Likewise.
50986         (sub_magnitudes): Likewise.
50987         (__add): Likewise.
50988         (__sub): Likewise.
50989         (__mul): Likewise.
50990         (__sqr): Likewise.
50991         (__inv): Likewise.
50992         (__dvd): Likewise.
50994         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
50995         commented code.
50996         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
50997         (__dubcos): Likewise.
50998         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
50999         (__ieee754_acos): Likewise.
51000         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
51001         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
51002         (__exp1): Likewise.
51003         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
51004         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
51005         (log1): Likewise.
51006         (my_log2): Likewise.
51007         (checkint): Likewise.
51008         * sysdeps/ieee754/dbl-64/e_remainder.c
51009         (__ieee754_remainder): Likewise.
51010         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
51011         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
51012         (bsloww): Likewise.
51013         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
51015         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
51016         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
51017         MANTISSA_STORE_T to store computations on mantissa.  Use
51018         macros for rounding and division.
51019         (denorm): Likewise.
51020         (__dbl_mp): Likewise.
51021         (add_magnitudes): Likewise.
51022         (sub_magnitudes): Likewise.
51023         (__mul): Likewise.
51024         (__sqr): Likewise.
51025         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
51026         powers of two in terms of TWOPOW macro.
51027         (mp_no): Make type of mantissa as MANTISSA_T.
51028         [!RADIXI]: Define RADIXI.
51029         [!TWO52]: Define TWO52.
51030         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
51032 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51034         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
51035         llroundl symbol when building for PPC32.
51037 2013-03-24  Mark H Weaver  <mhw@netris.org>
51039         * manual/arith.texi (Normalization Functions): Fix prototypes for
51040         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
51042 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51044         [BZ #13889]
51045         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
51046         high value to check if expl overflow.
51047         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
51048         to check for underflow and overflow.
51049         * math/libm-test.inc: Add exp test.
51051 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
51053         [BZ #11120]
51054         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
51055         with NOT_IN_libc.
51057 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51059         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
51060         symbol.
51062 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
51064         * math/gen-libm-test.pl (parse_args, special_functions): Properly
51065         wrap blocks consisting of several statements.
51067         * sysdeps/generic/math-tests.h: New file.
51068         * sysdeps/i386/fpu/math-tests.h: Likewise.
51069         * math/test-snan.c: Include it.
51070         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
51072 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
51074         [BZ #15285]
51075         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
51076         (__ieee754_j0l): Do not improve calculations using cos of twice
51077         input for inputs above LDBL_MAX / 2.0L.
51078         (__ieee754_y0l): Likewise.
51079         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
51080         (__ieee754_j1l): Do not improve calculations using cos of twice
51081         input for inputs above LDBL_MAX / 2.0L.
51082         (__ieee754_y1l): Likewise.
51083         * math/libm-test.inc (j0_test): Add another test.
51084         (j1_test): Likewise.
51085         (y0_test): Likewise.
51086         (y1_test): Likewise.
51087         * sysdeps/i386/fpu/libm-test-ulps: Update.
51089 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
51091         * Rules ($(objpfx)bench-%.c): Include code from a C source
51092         file.
51094 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
51096         [BZ #15287]
51097         * math/k_casinh.c (__kernel_casinh): Handle arguments with
51098         imaginary part 1.0 and real part less than 0.5 specially.
51099         * math/k_casinhf.c (__kernel_casinhf): Likewise.
51100         * math/k_casinhl.c (__kernel_casinhl): Likewise.
51101         * math/libm-test.inc (cacos_test): Add more tests.
51102         (casin_test): Likewise.
51103         (casinh_test): Likewise.
51104         * sysdeps/i386/fpu/libm-test-ulps: Update.
51105         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51107 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
51109         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
51110         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
51112 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
51114         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
51115         * config.make.in (config-cflags-sse4): Remove variable.
51116         (config-cflags-avx): Likewise.
51117         (config-cflags-sse2avx): Likewise.
51118         (config-cflags-novzeroupper): Likewise.
51119         (config-asflags-i686): Likewise.
51120         (have-mfma4): Likewise.
51121         (have-as-vis3): Likewise.
51122         (MIG): Likewise.
51123         * configure.in (MIG): Do not AC_SUBST.
51124         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
51125         (libc_cv_cc_sse4): Do not AC_SUBST.
51126         (libc_cv_cc_avx): Likewise.
51127         (libc_cv_cc_sse2avx): Likewise.
51128         (libc_cv_cc_novzeroupper): Likewise.
51129         (libc_cv_cc_fma4): Likewise.
51130         (libc_cv_as_i686): Likewise.
51131         (libc_cv_sparc_as_vis3): Likewise.
51132         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
51133         LIBC_CONFIG_VAR.
51134         (config-asflags-i686): Likewise.
51135         (config-cflags-avx): Likewise.
51136         (config-cflags-sse2avx): Likewise.
51137         (have-mfma4): Likewise.
51138         (config-cflags-novzeroupper): Likewise.
51139         * sysdeps/mach/configure.in (MIG): Likewise.
51140         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
51141         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
51142         LIBC_CONFIG_VAR.
51143         (config-cflags-avx): Likewise.
51144         (config-cflags-sse2avx): Likewise.
51145         (have-mfma4): Likewise.
51146         (config-cflags-novzeroupper): Likewise.
51147         * configure: Regenerated.
51148         * sysdeps/i386/configure: Likewise.
51149         * sysdeps/mach/configure: Likewise.
51150         * sysdeps/sparc/configure: Likewise.
51151         * sysdeps/x86_64/configure: Likewise.
51153 2013-03-20  Roland McGrath  <roland@hack.frob.com>
51155         [BZ #14812]
51156         * locale/programs/localedef.c (options): Put N_ translation marker
51157         on argument names, not just descriptions.
51159 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
51161         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
51163 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
51165         [BZ #14176]
51166         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
51168 2013-03-19  Roland McGrath  <roland@hack.frob.com>
51170         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
51171         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
51172         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
51173         [!BEFORE_ABORT] (before_abort): New function.
51174         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
51175         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
51176         (writev_for_fatal): New function.
51177         (WRITEV_FOR_FATAL): New macro; call that.
51178         (backtrace_and_maps): New function.
51179         (BEFORE_ABORT): New macro; call that.
51180         (struct str_list): Type removed.
51181         (__libc_message, __libc_fatal): Functions removed.
51182         Include <sysdeps/posix/libc_fatal.c> instead.
51184 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
51186         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
51187         constants.
51188         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
51189         double constants.
51191 2013-03-19  Andreas Schwab  <schwab@suse.de>
51193         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
51194         * sysdeps/gnu/configure: Regenerate.
51196         * configure.in: Substitute libc_cv_rtlddir.
51197         * configure: Regenerate.
51198         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
51199         * Makeconfig (rtlddir, inst_rtlddir): New variables.
51200         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
51201         * elf/Makefile (install-others, CFLAGS-interp.c)
51202         (ldso_install, common-ldd-rewrite): Likewise.
51203         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
51204         $(inst_slibdir)/$(rtld-installed-name).
51205         * scripts/rellns-sh: Add -p option.
51206         * Makerules (make-shlib-link): Use rellns-sh to get relative name
51207         for source.
51209 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
51211         * manual/nptl.texi: Renamed to ...
51212         * manual/threads.texi: ... this.
51213         * manual/Makefile (chapters): Update.
51215 2013-03-18  Roland McGrath  <roland@hack.frob.com>
51217         [BZ #14812]
51218         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
51219         on argument names, not just descriptions.
51220         * malloc/memusagestat.c (options): Likewise.
51221         * nss/getent.c (options): Likewise.
51223 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
51225         [BZ #14812]
51226         * iconv/iconv_prog.c (options): Put N_ translation marker
51227         on argument names, not just descriptions.
51228         * iconv/iconvconfig.c (options): Likewise.
51230 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
51232         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
51233         implementation which is faster on all x86_64 architectures.
51234         Tested on AMD, Intel Nehalem, SNB, IVB.
51235         * sysdeps/x86_64/strnlen.S: Likewise.
51237         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
51238         Remove all multiarch strlen and strnlen versions.
51239         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
51240         Remove strlen and strnlen related parts.
51242         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
51243         Inline strlen part.
51244         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
51246         * sysdeps/x86_64/multiarch/strlen.S: Remove.
51247         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
51248         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
51249         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
51250         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
51251         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
51253 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
51255         * manual/memory.texi (Malloc Tunable Parameters):
51256         Sort parameters alphabetically. Add comments for missing entries.
51258 2013-03-17  David S. Miller  <davem@davemloft.net>
51260         * sysdeps/sparc/fpu/libm-test-ulps: Update.
51262 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
51264         [BZ #15283]
51265         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
51266         for arguments at most half maximum finite value.
51267         * math/libm-test.inc (j0_test): Add more tests.
51268         (j1_test): Likewise.
51269         (y0_test): Likewise.
51270         (y1_test): Likewise.
51271         * sysdeps/i386/fpu/libm-test-ulps: Update.
51272         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51274         [BZ #14155]
51275         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
51276         1 / x and functions P and Q for arguments above 0x1p256L.
51277         (__ieee754_y0l): Likewise.
51278         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
51279         (__ieee754_y1l): Likewise.
51280         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
51281         (j1_test): Likewise.
51282         (y0_test): Likewise.
51283         (y1_test): Likewise.
51285 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
51287         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
51288         variable.
51290 2013-03-15  Roland McGrath  <roland@hack.frob.com>
51292         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
51293         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
51294         zero since it's initialized to EXEC_PAGESIZE.
51296         * sysdeps/unix/sysv/linux/ldsodefs.h
51297         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
51298         * sysdeps/generic/ldsodefs.h: ... here.
51300 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
51302         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
51304         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
51305         math/test-snan.c.
51306         * math/test-snan.c: Renamed from
51307         sysdeps/powerpc/fpu/test-powerpc-snan.c.
51308         * math/Makefile (tests): Add test-snan.
51309         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
51310         test-powerpc-snan.
51312         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
51313         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
51314         functions.
51315         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
51316         __builtin_nan family of functions.
51317         * math/libm-test.inc (initialize): Initialize qnan_value with
51318         __builtin_nan family of functions.
51319         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
51320         Remove variables.
51321         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
51322         Remove functions.
51323         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
51324         storage class.  Initialize qNaN_var and sNaN_var with
51325         __builtin_nan and __builtin_nans families of functions,
51326         respectively.
51328         * math/libm-test.inc (acosh_test): Also test with qNaN input.
51329         (sqrt_test): Remove duplicate test with qNaN input.
51330         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
51331         (round_test, signbit_test, significand_test): Note missing +/-Inf
51332         as well as qNaN tests.
51334         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
51335         qNaN_var.  Fix a few strings, too.
51336         * math/libm-test.inc (nan_value): Rename to qnan_value.
51337         * math/gen-libm-test.pl (%beautify): Adjust to that.
51338         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
51339         * math/test-misc.c (main): Likewise.
51340         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
51341         to __qnan_bytes, and __qnan_union, respectively.
51342         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
51343         Likewise.
51344         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
51345         and lqnanval, respectively.
51346         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
51347         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
51348         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
51349         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
51351         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
51352         * math/test-misc.c (main) [__x86_64__]: Enable test for long
51353         doubles.
51355         * math/test-misc.c (main): Fix copy'n'pastos.
51356         * misc/tst-efgcvt.c (special): Likewise.
51358         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
51359         Remove declarations.
51361 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
51363         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
51364         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
51365         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
51366         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
51368 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51370         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
51371         macro to return vdso values correctly in IFUNC implementations.
51372         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
51373         Optimization by using IFUNC.
51375 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
51376             Richard Henderson  <rth@redhat.com>
51377             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
51379         * Makefile.in (bench): New target.
51380         * NEWS: Mention the benchmark framework.
51381         * Rules (bench): Likewise.
51382         (binaries-bench): Generate binaries for functions to
51383         benchmark.
51384         * benchtests/Makefile: New makefile for benchmark tests.
51385         * benchtests/bench-skeleton.c: New skeleton file for benchmark
51386         programs.
51387         * benchtests/exp-inputs: New input file for EXP function.
51388         * benchtests/pow-inputs: New input file for POW function.
51389         * scripts/bench.pl: New script to generate source files for
51390         benchmark programs.
51392 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
51394         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
51395         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
51396         computations on mantissa.  Use macros for rounding and
51397         division.
51398         (denorm): Likewise.
51399         (__dbl_mp): Likewise.
51400         (add_magnitudes): Likewise.
51401         (sub_magnitudes): Likewise.
51402         (__mul): Likewise.
51403         (__sqr): Likewise.
51404         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
51405         powers of two in terms of TWOPOW macro.
51406         (mp_no): Make type of mantissa as MANTISSA_T.
51407         [!RADIXI]: Define RADIXI.
51408         [!TWO52]: Define TWO52.
51409         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
51411         * manual/nptl.texi (cindex): Modify threads to pthreads.
51413 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
51415         * sysdeps/x86_64/preconfigure: Regenerated.
51417 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
51419         [BZ #14155]
51420         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
51421         0x1p28 and above.
51422         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
51423         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
51424         0x1p28 and above.
51425         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
51426         * math/libm-test.inc (j0_test): Do not allow one spurious
51427         underflow exception.
51428         (y1_test): Likewise.
51430 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
51432         * manual/Makefile (chapters): Add nptl.
51433         * manual/debug.texi (Debugging Support): Add link to Threads
51434         chapter.
51435         * manual/nptl.texi: New file.
51437         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
51439 2013-03-14  Petr Baudis  <pasky@ucw.cz>
51441         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
51442         for non-NULL pointer before the memory validity test. Pointed
51443         out by Holger Brunck <holger.brunck@keymile.com>.
51445 2013-03-13  Andreas Schwab  <schwab@suse.de>
51447         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
51448         instead of .os.
51450 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
51452         * timezone/zic.c: Update from tzcode 2013b.
51454 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
51456         * manual/install.texi (Configuring and compiling):
51457         Mention i686 and i586.
51458         * INSTALL: Regenerate.
51460 2013-03-12  Roland McGrath  <roland@hack.frob.com>
51462         * sysdeps/init_array/elf-init.c: New file.
51463         * csu/elf-init.c
51464         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
51465         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
51467         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
51468         __gmon_start__ as global, but as static with a .preinit_array pointer.
51469         * sysdeps/init_array/gmon-start.c: New file.  Use that.
51470         * sysdeps/init_array/crti.S: New file, empty except for comments.
51471         * sysdeps/init_array/crtn.S: Likewise.
51473 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
51475         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
51476         definining bcopy.
51477         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
51478         Remove Prefer_SSE_for_memop.
51479         * sysdeps/x86_64/multiarch/init-arch.h: Remove
51480         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
51481         HAS_PREFER_SSE_FOR_MEMOP.
51482         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
51483         memset-x86-64.
51484         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
51485         Remove bzero, memset ifunc support.
51486         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
51487         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
51488         * sysdeps/x86_64/multiarch/memset.S: Likewise.
51489         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
51491 2013-03-11  Andreas Schwab  <schwab@suse.de>
51493         [BZ #15234]
51494         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
51495         by SHLIB_COMPAT.
51496         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
51497         (GLIBC_2.16): Remove pthread_atfork.
51499 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
51501         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
51502         (ptestcases.h): Likewise.
51504 2013-03-08  Roland McGrath  <roland@hack.frob.com>
51506         * Makeconfig ($(common-objpfx)config.status): Depend on
51507         sysdeps/*/preconfigure{,.in} too.
51509 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
51511         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
51512         (__free_hook): Use void * instead of __malloc_ptr_t.
51513         (__malloc_hook): Likewise.
51514         (__realloc_hook): Likewise.
51515         (__memalign_hook): Likewise.
51516         (__after_morecore_hook): Likewise.
51517         * malloc/arena.c (save_malloc_hook): Likewise.
51518         (save_free_hook): Likewise.
51519         * malloc/hooks.c (malloc_hook_ini): Likewise.
51520         (realloc_hook_ini): Likewise.
51521         (memalign_hook_ini): Likewise.
51522         * malloc/malloc.c (malloc_hook_ini): Likewise.
51523         (realloc_hook_ini): Likewise.
51524         (memalign_hook_ini): Likewise.
51525         (__free_hook): Likewise.
51526         (__malloc_hook): Likewise.
51527         (__realloc_hook): Likewise.
51528         (__memalign_hook): Likewise.
51529         (__libc_malloc): Likewise.
51530         (__libc_free): Likewise.
51531         (__libc_realloc): Likewise.
51532         (__libc_memalign): Likewise.
51533         (__libc_valloc): Likewise.
51534         (__libc_pvalloc): Likewise.
51535         (__libc_calloc): Likewise.
51536         (__posix_memalign): Likewise.
51537         * malloc/morecore.c (__sbrk): Likewise.
51538         (__default_morecore): Likewise.
51540         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
51542         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
51543         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
51544         __malloc_ptrdiff_t.
51546         * malloc/malloc.h (__malloc_size_t): Remove macro.
51547         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
51548         __malloc_size_t.
51549         (old_memalign_hook): Likewise.
51550         (old_realloc_hook): Likewise.
51551         (struct hdr): Likewise.
51552         (flood): Likewise.
51553         (mallochook): Likewise.
51554         (memalignhook): Likewise.
51555         (reallochook): Likewise.
51556         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
51557         (tr_old_realloc_hook): Likewise.
51558         (tr_old_memalign_hook): Likewise.
51559         (tr_mallochook): Likewise.
51560         (tr_reallochook): Likewise.
51561         (tr_memalignhook): Likewise.
51563 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51565         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
51566         default_ldbl_pack and using as default implementation.
51567         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
51568         implementation.
51569         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
51570         redundant definition.
51571         (ldbl_insert_mantissa): Likewise.
51572         (ldbl_canonicalize): Likewise.
51573         (ldbl_nearbyint): Likewise.
51574         (ldbl_pack): Rename to ldbl_pack_ppc.
51575         (ldbl_unpack): Rename to ldbl_unpack_ppc.
51576         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
51577         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
51579 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
51581         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
51582         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
51583         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
51584         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
51585         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
51586         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
51587         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
51588         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
51590 2013-03-07  Andreas Jaeger  <aj@suse.de>
51592         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
51593         bits/mman-linux.h.
51595 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
51597         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
51598         Include mpa.h and declare __MPEXP.
51599         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
51600         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
51601         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
51602         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
51603         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
51604         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
51605         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
51607         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
51608         (__slowpow): Use long double EXPL and LOGL functions to
51609         compute POW.
51610         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
51611         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
51612         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
51613         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
51614         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
51615         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
51617         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
51618         intermediate variable to calculate exponent.
51619         (__sqr): Likewise.
51620         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
51621         Likewise.
51622         (__sqr): Likewise.
51624         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
51625         [!NO__SQR]: Define __sqr.
51626         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
51627         and NO__SQR.  Remove all code except __mul and __sqr.  Include
51628         sysdeps/ieee754/dbl-64/mpa.c.
51629         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
51631         [BZ #12723]
51632         * posix/Makefile (tests): Add tst-pathconf.
51633         * posix/tst-pathconf.c: New test case.
51634         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
51635         _PC_PIPE_BUF.
51636         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
51638 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
51640         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
51642 2013-03-06  Andreas Jaeger  <aj@suse.de>
51644         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
51645         definition via __MAP_ANONYMOUS.
51647         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
51648         it's not part of Linux headers.
51650         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
51651         (MAP_HUGE_MASK): Define.
51653         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
51654         Define.
51655         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
51656         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
51657         Define.
51658         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
51659         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
51660         Define.
51661         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
51662         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
51663         Define.
51664         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
51666         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
51667         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
51668         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
51669         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
51670         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
51671         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
51673         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
51674         Handle f2fs.
51676         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
51677         Handle f2fs and efivarfs.
51679         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
51680         f2fs.
51682         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
51683         (EFIVARFS_MAGIC): Add.
51684         (F2FS_LINK_MAX): Add.
51686 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
51688         * stdio-common/vfprintf.c: Replace __builtin_expect with
51689         __glibc_unlikely.
51691 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
51693         [BZ #13550]
51694         * sysdeps/generic/bp-sym.h: Remove file.
51695         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
51696         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
51697         <bp-sym.h> and <bp-asm.h>.
51698         (__longjmp): Don't use BP_SYM.
51699         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
51700         and <bp-asm.h>.
51701         (memcpy): Don't use BP_SYM.
51702         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
51703         <bp-sym.h> and <bp-asm.h>.
51704         (memcpy): Don't use BP_SYM.
51705         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
51706         <bp-asm.h>.
51707         (memcpy): Don't use BP_SYM.
51708         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
51709         <bp-asm.h>.
51710         (memset): Don't use BP_SYM.
51711         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
51712         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
51713         (__bzero): Don't use BP_SYM.
51714         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
51715         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
51716         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
51717         <bp-sym.h> and <bp-asm.h>.
51718         (memcmp): Don't use BP_SYM.  Remove comment about bounded
51719         pointers.
51720         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
51721         <bp-sym.h> and <bp-asm.h>.
51722         (memcpy): Don't use BP_SYM.
51723         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
51724         <bp-sym.h> and <bp-asm.h>.
51725         (memset): Don't use BP_SYM.
51726         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
51727         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
51728         (__bzero): Don't use BP_SYM.
51729         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
51730         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
51731         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
51732         <bp-sym.h> and <bp-asm.h>.
51733         (strncmp): Don't use BP_SYM.  Remove comment about bounded
51734         pointers.
51735         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
51736         <bp-sym.h> and <bp-asm.h>.
51737         (memcpy): Don't use BP_SYM.
51738         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
51739         <bp-sym.h> and <bp-asm.h>.
51740         (memset): Don't use BP_SYM.
51741         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
51742         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
51743         (__bzero): Don't use BP_SYM.
51744         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
51745         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
51746         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
51747         <bp-sym.h> and <bp-asm.h>.
51748         (__memchr): Don't use BP_SYM.
51749         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
51750         <bp-sym.h> and <bp-asm.h>.
51751         (memcmp): Don't use BP_SYM.  Remove comment about bounded
51752         pointers.
51753         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
51754         <bp-sym.h> and <bp-asm.h>.
51755         (memcpy): Don't use BP_SYM.
51756         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
51757         <bp-sym.h> and <bp-asm.h>.
51758         (__mempcpy): Don't use BP_SYM.
51759         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
51760         <bp-sym.h> and <bp-asm.h>.
51761         (__memrchr): Don't use BP_SYM.
51762         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
51763         <bp-sym.h> and <bp-asm.h>.
51764         (memset): Don't use BP_SYM.
51765         (__bzero): Likewise.
51766         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
51767         <bp-sym.h> and <bp-asm.h>.
51768         (__rawmemchr): Don't use BP_SYM.
51769         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
51770         <bp-sym.h> and <bp-asm.h>.
51771         (__STRCMP): Don't use BP_SYM.
51772         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
51773         <bp-sym.h> and <bp-asm.h>.
51774         (strchr): Don't use BP_SYM.
51775         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
51776         <bp-sym.h> and <bp-asm.h>.
51777         (__strchrnul): Don't use BP_SYM.
51778         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
51779         <bp-sym.h> and <bp-asm.h>.
51780         (strlen): Don't use BP_SYM.
51781         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
51782         <bp-sym.h> and <bp-asm.h>.
51783         (strncmp): Don't use BP_SYM.  Remove comment about bounded
51784         pointers.
51785         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
51786         <bp-sym.h> and <bp-asm.h>.
51787         (__strnlen): Don't use BP_SYM.
51788         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
51789         <bp-sym.h> and <bp-asm.h>.
51790         (__GI__setjmp): Don't use BP_SYM.
51791         (_setjmp): Likewise.
51792         (__sigsetjmp): Likewise.
51793         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
51794         (L(start_addresses)): Don't use BP_SYM.
51795         (_start): Likewise.
51796         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
51797         <bp-asm.h>.
51798         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
51799         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
51800         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
51801         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
51802         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
51803         <bp-asm.h>.
51804         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
51805         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
51806         about bounded pointers.
51807         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
51808         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
51809         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
51810         <bp-asm.h>.
51811         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
51812         about bounded pointers.  Remove GKM FIXME comments.
51813         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
51814         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
51815         <bp-asm.h>.
51816         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
51817         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
51818         Remove GKM FIXME comments.
51819         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
51820         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
51821         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
51822         <bp-asm.h>.
51823         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
51824         about bounded pointers.  Remove GKM FIXME comment.
51825         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
51826         and <bp-asm.h>.
51827         (strncmp): Don't use BP_SYM.  Remove comment about bounded
51828         pointers.
51829         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
51830         <bp-sym.h> and <bp-asm.h>.
51831         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
51832         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
51833         <bp-sym.h> and <bp-asm.h>.
51834         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
51835         comment.
51837 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
51839         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
51840         call free(NULL).
51842 2013-03-05  David S. Miller  <davem@davemloft.net>
51844         * po/es.po: Update from translation team.
51846 2013-03-05  Andreas Jaeger  <aj@suse.de>
51848         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
51849         <bits/mman-linux.h>.
51850         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
51851         is fine.
51852         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
51853         <bits/mman-linux.h> to end of file.
51854         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
51855         is fine.
51856         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
51857         <bits/mman-linux.h> to end of file.
51858         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
51859         is fine.
51860         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
51861         <bits/mman-linux.h> to end of file.
51863         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
51864         (MCL_CURRENT, MCL_FUTURE): Define here.
51866 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
51868         [BZ #15232]
51869         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
51870         attribute_hidden.
51871         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
51873 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
51875         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
51876         fourth parameter needed for rt_sigprocmask syscall.
51877         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
51878         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
51879         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
51880         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
51881         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
51882         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
51884 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
51886         [BZ #13550]
51887         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
51888         comment about bounded pointers.
51889         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
51890         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
51892 2013-03-04  Andreas Jaeger  <aj@suse.de>
51894         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
51895         common definitions.
51897         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
51898         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
51899         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
51900         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
51901         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
51902         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
51904 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51906         [BZ #15055]
51907         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
51908         __ieee754_sqrl instead of __sqrl.
51910 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
51912         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
51913         * sysdeps/powerpc/fpu_control.h: ... here.
51914         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
51915         * sysdeps/powerpc/bits/fenvinline.h: ... here.
51916         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
51917         * sysdeps/powerpc/bits/mathinline.h: ... here.
51919 2013-03-01  Roland McGrath  <roland@hack.frob.com>
51921         * elf/dl-hwcaps.c (_dl_important_hwcaps):
51922         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
51923         to just [NEED_DL_SYSINFO_DSO].
51924         * elf/dl-support.c: Likewise.
51925         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
51926         * elf/rtld.c (dl_main): Likewise.
51927         * elf/setup-vdso.h (setup_vdso): Likewise.
51928         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
51929         * sysdeps/unix/sysv/linux/dl-sysdep.c
51930         (_dl_discover_osversion): Likewise.
51932 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
51934         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
51935         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
51937 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
51939         * NEWS: Mention libm performance improvements and non-x86 PI
51940         futex support.
51942         * csu/libc-start.c (__pthread_initialize_minimal): Change
51943         function arguments.
51944         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
51946 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
51948         [BZ #13550]
51949         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
51950         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
51951         <bp-sym.h> and <bp-asm.h>.
51952         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
51953         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
51954         and <bp-asm.h>.
51955         (memcpy): Don't use BP_SYM.
51956         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
51957         <bp-asm.h>.
51958         (__mpn_add_n): Don't use BP_SYM.
51959         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
51960         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
51961         and <bp-asm.h>.
51962         (__mpn_addmul_1): Don't use BP_SYM.
51963         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
51964         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
51965         <bp-sym.h>.
51966         (_setjmp): Don't use BP_SYM.
51967         (__novmx_setjmp): Likewise.
51968         (__GI__setjmp): Likewise.
51969         (__vmx_setjmp): Likewise.
51970         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
51971         <bp-sym.h>.
51972         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
51973         (__bzero): Don't use BP_SYM.
51974         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
51975         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
51976         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
51977         <bp-sym.h> and <bp-asm.h>.
51978         (memcpy): Don't use BP_SYM.
51979         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
51980         <bp-sym.h> and <bp-asm.h>.
51981         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
51982         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
51983         <bp-sym.h> and <bp-asm.h>.
51984         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
51985         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
51986         <bp-asm.h>.
51987         (__mpn_lshift): Don't use BP_SYM.
51988         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
51989         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
51990         <bp-asm.h>.
51991         (memset): Don't use BP_SYM.
51992         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
51993         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
51994         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
51995         <bp-asm.h>.
51996         (__mpn_mul_1): Don't use BP_SYM.
51997         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
51998         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
51999         <bp-sym.h> and <bp-asm.h>.
52000         (memcmp): Don't use BP_SYM.
52001         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
52002         <bp-sym.h> and <bp-asm.h>.
52003         (memcpy): Don't use BP_SYM.
52004         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
52005         <bp-sym.h> and <bp-asm.h>.
52006         (memset): Don't use BP_SYM.
52007         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
52008         <bp-sym.h> and <bp-asm.h>.
52009         (strncmp): Don't use BP_SYM.
52010         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
52011         <bp-sym.h> and <bp-asm.h>.
52012         (memcpy): Don't use BP_SYM.
52013         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
52014         <bp-sym.h> and <bp-asm.h>.
52015         (memset): Don't use BP_SYM.
52016         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
52017         <bp-sym.h> and <bp-asm.h>.
52018         (__memchr): Don't use BP_SYM.
52019         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
52020         <bp-sym.h> and <bp-asm.h>.
52021         (memcmp): Don't use BP_SYM.
52022         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
52023         <bp-sym.h> and <bp-asm.h>.
52024         (memcpy): Don't use BP_SYM.
52025         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
52026         <bp-sym.h> and <bp-asm.h>.
52027         (__mempcpy): Don't use BP_SYM.
52028         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
52029         <bp-sym.h> and <bp-asm.h>.
52030         (__memrchr): Don't use BP_SYM.
52031         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
52032         <bp-sym.h> and <bp-asm.h>.
52033         (memset): Don't use BP_SYM.
52034         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
52035         <bp-sym.h> and <bp-asm.h>.
52036         (__rawmemchr): Don't use BP_SYM.
52037         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
52038         <bp-sym.h> and <bp-asm.h>.
52039         (__STRCMP): Don't use BP_SYM.
52040         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
52041         <bp-sym.h> and <bp-asm.h>.
52042         (strchr): Don't use BP_SYM.
52043         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
52044         <bp-sym.h> and <bp-asm.h>.
52045         (__strchrnul): Don't use BP_SYM.
52046         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
52047         <bp-sym.h> and <bp-asm.h>.
52048         (strlen): Don't use BP_SYM.
52049         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
52050         <bp-sym.h> and <bp-asm.h>.
52051         (strncmp): Don't use BP_SYM.
52052         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
52053         <bp-sym.h> and <bp-asm.h>.
52054         (__strnlen): Don't use BP_SYM.
52055         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
52056         <bp-asm.h>.
52057         (__mpn_rshift): Don't use BP_SYM.
52058         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
52059         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
52060         <bp-sym.h> and <bp-asm.h>.
52061         (__sigsetjmp): Don't use BP_SYM.
52062         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
52063         (L(start_addresses)): Don't use BP_SYM.
52064         (_start): Likewise.
52065         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
52066         <bp-asm.h>.
52067         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
52068         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
52069         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
52070         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
52071         <bp-asm.h>.
52072         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
52073         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
52074         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
52075         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
52076         <bp-asm.h>.
52077         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
52078         comments.
52079         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
52080         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
52081         <bp-asm.h>.
52082         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
52083         FIXME comments.
52084         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
52085         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
52086         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
52087         <bp-asm.h>.
52088         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
52089         comment.
52090         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
52091         and <bp-asm.h>.
52092         (strncmp): Don't use BP_SYM,
52093         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
52094         <bp-asm.h>.
52095         (__mpn_sub_n): Don't use BP_SYM.
52096         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
52097         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
52098         and <bp-asm.h>.
52099         (__mpn_submul_1): Don't use BP_SYM.
52100         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
52101         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
52102         <bp-sym.h> and <bp-asm.h>.
52103         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
52104         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
52105         <bp-sym.h> and <bp-asm.h>.
52106         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
52107         comment.
52109 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
52111         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
52112         Use ZK to minimize writes to Z.
52113         (sub_magnitudes): Simplify code a bit.
52114         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
52115         Use ZK to minimize writes to Z.
52116         (sub_magnitudes): Simplify code a bit.
52118 2013-02-27  Roland McGrath  <roland@hack.frob.com>
52120         * csu/gmon-start.c: Add special exception to license text.
52122 2013-02-27  Richard Henderson  <rth@redhat.com>
52124         * scripts/config.guess: Update from config.git.
52125         * scripts/config.sub: Likewise.
52127 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
52129         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
52131         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
52133         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
52135         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
52137         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
52139 2013-02-26  Roland McGrath  <roland@hack.frob.com>
52141         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
52142         [$(build-shared = yes].
52144 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
52146         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
52147         (__mul): Reduce iterations for calculating mantissa.
52149         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
52150         MPTWO.
52151         (__mpranred): Likewise.
52153         [BZ #15160]
52154         * malloc/memusagestat.c (main): Draw graphs for heap and stack
52155         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
52157 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
52159         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
52160         Define __attribute__.
52162 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
52164         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
52165         unused.
52166         * posix/regex_internal.h (__attribute): Remove.
52167         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
52168         (re_string_context_at): Likewise.
52169         (bitset_not): Use __attribute__ and mark function as possibly
52170         unused.
52171         (bitset_merge): Likewise.
52172         (bitset_mask): Likewise.
52173         (re_string_char_size_at): Likewise.
52174         (re_string_wchar_at): Likewise.
52175         (re_string_elem_size_at): Likewise.
52177 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
52179         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
52180         code.
52181         (cc32): Likewise.
52183         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
52184         (__acr): Likewise.
52185         (__cpy): Likewise.
52186         (norm): Likewise.
52187         (denorm): Likewise.
52188         (__dbl_mp): Likewise.
52189         (add_magnitudes): Likewise.
52190         (sub_magnitudes): Likewise.
52191         (__mul): Likewise.
52192         (__inv): Likewise.
52194         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
52195         style.
52197         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
52198         style.
52200         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
52201         code.
52203         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
52204         up changes with default code.
52205         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
52206         Likewise.
52208 2013-02-24  Allan McRae  <allan@archlinux.org>
52210         * manual/socket.texi (The Internet Namespace): Order menu items
52211         to match that in the file.
52213         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
52214         node listing of the info page menu.
52216 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
52218         [BZ #13550]
52219         * sysdeps/i386/bp-asm.h: Remove file.
52220         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
52221         (PARMS): Do not use macros from bp-asm.h.
52222         (S1): Likewise.
52223         (S2): Likewise.
52224         (SIZE): Likewise.
52225         (__mpn_add_n): Do not use BP_SYM
52226         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
52227         "bp-asm.h".
52228         (PARMS): Do not use macros from bp-asm.h.
52229         (S1): Likewise.
52230         (SIZE): Likewise.
52231         (__mpn_addmul_1): Do not use BP_SYM
52232         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
52233         "bp-asm.h".
52234         (PARMS): Do not use macros from bp-asm.h.
52235         (SIGMSK): Likewise.
52236         (_setjmp): Likewise.  Do not use BP_SYM.
52237         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
52238         "bp-asm.h".
52239         (PARMS): Do not use macros from bp-asm.h.
52240         (SIGMSK): Likewise.
52241         (setjmp): Likewise.  Do not use BP_SYM.
52242         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
52243         "bp-asm.h".
52244         (PARMS): Do not use macros from bp-asm.h.
52245         (__frexp): Do not use BP_SYM.
52246         (frexp): Likewise.
52247         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
52248         "bp-asm.h".
52249         (PARMS): Do not use macros from bp-asm.h.
52250         (__frexpf): Do not use BP_SYM.
52251         (frexpf): Likewise.
52252         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
52253         "bp-asm.h".
52254         (PARMS): Do not use macros from bp-asm.h.
52255         (__frexpl): Do not use BP_SYM.
52256         (frexpl): Likewise.
52257         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
52258         "bp-asm.h".
52259         (PARMS): Do not use macros from bp-asm.h.
52260         (__remquo): Do not use BP_SYM.
52261         (remquo): Likewise.
52262         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
52263         "bp-asm.h".
52264         (PARMS): Do not use macros from bp-asm.h.
52265         (__remquof): Do not use BP_SYM.
52266         (remquof): Likewise.
52267         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
52268         "bp-asm.h".
52269         (PARMS): Do not use macros from bp-asm.h.
52270         (__remquol): Do not use BP_SYM.
52271         (remquol): Likewise.
52272         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
52273         "bp-asm.h".
52274         (PARMS): Do not use macros from bp-asm.h.
52275         (DEST): Likewise.
52276         (SRC): Likewise.
52277         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
52278         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
52279         "bp-asm.h".
52280         (PARMS): Do not use macros from bp-asm.h.
52281         (strlen): Do not use BP_SYM.
52282         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
52283         "bp-asm.h".
52284         (PARMS): Do not use macros from bp-asm.h.
52285         (S1): Likewise.
52286         (S2): Likewise.
52287         (SIZE): Likewise.
52288         (__mpn_add_n): Do not use BP_SYM.
52289         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
52290         "bp-asm.h".
52291         (PARMS): Do not use macros from bp-asm.h.
52292         (S1): Likewise.
52293         (SIZE): Likewise.
52294         (__mpn_addmul_1): Do not use BP_SYM.
52295         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
52296         weak_alias.
52297         (bzero): Likewise.
52298         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
52299         "bp-asm.h".
52300         (PARMS): Do not use macros from bp-asm.h.
52301         (S): Likewise.
52302         (SIZE): Likewise.
52303         (__mpn_lshift): Do not use BP_SYM.
52304         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
52305         "bp-asm.h".
52306         (PARMS): Do not use macros from bp-asm.h.
52307         (DEST): Likewise.
52308         (SRC): Likewise.
52309         (LEN): Likewise.
52310         (memcpy): Likewise.  Do not use BP_SYM.
52311         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
52312         libc_hidden_def and weak_alias.
52313         (mempcpy): Do not use BP_SYM in weak_alias.
52314         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
52315         "bp-asm.h".
52316         (PARMS): Do not use macros from bp-asm.h.
52317         (DEST): Likewise.
52318         (LEN): Likewise.
52319         [!BZERO_P] (CHR): Likewise.
52320         (memset): Likewise.  Do not use BP_SYM.
52321         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
52322         "bp-asm.h".
52323         (PARMS): Do not use macros from bp-asm.h.
52324         (S1): Likewise.
52325         (SIZE): Likewise.
52326         (__mpn_mul_1): Do not use BP_SYM.
52327         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
52328         "bp-asm.h".
52329         (PARMS): Do not use macros from bp-asm.h.
52330         (S): Likewise.
52331         (SIZE): Likewise.
52332         (__mpn_rshift): Do not use BP_SYM.
52333         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
52334         "bp-asm.h".
52335         (PARMS): Do not use macros from bp-asm.h.
52336         (STR): Likewise.
52337         (CHR): Likewise.
52338         (strchr): Likewise.  Do not use BP_SYM.
52339         (index): Do not use BP_SYM in weak_alias.
52340         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
52341         "bp-asm.h".
52342         (PARMS): Do not use macros from bp-asm.h.
52343         (DEST): Likewise.
52344         (SRC): Likewise.
52345         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
52346         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
52347         "bp-asm.h".
52348         (PARMS): Do not use macros from bp-asm.h.
52349         (strlen): Do not use BP_SYM.
52350         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
52351         "bp-asm.h".
52352         (PARMS): Do not use macros from bp-asm.h.
52353         (S1): Likewise.
52354         (S2): Likewise.
52355         (SIZE): Likewise.
52356         (__mpn_sub_n): Do not use BP_SYM.
52357         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
52358         "bp-asm.h".
52359         (PARMS): Do not use macros from bp-asm.h.
52360         (S1): Likewise.
52361         (SIZE): Likewise.
52362         (__mpn_submul_1): Do not use BP_SYM.
52363         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
52364         "bp-asm.h".
52365         (PARMS): Do not use macros from bp-asm.h.
52366         (S1): Likewise.
52367         (S2): Likewise.
52368         (SIZE): Likewise.
52369         (__mpn_add_n): Do not use BP_SYM.
52370         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
52371         weak_alias.
52372         (bzero): Likewise.
52373         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
52374         "bp-asm.h".
52375         (PARMS): Do not use macros from bp-asm.h.
52376         (BLK2): Likewise.
52377         (LEN): Likewise.
52378         (memcmp): Do not use BP_SYM.
52379         (bcmp): Do not use BP_SYM in weak_alias.
52380         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
52381         "bp-asm.h".
52382         (PARMS): Do not use macros from bp-asm.h.
52383         (DEST): Likewise.
52384         (SRC): Likewise.
52385         (LEN): Likewise.
52386         (memcpy): Likewise.  Do not use BP_SYM.
52387         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
52388         "bp-asm.h".
52389         (PARMS): Do not use macros from bp-asm.h.
52390         (DEST): Likewise.
52391         (SRC): Likewise.
52392         (LEN): Likewise.
52393         (memmove): Likewise.  Do not use BP_SYM.
52394         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
52395         "bp-asm.h".
52396         (PARMS): Do not use macros from bp-asm.h.
52397         (DEST): Likewise.
52398         (SRC): Likewise.
52399         (LEN): Likewise.
52400         (__mempcpy): Likewise.  Do not use BP_SYM.
52401         (mempcpy): Do not use BP_SYM in weak_alias.
52402         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
52403         "bp-asm.h".
52404         (PARMS): Do not use macros from bp-asm.h.
52405         (DEST): Likewise.
52406         (LEN): Likewise.
52407         [!BZERO_P] (CHR): Likewise.
52408         (memset): Likewise.  Do not use BP_SYM.
52409         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
52410         "bp-asm.h".
52411         (PARMS): Do not use macros from bp-asm.h.
52412         (STR2): Likewise.
52413         (strcmp): Do not use BP_SYM.
52414         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
52415         "bp-asm.h".
52416         (PARMS): Do not use macros from bp-asm.h.
52417         (STR): Likewise.
52418         (DELIM): Likewise.
52419         [USE_AS_STRTOK_R] (SAVE): Likewise.
52420         (FUNCTION): Likewise.  Do not use BP_SYM.
52421         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
52422         aliases.
52423         (strtok_r): Likewise.
52424         (__GI___strtok_r): Likewise.
52425         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
52426         (PARMS): Do not use macros from bp-asm.h.
52427         (S): Likewise.
52428         (SIZE): Likewise.
52429         (__mpn_lshift): Do not use BP_SYM.
52430         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
52431         (PARMS): Do not use macros from bp-asm.h.
52432         (STR): Likewise.
52433         (CHR): Likewise.
52434         (__memchr): Do not use BP_SYM.
52435         (memchr): Do not use BP_SYM in weak_alias.
52436         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
52437         (PARMS): Do not use macros from bp-asm.h.
52438         (BLK2): Likewise.
52439         (LEN): Likewise.
52440         (memcmp): Do not use BP_SYM.
52441         (bcmp): Do not use BP_SYM in weak_alias.
52442         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
52443         (PARMS): Do not use macros from bp-asm.h.
52444         (S1): Likewise.
52445         (SIZE): Likewise.
52446         (__mpn_mul_1): Do not use BP_SYM.
52447         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
52448         "bp-asm.h".
52449         (PARMS): Do not use macros from bp-asm.h.
52450         (STR): Likewise.
52451         (CHR): Likewise.
52452         (__rawmemchr): Do not use BP_SYM.
52453         (rawmemchr): Do not use BP_SYM in weak_alias.
52454         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
52455         (PARMS): Do not use macros from bp-asm.h.
52456         (S): Likewise.
52457         (SIZE): Likewise.
52458         (__mpn_rshift): Do not use BP_SYM.
52459         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
52460         (PARMS): Do not use macros from bp-asm.h.
52461         (SIGMSK): Likewise.
52462         (__sigsetjmp): Likewise.  Do not use BP_SYM.
52463         * sysdeps/i386/start.S: Do not include "bp-sym.h".
52464         (_start): Do not use BP_SYM.
52465         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
52466         (PARMS): Do not use macros from bp-asm.h.
52467         (DEST): Likewise.
52468         (SRC): Likewise.
52469         (__stpcpy): Likewise.  Do not use BP_SYM.
52470         (stpcpy): Do not use BP_SYM in weak_alias.
52471         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
52472         "bp-asm.h".
52473         (PARMS): Do not use macros from bp-asm.h.
52474         (DEST): Likewise.
52475         (SRC): Likewise.
52476         (LEN): Likewise.
52477         (__stpncpy): Likewise.  Do not use BP_SYM.
52478         (stpncpy): Do not use BP_SYM in weak_alias.
52479         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
52480         (PARMS): Do not use macros from bp-asm.h.
52481         (STR): Likewise.
52482         (CHR): Likewise.
52483         (strchr): Likewise.  Do not use BP_SYM.
52484         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
52485         "bp-asm.h".
52486         (PARMS): Do not use macros from bp-asm.h.
52487         (STR): Likewise.
52488         (CHR): Likewise.
52489         (__strchrnul): Likewise.  Do not use BP_SYM.
52490         (strchrnul): Do not use BP_SYM in weak_alias.
52491         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
52492         "bp-asm.h".
52493         (PARMS): Do not use macros from bp-asm.h.
52494         (STOP): Likewise.
52495         (strcspn): Do not use BP_SYM.
52496         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
52497         "bp-asm.h".
52498         (PARMS): Do not use macros from bp-asm.h.
52499         (STR): Likewise.
52500         (STOP): Likewise.
52501         (strpbrk): Likewise.  Do not use BP_SYM.
52502         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
52503         "bp-asm.h".
52504         (PARMS): Do not use macros from bp-asm.h.
52505         (STR): Likewise.
52506         (CHR): Likewise.
52507         (strrchr): Likewise.  Do not use BP_SYM.
52508         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
52509         (PARMS): Do not use macros from bp-asm.h.
52510         (SKIP): Likewise.
52511         (strspn): Do not use BP_SYM.
52512         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
52513         (PARMS): Do not use macros from bp-asm.h.
52514         (STR): Likewise.
52515         (DELIM): Likewise.
52516         (SAVE): Likewise.
52517         (FUNCTION): Likewise.  Do not use BP_SYM.
52518         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
52519         aliases.
52520         (strtok_r): Likewise.
52521         (__GI___strtok_r): Likewise.
52522         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
52523         (PARMS): Do not use macros from bp-asm.h.
52524         (S1): Likewise.
52525         (S2): Likewise.
52526         (SIZE): Likewise.
52527         (__mpn_sub_n): Do not use BP_SYM.
52528         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
52529         "bp-asm.h".
52530         (PARMS): Do not use macros from bp-asm.h.
52531         (S1): Likewise.
52532         (SIZE): Likewise.
52533         (__mpn_submul_1): Do not use BP_SYM.
52534         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
52535         <bp-sym.h>.
52536         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
52537         and <bp-asm.h>.
52538         (PARMS): Do not use macros from bp-asm.h.
52539         (FLAGS): Likewise.
52540         (PTID): Likewise.
52541         (TLS): Likewise.
52542         (CTID): Likewise.
52543         (__clone): Do not use BP_SYM.
52544         (clone): Do not use BP_SYM in weak_alias.
52545         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
52546         and <bp-asm.h>.
52547         (PARMS): Do not use macros from bp-asm.h.
52548         (LEN): Likewise.
52549         (__mmap64): Do not use BP_SYM.
52550         (mmap64): Do not use BP_SYM in weak_alias.
52551         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
52552         <bp-sym.h> and <bp-asm.h>.
52553         (PARMS): Do not use macros from bp-asm.h.
52554         (__posix_fadvise64_l64): Do not use BP_SYM.
52555         * sysdeps/unix/sysv/linux/i386/semtimedop.S
52556         (PARMS): Do not use macros from bp-asm.h.
52557         (NSOPS): Likewise.
52558         (semtimedop): Do not use BP_SYM.
52559         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
52560         and <bp-asm.h>.
52562 2013-02-21  Allan McRae  <allan@archlinux.org>
52564         * manual/message.texi (Charset conversion in gettext):
52565         Move @end statement to beginning of line.
52567 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
52569         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
52570         static.
52571         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
52572         Likewise.
52574         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
52575         (denorm): Likewise.
52576         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
52577         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
52579 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
52581         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
52582         tail-call to the resolved function if pltexit isn't needed.
52584 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
52586         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
52587         or Y being zero as being unlikely.
52588         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
52589         Likewise.
52591 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
52593         * manual/nss.texi (System Databases and Name Service Switch):
52594         Remove frobnicate @pxref.
52596 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
52598         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
52599         __attribute__ ((unused)) to __attribute__ ((__unused__)).
52601 2013-02-20  Petr Machata  <pmachata@redhat.com>
52603         * elf/elf.h (R_ARM_TARGET1): New macro.
52604         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
52605         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
52606         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
52607         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
52608         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
52609         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
52610         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
52611         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
52612         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
52613         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
52614         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
52615         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
52616         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
52617         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
52618         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
52619         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
52620         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
52621         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
52622         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
52623         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
52624         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
52625         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
52626         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
52627         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
52628         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
52629         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
52630         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
52631         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
52632         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
52633         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
52634         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
52635         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
52636         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
52637         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
52638         (R_ARM_THM_GOT_BREL12): Likewise.
52639         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
52640         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
52641         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
52642         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
52643         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
52644         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
52645         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
52646         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
52647         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
52649 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
52651         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
52652         __attribute_used__ to __attribute__ ((unused)).
52654 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
52656         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
52657         powerpc mpa.c.
52658         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
52659         comment formatting.
52660         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
52662 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
52664         [BZ #13550]
52665         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
52666         Remove macro.
52667         (ENTER): Remove both macro definitions.
52668         (LEAVE): Likewise.
52669         (CHECK_BOUNDS_LOW): Likewise.
52670         (CHECK_BOUNDS_HIGH): Likewise.
52671         (CHECK_BOUNDS_BOTH): Likewise.
52672         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
52673         (RETURN_BOUNDED_POINTER): Likewise.
52674         (RETURN_NULL_BOUNDED_POINTER): Likewise.
52675         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
52676         (POP_ERRNO_LOCATION_RETURN): Likewise.
52677         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
52678         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
52679         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
52680         macros.
52681         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
52682         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
52683         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
52684         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
52685         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
52686         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
52687         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
52688         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
52689         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
52690         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
52691         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
52692         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
52693         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
52694         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
52695         removed macros.
52696         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
52697         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
52698         macros.
52699         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
52700         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
52701         * sysdeps/i386/i586/memset.S (memset): Likewise.
52702         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
52703         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
52704         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
52705         macros.
52706         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
52707         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
52708         Change uses of L(2) to L(out).
52709         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
52710         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
52711         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
52712         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
52713         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
52714         removed macros.
52715         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
52716         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
52717         macros.
52718         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
52719         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
52720         (RETURN): Do not use macro LEAVE.
52721         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
52722         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
52723         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
52724         * sysdeps/i386/i686/memset.S (memset): Likewise.
52725         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
52726         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
52727         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
52728         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
52729         Likewise.
52730         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
52731         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
52732         L(1_2) and L(1_3) into L(1).
52733         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
52734         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
52735         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
52736         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
52737         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
52738         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
52739         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
52740         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
52741         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
52742         macros.
52743         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
52744         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
52745         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
52746         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
52747         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
52748         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
52749         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
52750         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
52751         * sysdeps/i386/strcspn.S (strcspn): Likewise.
52752         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
52753         * sysdeps/i386/strrchr.S (strrchr): Likewise.
52754         * sysdeps/i386/strspn.S (strspn): Likewise.
52755         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
52756         conditional code.
52757         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
52758         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
52759         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
52760         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
52761         L(1_3) into L(1_1).
52762         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
52763         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
52764         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
52765         macros.
52766         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
52768 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
52770         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
52771         macro.
52773 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
52775         * math/atest-exp.c (exp_mpn): Remove ROUND.
52776         * math/atest-exp2.c (exp_mpn): Likewise.
52777         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
52779         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
52780         * stdlib/tst-tls-atexit-lib.c: Likewise.
52781         * stdlib/tst-tls-atexit.c: Likewise.
52783 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
52785         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
52786         and __attribute_alloc_size__.
52788 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
52790         * include/programs/xmalloc.h: Change __attribute_alloc_size to
52791         __attribute_alloc_size__.
52792         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
52793         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
52795 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
52797         * include/programs/xmalloc.h: New file.
52798         * catgets/gencat.c: Include it.
52799         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
52800         * elf/pldd.c: Likewise.
52801         * iconv/iconv_charmap.c: Likewise.
52802         * iconv/iconvconfig.c: Likewise.
52803         * iconv/strtab.c: Likewise.
52804         * locale/programs/locale.c: Likewise.
52805         * locale/programs/localedef.h: Likewise.
52806         * locale/programs/simple-hash.c: Likewise.
52807         * nscd/nscd.h: Likewise.
52808         * nss/makedb.c: Likewise.
52809         * sysdeps/generic/ldconfig.h: Likewise.
52811 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
52813         * Versions.def: Add GLIBC_2.18.
52814         * include/link.h (struct link_map): New member l_tls_dtor_count.
52815         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
52816         (__call_tls_dtors): Likewise.
52817         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
52818         __cxa_thread_atexit_impl.
52819         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
52820         Likewise.
52821         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
52822         Likewise.
52823         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
52824         Likewise.
52825         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
52826         Likewise.
52827         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
52828         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
52829         Likewise.
52830         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
52831         Likewise.
52832         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
52833         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
52834         Likewise.
52835         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
52836         (tests): Add test case tst-tls-atexit.
52837         (modules-names): Add shared library for tst-tls-atexit.
52838         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
52839         (GLIBC_PRIVATE): Add __call_tls_dtors.
52840         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
52841         for libstdc++.
52842         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
52843         * stdlib/tst-tls-atexit.c: New test case.
52844         * stdlib/tst-tls-atexit-lib.c: New test case.
52846         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
52848         * elf/Versions (ld): Add _dl_find_dso_for_object.
52849         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
52850         * elf/dl-open.c (_dl_find_dso_for_object): New function.
52851         (dl_open_worker): Use _dl_find_dso_for_object.
52852         * elf/dl-sym.c (do_sym): Likewise.
52853         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
52855 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
52857         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
52858         Syntactic changes only.
52859         (_dl_runtime_profile): Do a tail-call to the resolved function.
52861 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
52863         [BZ #13550]
52864         * sysdeps/x86_64/bp-asm.h: Remove file.
52865         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
52866         <bp-sym.h> and <bp-asm.h>.
52867         (__clone): Do not use BP_SYM.
52868         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
52869         <bp-sym.h> and <bp-asm.h>.
52870         * sysdeps/unix/x86_64/sysdep.S: Likewise.
52871         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
52872         "bp-asm.h".
52873         (_setjmp): Do not use BP_SYM.
52874         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
52875         "bp-asm.h".
52876         (setjmp): Do not use BP_SYM.
52877         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
52878         libc_hidden_def.
52879         (mempcpy): Do not use BP_SYM in weak_alias.
52880         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
52881         "bp-asm.h".
52882         (strchr): Do not use BP_SYM.
52883         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
52884         "bp-asm.h".
52885         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
52886         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
52887         (_start): Do not use BP_SYM.
52888         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
52889         "bp-asm.h".
52890         (strcat): Do not use BP_SYM.
52891         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
52892         "bp-asm.h".
52893         (STRCMP): Do not use BP_SYM.
52894         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
52895         "bp-asm.h".
52896         (STRCPY): Do not use BP_SYM.
52897         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
52898         "bp-asm.h".
52899         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
52900         "bp-asm.h".
52901         (FUNCTION): Do not use BP_SYM.
52902         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
52903         weak_alias.
52904         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
52906 2013-02-17  Andreas Jaeger  <aj@suse.de>
52908         * time/Versions: Sort entries.
52909         * string/Versions: Likewise.
52910         * resolv/Versions: Likewise.
52911         * posix/Versions: Likewise.
52912         * iconv/Versions: Likewise.
52913         * elf/Versions: Likewise.
52914         * wcsmbs/Versions: Likewise.
52916 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
52918         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
52919         loop termination condition.
52921         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
52922         variable to calculate EZ.
52923         (__sqr): Likewise.
52925         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
52926         the lower precision input.
52928 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
52930         [BZ #13550]
52931         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
52932         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
52933         (run-via-rtld-prefix): Do not handle %-bp tests.
52934         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
52935         (all-object-suffixes): Remove .ob.
52936         (bppfx): Remove variable.
52937         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
52938         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
52939         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
52940         [$(build-bounded) = yes] (libtype.ob): Likewise.
52941         * Makerules (elide-routines.ob): Remove variable.
52942         (do-tests-clean): Do not handle *-bp.out.
52943         (common-mostlyclean): Do not handle *-bp and *-bp.out.
52944         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
52945         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
52946         (tests): Do not include $(tests-bp.out).
52947         (xtests): Do not include $(xtests-bp.out).
52948         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
52949         [$(build-bounded) = yes] ($(addprefix
52950         $(objpfx),$(binaries-bounded))): Remove rule.
52951         ($(objpfx)%-bp.out): Remove rule.
52952         * config.make.in (build-bounded): Remove variable.
52953         * crypt/Makefile [$(build-bounded) = yes]
52954         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
52955         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
52956         append to variable.
52957         [$(build-bounded) = yes] (install-lib): Likewise.
52958         [$(build-bounded) = yes] (generated): Likewise.
52959         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
52960         Remove rule.
52961         * intl/Makefile [$(build-bounded) = yes]
52962         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
52963         * math/Makefile [$(build-bounded) = yes]
52964         ($(tests:%=$(objpfx)%-bp): Likewise.
52965         * misc/Makefile [$(build-bounded) = yes]
52966         ($(objpfx)tst-tsearch-bp): Likewise.
52967         * nptl/Makeconfig (bounded-thread-library): Remove variable.
52968         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
52969         Remove dependency.
52970         * string/Makefile (o-objects.ob): Remove variable.
52971         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
52972         (CFLAGS-.ob): Remove variable.
52973         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
52974         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
52975         both definitions of variable.
52976         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
52977         (ASFLAGS-.ob): Remove variable.
52979 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
52981         [BZ #13550]
52982         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
52983         Remove __BOUNDED_POINTERS__ from condition.
52984         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
52985         * string/bits/string2.h [!__NO_STRING_INLINES &&
52986         !__BOUNDED_POINTERS__]: Likewise.
52987         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
52988         Likewise.
52989         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
52990         Remove conditional code.
52991         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
52992         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
52993         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
52994         condition.
52996         [BZ #13550]
52997         * csu/libc-start.c: Do not include <bp-sym.h>.
52998         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
52999         * elf/dl-open.c: Do not include <bp-sym.h>.
53000         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
53001         * math/fegetenv.c: Do not include <bp-sym.h>.
53002         (fegetenv): Do not use BP_SYM in versioned symbols.
53003         * nptl/sysdeps/pthread/bits/libc-lockP.h
53004         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
53005         <bp-sym.h>.
53006         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
53007         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
53008         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
53009         (__pthread_mutex_destroy): Likewise.
53010         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
53011         (__pthread_mutex_lock): Likewise.
53012         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
53013         (__pthread_mutex_trylock): Likewise.
53014         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
53015         (__pthread_mutex_unlock): Likewise.
53016         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
53017         (__pthread_mutexattr_init): Likewise.
53018         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
53019         (__pthread_mutexattr_destroy): Likewise.
53020         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
53021         (__pthread_mutexattr_settype): Likewise.
53022         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
53023         (__pthread_rwlock_init): Likewise.
53024         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
53025         (__pthread_rwlock_destroy): Likewise.
53026         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
53027         (__pthread_rwlock_rdlock): Likewise.
53028         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
53029         (__pthread_rwlock_tryrdlock): Likewise.
53030         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
53031         (__pthread_rwlock_wrlock): Likewise.
53032         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
53033         (__pthread_rwlock_trywrlock): Likewise.
53034         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
53035         (__pthread_rwlock_unlock): Likewise.
53036         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
53037         (__pthread_key_create): Likewise.
53038         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
53039         (__pthread_setspecific): Likewise.
53040         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
53041         (__pthread_getspecific): Likewise.
53042         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
53043         Likewise.
53044         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
53045         (_pthread_cleanup_push_defer): Likewise.
53046         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
53047         (_pthread_cleanup_pop_restore): Likewise.
53048         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
53049         (pthread_setcancelstate): Likewise.
53050         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
53051         <bp-sym.h>.
53052         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
53053         (memchr): Do not use BP_SYM in weak_alias.
53054         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
53055         (fegetenv): Do not use BP_SYM in versioned symbols.
53056         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
53057         (fesetenv): Do not use BP_SYM in versioned symbols.
53058         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
53059         (feupdateenv): Do not use BP_SYM in versioned symbols.
53060         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
53061         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
53062         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
53063         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
53064         (open64): Do not use BP_SYM in weak_alias.
53065         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
53066         (fegetenv): Do not use BP_SYM in versioned symbols.
53067         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
53068         (fesetenv): Do not use BP_SYM in versioned symbols.
53069         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
53070         (feupdateenv): Do not use BP_SYM in versioned symbols.
53071         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
53072         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
53073         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
53074         (feraiseexcept): Do not use BP_SYM in versioned symbols.
53075         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
53076         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
53077         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
53078         <bp-sym.h>.
53079         (__libc_start_main): Do not use BP_SYM.
53081 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
53083         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
53084         redundant return line.
53085         (norm): Likewise.
53086         (denorm): Likewise.
53087         (dbl_mp): Likewise.
53088         (sub_magnitudes): Likewise.
53089         (__add): Likewise.
53090         (__sub): Likewise.
53091         (__mul): Likewise.
53092         (__inv): Likewise.
53093         (__dvd): Likewise.
53094         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
53095         (norm): Likewise.
53096         (denorm): Likewise.
53097         (dbl_mp): Likewise.
53098         (sub_magnitudes): Likewise.
53099         (__add): Likewise.
53100         (__sub): Likewise.
53101         (__mul): Likewise.
53102         (__inv): Likewise.
53103         (__dvd): Likewise.
53105         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
53106         instead of __mul.
53107         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
53108         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
53109         (cc32): Likewise.
53111         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
53112         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
53113         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
53114         of __mul for squares.
53115         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
53116         function
53117         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
53118         Likewise.
53119         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
53120         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
53122 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
53124         [BZ #13550]
53125         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
53126         code.
53127         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
53128         prototype or function definition.  Rename ubp_* variables and
53129         parameters.  Remove argv definitions conditional on
53130         [__BOUNDED_POINTERS__].
53131         * debug/backtrace.c (__backtrace): Do not use __unbounded.
53132         * elf/dl-runtime.c (_dl_fixup): Likewise.
53133         * include/set-hooks.h (RUN_HOOK): Likewise.
53134         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
53135         definition.
53136         * string/strcpy.c (strcpy): Do not use __unbounded.
53137         * sysdeps/generic/frame.h (struct layout): Likewise.
53138         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
53139         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
53140         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
53141         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
53142         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
53143         (__backtrace): Likewise.
53144         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
53145         use __ptrvalue.
53146         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
53147         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
53148         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
53149         Likewise.
53150         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
53151         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
53152         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
53153         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
53154         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
53155         Do not use __unbounded.
53156         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
53157         Rename __unboundedrlimits parameter to rlimits in prototype.
53158         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
53159         Do not use __unbounded.
53160         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
53161         not use __ptrvalue.
53162         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
53163         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
53164         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
53165         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
53166         __ptrvalue or __unbounded.
53167         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
53168         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
53169         use __unbounded.
53170         (__new_msgctl): Do not use __ptrvalue.
53171         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
53172         __unbounded.
53173         (__libc_msgrcv): Do not use __ptrvalue.
53174         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
53175         startup_info): Do not use __unbounded.
53176         (__libc_start_main): Likewise.  Rename ubp_* variables and
53177         parameters.  Remove argv definitions conditional on
53178         [__BOUNDED_POINTERS__].
53179         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
53180         __ptrvalue.
53181         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
53182         use __unbounded.
53183         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
53184         or __ptrvalue.
53185         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
53186         use __unbounded.
53187         (__new_shmctl): Do not use __ptrvalue.
53188         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
53189         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
53190         Likewise.
53191         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
53192         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
53193         (__libc_sigaction): Likewise.
53194         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
53195         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
53196         Likewise.
53197         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
53199 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
53201         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
53203         * string/mempcpy.c: Implement by calling memcpy.
53205 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
53207         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
53209         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
53210         evaluation.
53212         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
53213         values in the mantissa.
53215         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
53216         minimize writes to Z.
53217         (sub_magnitudes): Simplify code a bit.
53219 2013-02-12  Roland McGrath  <roland@hack.frob.com>
53221         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
53222         from the message.  The linker prefixes all warnings with that already.
53224 2013-02-12  Andreas Schwab  <schwab@suse.de>
53226         [BZ #15078]
53227         * posix/regexec.c (extend_buffers): Add parameter min_len.
53228         (check_matching): Pass minimum needed length.
53229         (clean_state_log_if_needed): Likewise.
53230         (get_subexp): Likewise.
53231         * posix/Makefile (tests): Add bug-regex34.
53232         (bug-regex34-ENV): Define.
53233         * posix/bug-regex34.c: New file.
53235         [BZ #11561]
53236         * posix/regcomp.c (parse_bracket_exp): When looking up collating
53237         elements compare against the byte sequence of it, not its name.
53238         * posix/Makefile (tests): Add bug-regex35.
53239         (bug-regex35-ENV): Define.
53240         * posix/bug-regex35.c: New file.
53242 2013-02-11  Tom de Vries  <tom@codesourcery.com>
53244         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
53245         comment.
53246         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
53247         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
53248         (CHECK_EOL): Add undef.
53250 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
53252         * bits/stdlib-bsearch.h: New file.
53253         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
53254         * stdlib/stdlib.h: Likewise.
53256 2013-02-11  Roland McGrath  <roland@hack.frob.com>
53258         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
53259         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
53260         declaration.
53261         * manual/search.texi (Array Search Function): Add missing const in
53262         lfind prototype.
53263         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
53264         declaration to use rlim_t.
53265         (Basic Scheduling Functions): Remove erroneous const from
53266         sched_getparam prototype.  Remove erroneous * from
53267         sched_get_priority_max and sched_get_priority_min prototypes.
53268         (Resource Usage): Fix summary @comment on vtimes to refer to
53269         sys/vtimes.h rather than vtimes.h.
53270         Add missing *s in vtimes prototype.
53271         (Limits on Resources): Fix ulimit prototype to return long int.
53272         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
53273         prototypes to use long int rather than double.
53274         (BSD Random): Fix initstate and setstate to use char *, not void *.
53275         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
53276         prototype to make second argument 'struct aiocb64 *const[]'.
53277         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
53278         (Status of AIO Operations): Remove erroneous const in aio_return and
53279         aio_return64 prototypes.
53280         (Synchronizing I/O): Fix sync prototype to return void.
53281         * manual/startup.texi (Suboptions): Remove an erroneous const in
53282         getsubopt prototype.
53283         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
53284         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
53285         use size_t rather than int.
53286         (Scanning All Users): Likewise for getpwent_r.
53287         (Setting Groups): Add missing const to setgroups prototype.
53288         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
53289         * manual/socket.texi (Host Names): Fix gethostbyaddr and
53290         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
53291         'const void *' rather than 'const char *'.
53292         (Host Address Functions): Likewise for inet_ntop.
53293         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
53294         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
53295         ssize_t for return value.
53296         (Sending Data): Likewise for send, sendto, sendmsg.
53297         (Socket Option Functions): Add a missing const in setsockopt prototype.
53298         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
53299         use wchar_t for the argument.
53300         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
53301         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
53302         take no arguments.
53303         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
53304         double/float/long double for second argument.
53305         Fix return types of significand, significandf, significandl.
53306         * manual/filesys.texi (Setting Permissions): Use mode_t for second
53307         argument in fchmod prototype.
53308         (File Owner): Use uid_t and gid_t in fchown prototype.
53309         (File Times): Add const to utimes, futimes, and lutimes prototypes.
53310         (Making Special Files): Use mode_t and dev_t in mknod prototype.
53311         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
53312         use 'const struct dirent **' as argument types to CMP function pointer
53313         argument.
53314         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
53315         (File Times): Fix summary magic @comment for struct utimbuf and utime
53316         to refer to utime.h, not time.h.
53317         * manual/string.texi (Argz Functions): Add missing const in
53318         argz_extract and argz_next prototypes.
53319         (Finding Tokens in a String): Likewise for basename.
53320         (String/Array Comparison): Fix typo in wcscasecmp prototype.
53321         (Copying and Concatenation): Fix typo in wmemmove prototype.
53322         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
53323         (Signal Stack): Remove erroneous const in sigstack prototype.
53324         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
53325         prototype.
53326         (Simple Calendar Time): Likewise for stime.
53327         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
53328         prototype.
53329         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
53330         say sys/sysctl.h instead.
53331         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
53332         and vsyslog prototypes.
53334 2013-02-11  Tom de Vries  <tom@codesourcery.com>
53336         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
53337         Remove.
53339 2013-02-11  Roland McGrath  <roland@hack.frob.com>
53341         * misc/sys/mman.h: Fix typo in mremap comment.
53343 2013-02-08  Roland McGrath  <roland@hack.frob.com>
53345         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
53346         the '\0' terminator.
53348 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
53350         [BZ #13550]
53351         * debug/segfault.c: Don't include <bp-checks.h>.
53352         * sysdeps/generic/bp-checks.h: Remove file.
53353         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
53354         (__GETDENTS): Don't use CHECK_N.
53355         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
53356         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
53357         (__getgroups): Don't use CHECK_N.
53358         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
53359         (setgroups): Don't use CHECK_N.
53360         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
53361         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
53362         (__libc_msgrcv): Don't use CHECK_N.
53363         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
53364         (__libc_msgsnd): Don't use CHECK_N.
53365         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
53366         <bp-checks.h>.
53367         (__libc_pread): Don't use CHECK_N.
53368         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
53369         include <bp-checks.h>.
53370         (__libc_pread64): Don't use CHECK_N.
53371         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
53372         include <bp-checks.h>.
53373         (__libc_pwrite): Don't use CHECK_N.
53374         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
53375         include <bp-checks.h>.
53376         (__libc_pwrite64): Don't use CHECK_N.
53377         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
53378         <bp-checks.h>.
53379         (__libc_pread): Don't use CHECK_N.
53380         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
53381         include <bp-checks.h>.
53382         (__libc_pread64): Don't use CHECK_N.
53383         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
53384         include <bp-checks.h>.
53385         (__libc_pwrite): Don't use CHECK_N.
53386         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
53387         include <bp-checks.h>.
53388         (__libc_pwrite64): Don't use CHECK_N.
53389         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
53390         (do_pread): Don't use CHECK_N.
53391         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
53392         (do_pread64): Don't use CHECK_N.
53393         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
53394         (do_pwrite): Don't use CHECK_N.
53395         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
53396         (do_pwrite64): Don't use CHECK_N.
53397         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
53398         (__libc_readv): Don't use CHECK_N.
53399         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
53400         (semop): Don't use CHECK_N.
53401         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
53402         <bp-checks.h>.
53403         (semtimedop): Don't use CHECK_N.
53404         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
53405         (__libc_pread): Don't use CHECK_N.
53406         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
53407         <bp-checks.h>.
53408         (__libc_pread64): Don't use CHECK_N.
53409         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
53410         <bp-checks.h>.
53411         (__libc_pwrite): Don't use CHECK_N.
53412         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
53413         <bp-checks.h>.
53414         (__libc_pwrite64): Don't use CHECK_N.
53415         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
53416         <bp-checks.h>.
53417         (__libc_msgrcv): Don't use CHECK_N.
53418         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
53419         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
53420         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
53421         (__libc_writev): Don't use CHECK_N.
53423 2013-02-08  Roland McGrath  <roland@hack.frob.com>
53425         * string/strcpy.c: Removed unused variable.
53427         * Makeconfig (+sysdep-includes): Define with := rather than =.
53428         Use an existing include/ subdir of each sysdeps dir before it.
53430 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
53432         * nscd/connection.c (register_traced_file): Comment function.
53433         [HAVE_INOTIFY] (union __inev): Define.
53434         [HAVE_INOTIFY] (inotify_check_files): New function.
53435         [HAVE_INOTIFY] (clear_db_cache): Likewise.
53436         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
53437         clear_db_cache.
53438         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
53440 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
53442         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
53443         loaded if not already and that a failure is permanent.
53445 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
53447         [BZ #15006]
53448         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
53449         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
53451 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
53453         [BZ #13550]
53454         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
53455         (CHECK_1_NULL_OK): Likewise.
53456         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
53457         (__fxstat): Do not use CHECK_1.
53458         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
53459         <bp-checks.h>.
53460         (___fxstat64): Do not use CHECK_1.
53461         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
53462         <bp-checks.h>.
53463         (__fxstatat): Do not use CHECK_1.
53464         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
53465         <bp-checks.h>.
53466         (__fxstatat64): Do not use CHECK_1.
53467         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
53468         <bp-checks.h>.
53469         (__fxstat): Do not use CHECK_1.
53470         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
53471         <bp-checks.h>.
53472         (__fxstatat): Do not use CHECK_1.
53473         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
53474         <bp-checks.h>.
53475         (__getresgid): Do not use CHECK_1.
53476         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
53477         <bp-checks.h>.
53478         (__getresuid): Do not use CHECK_1.
53479         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
53480         <bp-checks.h>.
53481         (__lxstat): Do not use CHECK_1.
53482         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
53483         <bp-checks.h>.
53484         (__old_msgctl): Do not use CHECK_1.
53485         (__new_msgctl): Likewise.
53486         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
53487         <bp-checks.h>.
53488         (__new_setrlimit): Do not use CHECK_1.
53489         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
53490         <bp-checks.h>.
53491         (__old_shmctl): Do not use CHECK_1.
53492         (__new_shmctl): Likewise.
53493         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
53494         <bp-checks.h>.
53495         (__xstat): Do not use CHECK_1.
53496         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
53497         (__lxstat): Do not use CHECK_1.
53498         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
53499         <bp-checks.h>.
53500         (___lxstat64): Do not use CHECK_1.
53501         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
53502         (__old_msgctl): Do not use CHECK_1.
53503         (__new_msgctl): Likewise.
53504         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
53505         <bp-checks.h>.
53506         (__gettimeofday): Do not use CHECK_1.
53507         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
53508         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
53509         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
53510         <bp-checks.h>.
53511         (__gettimeofday): Do not use CHECK_1.
53512         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
53513         (__old_shmctl): Do not use CHECK_1_NULL_OK.
53514         (__new_shmctl): Do not use CHECK_1.
53515         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
53516         <bp-checks.h>.
53517         (do_sigtimedwait): Do not use CHECK_1.
53518         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
53519         <bp-checks.h>.
53520         (do_sigwaitinfo): Do not use CHECK_1.
53521         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
53522         <bp-checks.h>.
53523         (msgctl): Do not use CHECK_1.
53524         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
53525         <bp-checks.h>.
53526         (shmctl): Do not use CHECK_1.
53527         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
53528         (ustat): Do not use CHECK_1.
53529         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
53530         <bp-checks.h>.
53531         (__fxstat): Do not use CHECK_1.
53532         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
53533         <bp-checks.h>.
53534         (__fxstatat): Do not use CHECK_1.
53535         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
53536         <bp-checks.h>.
53537         (__lxstat): Do not use CHECK_1.
53538         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
53539         <bp-checks.h>.
53540         (__xstat): Do not use CHECK_1.
53541         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
53542         (__xstat): Do not use CHECK_1.
53543         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
53544         (___xstat64): Do not use CHECK_1.
53546         [BZ #13550]
53547         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
53548         definitions.
53549         (CHECK_BOUNDS_HIGH): Likewise.
53550         * string/strcpy.c: Do not include <bp-checks.h>.
53551         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
53553 2013-02-07  Roland McGrath  <roland@hack.frob.com>
53555         * nscd/nscd-client.h (__nscd_drop_map_ref):
53556         Add __attribute__ ((unused)).
53557         * nis/nss-nisplus.h (niserr2nss): Likewise.
53559         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
53560         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
53562         * csu/libc-tls.c (init_static_tls, init_slotinfo):
53563         Remove inline keyword.
53564         * include/rounding-mode.h (round_away): Likewise.
53565         * libio/wfileops.c (adjust_wide_data): Likewise.
53566         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
53567         (__m128i_strloadu_tolower): Likewise.
53568         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
53569         (__m128i_strloadu_tolower): Likewise.
53570         * time/mktime.c (ydhms_diff): Likewise.
53571         * locale/elem-hash.h (elem_hash): Likewise.
53572         * locale/setlocale.c (setdata): Likewise.
53573         * posix/regex_internal.h (re_string_char_size_at): Likewise.
53574         (re_string_wchar_at): Likewise.
53575         (bitset_not, bitset_merge, bitset_mask): Likewise.
53576         [!(__GNUC__ > 3)] (inline): Remove macro.
53577         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
53578         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
53579         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
53580         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
53581         * string/memcmp.c (memcmp_bytes): Likewise.
53582         * locale/programs/locarchive.c (compute_hashval): Likewise.
53583         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
53584         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
53585         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
53586         * nss/getent.c (print_rpc, print_protocols): Likewise.
53587         (print_passwd, print_group, print_aliases): Likewise.
53588         * nis/nss-nisplus.h (niserr2nss): Likewise.
53589         * nscd/connections.c (restart_p): Likewise.
53590         Change return type to bool.
53592 2013-02-05  Roland McGrath  <roland@hack.frob.com>
53594         * Makeconfig (all-Depend-files): Add existing
53595         $(sorted-subdirs:=/Depend) files.
53596         (all-subdirs): Remove nss.
53597         * sysdeps/unix/inet/Subdirs: Add it here instead.
53598         * hesiod/Depend: New file.
53600         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
53601         instead of calling alloca.
53603         * io/lseek.c (__lseek): Rename to __libc_lseek.
53604         Define __lseek as an alias.
53606         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
53608 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
53610         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
53611         else clause and remove check for non-standard endianness.
53613 2013-02-04  David S. Miller  <davem@davemloft.net>
53615         * sysdeps/sparc/fpu/libm-test-ulps: Update.
53617 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
53619         [BZ #13550]
53620         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
53621         (__ubp_memchr): Remove prototype.
53622         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
53623         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
53624         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
53625         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
53626         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
53627         Remove alias.
53628         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
53629         (__ubp_memchr): Likewise.
53630         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
53631         (__ubp_memchr): Likewise.
53632         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
53633         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
53634         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
53635         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
53636         CHECK_STRING.
53637         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
53638         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
53639         (__getcwd): Do not use CHECK_STRING.
53640         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
53641         <bp-checks.h>.
53642         (__real_chown): Do not use CHECK_STRING.
53643         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
53644         <bp-checks.h>.
53645         (fchownat): Do not use CHECK_STRING.
53646         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
53647         CHECK_STRING.
53648         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
53649         <bp-checks.h>.
53650         (__lchown): Do not use CHECK_STRING.
53651         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
53652         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
53653         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
53654         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
53655         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
53656         include <bp-checks.h>.
53657         (truncate64): Do not use CHECK_STRING.
53658         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
53659         <bp-checks.h>.
53660         (__real_chown): Do not use CHECK_STRING.
53661         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
53662         <bp-checks.h>.
53663         (__lchown): Do not use CHECK_STRING.
53664         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
53665         <bp-checks.h>.
53666         (__chown): Do not use CHECK_STRING.
53667         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
53668         <bp-checks.h>.
53669         (truncate64): Do not use CHECK_STRING.
53670         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
53671         Likewise.
53672         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
53673         (__xmknod): Do not use CHECK_STRING.
53674         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
53675         <bp-checks.h>.
53676         (__xmknodat): Do not use CHECK_STRING.
53677         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
53678         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
53680 2013-02-04  Andreas Schwab  <schwab@suse.de>
53682         [BZ #14142]
53683         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
53684         * include/netdb.h: Likewise for h_errno.
53685         * elf/tst-stackguard1.c: Include <tls.h>.
53687 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
53689         * elf/link.h (struct link_map): Extend the l_addr comment.
53690         * include/link.h (struct link_map): Likewise.
53692 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
53694         [BZ #13550]
53695         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
53696         (BOUNDED_1): Remove macro.
53697         * debug/backtrace.c: Don't include <bp-checks.h>.
53698         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
53699         (__backtrace): Likewise.
53700         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
53701         <bp-checks.h>.
53702         (__backtrace): Don't use BOUNDED_1.
53703         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
53704         <bp-checks.h>.
53705         (__backtrace): Don't use BOUNDED_1.
53706         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
53707         (__backtrace): Don't use BOUNDED_1.
53708         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
53709         (shmat): Don't use BOUNDED_N.
53711 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
53713         [BZ #13550]
53714         * sysdeps/generic/bp-start.h: Remove file.
53715         * csu/libc-start.c: Don't include <bp-start.h>.
53716         (LIBC_START_MAIN): Set up __environ directly instead of using
53717         INIT_ARGV_and_ENVIRON.
53718         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
53719         <bp-start.h>.
53721         [BZ #13550]
53722         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
53723         definitions.
53724         (CHECK_FCNTL): Likewise.
53725         (CHECK_N_PAGES): Likewise.
53727         [BZ #13550]
53728         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
53729         definitions.
53730         (CHECK_SIGSET_NULL_OK): Likewise.
53731         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
53732         <bp-checks.h>.
53733         (sigpending): Don't use CHECK_SIGSET.
53734         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
53735         <bp-checks.h>.
53736         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
53737         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
53738         <bp-checks.h>.
53739         (do_sigsuspend): Don't use CHECK_SIGSET.
53740         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
53741         use CHECK_SIGSET.
53742         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
53743         (do_sigwait): Don't use CHECK_SIGSET.
53744         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
53745         use CHECK_SIGSET.
53746         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
53747         include <bp-checks.h>.
53748         (sigpending): Don't use CHECK_SIGSET.
53749         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
53750         include <bp-checks.h>.
53751         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
53752         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
53753         <bp-checks.h>.
53754         (sigpending): Don't use CHECK_SIGSET.
53755         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
53756         <bp-checks.h>.
53757         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
53759         [BZ #13550]
53760         * sysdeps/generic/bp-semctl.h: Remove file.
53761         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
53762         <bp-checks.h> and <bp-semctl.h>.
53763         (__old_semctl): Don't use CHECK_SEMCTL.
53764         (__new_semctl): Likewise.
53765         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
53766         and <bp-semctl.h>.
53767         (__old_semctl): Don't use CHECK_SEMCTL.
53768         (__new_semctl): Likewise.
53769         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
53770         <bp-checks.h> and <bp-semctl.h>.
53771         (__old_semctl): Don't use CHECK_SEMCTL.
53772         (__new_semctl): Likewise.
53773         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
53774         <bp-checks.h> and <bp-semctl.h>.
53775         (semctl): Don't use CHECK_SEMCTL.
53777         [BZ #13550]
53778         * Makerules (elide-bp-thunks): Remove variable.
53779         (elide-routines.oS): Don't use $(elide-bp-thunks).
53780         (elide-routines.os): Likewise.
53781         (elide-routines.o): Likewise.
53782         (elide-routines.op): Likewise.
53783         (elide-routines.og): Likewise.
53784         (objects): Don't use $(bp-thunks).
53785         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
53786         include.
53787         (common-generated): Do not add s-proto-bp.d.
53788         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
53789         (int): Likewise.
53790         (typ): Likewise.
53791         Do not generate makefile rules for bounded-pointer thunks.
53792         * sysdeps/generic/bp-thunks.h: Remove file.
53793         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
53794         * sysdeps/unix/s-proto-bp.S: Likewise.
53796         [BZ #15062]
53797         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
53798         parts of result separately when argument is not close to line from
53799         -i to i and one part of argument is small.
53800         * math/k_casinhf.c (__kernel_casinhf): Likewise.
53801         * math/k_casinhl.c (__kernel_casinhl): Likewise.
53802         * math/libm-test.inc (cacos_test): Add more tests.
53803         (casin_test): Likewise.
53804         (casinh_test): Likewise.
53805         * sysdeps/i386/fpu/libm-test-ulps: Update.
53806         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53808 2013-01-31  David S. Miller  <davem@davemloft.net>
53810         * po/de.po: Update from translation team.
53812 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
53814         * time/tzfile.c: Include stdint.h for SIZE_MAX.
53816 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
53818         * configure.in (_AC_PROG_CC_C89): New definition.
53819         * configure: Regenerate.
53821         * configure.in (AC_PROG_CPP): New definition.
53822         * configure: Regenerate.
53824 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
53826         * debug/tst-backtrace.h: New file.
53827         * debug/tst-backtrace2.c: Include tst-backtrace.h.
53828         (ret): Remove variable.
53829         (x): Likewise.
53830         (FAIL): Remove macro.
53831         (NO_INLINE): Likewise.
53832         (fn1): Use match function instead of strstr.
53833         * debug/tst-backtrace3.c: Include tst-backtrace.h.
53834         (ret): Remove variable.
53835         (x): Likewise.
53836         (FAIL): Remove macro.
53837         (NO_INLINE): Likewise.
53838         (fn): Use match function instead of strstr.
53839         * debug/tst-backtrace4.c: Include tst-backtrace.h.
53840         (ret): Remove variable.
53841         (x): Likewise.
53842         (FAIL): Remove macro.
53843         (NO_INLINE): Likewise.
53844         (handle_signal): Use match function instead of strstr.
53845         * debug/tst-backtrace5.c: Include tst-backtrace.h.
53846         (ret): Remove variable.
53847         (x): Likewise.
53848         (FAIL): Remove macro.
53849         (NO_INLINE): Likewise.
53850         (handle_signal): Use match function instead of strstr.
53852 2013-01-23  Roland McGrath  <roland@hack.frob.com>
53854         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
53856 2013-01-23  David S. Miller  <davem@davemloft.net>
53858         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
53859         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
53860         argument of CAS if possible.
53861         * sysdeps/sparc/sparc64/bits/atomic.h
53862         (__arch_compare_and_exchange_val_32_acq): Likewise.
53863         (__arch_compare_and_exchange_val_64_acq): Likewise.
53865 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
53867         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
53868         * sysdeps/posix/ulimit.c: ... this.
53869         Include <limits.h>.
53870         * sysdeps/unix/bsd/ulimit.c: Remove file.
53872 2013-01-23  Adam Conrad  <adconrad@0c3.net>
53874         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
53875         (LDFLAGS-tst-array5): Likewise.
53877 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
53879         [BZ #15036]
53880         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
53881         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
53882         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
53883         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
53885 2013-01-21  David S. Miller  <davem@davemloft.net>
53887         * sysdeps/sparc/backtrace.c: New file.
53888         * sysdeps/sparc/sparc32/backtrace.h: New file.
53889         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
53890         * sysdeps/sparc/sparc64/backtrace.h: New file.
53891         * sysdeps/sparc/sparc64/backtrace.c: Delete.
53892         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
53893         -funwind-tables.
53895 2013-01-21  Andreas Schwab  <schwab@suse.de>
53897         [BZ #15020]
53898         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
53899         closed its stdout.
53901 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
53903         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
53904         "mpa2.h".
53905         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
53907 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
53908             Mark Mitchell  <mark@codesourcery.com>
53909             Tom de Vries  <tom@codesourcery.com>
53910             Paul Pluzhnikov  <ppluzhnikov@google.com>
53912         * debug/tst-backtrace2.c: New file.
53913         * debug/tst-backtrace3.c: Likewise.
53914         * debug/tst-backtrace4.c: Likewise.
53915         * debug/tst-backtrace5.c: Likewise.
53916         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
53917         (CFLAGS-tst-backtrace3.c): Likewise.
53918         (CFLAGS-tst-backtrace4.c): Likewise.
53919         (CFLAGS-tst-backtrace5.c): Likewise.
53920         (LDFLAGS-tst-backtrace2): Likewise.
53921         (LDFLAGS-tst-backtrace3): Likewise.
53922         (LDFLAGS-tst-backtrace4): Likewise.
53923         (LDFLAGS-tst-backtrace5): Likewise.
53924         (tests): Add new tests tst-backtrace2, tst-backtrace3,
53925         tst-backtrace4 and tst-backtrace5.
53927 2013-01-18  Anton Blanchard  <anton@samba.org>
53928             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
53930         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
53931         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
53932         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
53933         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
53934         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
53935         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
53936         "+r" and remove output regs list as redundant.  Add explicit inline
53937         asm to specify register of return val to work around compiler codegen
53938         bug.  Remove (int) cast on return value.  Add return type parameter to
53939         use in macro so that this macro does not truncate return value for
53940         64-bit values.
53941         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
53942         pass to INTERNAL_VSYSCALL_NCS.
53943         (INLINE_VSYSCALL): Add 'long int' as return type to
53944         INTERNAL_VSYSCALL_NCS macro invocation.
53945         (INTERNAL_VSYSCALL): Add 'long int' as return type to
53946         INTERNAL_VSYSCALL_NCS macro invocation.
53947         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
53949 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
53951         [BZ #14496]
53952         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
53953         Fix application of SIMD FP exception mask.
53955         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
53956         mp_no from a power of two.
53957         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
53958         __mpexp_twomm1.  Use __pow_mp.
53960         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
53961         multiplication.
53963 2013-01-17  David S. Miller  <davem@davemloft.net>
53965         * sysdeps/sparc/fpu/libm-test-ulps: Update.
53967 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
53969         [BZ #15023]
53970         * include/complex.h: Condition contents on [!_COMPLEX_H].
53971         (__kernel_casinhf): New prototype.
53972         (__kernel_casinh): Likewise.
53973         (__kernel_casinhl): Likewise.
53974         * math/Makefile (libm_calls): Add k_casinh.
53975         * math/k_casinh.c: New file.
53976         * math/k_casinhf.c: Likewise.
53977         * math/k_casinhl.c: Likewise.
53978         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
53979         finite nonzero arguments.
53980         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
53981         finite nonzero arguments.
53982         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
53983         finite nonzero arguments.
53984         * math/s_casinh.c: Do not include <float.h>.
53985         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
53986         * math/s_casinhf.c: Do not include <float.h>.
53987         (__casinhf): Move code for finite nonzero arguments to
53988         k_casinhf.c.
53989         * math/s_casinhl.c: Do not include <float.h>.
53990         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
53991         redefine.
53992         (__casinhl): Move code for finite nonzero arguments to
53993         k_casinhl.c.
53994         * math/libm-test.inc (cacos_test): Add more tests.
53995         * sysdeps/i386/fpu/libm-test-ulps: Update.
53996         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53998 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
54000         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
54001         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
54002         [!HAVE_MREMAP]: Remove [defined linux] case.
54003         * malloc/arena.c: Do not include <malloc-sysdep.h>.
54005 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
54007         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
54009 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
54011         * elf/elf.h (R_386_SIZE32): New relocation.
54012         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
54013         R_386_SIZE32.
54014         (elf_machine_rela): Likewise.
54015         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
54016         R_X86_64_SIZE64 and R_X86_64_SIZE32.
54018 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
54020         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
54021         (FP_FAST_FMA): Do not define.
54022         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
54023         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
54024         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
54025         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
54026         !_SOFT_FLOAT]: Likewise.
54027         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
54028         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
54029         value.
54030         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
54031         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
54032         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
54033         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
54034         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
54035         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
54036         file.
54038 2013-01-16  Andreas Schwab  <schwab@suse.de>
54040         [BZ #14327]
54041         * include/stdlib.h (__mktemp): Add declaration.
54042         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
54043         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
54045 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
54047         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
54048         definitions.
54049         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
54050         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
54051         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
54052         definitions here.
54053         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
54054         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
54055         definitions.
54056         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
54057         and ONE.
54058         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
54059         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
54060         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
54061         definitions.
54062         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
54063         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
54064         definitions.
54065         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
54067         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
54069 2013-01-15  David S. Miller  <davem@davemloft.net>
54071         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
54072         trunc{,f} to libm-sysdep_routes.
54073         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
54074         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
54075         file.
54076         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
54077         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
54078         file.
54079         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
54080         file.
54081         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
54082         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
54083         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
54084         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
54085         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
54086         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
54087         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
54088         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
54090         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
54091         nearbyint{,f} to libm-sysdep_routes.
54092         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
54093         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
54094         New file.
54095         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
54096         file.
54097         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
54098         New file.
54099         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
54100         file.
54101         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
54102         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
54103         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
54104         file.
54105         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
54106         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
54107         file.
54108         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
54109         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
54110         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
54112         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
54113         libc_feholdexcept and libc_fesetenv.
54115 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
54117         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
54119 2013-01-14  David S. Miller  <davem@davemloft.net>
54121         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
54122         (SPARC_ASM_VIS2_IFUNC): Likewise.
54123         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
54124         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
54125         use of 'siam' instruction.
54126         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
54127         Likewise.
54128         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
54129         Likewise.
54130         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
54131         Likewise.
54132         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
54133         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
54134         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
54135         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
54136         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
54137         file.
54138         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
54139         file.
54140         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
54141         file.
54142         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
54143         file.
54144         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
54145         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
54146         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
54147         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
54148         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
54149         new VIS2 routines.
54150         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
54151         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
54152         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
54153         Likewise.
54154         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
54155         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
54156         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
54157         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
54158         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
54159         routines to libm-sysdep_routines.
54160         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
54162         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
54163         fdim/fdimf to libm-sysdep_routines.
54164         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
54165         file.
54166         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
54167         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
54168         file.
54169         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
54170         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
54171         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
54172         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
54173         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
54174         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
54175         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
54177 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
54179         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
54180         to optimize copies.
54182         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
54183         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
54184         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
54186         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
54187         local variable MPTWO.
54188         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
54189         Likewise.
54191 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
54193         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
54194         GLOB_NOESCAPE.
54196 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
54198         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
54200 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
54202         * manual/pattern.texi (glob_t): Document gl_flags.
54203         (glob64_t): Likewise.
54205 2013-01-11  David S. Miller  <davem@davemloft.net>
54207         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
54208         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
54209         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
54210         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
54211         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
54212         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
54213         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
54214         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
54215         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
54216         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
54217         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
54218         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
54219         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
54221         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
54222         sparc V9 rather than using V8 code.
54223         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
54224         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
54226         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
54227         Move to...
54228         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
54229         Here.
54231 2013-01-11  Roland McGrath  <roland@hack.frob.com>
54233         [BZ #14941]
54234         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
54235         not in the main loop.
54236         * configure: Regenerated.
54238 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
54240         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
54241         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
54242         to just #else.
54243         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
54244         [!__GLIBC_HAVE_LONG_LONG] case.
54245         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
54246         condition to just #else.
54247         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
54248         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
54249         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
54250         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
54251         unconditional.
54252         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
54253         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
54254         #elif condition to just #else.
54255         * sysdeps/unix/sysv/linux/sys/sysmacros.h
54256         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
54257         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
54258         #elif condition to just #else.
54260 2013-01-11  Steve Ellcey  <sellcey@mips.com>
54262         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
54263         (EF_MIPS_ARCH_64): Fix value.
54264         (EF_MIPS_ARCH_32R2): New.
54265         (EF_MIPS_ARCH_64R2): New.
54267 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
54269         * Makeconfig (+link-pie-before-libc): New.
54270         (+link-pie-after-libc): Likewise.
54271         (+link-pie-tests): Likewise.
54272         (+link-pie): Rewritten.
54273         (link-before-libc): Remove $(config-LDFLAGS).
54274         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
54275         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
54276         (config-LDFLAGS): Renamed to ...
54277         (rtld-LDFLAGS): This.
54278         (rtld-tests-LDFLAGS): New macro.
54279         (link-libc-rpath-link): Likewise.
54280         (link-libc-tests-rpath-link): Likewise.
54281         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
54282         (link-libc): Prepand $(link-libc-rpath-link).
54283         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
54284         (test-program-prefix): New macro.
54285         (test-via-rtld-prefix): Likewise.
54286         (test-program-cmd): Likewise.
54287         (host-test-program-cmd): Likewise.
54288         * Makefile ($(common-objpfx)testrun.sh): Replace
54289         $(run-program-prefix) with $(test-program-prefix).
54290         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
54291         $(rtld-LDFLAGS).
54292         ($(common-objpfx)shlib.lds): Likewise.
54293         (build-module-helper): Likewise.
54294         ($(common-objpfx)format.lds): Likewise.
54295         * Rules (binaries-pie-tests): New.
54296         (binaries-pie-notests): Likewise.
54297         (binaries-pie): Rewritten.
54298         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
54299         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
54300         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
54301         (make-test-out): Replace $(host-built-program-cmd) with
54302         $(host-test-program-cmd).
54303         * config.make.in (build-hardcoded-path-in-tests): New variable.
54304         * configure.in (--enable-hardcoded-path-in-tests): New configure
54305         option.
54306         (hardcoded_path_in_tests): New AC_SUBST.
54307         * configure: Regenerated.
54308         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
54309         $(built-program-cmd) with $(test-program-cmd).
54310         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
54311         (test_program_cmd): This.
54312         * elf/Makefile ($(objpfx)order.out): Run test with
54313         $(test-program-prefix).
54314         ($(objpfx)order2.out): Likewise.
54315         ($(objpfx)tst-initorder.out): Likewise.
54316         ($(objpfx)tst-initorder2.out): Likewise.
54317         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
54318         $(test-program-cmd).
54319         ($(objpfx)tst-array1-static.out): Likewise.
54320         ($(objpfx)tst-array2.out): Likewise.
54321         ($(objpfx)tst-array3.out): Likewise.
54322         ($(objpfx)tst-array4.out): Likewise.
54323         ($(objpfx)tst-array5.out): Likewise.
54324         ($(objpfx)tst-array5-static.out): Likewise.
54325         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
54326         $(test-program-cmd).
54327         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
54328         $(run-program-prefix) with $(test-program-prefix).
54329         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
54330         (test_program_prefix): This.
54331         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
54332         $(run-program-prefix) with $(test-program-prefix).
54333         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
54334         (test_program_prefix): This.
54335         * iconvdata/tst-tables.sh: Likewise.
54336         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
54337         $(run-program-prefix) with $(test-program-prefix).
54338         ($(objpfx)tst-translit.out): Likewise.
54339         ($(objpfx)tst-gettext2.out): Likewise.
54340         ($(objpfx)tst-gettext4.out): Likewise.
54341         ($(objpfx)tst-gettext6.out): Likewise.
54342         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
54343         (test_program_prefix): This.
54344         * intl/tst-gettext2.sh: Likewise.
54345         * intl/tst-gettext4.sh  Likewise.
54346         * intl/tst-gettext6.sh: Likewise.
54347         * intl/tst-translit.sh: Likewise.
54348         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
54349         with $(test-program-cmd).
54350         * libio/Makefile ($(objpfx)test-freopen.out): Replace
54351         $(run-program-prefix) with $(test-program-prefix).
54352         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
54353         (test_program_prefix): This.
54354         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
54355         $(run-program-prefix) with $(test-program-prefix).
54356         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
54357         (test_program_prefix): This.
54358         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
54359         * posix/Makefile ($(objpfx)globtest.out): Replace
54360         $(run-via-rtld-prefix) and $(test-wrapper) with
54361         $(test-program-prefix) and $(test-via-rtld-prefix).
54362         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
54363         $(test-program-prefix).
54364         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
54365         $(host-test-program-cmd).
54366         (tst-spawn-ARGS): Likewise.
54367         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
54368         $(test-program-prefix).
54369         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
54370         (test_via_rtld_prefix): This.
54371         (test_wrapper): Renamed to ...
54372         (test_program_prefix): This.
54373         (run_program_prefix): Replaced by test_program_prefix.
54374         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
54375         (test_program_prefix): This.
54376         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
54377         with $(host-test-program-cmd).
54378         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
54379         $(run-program-prefix) with $(test-program-prefix).
54380         ($(objpfx)tst-printf.out): Likewise.
54381         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
54382         $(test-program-cmd).
54383         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
54384         (test_program_prefix): This.
54385         * stdio-common/tst-unbputc.sh: Likewise.
54386         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
54387         $(run-program-prefix) with $(test-program-prefix).
54388         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
54389         (test_program_prefix): This.
54390         * string/Makefile ($(objpfx)tst-svc.out):  Replace
54391         $(built-program-cmd) with $(test-program-cmd).
54393 2013-01-11  Andreas Jaeger  <aj@suse.de>
54395         [BZ #15003]
54396         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
54397         value. Sync with Linux 3.7.
54399 2013-01-10  David S. Miller  <davem@davemloft.net>
54401         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
54402         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
54403         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
54405 2013-01-10  Roland McGrath  <roland@hack.frob.com>
54407         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
54408         never set.
54409         * configure: Regenerated.
54411 2013-01-10  David S. Miller  <davem@davemloft.net>
54413         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
54414         sparc V9 rather than using V8 code.
54415         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
54416         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
54418 2013-01-10  Roland McGrath  <roland@hack.frob.com>
54420         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
54421         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
54422         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
54423         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
54424         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
54425         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
54426         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
54427         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
54428         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
54429         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
54430         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
54431         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
54432         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
54433         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
54434         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
54435         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
54436         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
54437         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
54438         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
54439         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
54440         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
54441         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
54442         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
54443         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
54444         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
54445         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
54446         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
54448 2013-01-10  David S. Miller  <davem@davemloft.net>
54450         * sysdeps/sparc/fpu/libm-test-ulps: Update.
54452 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
54454         * posix/Makefile (tests-static): New variable.
54455         (tests): Add $(tests-static).
54456         (tst-exec-static-ARGS): New variable.
54457         (tst-spawn-static-ARGS): Likewise.
54458         * posix/tst-exec-static.c: New file.
54459         * posix/tst-spawn-static.c: Likewise.
54460         * posix/tst-exec.c: Support run directly.
54461         * posix/tst-spawn.c: Likewise.
54463 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
54465         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
54466         long.
54467         * math/bits/mathcalls.h (llrint): Likewise.
54468         (llround): Likewise.
54469         * stdlib/stdlib.h (struct drand48_data): Likewise.
54470         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
54471         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
54472         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
54473         Likewise.
54474         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
54475         Likewise.
54476         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
54477         (elf_greg_t): Likewise.
54478         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
54479         (__jmp_buf): Likewise.
54480         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
54481         definitions.
54482         (llrint): Likewise, for all definitions.
54483         (llrintl): Likewise.
54485         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
54486         Remove [__GNUC__] condition.
54487         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
54488         condition to just [__USE_ISOC99].
54489         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
54491 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
54493         [BZ #14200]
54494         * sysdeps/unix/sysv/linux/x86/bits/environments.h
54495         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
54496         defined.
54497         (_POSIX_V6_ILP32_OFF32): Likewise.
54498         (_XBS5_ILP32_OFF32): Likewise.
54499         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
54500         (__ILP32_OFFBIG_LDFLAGS): Likewise.
54502 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
54504         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
54506         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
54507         doubles __mpexp_twomm1.  Adjust usage.
54508         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
54509         Remove.
54511 2013-01-10  Andreas Schwab  <schwab@suse.de>
54513         [BZ #14964]
54514         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
54515         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
54517 2013-01-09  David S. Miller  <davem@davemloft.net>
54519         [BZ #15003]
54520         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
54521         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
54522         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
54523         (TCP_FASTOPEN): Define.
54524         (tcp_repair_opt): New structure.
54525         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
54526         enum values.
54527         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
54528         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
54529         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
54530         (tcp_cookie_transactions): New structure.
54532 2013-01-09  Anton Blanchard  <anton@samba.org>
54534         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
54535         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
54536         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
54537         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
54539 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
54541         * include/features.h (__USE_ANSI): Remove.
54543 2013-01-09  Roland McGrath  <roland@hack.frob.com>
54545         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
54547         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
54549 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
54551         * sysdeps/s390/fpu/libm-test-ulps: Update.
54553         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54555         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
54556         (__acr): Likewise.
54557         (__cpy): Likewise.
54558         (norm): Likewise.
54559         (denorm): Likewise.
54560         (__mp_dbl): Likewise.
54561         (__dbl_mp): Likewise.
54562         (add_magnitudes): Likewise.
54563         (sub_magnitudes): Likewise.
54564         (__add): Likewise.
54565         (__sub): Likewise.
54566         (__mul): Likewise.
54567         (__inv): Likewise.
54568         (__dvd): Likewise.
54569         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
54570         (__acr): Likewise.
54571         (__cpy): Likewise.
54572         (norm): Likewise.
54573         (denorm): Likewise.
54574         (__mp_dbl): Likewise.
54575         (__dbl_mp): Likewise.
54576         (add_magnitudes): Likewise.
54577         (sub_magnitudes): Likewise.
54578         (__add): Likewise.
54579         (__sub): Likewise.
54580         (__mul): Likewise.
54581         (__inv): Likewise.
54582         (__dvd): Likewise.
54583         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
54584         (__acr): Likewise.
54585         (__cpy): Likewise.
54586         (norm): Likewise.
54587         (denorm): Likewise.
54588         (__mp_dbl): Likewise.
54589         (__dbl_mp): Likewise.
54590         (add_magnitudes): Likewise.
54591         (sub_magnitudes): Likewise.
54592         (__add): Likewise.
54593         (__sub): Likewise.
54594         (__mul): Likewise.
54595         (__inv): Likewise.
54596         (__dvd): Likewise.
54598 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
54600         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
54601         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
54602         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
54603         2 && __USE_EXTERN_INLINES]: Likewise.
54605 2013-01-08  Andreas Jaeger  <aj@suse.de>
54607         [BZ# 14985]
54608         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
54609         Remove.
54610         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
54611         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
54613 2013-01-07  Anton Blanchard  <anton@samba.org>
54615         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
54616         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
54617         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
54618         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
54619         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
54620         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
54621         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
54622         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
54623         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
54624         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
54625         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
54626         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
54627         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
54628         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
54629         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
54630         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
54631         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
54632         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
54633         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
54634         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
54635         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
54636         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
54637         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
54638         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
54639         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
54640         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
54641         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
54642         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
54643         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
54644         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
54645         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
54646         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
54647         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
54648         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
54649         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
54650         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
54651         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
54652         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
54653         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
54654         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
54655         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
54656         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
54657         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
54659 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
54661         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
54662         (__MALLOC_PMT): Likewise.
54663         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
54664         [__GNUC__], only on [_LIBC].
54665         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
54666         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
54667         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
54668         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
54669         forward declaration.
54670         (realloc_hook_ini): Likewise.
54671         (memalign_hook_ini): Likewise.
54672         (__libc_memalign): Do not use __MALLOC_PMT in variable
54673         declaration.
54674         (__libc_valloc): Likewise.
54675         (__libc_pvalloc): Likewise.
54676         (__libc_calloc): Likewise.
54677         (__posix_memalign): Likewise.
54679         [BZ #14996]
54680         * math/s_casinh.c: Include <float.h>.
54681         (__casinh): Do not do computation with squaring and square root
54682         for large arguments.
54683         * math/s_casinhf.c: Include <float.h>.
54684         (__casinhf): Do not do computation with squaring and square root
54685         for large arguments.
54686         * math/s_casinhl.c: Include <float.h>.
54687         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
54688         (__casinhl): Do not do computation with squaring and square root
54689         for large arguments.
54690         * math/libm-test.inc (casin_test): Add more tests.
54691         (casinh_test): Likewise.
54692         * sysdeps/i386/fpu/libm-test-ulps: Update.
54693         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54695 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
54697         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
54698         (__x86_64_raw_data_cache_size): Likewise.
54699         (__x86_64_data_cache_size_half): Likewise.
54700         (__x86_64_raw_data_cache_size_half): Likewise.
54701         (__x86_64_shared_cache_size): Likewise.
54702         (__x86_64_raw_shared_cache_size): Likewise.
54703         (__x86_64_shared_cache_size_half): Likewise.
54704         (__x86_64_raw_shared_cache_size_half): Likewise.
54705         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
54706         to ...
54707         (__x86_data_cache_size): This.
54708         (__x86_64_raw_data_cache_size): Renamed to ...
54709         (__x86_raw_data_cache_size): This.
54710         (__x86_64_data_cache_size_half): Renamed to ...
54711         (__x86_data_cache_size_half): This.
54712         (__x86_64_raw_data_cache_size_half): Renamed to ...
54713         (__x86_raw_data_cache_size_half): This.
54714         (__x86_64_shared_cache_size): Renamed to ...
54715         (__x86_shared_cache_size): This.
54716         (__x86_64_raw_shared_cache_size): Renamed to ...
54717         (__x86_raw_shared_cache_size): This.
54718         (__x86_64_shared_cache_size_half): Renamed to ...
54719         (__x86_shared_cache_size_half): This.
54720         (__x86_64_raw_shared_cache_size_half): Renamed to ...
54721         (__x86_raw_shared_cache_size_half): This.
54722         * sysdeps/x86_64/memcpy.S: Updated.
54723         * sysdeps/x86_64/memset.S: Likewise.
54724         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
54725         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
54726         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
54728 2013-01-04  David S. Miller  <davem@davemloft.net>
54730         * sysdeps/sparc/fpu/libm-test-ulps: Update.
54732 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
54734         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
54735         1 to avoid redefinition warning.
54736         (__USE_GNU): Don't define.
54737         (init_signaling_nan): Protoize.
54739         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54741 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
54743         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
54744         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
54745         (__cpymn): Likewise.
54746         (norm): Remove commented code.
54747         (denorm): Likewise.
54748         (__mp_dbl): Likewise.
54749         (__inv): Likewise.
54750         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
54751         (__cpymn): Likewise.
54752         (norm): Remove commented code.
54753         (denorm): Likewise.
54754         (__mp_dbl): Likewise.
54755         (__inv): Likewise.
54757         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
54758         mp_no value for 1.0 and 2.0.
54759         (norm): Use RADIXI instead of radixi.d.
54760         (denorm): Likewise.
54761         (__mul): Use 0.0 instead of zero.d.
54762         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
54763         mp_no value for 1.0 and 2.0.
54764         (norm): Use RADIXI instead of radixi.d.
54765         (denorm): Likewise.
54766         (__mul): Use 0.0 instead of zero.d.
54768 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
54770         [BZ #14994]
54771         * math/s_casinh.c (__casinh): Reduce finite argument to first
54772         quadrant then set signs of results at the end.
54773         * math/s_casinhf.c (__casinhf): Likewise.
54774         * math/s_casinhl.c (__casinhl): Likewise.
54775         * math/libm-test.inc (casin_test): Add more tests.
54776         (casinh_test): Likewise.
54777         * sysdeps/i386/fpu/libm-test-ulps: Update.
54778         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54780 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
54782         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
54784         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
54786         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
54787         declarations.
54788         (denorm): Likewise.
54789         (__mp_dbl): Likewise.
54790         (__inv): Likewise.
54792         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
54793         and adjust the header comment.
54795         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
54796         variable name from declaration.
54798 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
54800         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
54801         Initialize COMMON_CPUID_INDEX_7 element.
54802         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
54803         (CPUID_RTM): Likewise.
54804         (HAS_RTM): Likewise.
54805         (COMMON_CPUID_INDEX_7): New enum.
54807 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
54809         [BZ #14981]
54810         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
54811         size is zero, record memory as freed.
54813 2013-01-03  Andreas Jaeger  <aj@suse.de>
54815         * po/ia.po: Add new Interlingua translation.
54817 2012-01-03  Allan McRae  <allan@archlinux.org>
54819         * locale/programs/localedef.c: Fix description of '--posix' flag.
54821 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
54823         * NEWS: Update dates in second copyright notice.
54824         * README: Update copyright dates in example.
54825         * manual/libc.texinfo: Update copyright dates.
54826         * scripts/test-installation.pl: Update copyright date in --version
54827         output.
54829         * hurd/ctty-input.c: Fix copyright notice formatting.
54830         * hurd/ctty-output.c: Likewise.
54831         * hurd/dtable.c: Likewise.
54832         * hurd/hurd-raise.c: Likewise.
54833         * hurd/hurdprio.c: Likewise.
54834         * hurd/msgportdemux.c: Likewise.
54835         * misc/sys/file.h: Likewise.
54836         * misc/sys/ioctl.h: Likewise.
54837         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
54838         * sysdeps/mach/hurd/chdir.c: Likewise.
54839         * sysdeps/mach/hurd/fchdir.c: Likewise.
54840         * sysdeps/mach/hurd/rename.c: Likewise.
54841         * sysdeps/mach/hurd/rmdir.c: Likewise.
54842         * sysdeps/mach/hurd/seekdir.c: Likewise.
54843         * sysdeps/mach/hurd/setsid.c: Likewise.
54844         * sysdeps/posix/wait3.c: Likewise.
54846         * All files with FSF copyright notices: Update copyright dates
54847         using scripts/update-copyrights.
54848         * intl/plural.c: Regenerated.
54849         * locale/programs/charmap-kw.h: Likewise.
54850         * locale/programs/locfile-kw.h: Likewise.
54852 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
54854         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
54855         four values.
54857         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
54858         calculation loop and add branch prediction.
54860         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
54861         check access beyond bounds of m1np.
54863         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
54864         MPTWO.
54865         (__inv): Remove local variable MPTWO to use the global
54866         constant.
54867         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
54868         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
54869         variable MPTWO.
54870         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
54871         MP3HALFS static const.
54873 2013-01-01  David S. Miller  <davem@davemloft.net>
54875         * po/ca.po: Update from translation team.
54877 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
54879         * scripts/update-copyrights: New file.
54880         * Makeconfig: Reformat copyright notice.
54881         * ctype/ctype.h: Likewise.
54882         * debug/swprintf_chk.c: Likewise.
54883         * elf/dl-cache.c: Likewise.
54884         * elf/dl-debug.c: Likewise.
54885         * elf/dl-object.c: Likewise.
54886         * grp/initgroups.c: Likewise.
54887         * hurd/Makefile: Likewise.
54888         * hurd/hurd/signal.h: Likewise.
54889         * hurd/hurdfault.c: Likewise.
54890         * hurd/hurdioctl.c: Likewise.
54891         * hurd/hurdlookup.c: Likewise.
54892         * hurd/intr-msg.c: Likewise.
54893         * iconv/gconv_open.c: Likewise.
54894         * libio/swprintf.c: Likewise.
54895         * locale/lc-ctype.c: Likewise.
54896         * locale/nl_langinfo.c: Likewise.
54897         * mach/Machrules: Likewise.
54898         * mach/Makefile: Likewise.
54899         * malloc/obstack.h: Likewise.
54900         * manual/Makefile: Likewise.
54901         * manual/tsort.awk: Likewise.
54902         * misc/bits/stab.def: Likewise.
54903         * nis/nis_print_group_entry.c: Likewise.
54904         * nis/nis_table.c: Likewise.
54905         * nis/nss_compat/compat-pwd.c: Likewise.
54906         * nis/nss_compat/compat-spwd.c: Likewise.
54907         * po/Makefile: Likewise.
54908         * posix/fnmatch.c: Likewise.
54909         * posix/regex.h: Likewise.
54910         * resolv/Makefile: Likewise.
54911         * resolv/nss_dns/dns-network.c: Likewise.
54912         * resolv/res_hconf.c: Likewise.
54913         * scripts/gen-sorted.awk: Likewise.
54914         * soft-fp/soft-fp.h: Likewise.
54915         * stdio-common/printf.h: Likewise.
54916         * stdlib/monetary.h: Likewise.
54917         * stdlib/random.c: Likewise.
54918         * stdlib/random_r.c: Likewise.
54919         * sysdeps/generic/Makefile: Likewise.
54920         * sysdeps/gnu/Makefile: Likewise.
54921         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
54922         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
54923         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
54924         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
54925         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
54926         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
54927         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
54928         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
54929         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
54930         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
54931         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
54932         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
54933         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
54934         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
54935         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
54936         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
54937         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
54938         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
54939         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
54940         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
54941         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
54942         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
54943         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
54944         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
54945         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
54946         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
54947         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
54948         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
54949         * sysdeps/mach/hurd/errnos.awk: Likewise.
54950         * sysdeps/mach/hurd/fork.c: Likewise.
54951         * sysdeps/mach/hurd/getcwd.c: Likewise.
54952         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
54953         * sysdeps/mach/hurd/mmap.c: Likewise.
54954         * sysdeps/mach/hurd/utimes.c: Likewise.
54955         * sysdeps/mach/hurd/xmknod.c: Likewise.
54956         * sysdeps/posix/profil.c: Likewise.
54957         * sysdeps/posix/readdir_r.c: Likewise.
54958         * sysdeps/powerpc/bits/mathdef.h: Likewise.
54959         * sysdeps/powerpc/bits/setjmp.h: Likewise.
54960         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
54961         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
54962         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
54963         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
54964         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
54965         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
54966         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
54967         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
54968         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
54969         * sysdeps/pthread/lio_listio.c: Likewise.
54970         * sysdeps/sparc/dl-procinfo.h: Likewise.
54971         * sysdeps/unix/i386/sysdep.S: Likewise.
54972         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
54973         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
54974         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
54975         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
54976         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
54977         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
54978         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
54979         * sysdeps/unix/sysv/linux/speed.c: Likewise.
54980         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
54981         * sysdeps/wordsize-32/divdi3.c: Likewise.
54982         * time/sys/time.h: Likewise.
54983         * wcsmbs/Makefile: Likewise.
54985 2013-01-01  David S. Miller  <davem@davemloft.net>
54987         * po/fr.po: Update from translation team.
54989         * catgets/gencat.c: Update copyright year.
54990         * csu/version.c: Likewise.
54991         * debug/catchsegv.sh: Likewise.
54992         * debug/pcprofiledump.c: Likewise.
54993         * debug/xtrace.sh: Likewise.
54994         * elf/ldconfig.c: Likewise.
54995         * elf/ldd.bash.in: Likewise.
54996         * elf/pldd.c: Likewise.
54997         * elf/sotruss.ksh: Likewise.
54998         * elf/sprof.c: Likewise.
54999         * iconv/iconv_prog.c: Likewise.
55000         * iconv/iconvconfig.c: Likewise.
55001         * locale/programs/locale.c: Likewise.
55002         * locale/programs/localedef.c: Likewise.
55003         * login/programs/pt_chown.c: Likewise.
55004         * malloc/memusage.sh: Likewise.
55005         * malloc/memusagestat.c: Likewise.
55006         * malloc/mtrace.pl: Likewise.
55007         * nscd/nscd.c: Likewise.
55008         * nss/getent.c: Likewise.
55009         * nss/makedb.c: Likewise.
55010         * posix/getconf.c: Likewise.
55012 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
55014         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
55015         numbers.
55017 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
55019         * math/bits/mathcalls.h (modf): Use __nonnull.
55021 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
55023         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
55024         (split): Use macro CN instead of the bare value.
55025         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
55026         could be used.
55027         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
55028         instead of the bare value.
55029         (power1): Likewise.
55031 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
55033         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
55034         __ATAN_TWOM.
55035         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
55037         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
55038         their values.
55039         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
55040         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
55041         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
55042         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
55044 2012-12-28  Andreas Jaeger  <aj@suse.de>
55046         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
55047         values are from Linux 3.7.
55049         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
55050         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
55052 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
55054         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
55055         TRUE case.
55057         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
55058         (norm): Likewise.
55059         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
55060         variables with preprocessor constants.
55061         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
55062         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
55063         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
55065 2012-12-27  Bruno Haible  <bruno@clisp.org>
55067         [BZ #14317]
55068         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
55069         only if needed.
55071 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
55073         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
55074         and use variable directly.
55075         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
55077         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
55078         MPONE.
55079         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
55080         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
55081         variable MPONE.
55082         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
55083         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
55084         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
55085         include directive.  Remove local variable MPONE.
55086         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
55087         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
55088         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
55090 2012-12-25  David S. Miller  <davem@davemloft.net>
55092         * version.h (RELEASE): Set to "development".
55093         (VERSION): Set to "2.17.90".
55094         * NEWS: Add 2.18 section.
55096 2012-12-21  David S. Miller  <davem@davemloft.net>
55098         * po/hr.po: Update from translation team.
55100 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
55102         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
55104 2012-12-19  Steve Ellcey  <sellcey@mips.com>
55106         * NEWS:  Mention new memcpy for MIPS.
55108 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
55110         * manual/contrib.texi (Contributors): Spelling correction.
55112 2012-12-15  David S. Miller  <davem@davemloft.net>
55114         * po/ru.po: Update from translation team.
55116 2012-12-13  David S. Miller  <davem@davemloft.net>
55118         * NEWS: Mention IFUNC testsuite enhancements.
55120         * po/pl.po: Update from translation team.
55121         * po/bg.po: Likewise.
55123         * manual/contrib.texi (Contributors): Update entries for Hongjiu
55124         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
55126 2012-12-11  David S. Miller  <davem@davemloft.net>
55128         * po/sv.po: Update from translation team.
55130         * po/vi.po: Update from translation team.
55132         * po/cs.po: Update from translation team.
55134         * po/de.po: Update from translation team.
55135         * po/eo.po: Likewise.
55136         * po/nl.po: Likewise.
55138 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
55140         [BZ #14246]
55141         * manual/argp.texi (Argp Helper Functions): Move node to follow
55142         Argp Parsing State.
55144         [BZ #14872]
55145         * manual/conf.texi (Limits on File System Capacity): Mention if
55146         terminating null is included in the max size.
55148 2012-12-10  Andreas Jaeger  <aj@suse.de>
55150         * po/cs.po: Update from translation team.
55152 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
55154         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
55155         void pointer and cast to uintptr_t.
55156         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
55157         path.
55158         * sysdeps/s390/s390-64/memcpy.S: Likewise.
55159         * sysdeps/s390/s390-64/memset.S: Likewise.
55161 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
55163         [BZ #14833]
55164         * menual/message.texi (Message Translation): Fix typos.
55165         (Helper programs for gettext): Likewise.
55167 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
55169         [BZ #14898]
55170         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
55171         Change to -1.
55173 2012-12-07  David S. Miller  <davem@davemloft.net>
55175         * po/libc.pot: Update.
55177 2012-12-07  Richard Henderson  <rth@redhat.com>
55179         [BZ #10114]
55180         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
55181         normal/normal case to before the switch.
55182         (_FP_DIV): Likewise.
55184 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
55185             Mike Frysinger  <vapier@gentoo.org>
55187         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
55188         check for __NR_fadvise64_64.
55190 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
55192         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
55193         0, not just to plain "0" as a statement.
55194         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
55195         with cw.
55197 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
55199         * NEWS: Use sourceware.org in Bugzilla URL.
55201 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
55203         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
55204         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
55206         * stdio-common/tst-put-error.c (do_test): Add newline to the
55207         padded test to ensure flush.
55209 2012-12-05  Jeff Law  <law@redhat.com>
55211         * sunrpc/etc.rpc (fedfs_admin): Add entry.
55213 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
55215         * README: Don't refer to ports add-on as distributed separately.
55216         Mention AArch64 in list of systems supported in the ports add-on.
55218         * LICENSES: Add more non-FSF copyright and license notices.
55220         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
55221         ((unused)).
55223         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
55225         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
55226         10000 as width of padded output.
55228 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
55230         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
55232         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
55233         variable LX with __attribute__ ((unused)).
55234         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
55235         Likewise.
55236         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
55237         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
55238         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
55239         with __attribute__ ((unused)).
55241 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
55243         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
55245 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
55247         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
55248         (CFLAGS-nldbl-acos.c): New variable.
55249         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
55250         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
55251         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
55252         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
55253         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
55254         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
55255         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
55256         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
55257         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
55258         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
55259         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
55260         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
55261         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
55262         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
55263         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
55264         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
55265         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
55266         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
55267         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
55268         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
55269         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
55270         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
55271         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
55272         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
55273         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
55274         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
55275         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
55276         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
55277         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
55278         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
55279         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
55280         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
55281         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
55282         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
55283         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
55284         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
55285         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
55286         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
55287         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
55288         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
55289         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
55290         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
55291         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
55292         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
55293         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
55294         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
55295         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
55296         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
55297         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
55298         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
55299         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
55300         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
55301         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
55302         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
55303         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
55304         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
55305         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
55306         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
55307         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
55308         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
55309         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
55310         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
55311         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
55312         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
55313         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
55314         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
55315         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
55316         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
55317         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
55318         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
55319         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
55320         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
55321         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
55322         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
55323         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
55324         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
55325         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
55326         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
55327         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
55328         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
55329         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
55330         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
55331         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
55332         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
55333         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
55334         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
55335         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
55336         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
55337         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
55338         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
55339         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
55340         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
55341         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
55342         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
55343         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
55344         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
55345         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
55347         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
55348         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
55350         [BZ #14914]
55351         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
55352         whole low double instead of just low 47 bits when splitting values
55353         into two parts.
55355 2012-12-03  Allan McRae  <allan@archlinux.org>
55357         * manual/stdio.texi (Predefined Printf Handlers): Remove
55358         @hsep and @vsep usage.
55360 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
55362         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
55363         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
55365 2012-12-03  Jeff Law  <law@redhat.com>
55367         * time/sys/time.h (settimeofday): Do not mark TV argument
55368         as __nonnull.
55370 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
55372         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
55373         when currently writing and seek to current position when not.
55374         * libio/Makefile (tests): Remove bug-fclose1.
55375         * libio/bug-fclose1.c: Delete.
55377 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
55379         * manual/arith.texi (feenableexcept): Fix typo.
55380         (fedisableexcept): Likewise.
55382 2012-11-30  Roland McGrath  <roland@hack.frob.com>
55384         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
55385         second, differently-typed declaration, rather than a cast.
55387 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
55389         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
55390         * include/rpc/svc.h: ... here.
55392 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
55394         [BZ #13013]
55395         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
55396         depending n and resplen2 to catch cases where answer
55397         equals answerp2.
55399 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
55401         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
55402         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
55404 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
55406         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
55408 2012-11-29  Roland McGrath  <roland@hack.frob.com>
55410         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
55412 2012-11-28  Jeff Law  <law@redhat.com>
55414         [BZ #13761]
55415         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
55416         dataset_temporary.  Track alloca usage into alloca_used.
55417         If dataset is large allocate and release it via malloc/free.
55419 2012-06-04  Florian Weimer  <fweimer@redhat.com>
55421         [BZ #14197]
55422         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
55424 2012-11-28  David S. Miller  <davem@davemloft.net>
55426         * sysdeps/sparc/fpu/libm-test-ulps: Update.
55428 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
55430         [BZ #14803]
55431         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
55432         of pi/2 rounded to nearest to 64 bits.
55433         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
55434         nearest to 64 bits.
55435         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
55436         bits.
55438 2012-11-28  Jeff Law <law@redhat.com>
55439             Martin Osvald <mosvald@redhat.com>
55441         [BZ #14889]
55442         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
55443         * sunrpc/svc.c: Include time.h.
55444         (__svc_accept_failed): New function.
55445         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
55446         any reason other than EINTR, call __svc_accept_failed.
55447         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
55448         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
55450 2012-11-28  Andreas Schwab  <schwab@suse.de>
55452         * scripts/abilist.awk: Also handle indirect functions in .opd
55453         section.
55455 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
55457         [BZ #13881]
55458         * sysdeps/x86/fpu/powl_helper.c: New file.
55459         * sysdeps/x86/fpu/Makefile: Likewise.
55460         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
55461         (p3): New object.
55462         (__ieee754_powl): Use __powl_helper for finite arguments except
55463         integer exponents below 8.
55464         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
55465         (p3): New object.
55466         (__ieee754_powl): Use __powl_helper for finite arguments except
55467         integer exponents below 8.
55468         * math/libm-test.inc (pow_test): Add more tests and enable some
55469         previously disabled tests.
55470         * sysdeps/i386/fpu/libm-test-ulps: Update.
55471         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55473 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
55474             Carlos O'Donell  <carlos_odonell@mentor.com>
55476         * nss/makedb.c (is_prime): Assert that input is odd and greater
55477         than 4.  Note that fact in a comment too.
55478         (next_prime): Add 4 to input.
55480 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
55482         [BZ #11741]
55483         * libio/Makefile (tests): Add test case tst-fwrite-error.
55484         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
55485         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
55486         * libio/tst-fwrite-error.c: New test case.
55488 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
55490         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
55491         before casting to void *.
55492         * include/libc-internal.h (__pointer_type): New macro.
55493         (__integer_if_pointer_type_sub): Likewise.
55494         (__integer_if_pointer_type): Likewise.
55495         (cast_to_integer): Likewise.
55496         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
55497         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
55498         before casting to atomic64_t.
55499         (atomic_exchange_acq): Likewise.
55500         (__arch_exchange_and_add_body): Likewise.
55501         (__arch_add_body): Likewise.
55502         (atomic_add_negative): Likewise.
55503         (atomic_add_zero): Likewise.
55505 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
55507         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
55508         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
55509         (add_fdes): Likewise.
55510         (linear_search_fdes): Likewise.
55511         (binary_search_unencoded_fdes): Likewise.
55513 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
55515         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
55517 2012-11-24  Adam Conrad  <adconrad@0c3.net>
55519         * configure.in: Autodetect C++ header directories.
55520         * configure: Regenerated.
55522 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
55524         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
55526 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
55528         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
55530 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
55532         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
55533         LDBL_MANT_DIG == 106]: Disable some tests.
55534         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
55535         Likewise.
55536         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
55537         Likewise.
55539         [BZ #14871]
55540         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
55541         input for small inputs.  Return +/- pi/2 for large inputs.
55542         * math/libm-test.inc (atan_test): Add more tests.
55544         * sysdeps/generic/unwind-dw2-fde-glibc.c
55545         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
55546         __attribute__ ((unused)).
55548         [BZ #14645]
55549         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
55550         x * y if x and y are nonzero and z is zero.
55552         [BZ #14811]
55553         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
55554         nonzero exponents with absolute value below 0x1p-117 to +/-
55555         0x1p-117.
55557         [BZ #14869]
55558         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
55559         up arguments below 2**-450, not just those below 2**-500.
55560         * math/libm-test.inc (hypot_test): Add another test.
55562         [BZ #14868]
55563         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
55564         Return a+b for ratio over 2**120, not 2**60.
55565         * math/libm-test.inc (hypot_test): Add another test.
55567         * math/libm-test.inc (clog_test): Use
55568         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
55569         (clog10_test): Likewise.
55571         [BZ #6778]
55572         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
55574 2012-11-22  Andreas Schwab  <schwab@suse.de>
55576         * sysdeps/i386/fpu/libm-test-ulps: Update.
55578 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
55580         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
55581         printf output with newline.
55583 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
55585         [BZ #14865]
55586         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
55587         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
55588         -z nodlopen, -z initfirst and -z execstack support.
55589         * configure: Regenerated.
55591         * elf/elf.h (DF_1_NODIRECT): New macro.
55592         (DF_1_IGNMULDEF): Likewise.
55593         (DF_1_NOKSYMS): Likewise.
55594         (DF_1_NOHDR): Likewise.
55595         (DF_1_EDITED): Likewise.
55596         (DF_1_NORELOC): Likewise.
55597         (DF_1_SYMINTPOSE): Likewise.
55598         (DF_1_GLOBAUDIT): Likewise.
55599         (DF_1_SINGLETON): Likewise.
55600         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
55601         DT_1_SUPPORTED_MASK bits.
55602         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
55604 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
55606         * sysdeps/unix/make-syscalls.sh: Document prefixes.
55608 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
55610         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
55611         macro.
55613         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
55614         (sendmmsg): Move declarations...
55615         * socket/sys/socket.h: ... here.
55616         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
55617         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
55618         include it from...
55619         * socket/recvmmsg.c: ... this new file.
55620         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
55621         (sendmmsg): Rename to __sendmmsg, create weak alias and make
55622         definition of __sendmmsg hidden.
55623         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
55624         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
55625         Move ENOSYS stub into and include it from...
55626         * socket/sendmmsg.c: ... this new file.
55627         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
55628         (sysdep_routines): Move recvmmsg and sendmmsg...
55629         * socket/Makefile (routines): ... here.
55630         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
55631         (GLIBC_PRIVATE): Add __sendmmsg.
55632         * include/sys/socket.h (__sendmmsg): Add declarations.
55633         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
55634         sendmmsg.
55636 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
55638         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
55639         variable I1 with __attribute__ ((unused)).
55640         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
55642 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
55644         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
55645         DUMMY variables with __attribute__ ((unused)).
55647         * bits/byteswap.h: Include <bits/types.h>.
55648         (__bswap_64): Use __uint64_t instead of unsigned long long int.
55650 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
55652         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
55653         string_t.  Do not manually set errno.
55654         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
55655         length with __strnlen.  Make sure to both set errno and return it on
55656         failure.
55658 2012-11-19  David S. Miller  <davem@davemloft.net>
55660         With help from Joseph Myers.
55661         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
55662         very large arguments properly.
55663         * math/libm-test.inc (atan_test): New tests.
55664         (atan2_test): New tests.
55665         * sysdeps/sparc/fpu/libm-test-ulps: Update.
55666         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
55668 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
55670         [BZ #14856]
55671         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
55672         Define to 3.
55674         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
55675         [POSIX] (EADDRNOTAVAIL): Likewise.
55676         [POSIX] (EAFNOSUPPORT): Likewise.
55677         [POSIX] (EALREADY): Likewise.
55678         [POSIX] (ECONNABORTED): Likewise.
55679         [POSIX] (ECONNREFUSED): Likewise.
55680         [POSIX] (ECONNRESET): Likewise.
55681         [POSIX] (EDESTADDRREQ): Likewise.
55682         [POSIX] (EDQUOT): Likewise.
55683         [POSIX] (EHOSTUNREACH): Likewise.
55684         [POSIX] (EIDRM): Likewise.
55685         [POSIX] (EISCONN): Likewise.
55686         [POSIX] (ELOOP): Likewise.
55687         [POSIX] (EMULTIHOP): Likewise.
55688         [POSIX] (ENETDOWN): Likewise.
55689         [POSIX] (ENETUNREACH): Likewise.
55690         [POSIX] (ENOBUFS): Likewise.
55691         [POSIX] (ENODATA): Likewise.
55692         [POSIX] (ENOLINK): Likewise.
55693         [POSIX] (ENOMSG): Likewise.
55694         [POSIX] (ENOPROTOOPT): Likewise.
55695         [POSIX] (ENOSR): Likewise.
55696         [POSIX] (ENOSTR): Likewise.
55697         [POSIX] (ENOTCONN): Likewise.
55698         [POSIX] (ENOTSOCK): Likewise.
55699         [POSIX] (EOPNOTSUPP): Likewise.
55700         [POSIX] (EOVERFLOW): Likewise.
55701         [POSIX] (EPROTO): Likewise.
55702         [POSIX] (EPROTONOSUPPORT): Likewise.
55703         [POSIX] (EPROTOTYPE): Likewise.
55704         [POSIX] (ESTALE): Likewise.
55705         [POSIX] (ETIME): Likewise.
55706         [POSIX] (ETXTBSY): Likewise.
55707         [POSIX] (EWOULDBLOCK): Likewise.
55708         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
55709         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
55710         [POSIX] (SEEK_CUR): Likewise.
55711         [POSIX] (SEEK_END): Likewise.
55712         [POSIX || UNIX98] (mode_t): Do not require.
55713         [POSIX] (off_t): Likewise.
55714         [POSIX] (pid_t): Likewise.
55715         [POSIX] (sys/stat.h): Do not allow header.
55716         [POSIX] (unistd.h): Likewise.
55717         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
55718         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
55719         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
55720         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
55721         require.
55722         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
55723         sigevent): Specify elements.
55724         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
55725         entry.
55726         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
55727         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
55729         * conform/data/cpio.h-data [POSIX]: Disable whole file.
55730         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
55731         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
55732         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
55733         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
55734         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
55735         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
55736         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
55737         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
55738         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
55739         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
55740         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
55741         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
55742         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
55743         Likewise.
55744         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
55745         Likewise.
55746         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
55747         Likewise.
55748         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
55749         Likewise.
55750         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
55751         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
55752         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
55753         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
55754         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
55755         Specify lower bound on value.
55756         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
55757         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
55758         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
55759         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
55760         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
55761         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise.
55762         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
55763         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
55764         value.
55765         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
55766         as optional.
55767         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
55768         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
55769         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
55770         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
55771         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
55772         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
55773         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
55774         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
55775         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
55776         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
55777         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
55778         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
55779         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
55780         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
55781         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
55782         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
55783         entry.
55784         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
55785         optional.
55786         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
55787         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
55788         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
55789         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
55790         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
55791         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
55792         Likewise.
55793         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
55794         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
55795         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
55796         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
55797         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
55798         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
55799         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
55800         as optional.
55801         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
55802         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
55803         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
55804         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
55805         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
55806         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
55807         specify as optional.
55808         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
55809         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
55810         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
55811         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
55812         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
55813         [XPG3] (NL_LANGMAX): Likewise.
55814         [POSIX || XPG3] (NL_MSGMAX): Likewise.
55815         [POSIX || XPG3] (NL_NMAX): Likewise.
55816         [POSIX || XPG3] (NL_SETMAX): Likewise.
55817         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
55818         [XPG3] (NZERO): Likewise.
55819         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
55820         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
55821         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
55822         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
55823         (REG_ERANGE): Expect.
55824         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
55825         optional-constant.
55826         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
55827         Use (void) in prototype.
55828         [POSIX] (*_t): Allow.
55829         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
55830         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
55831         (WRDE_BADVAL): Expect.
55833         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
55834         expect.
55835         [XPG3 || XPG4] (O_RSYNC): Likewise.
55836         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
55837         Likewise.
55838         [XPG3 || XPG4] (pthread_sigmask): Likewise.
55839         [XPG3 || XPG4] (sigqueue): Likewise.
55840         [XPG3 || XPG4] (sigtimedwait): Likewise.
55841         [XPG3 || XPG4] (sigwaitinfo): Likewise.
55842         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
55843         [XPG3 || XPG4] (vsnprintf): Likewise.
55844         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
55845         Likewise.
55846         [XPG3 || XPG4] (blksize_t): Likewise.
55847         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
55848         Likewise.
55849         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
55850         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
55851         [XPG3 || XPG4] (struct itimerspec): Likewise.
55852         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
55853         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
55854         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
55855         [XPG3 || XPG4] (clockid_t): Likewise.
55856         [XPG3 || XPG4] (timer_t): Likewise.
55857         [XPG3 || XPG4] (clock_getres): Likewise.
55858         [XPG3 || XPG4] (clock_gettime): Likewise.
55859         [XPG3 || XPG4] (clock_settime): Likewise.
55860         [XPG3 || XPG4] (nanosleep): Likewise.
55861         [XPG3 || XPG4] (timer_create): Likewise.
55862         [XPG3 || XPG4] (timer_delete): Likewise.
55863         [XPG3 || XPG4] (timer_gettime): Likewise.
55864         [XPG3 || XPG4] (timer_getoverrun): Likewise.
55865         [XPG3 || XPG4] (timer_settime): Likewise.
55866         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
55867         [XPG3 || XPG4] (getlogin_r): Likewise.
55868         [XPG3 || XPG4] (pread): Likewise.
55869         [XPG3 || XPG4] (pthread_atfork): Likewise.
55870         [XPG3 || XPG4] (pwrite): Likewise.
55872         [BZ #14835]
55873         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
55874         <bits/siginfo.h>.
55876 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
55878         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
55879         finalizing MALLSTREAM.
55881         * sysdeps/mach/hurd/syncfs.c: New file.
55883 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
55885         [BZ #14719]
55886         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
55887         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
55888         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
55889         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
55890         (_nss_dns_gethostbyname4_r): Likewise.
55891         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
55892         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
55894 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
55896         [BZ #13763]
55897         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
55899 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
55901         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
55902         * elf/cache.c (print_entry): Print ",AArch64" for
55903         FLAG_AARCH64_LIB64
55905         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
55906         * elf/cache.c (print_entry): Print ",hard-float" for
55907         FLAG_ARM_LIBHF.
55909 2012-11-18  David S. Miller  <davem@davemloft.net>
55911         With help from Joseph Myers.
55912         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
55913         cutoff to 2**-13.
55914         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
55915         cutoff to 2**-25.
55916         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
55917         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
55918         small.
55919         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
55920         * math/libm-test.inc (y0_test): New tests.
55921         (y1_test): New tests.
55922         * sysdeps/i386/fpu/libm-test-ulps: Update.
55923         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
55924         * sysdeps/sparc/fpu/libm-test-ulps: Update.
55926 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
55928         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
55929         64-bit targets.
55930         * configure: Regenerated.
55932 2012-11-17  David S. Miller  <davem@davemloft.net>
55934         [BZ #14811]
55935         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
55936         nonzero exponents with absolute value below 0x1p-128 to +/-
55937         0x1p-128.
55939 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
55941         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
55943         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
55945         * posix/getconf-speclist.c: New file.
55946         * posix/posix-envs.def: Likewise.
55947         * posix/confstr.c (START_ENV_GROUP): New macro.
55948         (END_ENV_GROUP): Likewise.
55949         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
55950         (KNOWN_PRESENT_ENV_STRING): Likewise.
55951         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
55952         (UNKNOWN_ENVIRONMENT): Likewise.
55953         (confstr): Include posix-envs.def instead of handling
55954         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
55955         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
55956         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
55957         (END_ENV_GROUP): Likewise.
55958         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
55959         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
55960         (UNKNOWN_ENVIRONMENT): Likewise.
55961         (__sysconf): Include posix-envs.def instead of handling associated
55962         cases directly here.
55963         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
55964         preprocessing getconf-speclist.c rather than running getconf or
55965         generating empty file.
55967 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
55969         * scripts/check-local-headers.sh: Ignore 'mach' headers.
55971 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
55973         [BZ #14672]
55974         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
55976 2012-11-16  David S. Miller  <davem@davemloft.net>
55978         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
55979         smaller than LDBL_EPSILON/2.0L, just return xm1.
55981 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
55983         * elf/tst-array1.c (init): Set constructor priority to 1000.
55984         (fini): Set destructor priority to 1000.
55985         * elf/tst-array2dep.c: Likewise.
55987 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
55989         [BZ #11741]
55990         * libio/fileops.c (_IO_new_file_write): Correctly return error.
55991         (_IO_new_file_xsputn): Also return EOF if none of the input
55992         data was written when overflow failed.
55993         * libio/iopadn.c (_IO_padn): Likewise.
55994         * libio/iowpadn.c (_IO_wpadn): Likewise.
55995         * stdio-common/tst-put-error.c: Add copyright notice.
55996         (do_test): Add case for printing padded string.
55997         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
55998         _IO_padn returned error.
55999         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
56000         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
56001         return EOF.
56003 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
56005         * libio/libioP.h: Add comment note that the references to C++
56006         bits are now obsolete.
56008 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
56010         * math/libm-test.inc (check_complex): Use asprintf.
56012 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
56014         * debug/pcprofiledump.c (print_version): Update copyright year.
56015         * malloc/memusagestat.c (print_version): Likewise.
56017 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
56019         [BZ #14831]
56020         * elf/Makefile (tests): Add tst-audit8.
56021         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
56022         ($(objpfx)tst-audit8.out): New target.
56023         (tst-audit8-ENV): New variable.
56024         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
56025         audit if l_reloc_result is NULL.
56026         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
56027         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
56028         * elf/tst-audit8.c: New file.
56030 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
56032         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
56033         * misc/Makefile (CFLAGS-select.c): Define.
56034         * posix/Makefile (CFLAGS-pause.c): Define.
56036 2012-11-13  David S. Miller  <davem@davemloft.net>
56038         * crypt/Makefile: Move test targets after toplevel Rules
56039         inclusion.  Grab any necessary sysdep routines when linking.
56040         * crypt/md5.c (md5_process_block): Remove define, we will always
56041         name it __md5_process_block.
56042         (md5_finish_ctx): Update md5_process_block call.
56043         (md5_stream): Likewise.
56044         (md5_process_bytes): Likewise.
56045         (md5_process_block): Rename to __md5_process_block and move to ...
56046         * crypt/md5-block.c: ... here.
56047         * crypt/sha256.c (sha256_process_block): Move to ...
56048         * crypt/sha256-block.c: ... here.
56049         * crypt/sha512.c (sha512_process_block): Move to ...
56050         * crypt/sha512-block.c: ... here.
56051         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
56052         path.
56053         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
56054         * sysdeps/sparc/sparc64/multiarch/Makefile
56055         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
56056         crypt subdir.
56057         (localedef-aux): Add md5 crypto assembler when in locale subdir.
56058         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
56059         multiarch changes.
56060         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
56061         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
56062         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
56063         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
56064         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
56065         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
56066         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
56067         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
56068         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
56069         file.
56070         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
56071         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
56072         file.
56073         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
56075 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
56077         * timezone/tzselect.ksh: Update from tzcode git revision
56078         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
56079         * timezone/zdump.c: Likewise.
56080         * timezone/zic.c: Likewise.
56081         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
56082         in TZVERSION setting, not $(PKGVERSION).
56083         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
56084         REPORT_BUGS_TO settings.
56086         [BZ #14838]
56087         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
56088         macro.
56090 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
56092         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
56093         detection to immediately after _FP_ROUND().
56094         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
56095         bits are 0.
56097 2012-11-11  David S. Miller  <davem@davemloft.net>
56099         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
56100         inttypes.h
56101         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
56102         __close rather than their public counterparts.
56104 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
56106         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
56107         file.
56108         [UNIX98] (sem_timedwait): Do not expect.
56109         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
56110         [XPG4 || UNIX98] (sockatmark): Do not expect.
56111         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
56112         (clock_getcpuclockid): Do not expect.
56113         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
56114         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
56115         Do not expect.
56116         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
56117         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
56118         [UNIX98] (vwscanf): Likewise.
56119         [UNIX98] (vswscanf): Likewise.
56121 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
56123         * timezone/version.h: Remove file.
56124         * timezone/README: Do not refer to version.h.
56125         * timezone/Makefile ($(objpfx)zic.o): New dependency on
56126         $(objpfx)version.h.
56127         ($(objpfx)zdump.o): Likewise.
56128         ($(objpfx)version.h): New target.
56130         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
56131         2012i.
56132         * timezone/README: Don't mention modification to tzselect.ksh.
56133         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
56134         work on unmodified tzselect.ksh.  Substitute version numbers in
56135         tzselect.ksh.
56137         * Makefile (format-me): Remove.
56138         (INSTALL): Adjust indentation.  Use commands directly instead of
56139         using $(format-me).
56141         * aclocal.m4 (ACX_PKGVERSION): New macro.
56142         (ACX_BUGURL): Likewise.
56143         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
56144         (PKGVERSION): New AC_DEFINE_UNQUOTED.
56145         (REPORT_BUGS_TO): Likewise.
56146         * configure: Regenerated.
56147         * config.h.in (PKGVERSION): New macro.
56148         (REPORT_BUGS_TO): Likewise.
56149         * config.make.in (PKGVERSION): New variable.
56150         (PKGVERSION_TEXI): Likewise.
56151         (REPORT_BUGS_TO): Likewise.
56152         (REPORT_BUGS_TEXI): Likewise.
56153         * Makefile (format-me): Use -I$(common-objpfx)manual.
56154         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
56155         ($(common-objpfx)manual/%): New target.
56156         (manual/%): Remove target.
56157         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
56158         (print_version): Use PKGVERSION.
56159         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
56160         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
56161         and REPORT_BUGS_TO.
56162         ($(objpfx)xtrace): Likewise.
56163         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
56164         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
56165         (print_version): Use PKGVERSION.
56166         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
56167         (do_version): Use PKGVERSION.
56168         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
56169         REPORT_BUGS_TO.
56170         (common-ldd-rewrite): Likewise.
56171         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
56172         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
56173         (print_version): Use PKGVERSION.
56174         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
56175         * elf/pldd.c (argp_program_bug_address): Remove variable.
56176         (more_help): New function.
56177         (argp): Use more_help.
56178         (print_version): Use PKGVERSION.
56179         * elf/sln.c (main): Use PKGVERSION.
56180         (usage): Use REPORT_BUGS_TO.
56181         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
56182         (top level): Use PKGVERSION.
56183         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
56184         (print_version): Use PKGVERSION.
56185         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
56186         (print_version): Use PKGVERSION.
56187         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
56188         (print_version): Use PKGVERSION.
56189         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
56190         (print_version): Use PKGVERSION.
56191         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
56192         (print_version): Use PKGVERSION.
56193         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
56194         (print_version): Use PKGVERSION.
56195         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
56196         and BUGURL.
56197         ($(objpfx)memusage): Likewise.
56198         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
56199         (do_version): Use PKGVERSION.
56200         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
56201         (print_version): Use PKGVERSION.
56202         * malloc/mtrace.pl ($PACKAGE): Remove variable.
56203         ($PKGVERSION): New variable.
56204         ($REPORT_BUGS_TO): Likewise.
56205         (usage): Use $REPORT_BUGS_TO.
56206         (top level): Use $PKGVERSION.
56207         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
56208         ($(objpfx)pkgvers.texi): New rule.
56209         ($(objpfx)stamp-pkgvers): Likewise.
56210         * manual/install.texi: Include pkgvers.texi.
56211         (--with-pkgversion): Document new configure option.
56212         (--with-bugurl): Likewise.
56213         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
56214         than necessarily for this particular distribution.  Use
56215         REPORT_BUGS_TO for where to report bugs.
56216         * INSTALL: Regenerated.
56217         * manual/libc.texinfo: Include pkgvers.texi.
56218         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
56219         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
56220         (print_version): Use PKGVERSION.
56221         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
56222         (print_version): Use PKGVERSION.
56223         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
56224         (print_version): Use PKGVERSION.
56225         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
56226         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
56227         macro.
56228         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
56229         (print_version): Use PKGVERSION.
56230         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
56231         (print_version): Use PKGVERSION.
56232         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
56233         and PKGVERSION.
56235         * timezone/checktab.awk: Update from tzcode 2012i.
56236         * timezone/ialloc.c: Likewise.
56237         * timezone/private.h: Likewise.
56238         * timezone/scheck.c: Likewise.
56239         * timezone/tzfile.h: Likewise.
56240         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
56241         (TZVERSION): Hardcode tzcode version number.
56242         * timezone/zdump.c: Update from tzcode 2012i.
56243         * timezone/zic.c: Likewise.
56244         * timezone/version.h: New file.
56245         * timezone/README: Describe version.h.  Update upstream location.
56247         [BZ #14824]
56248         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
56249         (mktemp): Enable declaration.
56250         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
56251         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
56252         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
56253         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
56254         Likewise.
56255         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
56256         Likewise.
56257         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
56258         Likewise.
56259         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
56260         Likewise.
56261         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
56262         Likewise.
56263         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
56264         Likewise.
56266         [BZ #14821]
56267         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
56268         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
56269         for copies of such integer values.
56270         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
56271         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
56273 2012-11-09  Andreas Jaeger  <aj@suse.de>
56275         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
56276         definitions and declarations that are provided by
56277         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
56279 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
56281         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
56282         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
56283         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
56284         definition.
56286 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
56288         * elf/elf.h: Update comment before AArch64 relocations.
56290 2012-11-07  David S. Miller  <davem@davemloft.net>
56292         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
56293         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
56294         (__start_context): Declare.
56295         (__makecontext_ret): Delete.
56296         (__makecontext): Hook up __start_context instead of
56297         __makecontext_ret.
56298         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
56299         (sysdep_routines): Add __start_context when in stdlib.
56301 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
56303         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
56304         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
56305         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
56306         hardcoded "nm".
56307         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
56308         (READELF): New variable.  Use it instead of hardcoded "readelf".
56310 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
56312         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
56313         * sysdeps/x86/Makefile: Here.
56314         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
56315         * sysdeps/x86/tst-xmmymm.sh: This.
56317 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
56319         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
56320         expectations.
56321         [UNIX98] (pthread_barrier_t): Do not expect.
56322         [UNIX98] (pthread_barrierattr_t): Likewise.
56323         [UNIX98] (pthread_spinlock_t): Likewise.
56324         [UNIX98] (pthread_barrier_destroy): Likewise.
56325         [UNIX98] (pthread_barrier_init): Likewise.
56326         [UNIX98] (pthread_barrier_wait): Likewise.
56327         [UNIX98] (pthread_barrierattr_destroy): Likewise.
56328         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
56329         [UNIX98] (pthread_barrierattr_init): Likewise.
56330         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
56331         [UNIX98] (pthread_getcpuclockid): Likewise.
56332         [UNIX98] (pthread_mutex_timedlock): Likewise.
56333         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
56334         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
56335         [UNIX98] (pthread_sigmask): Likewise.
56336         [UNIX98] (pthread_spin_destroy): Likewise.
56337         [UNIX98] (pthread_spin_init): Likewise.
56338         [UNIX98] (pthread_spin_lock): Likewise.
56339         [UNIX98] (pthread_spin_trylock): Likewise.
56340         [UNIX98] (pthread_spin_unlock): Likewise.
56341         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
56342         Do not expect.
56343         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
56344         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
56345         [XPG3 || XPG4] (pthread_cond_t): Likewise.
56346         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
56347         [XPG3 || XPG4] (pthread_key_t): Likewise.
56348         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
56349         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
56350         [XPG3 || XPG4] (pthread_once_t): Likewise.
56351         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
56352         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
56353         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
56354         [XPG3 || XPG4] (pthread_t): Likewise.
56356         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
56357         not expect.
56358         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
56360         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
56361         Change function return type to int.
56363         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
56364         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
56365         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
56366         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
56367         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
56368         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
56369         [!POSIX] (posix_madvise): Likewise.
56370         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
56371         && !UNIX98].
56372         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
56373         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
56374         (mode_t): Likewise.
56375         (posix_mem_offset): Likewise.
56376         (posix_typed_mem_get_info): Likewise.
56377         (posix_typed_mem_open): Likewise.
56379         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
56380         Change condition to [XOPEN2K8].
56382         * conform/conformtest.pl: Preprocess allow-header data with -x c
56383         instead of from stdin.
56384         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
56385         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
56386         [C99-based standards] (cerfc): Likewise.
56387         [C99-based standards] (cexp2): Likewise.
56388         [C99-based standards] (cexpm1): Likewise.
56389         [C99-based standards] (clog10): Likewise.
56390         [C99-based standards] (clog1p): Likewise.
56391         [C99-based standards] (clog2): Likewise.
56392         [C99-based standards] (clgamma): Likewise.
56393         [C99-based standards] (ctgamma): Likewise.
56394         [C99-based standards] (cerff): Likewise.
56395         [C99-based standards] (cerfcf): Likewise.
56396         [C99-based standards] (cexp2f): Likewise.
56397         [C99-based standards] (cexpm1f): Likewise.
56398         [C99-based standards] (clog10f): Likewise.
56399         [C99-based standards] (clog1pf): Likewise.
56400         [C99-based standards] (clog2f): Likewise.
56401         [C99-based standards] (clgammaf): Likewise.
56402         [C99-based standards] (ctgammaf): Likewise.
56403         [C99-based standards] (cerfl): Likewise.
56404         [C99-based standards] (cerfcl): Likewise.
56405         [C99-based standards] (cexp2l): Likewise.
56406         [C99-based standards] (cexpm1l): Likewise.
56407         [C99-based standards] (clog10l): Likewise.
56408         [C99-based standards] (clog1pl): Likewise.
56409         [C99-based standards] (clog2l): Likewise.
56410         [C99-based standards] (clgammal): Likewise.
56411         [C99-based standards] (ctgammal): Likewise.
56412         * conform/data/inttypes.h-data [C99-based standards]: Include
56413         stdint.h-data.  Remove all expectations for stdint.h contents.
56414         [C99-based standards] (PRI*): Do not allow.
56415         [C99-based standards] (SCN*): Likewise.
56416         [C99-based standards] (*_t): Likewise.
56417         [C99-based-standards] (PRId8): Expect macro.
56418         [C99-based-standards] (PRIi8): Likewise.
56419         [C99-based-standards] (PRIo8): Likewise.
56420         [C99-based-standards] (PRIu8): Likewise.
56421         [C99-based-standards] (PRIx8): Likewise.
56422         [C99-based-standards] (PRIX8): Likewise.
56423         [C99-based-standards] (SCNd8): Likewise.
56424         [C99-based-standards] (SCNi8): Likewise.
56425         [C99-based-standards] (SCNo8): Likewise.
56426         [C99-based-standards] (SCNu8): Likewise.
56427         [C99-based-standards] (SCNx8): Likewise.
56428         [C99-based-standards] (PRIdLEAST8): Likewise.
56429         [C99-based-standards] (PRIiLEAST8): Likewise.
56430         [C99-based-standards] (PRIoLEAST8): Likewise.
56431         [C99-based-standards] (PRIuLEAST8): Likewise.
56432         [C99-based-standards] (PRIxLEAST8): Likewise.
56433         [C99-based-standards] (PRIXLEAST8): Likewise.
56434         [C99-based-standards] (SCNdLEAST8): Likewise.
56435         [C99-based-standards] (SCNiLEAST8): Likewise.
56436         [C99-based-standards] (SCNoLEAST8): Likewise.
56437         [C99-based-standards] (SCNuLEAST8): Likewise.
56438         [C99-based-standards] (SCNxLEAST8): Likewise.
56439         [C99-based-standards] (PRIdFAST8): Likewise.
56440         [C99-based-standards] (PRIiFAST8): Likewise.
56441         [C99-based-standards] (PRIoFAST8): Likewise.
56442         [C99-based-standards] (PRIuFAST8): Likewise.
56443         [C99-based-standards] (PRIxFAST8): Likewise.
56444         [C99-based-standards] (PRIXFAST8): Likewise.
56445         [C99-based-standards] (SCNdFAST8): Likewise.
56446         [C99-based-standards] (SCNiFAST8): Likewise.
56447         [C99-based-standards] (SCNoFAST8): Likewise.
56448         [C99-based-standards] (SCNuFAST8): Likewise.
56449         [C99-based-standards] (SCNxFAST8): Likewise.
56450         [C99-based-standards] (PRId16): Likewise.
56451         [C99-based-standards] (PRIi16): Likewise.
56452         [C99-based-standards] (PRIo16): Likewise.
56453         [C99-based-standards] (PRIu16): Likewise.
56454         [C99-based-standards] (PRIx16): Likewise.
56455         [C99-based-standards] (PRIX16): Likewise.
56456         [C99-based-standards] (SCNd16): Likewise.
56457         [C99-based-standards] (SCNi16): Likewise.
56458         [C99-based-standards] (SCNo16): Likewise.
56459         [C99-based-standards] (SCNu16): Likewise.
56460         [C99-based-standards] (SCNx16): Likewise.
56461         [C99-based-standards] (PRIdLEAST16): Likewise.
56462         [C99-based-standards] (PRIiLEAST16): Likewise.
56463         [C99-based-standards] (PRIoLEAST16): Likewise.
56464         [C99-based-standards] (PRIuLEAST16): Likewise.
56465         [C99-based-standards] (PRIxLEAST16): Likewise.
56466         [C99-based-standards] (PRIXLEAST16): Likewise.
56467         [C99-based-standards] (SCNdLEAST16): Likewise.
56468         [C99-based-standards] (SCNiLEAST16): Likewise.
56469         [C99-based-standards] (SCNoLEAST16): Likewise.
56470         [C99-based-standards] (SCNuLEAST16): Likewise.
56471         [C99-based-standards] (SCNxLEAST16): Likewise.
56472         [C99-based-standards] (PRIdFAST16): Likewise.
56473         [C99-based-standards] (PRIiFAST16): Likewise.
56474         [C99-based-standards] (PRIoFAST16): Likewise.
56475         [C99-based-standards] (PRIuFAST16): Likewise.
56476         [C99-based-standards] (PRIxFAST16): Likewise.
56477         [C99-based-standards] (PRIXFAST16): Likewise.
56478         [C99-based-standards] (SCNdFAST16): Likewise.
56479         [C99-based-standards] (SCNiFAST16): Likewise.
56480         [C99-based-standards] (SCNoFAST16): Likewise.
56481         [C99-based-standards] (SCNuFAST16): Likewise.
56482         [C99-based-standards] (SCNxFAST16): Likewise.
56483         [C99-based-standards] (PRId32): Likewise.
56484         [C99-based-standards] (PRIi32): Likewise.
56485         [C99-based-standards] (PRIo32): Likewise.
56486         [C99-based-standards] (PRIu32): Likewise.
56487         [C99-based-standards] (PRIx32): Likewise.
56488         [C99-based-standards] (PRIX32): Likewise.
56489         [C99-based-standards] (SCNd32): Likewise.
56490         [C99-based-standards] (SCNi32): Likewise.
56491         [C99-based-standards] (SCNo32): Likewise.
56492         [C99-based-standards] (SCNu32): Likewise.
56493         [C99-based-standards] (SCNx32): Likewise.
56494         [C99-based-standards] (PRIdLEAST32): Likewise.
56495         [C99-based-standards] (PRIiLEAST32): Likewise.
56496         [C99-based-standards] (PRIoLEAST32): Likewise.
56497         [C99-based-standards] (PRIuLEAST32): Likewise.
56498         [C99-based-standards] (PRIxLEAST32): Likewise.
56499         [C99-based-standards] (PRIXLEAST32): Likewise.
56500         [C99-based-standards] (SCNdLEAST32): Likewise.
56501         [C99-based-standards] (SCNiLEAST32): Likewise.
56502         [C99-based-standards] (SCNoLEAST32): Likewise.
56503         [C99-based-standards] (SCNuLEAST32): Likewise.
56504         [C99-based-standards] (SCNxLEAST32): Likewise.
56505         [C99-based-standards] (PRIdFAST32): Likewise.
56506         [C99-based-standards] (PRIiFAST32): Likewise.
56507         [C99-based-standards] (PRIoFAST32): Likewise.
56508         [C99-based-standards] (PRIuFAST32): Likewise.
56509         [C99-based-standards] (PRIxFAST32): Likewise.
56510         [C99-based-standards] (PRIXFAST32): Likewise.
56511         [C99-based-standards] (SCNdFAST32): Likewise.
56512         [C99-based-standards] (SCNiFAST32): Likewise.
56513         [C99-based-standards] (SCNoFAST32): Likewise.
56514         [C99-based-standards] (SCNuFAST32): Likewise.
56515         [C99-based-standards] (SCNxFAST32): Likewise.
56516         [C99-based-standards] (PRId64): Likewise.
56517         [C99-based-standards] (PRIi64): Likewise.
56518         [C99-based-standards] (PRIo64): Likewise.
56519         [C99-based-standards] (PRIu64): Likewise.
56520         [C99-based-standards] (PRIx64): Likewise.
56521         [C99-based-standards] (PRIX64): Likewise.
56522         [C99-based-standards] (SCNd64): Likewise.
56523         [C99-based-standards] (SCNi64): Likewise.
56524         [C99-based-standards] (SCNo64): Likewise.
56525         [C99-based-standards] (SCNu64): Likewise.
56526         [C99-based-standards] (SCNx64): Likewise.
56527         [C99-based-standards] (PRIdLEAST64): Likewise.
56528         [C99-based-standards] (PRIiLEAST64): Likewise.
56529         [C99-based-standards] (PRIoLEAST64): Likewise.
56530         [C99-based-standards] (PRIuLEAST64): Likewise.
56531         [C99-based-standards] (PRIxLEAST64): Likewise.
56532         [C99-based-standards] (PRIXLEAST64): Likewise.
56533         [C99-based-standards] (SCNdLEAST64): Likewise.
56534         [C99-based-standards] (SCNiLEAST64): Likewise.
56535         [C99-based-standards] (SCNoLEAST64): Likewise.
56536         [C99-based-standards] (SCNuLEAST64): Likewise.
56537         [C99-based-standards] (SCNxLEAST64): Likewise.
56538         [C99-based-standards] (PRIdFAST64): Likewise.
56539         [C99-based-standards] (PRIiFAST64): Likewise.
56540         [C99-based-standards] (PRIoFAST64): Likewise.
56541         [C99-based-standards] (PRIuFAST64): Likewise.
56542         [C99-based-standards] (PRIxFAST64): Likewise.
56543         [C99-based-standards] (PRIXFAST64): Likewise.
56544         [C99-based-standards] (SCNdFAST64): Likewise.
56545         [C99-based-standards] (SCNiFAST64): Likewise.
56546         [C99-based-standards] (SCNoFAST64): Likewise.
56547         [C99-based-standards] (SCNuFAST64): Likewise.
56548         [C99-based-standards] (SCNxFAST64): Likewise.
56549         [C99-based-standards] (PRIdMAX): Likewise.
56550         [C99-based-standards] (PRIiMAX): Likewise.
56551         [C99-based-standards] (PRIoMAX): Likewise.
56552         [C99-based-standards] (PRIuMAX): Likewise.
56553         [C99-based-standards] (PRIxMAX): Likewise.
56554         [C99-based-standards] (PRIXMAX): Likewise.
56555         [C99-based-standards] (SCNdMAX): Likewise.
56556         [C99-based-standards] (SCNiMAX): Likewise.
56557         [C99-based-standards] (SCNoMAX): Likewise.
56558         [C99-based-standards] (SCNuMAX): Likewise.
56559         [C99-based-standards] (SCNxMAX): Likewise.
56560         [C99-based-standards] (PRIdPTR): Likewise.
56561         [C99-based-standards] (PRIiPTR): Likewise.
56562         [C99-based-standards] (PRIoPTR): Likewise.
56563         [C99-based-standards] (PRIuPTR): Likewise.
56564         [C99-based-standards] (PRIxPTR): Likewise.
56565         [C99-based-standards] (PRIXPTR): Likewise.
56566         [C99-based-standards] (SCNdPTR): Likewise.
56567         [C99-based-standards] (SCNiPTR): Likewise.
56568         [C99-based-standards] (SCNoPTR): Likewise.
56569         [C99-based-standards] (SCNuPTR): Likewise.
56570         [C99-based-standards] (SCNxPTR): Likewise.
56571         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
56572         allow.
56573         * conform/data/stdint.h-data: Update comments to clarify
56574         requirements.
56575         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
56576         type.
56577         [C99-based standards] (INT8_MAX): Likewise.
56578         [C99-based standards] (INT16_MIN): Likewise.
56579         [C99-based standards] (INT16_MAX): Likewise.
56580         [C99-based standards] (INT32_MIN): Likewise.
56581         [C99-based standards] (INT32_MAX): Likewise.
56582         [C99-based standards] (INT64_MIN): Likewise.
56583         [C99-based standards] (INT64_MAX): Likewise.
56584         [C99-based standards] (UINT8_MAX): Likewise.
56585         [C99-based standards] (UINT16_MAX): Likewise.
56586         [C99-based standards] (UINT32_MAX): Likewise.
56587         [C99-based standards] (UINT64_MAX): Likewise.
56588         [C99-based standards] (INT_LEAST8_MIN): Likewise.
56589         [C99-based standards] (INT_LEAST8_MAX): Likewise.
56590         [C99-based standards] (INT_LEAST16_MIN): Likewise.
56591         [C99-based standards] (INT_LEAST16_MAX): Likewise.
56592         [C99-based standards] (INT_LEAST32_MIN): Likewise.
56593         [C99-based standards] (INT_LEAST32_MAX): Likewise.
56594         [C99-based standards] (INT_LEAST64_MIN): Likewise.
56595         [C99-based standards] (INT_LEAST64_MAX): Likewise.
56596         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
56597         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
56598         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
56599         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
56600         [C99-based standards] (INT_FAST8_MIN): Likewise.
56601         [C99-based standards] (INT_FAST8_MAX): Likewise.
56602         [C99-based standards] (INT_FAST16_MIN): Likewise.
56603         [C99-based standards] (INT_FAST16_MAX): Likewise.
56604         [C99-based standards] (INT_FAST32_MIN): Likewise.
56605         [C99-based standards] (INT_FAST32_MAX): Likewise.
56606         [C99-based standards] (INT_FAST64_MIN): Likewise.
56607         [C99-based standards] (INT_FAST64_MAX): Likewise.
56608         [C99-based standards] (UINT_FAST8_MAX): Likewise.
56609         [C99-based standards] (UINT_FAST16_MAX): Likewise.
56610         [C99-based standards] (UINT_FAST32_MAX): Likewise.
56611         [C99-based standards] (UINT_FAST64_MAX): Likewise.
56612         [C99-based standards] (INTPTR_MIN): Likewise.
56613         [C99-based standards] (INTPTR_MAX): Likewise.
56614         [C99-based standards] (UINTPTR_MAX): Likewise.
56615         [C99-based standards] (INTMAX_MIN): Likewise.
56616         [C99-based standards] (INTMAX_MAX): Likewise.
56617         [C99-based standards] (UINTMAX_MAX): Likewise.
56618         [C99-based standards] (PTRDIFF_MIN): Likewise.
56619         [C99-based standards] (PTRDIFF_MAX): Likewise.
56620         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
56621         [C99-based standards] (SIZE_MAX): Likewise.
56622         [C99-based standards] (WCHAR_MAX): Likewise.
56623         [C99-based standards] (WINT_MAX): Likewise.
56624         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
56625         constraint on value.
56626         [C99-based standards] (WCHAR_MIN): Likewise.
56627         [C99-based standards] (WINT_MIN): Likewise.
56628         [C99-based standards] (*_t): Allow.
56629         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
56630         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
56631         Include math.h-data and complex.h-data.  Remove all expectations
56632         of math.h and complex.h contents.
56633         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
56634         at end of line.
56635         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
56636         (struct tm): Expect tag.
56637         [C99-based-standards] (wcstof): Expect function.
56638         [C99-based-standards] (wcstold): Likewise.
56639         [C99-based-standards] (wcstoll): Likewise.
56640         [C99-based-standards] (wcstoull): Likewise.
56641         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
56642         macro-int-constant.  Specify type.
56643         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
56644         constraint on value.
56645         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
56646         Specify type.
56647         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
56648         Specify value.
56649         [ISO C standards]: Do not allow headers.
56650         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
56651         wcs[abcdefghijklmnopqrstuvwxyz]*.
56652         [ISO C standards] (*_t): Do not allow.
56653         * conform/data/wctype.h-data [C99-based standards] (iswblank):
56654         Expect function.
56655         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
56656         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
56657         Specify type.
56658         [ISO C standards]: Do not allow headers.
56659         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
56660         is[abcdefghijklmnopqrstuvwxyz]*.
56661         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
56662         to[abcdefghijklmnopqrstuvwxyz]*.
56663         [ISO C standards] (*_t): Do not allow.
56664         * conform/data/stdalign.h-data: New file.
56665         * conform/data/stdbool.h-data: Likewise.
56666         * conform/data/stdnoreturn.h-data: Likewise.
56668 2012-11-07  Roland McGrath  <roland@hack.frob.com>
56670         [BZ #14815]
56671         * manual/filesys.texi (Directory Entries): Typo fix.
56672         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
56674 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
56676         * elf/elf.h (EM_AARCH64): New macro.
56677         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
56678         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
56679         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
56680         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
56681         (R_AARCH64_TLSDESC): Likewise.
56682         (NT_ARM_TLS): Likewise.
56683         (NT_ARM_HW_BREAK): Likewise.
56684         (NT_ARM_HW_WATCH): Likewise.
56686 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
56688         [BZ #14811]
56689         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
56690         (__ieee754_powl): Saturate nonzero exponents with absolute value
56691         below 0x1p-79 to +/- 0x1p-79.
56692         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
56693         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
56694         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
56695         nonzero exponents with absolute value below 0x1p-32 to +/-
56696         0x1p-32.
56697         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
56698         (__ieee754_powl): Saturate nonzero exponents with absolute value
56699         below 0x1p-79 to +/- 0x1p-79.
56700         * math/libm-test.inc (pow_test): Add more tests.
56702 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
56704         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
56705         _dl_s390_cap_flags with kernel. Increase string length.
56706         (_dl_s390_platforms): Add z196 and zEC12.
56708 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
56710         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
56711         Change XOPEN21K to XOPEN2K.
56713 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
56715         * string/memmove.c: Use memcpy when possible.
56717 2012-11-06  Andreas Jaeger  <aj@suse.de>
56719         * po/eo.po: Update from translation team.
56721 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
56723         [BZ #14793]
56724         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
56725         exponent and small x and y exponents, scale x or y up.  Increase
56726         by 2 the exponent used in scaling up.
56727         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
56728         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
56729         * math/libm-test.inc (fma_test): Add more tests.
56730         (fma_test_towardzero): Likewise.
56731         (fma_test_downward): Likewise.
56732         (fma_test_upward): Likewise.
56734 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
56736         [BZ #14805]
56737         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
56738         fenv_t *.
56740         [BZ #14801]
56741         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
56742         namespace for names of struct fields.
56743         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
56744         fenv_t fields.
56745         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
56746         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
56748 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
56750         [BZ #3665]
56751         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
56753 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
56755         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
56756         PTR_DEMANGLE.
56758         [BZ #5246]
56759         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
56760         PTR_DEMANGLE.
56762 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
56764         [BZ #14797]
56765         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
56766         definitely overflow as x * y not x * y + z.
56767         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
56768         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
56769         * math/libm-test.inc (fma_test): Add more tests.
56770         (fma_test_towardzero): Likewise.
56771         (fma_test_downward): Likewise.
56772         (fma_test_upward): Likewise.
56774 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
56776         [BZ #157]
56778         * include/stub-tag.h: Remove file.
56779         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
56780         '#include' of it.
56781         * manual/maint.texi (Porting): Don't reference it.
56782         * Makerules ($(objpfx)stubs): Likewise.
56783         * dirent/closedir.c: Don't include <stub-tag.h>.
56784         * dirent/dirfd.c: Likewise.
56785         * dirent/fdopendir.c: Likewise.
56786         * dirent/getdents.c: Likewise.
56787         * dirent/getdents64.c: Likewise.
56788         * dirent/opendir.c: Likewise.
56789         * dirent/readdir.c: Likewise.
56790         * dirent/readdir64.c: Likewise.
56791         * dirent/readdir64_r.c: Likewise.
56792         * dirent/readdir_r.c: Likewise.
56793         * dirent/rewinddir.c: Likewise.
56794         * dirent/seekdir.c: Likewise.
56795         * dirent/telldir.c: Likewise.
56796         * gmon/profil.c: Likewise.
56797         * grp/setgroups.c: Likewise.
56798         * inet/if_index.c: Likewise.
56799         * io/access.c: Likewise.
56800         * io/chdir.c: Likewise.
56801         * io/chmod.c: Likewise.
56802         * io/chown.c: Likewise.
56803         * io/close.c: Likewise.
56804         * io/dup.c: Likewise.
56805         * io/dup2.c: Likewise.
56806         * io/dup3.c: Likewise.
56807         * io/euidaccess.c: Likewise.
56808         * io/faccessat.c: Likewise.
56809         * io/fchdir.c: Likewise.
56810         * io/fchmod.c: Likewise.
56811         * io/fchmodat.c: Likewise.
56812         * io/fchown.c: Likewise.
56813         * io/fchownat.c: Likewise.
56814         * io/fcntl.c: Likewise.
56815         * io/flock.c: Likewise.
56816         * io/fstatfs.c: Likewise.
56817         * io/fstatfs64.c: Likewise.
56818         * io/fstatvfs.c: Likewise.
56819         * io/fstatvfs64.c: Likewise.
56820         * io/futimens.c: Likewise.
56821         * io/fxstat.c: Likewise.
56822         * io/fxstat64.c: Likewise.
56823         * io/fxstatat.c: Likewise.
56824         * io/fxstatat64.c: Likewise.
56825         * io/getcwd.c: Likewise.
56826         * io/isatty.c: Likewise.
56827         * io/lchmod.c: Likewise.
56828         * io/lchown.c: Likewise.
56829         * io/link.c: Likewise.
56830         * io/linkat.c: Likewise.
56831         * io/lseek.c: Likewise.
56832         * io/lseek64.c: Likewise.
56833         * io/lxstat64.c: Likewise.
56834         * io/mkdir.c: Likewise.
56835         * io/mkdirat.c: Likewise.
56836         * io/mkfifo.c: Likewise.
56837         * io/mkfifoat.c: Likewise.
56838         * io/open.c: Likewise.
56839         * io/open64.c: Likewise.
56840         * io/openat.c: Likewise.
56841         * io/openat64.c: Likewise.
56842         * io/pipe.c: Likewise.
56843         * io/pipe2.c: Likewise.
56844         * io/poll.c: Likewise.
56845         * io/posix_fadvise.c: Likewise.
56846         * io/posix_fadvise64.c: Likewise.
56847         * io/posix_fallocate.c: Likewise.
56848         * io/posix_fallocate64.c: Likewise.
56849         * io/read.c: Likewise.
56850         * io/readlink.c: Likewise.
56851         * io/readlinkat.c: Likewise.
56852         * io/rmdir.c: Likewise.
56853         * io/sendfile.c: Likewise.
56854         * io/sendfile64.c: Likewise.
56855         * io/statfs.c: Likewise.
56856         * io/statfs64.c: Likewise.
56857         * io/statvfs.c: Likewise.
56858         * io/statvfs64.c: Likewise.
56859         * io/symlink.c: Likewise.
56860         * io/symlinkat.c: Likewise.
56861         * io/ttyname.c: Likewise.
56862         * io/ttyname_r.c: Likewise.
56863         * io/umask.c: Likewise.
56864         * io/unlink.c: Likewise.
56865         * io/unlinkat.c: Likewise.
56866         * io/utime.c: Likewise.
56867         * io/utimensat.c: Likewise.
56868         * io/write.c: Likewise.
56869         * io/xmknod.c: Likewise.
56870         * io/xmknodat.c: Likewise.
56871         * io/xstat.c: Likewise.
56872         * io/xstat64.c: Likewise.
56873         * login/getpt.c: Likewise.
56874         * login/grantpt.c: Likewise.
56875         * login/unlockpt.c: Likewise.
56876         * math/e_acoshl.c: Likewise.
56877         * math/e_acosl.c: Likewise.
56878         * math/e_asinl.c: Likewise.
56879         * math/e_atan2l.c: Likewise.
56880         * math/e_atanhl.c: Likewise.
56881         * math/e_coshl.c: Likewise.
56882         * math/e_expl.c: Likewise.
56883         * math/e_fmodl.c: Likewise.
56884         * math/e_gammal_r.c: Likewise.
56885         * math/e_hypotl.c: Likewise.
56886         * math/e_j0l.c: Likewise.
56887         * math/e_j1l.c: Likewise.
56888         * math/e_jnl.c: Likewise.
56889         * math/e_lgammal_r.c: Likewise.
56890         * math/e_log10l.c: Likewise.
56891         * math/e_log2l.c: Likewise.
56892         * math/e_logl.c: Likewise.
56893         * math/e_powl.c: Likewise.
56894         * math/e_rem_pio2l.c: Likewise.
56895         * math/e_sinhl.c: Likewise.
56896         * math/e_sqrtl.c: Likewise.
56897         * math/fclrexcpt.c: Likewise.
56898         * math/fedisblxcpt.c: Likewise.
56899         * math/feenablxcpt.c: Likewise.
56900         * math/fegetenv.c: Likewise.
56901         * math/fegetexcept.c: Likewise.
56902         * math/fegetround.c: Likewise.
56903         * math/feholdexcpt.c: Likewise.
56904         * math/fesetenv.c: Likewise.
56905         * math/fesetround.c: Likewise.
56906         * math/feupdateenv.c: Likewise.
56907         * math/fgetexcptflg.c: Likewise.
56908         * math/fraiseexcpt.c: Likewise.
56909         * math/fsetexcptflg.c: Likewise.
56910         * math/ftestexcept.c: Likewise.
56911         * math/k_cosl.c: Likewise.
56912         * math/k_rem_pio2l.c: Likewise.
56913         * math/k_sinl.c: Likewise.
56914         * math/k_tanl.c: Likewise.
56915         * math/s_asinhl.c: Likewise.
56916         * math/s_atanl.c: Likewise.
56917         * math/s_cbrtl.c: Likewise.
56918         * math/s_erfl.c: Likewise.
56919         * math/s_expm1l.c: Likewise.
56920         * math/s_log1pl.c: Likewise.
56921         * math/s_tanhl.c: Likewise.
56922         * misc/acct.c: Likewise.
56923         * misc/brk.c: Likewise.
56924         * misc/chflags.c: Likewise.
56925         * misc/chroot.c: Likewise.
56926         * misc/fchflags.c: Likewise.
56927         * misc/fgetxattr.c: Likewise.
56928         * misc/flistxattr.c: Likewise.
56929         * misc/fremovexattr.c: Likewise.
56930         * misc/fsetxattr.c: Likewise.
56931         * misc/fsync.c: Likewise.
56932         * misc/ftruncate.c: Likewise.
56933         * misc/futimes.c: Likewise.
56934         * misc/futimesat.c: Likewise.
56935         * misc/getdomain.c: Likewise.
56936         * misc/getdtsz.c: Likewise.
56937         * misc/gethostid.c: Likewise.
56938         * misc/gethostname.c: Likewise.
56939         * misc/getloadavg.c: Likewise.
56940         * misc/getpagesize.c: Likewise.
56941         * misc/getsysstats.c: Likewise.
56942         * misc/getxattr.c: Likewise.
56943         * misc/gtty.c: Likewise.
56944         * misc/ioctl.c: Likewise.
56945         * misc/lgetxattr.c: Likewise.
56946         * misc/listxattr.c: Likewise.
56947         * misc/llistxattr.c: Likewise.
56948         * misc/lremovexattr.c: Likewise.
56949         * misc/lsetxattr.c: Likewise.
56950         * misc/lutimes.c: Likewise.
56951         * misc/madvise.c: Likewise.
56952         * misc/mincore.c: Likewise.
56953         * misc/mlock.c: Likewise.
56954         * misc/mlockall.c: Likewise.
56955         * misc/mmap.c: Likewise.
56956         * misc/mprotect.c: Likewise.
56957         * misc/msync.c: Likewise.
56958         * misc/munlock.c: Likewise.
56959         * misc/munlockall.c: Likewise.
56960         * misc/munmap.c: Likewise.
56961         * misc/preadv.c: Likewise.
56962         * misc/preadv64.c: Likewise.
56963         * misc/ptrace.c: Likewise.
56964         * misc/pwritev.c: Likewise.
56965         * misc/pwritev64.c: Likewise.
56966         * misc/readv.c: Likewise.
56967         * misc/reboot.c: Likewise.
56968         * misc/remap_file_pages.c: Likewise.
56969         * misc/removexattr.c: Likewise.
56970         * misc/revoke.c: Likewise.
56971         * misc/select.c: Likewise.
56972         * misc/setdomain.c: Likewise.
56973         * misc/setegid.c: Likewise.
56974         * misc/seteuid.c: Likewise.
56975         * misc/sethostid.c: Likewise.
56976         * misc/sethostname.c: Likewise.
56977         * misc/setregid.c: Likewise.
56978         * misc/setreuid.c: Likewise.
56979         * misc/setxattr.c: Likewise.
56980         * misc/sstk.c: Likewise.
56981         * misc/stty.c: Likewise.
56982         * misc/swapoff.c: Likewise.
56983         * misc/swapon.c: Likewise.
56984         * misc/sync.c: Likewise.
56985         * misc/syncfs.c: Likewise.
56986         * misc/syscall.c: Likewise.
56987         * misc/truncate.c: Likewise.
56988         * misc/ualarm.c: Likewise.
56989         * misc/usleep.c: Likewise.
56990         * misc/ustat.c: Likewise.
56991         * misc/utimes.c: Likewise.
56992         * misc/vhangup.c: Likewise.
56993         * misc/writev.c: Likewise.
56994         * posix/_exit.c: Likewise.
56995         * posix/alarm.c: Likewise.
56996         * posix/execve.c: Likewise.
56997         * posix/fexecve.c: Likewise.
56998         * posix/fork.c: Likewise.
56999         * posix/fpathconf.c: Likewise.
57000         * posix/getaddrinfo.c: Likewise.
57001         * posix/getegid.c: Likewise.
57002         * posix/geteuid.c: Likewise.
57003         * posix/getgid.c: Likewise.
57004         * posix/getgroups.c: Likewise.
57005         * posix/getlogin.c: Likewise.
57006         * posix/getlogin_r.c: Likewise.
57007         * posix/getpgid.c: Likewise.
57008         * posix/getpid.c: Likewise.
57009         * posix/getppid.c: Likewise.
57010         * posix/getresgid.c: Likewise.
57011         * posix/getresuid.c: Likewise.
57012         * posix/getsid.c: Likewise.
57013         * posix/getuid.c: Likewise.
57014         * posix/glob64.c: Likewise.
57015         * posix/nanosleep.c: Likewise.
57016         * posix/pathconf.c: Likewise.
57017         * posix/pause.c: Likewise.
57018         * posix/posix_madvise.c: Likewise.
57019         * posix/pread.c: Likewise.
57020         * posix/pread64.c: Likewise.
57021         * posix/pwrite.c: Likewise.
57022         * posix/pwrite64.c: Likewise.
57023         * posix/sched_getaffinity.c: Likewise.
57024         * posix/sched_getp.c: Likewise.
57025         * posix/sched_gets.c: Likewise.
57026         * posix/sched_primax.c: Likewise.
57027         * posix/sched_primin.c: Likewise.
57028         * posix/sched_rr_gi.c: Likewise.
57029         * posix/sched_setaffinity.c: Likewise.
57030         * posix/sched_setp.c: Likewise.
57031         * posix/sched_sets.c: Likewise.
57032         * posix/sched_yield.c: Likewise.
57033         * posix/setgid.c: Likewise.
57034         * posix/setlogin.c: Likewise.
57035         * posix/setpgid.c: Likewise.
57036         * posix/setresgid.c: Likewise.
57037         * posix/setresuid.c: Likewise.
57038         * posix/setsid.c: Likewise.
57039         * posix/setuid.c: Likewise.
57040         * posix/sleep.c: Likewise.
57041         * posix/spawni.c: Likewise.
57042         * posix/sysconf.c: Likewise.
57043         * posix/times.c: Likewise.
57044         * posix/wait.c: Likewise.
57045         * posix/wait3.c: Likewise.
57046         * posix/wait4.c: Likewise.
57047         * posix/waitpid.c: Likewise.
57048         * resolv/gai_sigqueue.c: Likewise.
57049         * resource/getpriority.c: Likewise.
57050         * resource/getrlimit.c: Likewise.
57051         * resource/getrusage.c: Likewise.
57052         * resource/nice.c: Likewise.
57053         * resource/setpriority.c: Likewise.
57054         * resource/setrlimit.c: Likewise.
57055         * resource/ulimit.c: Likewise.
57056         * rt/aio_cancel.c: Likewise.
57057         * rt/aio_fsync.c: Likewise.
57058         * rt/aio_read.c: Likewise.
57059         * rt/aio_sigqueue.c: Likewise.
57060         * rt/aio_suspend.c: Likewise.
57061         * rt/aio_write.c: Likewise.
57062         * rt/clock_getres.c: Likewise.
57063         * rt/clock_gettime.c: Likewise.
57064         * rt/clock_nanosleep.c: Likewise.
57065         * rt/clock_settime.c: Likewise.
57066         * rt/lio_listio.c: Likewise.
57067         * rt/mq_close.c: Likewise.
57068         * rt/mq_getattr.c: Likewise.
57069         * rt/mq_notify.c: Likewise.
57070         * rt/mq_open.c: Likewise.
57071         * rt/mq_receive.c: Likewise.
57072         * rt/mq_send.c: Likewise.
57073         * rt/mq_setattr.c: Likewise.
57074         * rt/mq_timedreceive.c: Likewise.
57075         * rt/mq_timedsend.c: Likewise.
57076         * rt/mq_unlink.c: Likewise.
57077         * rt/shm_open.c: Likewise.
57078         * rt/shm_unlink.c: Likewise.
57079         * rt/timer_create.c: Likewise.
57080         * rt/timer_delete.c: Likewise.
57081         * rt/timer_getoverr.c: Likewise.
57082         * rt/timer_gettime.c: Likewise.
57083         * rt/timer_settime.c: Likewise.
57084         * setjmp/__longjmp.c: Likewise.
57085         * setjmp/setjmp.c: Likewise.
57086         * signal/kill.c: Likewise.
57087         * signal/killpg.c: Likewise.
57088         * signal/raise.c: Likewise.
57089         * signal/sigaction.c: Likewise.
57090         * signal/sigaltstack.c: Likewise.
57091         * signal/sigblock.c: Likewise.
57092         * signal/sigignore.c: Likewise.
57093         * signal/sigintr.c: Likewise.
57094         * signal/signal.c: Likewise.
57095         * signal/sigpause.c: Likewise.
57096         * signal/sigpending.c: Likewise.
57097         * signal/sigqueue.c: Likewise.
57098         * signal/sigreturn.c: Likewise.
57099         * signal/sigset.c: Likewise.
57100         * signal/sigsetmask.c: Likewise.
57101         * signal/sigstack.c: Likewise.
57102         * signal/sigsuspend.c: Likewise.
57103         * signal/sigtimedwait.c: Likewise.
57104         * signal/sigvec.c: Likewise.
57105         * signal/sigwait.c: Likewise.
57106         * signal/sigwaitinfo.c: Likewise.
57107         * signal/sysv_signal.c: Likewise.
57108         * socket/accept.c: Likewise.
57109         * socket/accept4.c: Likewise.
57110         * socket/bind.c: Likewise.
57111         * socket/connect.c: Likewise.
57112         * socket/getpeername.c: Likewise.
57113         * socket/getsockname.c: Likewise.
57114         * socket/getsockopt.c: Likewise.
57115         * socket/isfdtype.c: Likewise.
57116         * socket/listen.c: Likewise.
57117         * socket/recv.c: Likewise.
57118         * socket/recvfrom.c: Likewise.
57119         * socket/recvmsg.c: Likewise.
57120         * socket/send.c: Likewise.
57121         * socket/sendmsg.c: Likewise.
57122         * socket/sendto.c: Likewise.
57123         * socket/setsockopt.c: Likewise.
57124         * socket/shutdown.c: Likewise.
57125         * socket/sockatmark.c: Likewise.
57126         * socket/socket.c: Likewise.
57127         * socket/socketpair.c: Likewise.
57128         * stdio-common/ctermid.c: Likewise.
57129         * stdio-common/cuserid.c: Likewise.
57130         * stdio-common/remove.c: Likewise.
57131         * stdio-common/rename.c: Likewise.
57132         * stdio-common/renameat.c: Likewise.
57133         * stdio-common/tempname.c: Likewise.
57134         * stdlib/getcontext.c: Likewise.
57135         * stdlib/makecontext.c: Likewise.
57136         * stdlib/setcontext.c: Likewise.
57137         * stdlib/swapcontext.c: Likewise.
57138         * stdlib/system.c: Likewise.
57139         * streams/fattach.c: Likewise.
57140         * streams/fdetach.c: Likewise.
57141         * streams/getmsg.c: Likewise.
57142         * streams/getpmsg.c: Likewise.
57143         * streams/putmsg.c: Likewise.
57144         * streams/putpmsg.c: Likewise.
57145         * sysdeps/unix/bsd/getpt.c: Likewise.
57146         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
57147         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
57148         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
57149         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
57150         Likewise.
57151         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
57152         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
57153         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
57154         * sysvipc/msgctl.c: Likewise.
57155         * sysvipc/msgget.c: Likewise.
57156         * sysvipc/msgrcv.c: Likewise.
57157         * sysvipc/msgsnd.c: Likewise.
57158         * sysvipc/semctl.c: Likewise.
57159         * sysvipc/semget.c: Likewise.
57160         * sysvipc/semop.c: Likewise.
57161         * sysvipc/semtimedop.c: Likewise.
57162         * sysvipc/shmat.c: Likewise.
57163         * sysvipc/shmctl.c: Likewise.
57164         * sysvipc/shmdt.c: Likewise.
57165         * sysvipc/shmget.c: Likewise.
57166         * termios/tcdrain.c: Likewise.
57167         * termios/tcflow.c: Likewise.
57168         * termios/tcflush.c: Likewise.
57169         * termios/tcgetattr.c: Likewise.
57170         * termios/tcgetpgrp.c: Likewise.
57171         * termios/tcsendbrk.c: Likewise.
57172         * termios/tcsetattr.c: Likewise.
57173         * termios/tcsetpgrp.c: Likewise.
57174         * time/adjtime.c: Likewise.
57175         * time/clock.c: Likewise.
57176         * time/getitimer.c: Likewise.
57177         * time/gettimeofday.c: Likewise.
57178         * time/setitimer.c: Likewise.
57179         * time/settimeofday.c: Likewise.
57180         * time/stime.c: Likewise.
57181         * time/time.c: Likewise.
57183 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
57185         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
57186         /usr/old/bin.
57188         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
57189         instead of spaces.
57190         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
57192 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
57194         [BZ #14796]
57195         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
57196         FE_TONEAREST before applying Dekker multiplication and Knuth
57197         addition.  Clear inexact exceptions and check for exact zero
57198         results afterwards.
57199         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
57200         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
57201         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
57202         * math/libm-test.inc (fma_test): Add more tests.
57203         (fma_test_towardzero): Likewise.
57204         (fma_test_downward): Likewise.
57205         (fma_test_upward): Likewise.
57206         * sysdeps/generic/math_private.h (default_libc_fesetround): New
57207         function.
57208         (libc_fesetround): New macro.
57209         (libc_fesetroundf): Likewise.
57210         (libc_fesetroundl): Likewise.
57211         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
57212         function.
57213         (libc_fesetround_387): Likewise.
57214         (libc_fesetroundf): New macro.
57215         (libc_fesetround): Likewise.
57216         (libc_fesetroundl): Likewise.
57217         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
57218         function.
57219         (libc_fesetroundf): New macro.
57220         (libc_fesetround): Likewise.
57221         (libc_fesetroundl): Likewise.
57222         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
57223         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
57224         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
57225         libm_hidden_ver.
57226         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
57227         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
57228         libm_hidden_def.
57229         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
57230         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
57231         libm_hidden_ver.
57232         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
57233         libm_hidden_def.
57235         [BZ #3439]
57236         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
57237         integer constant usable in #if and use that to give value to enum
57238         constant.
57239         (FE_DIVBYZERO): Likewise.
57240         (FE_UNDERFLOW): Likewise.
57241         (FE_OVERFLOW): Likewise.
57242         (FE_INVALID): Likewise.
57243         (FE_INVALID_SNAN): Likewise.
57244         (FE_INVALID_ISI): Likewise.
57245         (FE_INVALID_IDI): Likewise.
57246         (FE_INVALID_ZDZ): Likewise.
57247         (FE_INVALID_IMZ): Likewise.
57248         (FE_INVALID_COMPARE): Likewise.
57249         (FE_INVALID_SOFTWARE): Likewise.
57250         (FE_INVALID_SQRT): Likewise.
57251         (FE_INVALID_INTEGER_CONVERSION): Likewise.
57252         (FE_TONEAREST): Likewise.
57253         (FE_TOWARDZERO): Likewise.
57254         (FE_UPWARD): Likewise.
57255         (FE_DOWNWARD): Likewise.
57256         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
57257         (FE_DIVBYZERO): Likewise.
57258         (FE_OVERFLOW): Likewise.
57259         (FE_UNDERFLOW): Likewise.
57260         (FE_INEXACT): Likewise.
57261         (FE_TONEAREST): Likewise.
57262         (FE_DOWNWARD): Likewise.
57263         (FE_UPWARD): Likewise.
57264         (FE_TOWARDZERO): Likewise.
57265         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
57266         (FE_UNDERFLOW): Likewise.
57267         (FE_OVERFLOW): Likewise.
57268         (FE_DIVBYZERO): Likewise.
57269         (FE_INVALID): Likewise.
57270         (FE_TONEAREST): Likewise.
57271         (FE_TOWARDZERO): Likewise.
57272         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
57273         (FE_OVERFLOW): Likewise.
57274         (FE_UNDERFLOW): Likewise.
57275         (FE_DIVBYZERO): Likewise.
57276         (FE_INEXACT): Likewise.
57277         (FE_TONEAREST): Likewise.
57278         (FE_TOWARDZERO): Likewise.
57279         (FE_UPWARD): Likewise.
57280         (FE_DOWNWARD): Likewise.
57281         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
57282         (FE_DIVBYZERO): Likewise.
57283         (FE_OVERFLOW): Likewise.
57284         (FE_UNDERFLOW): Likewise.
57285         (FE_INEXACT): Likewise.
57286         (FE_TONEAREST): Likewise.
57287         (FE_DOWNWARD): Likewise.
57288         (FE_UPWARD): Likewise.
57289         (FE_TOWARDZERO): Likewise.
57291 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
57293         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
57295 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
57297         * scripts/cross-test-ssh.sh (command): Use newlines to separate
57298         commands.  Quote $PWD.
57299         (blacklist_exports): Don't use remove_newlines.  Replace "declare
57300         -x" by "export".
57301         (remove_newlines): Remove.
57303 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
57305         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
57306         * stdlib/stdlib.h (atof): Moved to ...
57307         * include/bits/stdlib-float.h: Here.  New file.
57308         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
57309         * stdlib/bits/stdlib-float.h: New file.
57310         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
57311         -mno-sse -mno-mmx.
57312         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
57313         <xmmintrin.h>.
57315 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
57317         * conform/conformtest.pl (@headers): Add fenv.h.
57318         * conform/data/fenv.h-data: New file.
57319         * include/fenv.h [_ISOMAC]: Disable all contents of file except
57320         include of <math/fenv.h>.
57322         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
57323         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
57324         && !UNIX98].  Enables tests for XOPEN2K8.
57325         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
57326         POSIX2008]: Likewise.
57328         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
57329         (struct rusage): Do not expect type or its members.
57331         [BZ #3439]
57332         * math/math.h (FP_NAN): Define macro to integer constant usable in
57333         #if and use that to give value to enum constant.
57334         (FP_INFINITE): Likewise.
57335         (FP_ZERO): Likewise.
57336         (FP_SUBNORMAL): Likewise.
57337         (FP_NORMAL): Likewise.
57339 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
57341         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
57342         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
57343         arguments.
57345 2012-11-02  Roland McGrath  <roland@hack.frob.com>
57347         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
57348         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
57349         autoconf-time if not.
57350         * configure.in: Remove AC_PREREQ.
57352 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
57354         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
57355         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
57356         of the internal implementation.
57358 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
57360         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
57361         except include of <misc/sys/syslog.h>.
57363 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
57365         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
57366         function returns with a NULL context exit with zero.
57368 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
57370         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
57372 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
57374         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
57375         (run_program_cmd): This.
57376         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
57377         (tst_langinfo): New variable.  Use it.
57379 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
57381         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
57382         floating point opcodes.
57384 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
57386         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
57387         variable.
57389         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
57391         * sysdeps/mach/hurd/powerpc: Remove directory.
57392         * sysdeps/mach/powerpc: Likewise.
57394 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
57396         * scripts/check-local-headers.sh: Ignore c++ headers.
57398 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
57400         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
57401         __libc_cleanup_region_start argument.
57403 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
57405         [BZ #14784]
57406         [BZ #14785]
57407         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
57408         x * y using scaling, not as x * y + z.
57409         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
57410         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
57411         * math/libm-test.inc (fma_test): Add more tests.
57412         (fma_test_towardzero): Likewise.
57413         (fma_test_downward): Likewise.
57414         (fma_test_upward): Likewise.
57416 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
57418         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
57420 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
57422         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
57423         New variable.
57425 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
57427         * rt/tst-shm.c (worker): Correct checking for mmap failure.
57429 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
57431         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
57432         Fix sort order.
57433         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
57434         Likewise.
57436 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
57438         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
57439         Fix the order of the list for glibc 2.17.
57440         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
57441         Likewise.
57443 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
57445         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
57447 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
57449         [BZ #14610]
57450         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
57451         for low part of x being zero before using __atanl (y).
57452         * math/libm-test.inc (atan2_test): Add another test.
57454         * manual/install.texi (Configuring and compiling): Document
57455         general use of test-wrapper and test-wrapper-env.
57456         * INSTALL: Regenerated.
57458         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
57459         (__fma): Do not extract and scale down low bits on after-rounding
57460         systems when result rounded to normal precision would have normal
57461         exponent.
57462         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
57463         (__fmal): Do not extract and scale down low bits on after-rounding
57464         systems when result rounded to normal precision would have normal
57465         exponent.
57466         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
57467         (__fmal): Do not extract and scale down low bits on after-rounding
57468         systems when result rounded to normal precision would have normal
57469         exponent.
57470         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
57471         macro.
57472         (fma_test): Add more tests.
57473         (fma_test_towardzero): Likewise.
57474         (fma_test_downward): Likewise.
57475         (fma_test_upward): Likewise.
57477 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
57479         * sysdeps/i386/tininess.h: Renamed to ...
57480         * sysdeps/x86/tininess.h: This.
57481         * sysdeps/x86_64/tininess.h: Removed.
57483 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
57485         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
57486         input.  Use $(build-program-cmd).
57487         ($(objpfx)tst-array1-static.out): Likewise.
57488         ($(objpfx)tst-array2.out): Likewise.
57489         ($(objpfx)tst-array3.out): Likewise.
57490         ($(objpfx)tst-array4.out): Likewise.
57491         ($(objpfx)tst-array5.out): Likewise.
57492         ($(objpfx)tst-array5-static.out): Likewise.
57494 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
57496         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
57497         if defined.
57499         * nss/nsswitch.h (nss_interface_function): Provide new
57500         macro for use with NSS functions.
57501         * grp/initgroups.c: Use new macro.
57502         * nss/getXXbyYY.c: Likewise.
57503         * nss/getXXbyYY_r.c: Likewise.
57504         * nss/getXXent.c: Likewise.
57505         * nss/getXXent_r.c: Likewise.
57506         * sysdeps/posix/getaddrinfo.c: Likewise.
57508 2012-10-30  Andreas Jaeger  <aj@suse.de>
57510         * po/ru.po: Update Russion translation from translation project.
57512 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
57514         [BZ #14152]
57515         [BZ #14783]
57516         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
57517         result and shift together with sticky bit instead of replicating
57518         round-to-nearest rounding.
57519         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
57520         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
57521         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
57522         missing underflow exceptions.
57523         (fma_test_towardzero): Add more tests.
57524         (fma_test_downward): Likewise.
57525         (fma_test_upward): Likewise.
57527         [BZ #14047]
57528         * sysdeps/generic/tininess.h: New file.
57529         * sysdeps/i386/tininess.h: Likewise.
57530         * sysdeps/sh/tininess.h: Likewise.
57531         * sysdeps/x86_64/tininess.h: Likewise.
57532         * stdlib/tst-strtod-underflow.c: Likewise.
57533         * stdlib/tst-tininess.c: Likewise.
57534         * stdlib/strtod_l.c: Include <tininess.h>.
57535         (round_and_return): Do not set errno for exact underflow cases.
57536         Force an underflow exception when setting errno for underflow.
57537         Determine underflow based on rounding to normal precision if
57538         TININESS_AFTER_ROUNDING.
57539         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
57540         ERANGE for exact underflow cases.
57541         * stdlib/Makefile (tests): Add tst-tininess and
57542         tst-strtod-underflow.
57543         ($(objpfx)tst-tininess): Use $(link-libm).
57544         ($(objpfx)tst-strtod-underflow): Likewise.
57546 2012-10-30  Andreas Jaeger  <aj@suse.de>
57548         [BZ#14767]
57549         * elf/Makefile (tests): Remove conditional for have-initfini-array
57550         since this is now always required and the variable does not exist
57551         anymore.
57552         (tests-static): Likewise.
57553         (modules-names): Likewise.
57555         * po/eo.po: Add Esperanto translation from translation project.
57557         * elf/tst-array1.c (fini_array): Make writeable so that it can be
57558         merged with constructor/destructor.
57559         (init_array): Likewise.
57560         * elf/tst-array2dep.c (fini_array): Likewise.
57561         (init_array): Likewise.
57563 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
57565         * manual/message.texi: Delete @cartouche tags.
57567 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
57569         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
57570         EOPNOTSUPP.
57571         * sysdeps/mach/hurd/fsync.c: Likewise.
57573         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
57574         [_POSIX_REALTIME_SIGNALS]: Change condition to
57575         [_POSIX_REALTIME_SIGNALS > 0].
57577 2012-10-27  Andreas Jaeger  <aj@suse.de>
57579         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
57580         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
57581         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
57582         [__WORDSIZE != 64]: Likewise.
57584 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
57586         *  iconvdata/tst-table.sh: Remove ${SHELL}.
57587         *  iconvdata/tst-tables.sh: Likewise.
57589 2012-10-25  David S. Miller  <davem@davemloft.net>
57591         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
57592         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
57593         of strtoull.
57595         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
57596         ifunc-impl-list.c
57597         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
57598         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
57599         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
57600         file.
57602 2012-10-25  Roland McGrath  <roland@hack.frob.com>
57604         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
57605         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
57606         __getdirentries.
57608 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
57609             Jim Blandy  <jimb@codesourcery.com>
57611         * scripts/cross-test-ssh.sh: New file.
57612         * manual/install.texi (Configuring and compiling): Document use of
57613         cross-test-ssh.sh.
57614         * INSTALL: Regenerated.
57616 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
57618         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
57619         EOPNOTSUPP.
57621 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
57623         * Makeconfig (run-program-prefix): Fix comment.
57625 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
57626             Jim Blandy  <jimb@codesourcery.com>
57628         * Makeconfig (test-wrapper): New variable,
57629         (test-wrapper-env): Likewise.
57630         [$(cross-compiling) = yes && $(test-wrapper) != ""]
57631         (run-built-tests): Define to yes.
57632         (run-program-prefix): Use $(test-wrapper).
57633         (built-program-cmd): Likewise.
57634         * Rules (make-test-out): Use $(test-wrapper-env) and
57635         $(host-built-program-cmd).
57636         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
57637         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
57638         tst-pathopt.sh.
57639         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
57640         $(test-wrapper-env) to tst-rtld-load-self.sh.
57641         ($(objpfx)order2.out): Use $(test-wrapper).
57642         ($(objpfx)tst-initorder.out): Likewise.
57643         ($(objpfx)tst-initorder2.out): Likewise.
57644         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
57645         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
57646         (test_wrapper_env): New variable.  Use it to run ld.so.
57647         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
57648         Use it to run ld.so.
57649         (test_wrapper_env): Likewise.
57650         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
57651         $(test-wrapper) to run-iconv-test.sh.
57652         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
57653         (ICONV): Use $test_wrapper.
57654         * posix/Makefile ($(objpfx)globtest.out): Pass
57655         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
57656         globtest.sh, not $(run-program-prefix).
57657         * posix/globtest.sh (run_via_rtld_prefix): New variable.
57658         (test_wrapper): Likewise.
57659         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
57660         set together with run_via_rtld_prefix.
57661         (run_program_prefix): Define in terms of test_wrapper and
57662         run_via_rtld_prefix.
57664 2012-10-24  Roland McGrath  <roland@hack.frob.com>
57666         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
57667         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
57668         Targets removed.
57670         [BZ #14743]
57671         * include/time.h: Remove librt_hidden_proto (clock_gettime).
57672         Declare __clock_getres, __clock_gettime, __clock_settime,
57673         __clock_nanosleep, and __clock_getcpuclockid.
57674         * rt/clock_gettime.c: Define __clock_gettime as an alias.
57675         Remove librt_hidden_def (clock_gettime).
57676         * sysdeps/unix/clock_gettime.c: Likewise.
57677         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
57678         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
57679         * rt/clock_getres.c: Define __clock_getres as an alias.
57680         * sysdeps/posix/clock_getres.c: Likewise.
57681         * rt/clock_settime.c: Define __clock_settime as an alias.
57682         * sysdeps/unix/clock_settime.c: Likewise.
57683         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
57684         * sysdeps/unix/clock_nanosleep.c: Likewise.
57685         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
57686         * rt/clock-compat.c: New file.
57687         * rt/Makefile (librt-routines): Add clock-compat and move
57688         $(clock-routines) to ...
57689         (routines): ... here, new variable.
57690         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
57691         Don't add get_clockfreq here.
57692         * rt/Versions (libc: GLIBC_2.17): New version set.
57693         Add clock_* symbols here.
57694         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
57695         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
57696         (GLIBC_2.17): Add clock_* symbols.
57697         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
57698         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
57699         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
57700         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
57701         Likewise.
57702         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
57703         Likewise.
57704         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
57705         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
57706         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
57707         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
57708         * NEWS: Mention the move.
57710         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
57711         Use __open, __read, __close rather than their public counterparts.
57712         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
57713         (__get_clockfreq_via_cpuinfo): Likewise.
57714         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
57715         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
57717         * config.h.in (HAVE_IFUNC): New #undef.
57718         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
57719         was successful.
57720         * configure: Regenerated.
57722 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
57724         * configure.in: Move READELF check to start of file.
57725         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
57726         libc_cv_asm_gnu_indirect_function in the process.
57727         * configure: Regenerated.
57729 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
57731         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
57732         send the output to /dev/null.
57733         (libc_cv_cc_with_libunwind): Likewise.
57734         (libc_cv_as_noexecstack): Likewise.
57735         * configure: Regenerate.
57737 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
57739         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
57741         * posix/globtest.sh (TMPDIR): Do not set.
57742         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
57743         (testout): Likewise.
57745 2012-10-24  Andreas Jaeger  <aj@suse.de>
57747         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
57748         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
57749         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
57750         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
57751         posix_fadvise64, posix_fallocate64.
57753         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
57754         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
57755         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
57756         Likewise.
57757         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
57758         Likewise.
57759         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
57761         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
57762         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
57763         <bits/fcntl-linux.h>.
57764         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
57766         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
57767         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
57768         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
57769         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
57770         [__WORDSIZE != 64]: Likewise.
57772 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
57774         * Makeconfig (run-built-tests): New variable.
57775         * Rules [$(cross-compiling) = yes]: Change condition to
57776         [$(run-built-tests) = no].
57777         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
57778         to [$(run-built-tests) = yes].
57779         * elf/Makefile [$(cross-compiling) = no]: Likewise.
57780         * grp/Makefile [$(cross-compiling) = no]: Likewise.
57781         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
57782         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
57783         * intl/Makefile [$(cross-compiling) = no]: Likewise.
57784         * io/Makefile [$(cross-compiling) = no]: Likewise.
57785         * libio/Makefile [$(cross-compiling) = no]: Likewise.
57786         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
57787         * misc/Makefile [$(cross-compiling) = no]: Likewise.
57788         * posix/Makefile [$(cross-compiling) = no]: Likewise.
57789         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
57790         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
57791         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
57792         * string/Makefile [$(cross-compiling) = no]: Likewise.
57794         * posix/Makefile ($(objpfx)globtest.out): Pass
57795         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
57796         $(rtld-installed-name).
57797         * posix/globtest.sh (elf_objpfx): Remove variable.
57798         (rtld_installed_name): Likewise.
57799         (library_path): Likewise.
57800         (run_program_prefix): New variable.  Use for running globtest
57801         binary.
57803 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
57804             Joseph Myers  <joseph@codesourcery.com>
57806         * Makeconfig (host-built-program-cmd): New variable.
57807         * elf/Makefile (tst-stackguard1-ARGS): Use
57808         $(host-built-program-cmd).
57809         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
57810         (tst-spawn-ARGS): Likewise.
57811         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
57813 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
57814             Jim Blandy  <jimb@codesourcery.com>
57816         * Makeconfig (run-via-rtld-prefix): New variable.
57817         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
57818         (built-program-cmd): Likewise.
57820 2012-10-22  Andreas Jaeger  <aj@suse.de>
57822         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
57823         __O_RSYNC if it exists, otherwise to O_SYNC.
57825 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
57826             Joseph Myers  <joseph@codesourcery.com>
57828         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
57829         /dev/null.
57830         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
57831         from /dev/null
57832         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
57833         /dev/null.
57835 2012-10-22  Andreas Jaeger  <aj@suse.de>
57837         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
57838         Define always.
57839         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
57841         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
57842         bits/fcntl-linux.h.
57844         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
57845         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
57847         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
57848         to __O_LARGEFILE.
57849         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
57850         to __O_LARGEFILE.
57852 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
57853             Joseph Myers  <joseph@codesourcery.com>
57855         * config.make.in (NM): New variable.
57857 2012-10-21  Andreas Jaeger  <aj@suse.de>
57859         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
57860         definitions and declarations that are provided by
57861         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
57863 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
57865         [BZ #14683]
57866         * elf/Makefile (tests-static): Add tst-leaks1-static.
57867         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
57868         ($(objpfx)tst-leaks1-static): New rule.
57869         ($(objpfx)tst-leaks1-static-mem): Likewise.
57870         (tst-leaks1-static-ENV): New macro.
57871         * elf/dl-open.c (dl_open_worker): Check the main application
57872         only if SHARED is defined.
57873         * elf/tst-leaks1-static.c: New file.
57875 2012-10-20  Andreas Jaeger  <aj@suse.de>
57877         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
57878         generic values for Linux.
57879         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
57880         and declarations that are provided by <bits/fcntl-linux.h> and
57881         include <bits/fcntl-linux.h>.
57882         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
57883         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
57885 2012-10-20  Roland McGrath  <roland@hack.frob.com>
57887         * io/fcntl.h: Move include of <bits/types.h> to the top and
57888         include it unconditionally.
57890 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
57892         * wcsmbs/Makefile (tests-ifunc): New variable.
57893         (tests): Add $(tests-ifunc).
57894         * wcsmbs/test-wcschr-ifunc.c: New file.
57895         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
57896         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
57897         * wcsmbs/test-wcslen-ifunc.c: Likewise.
57898         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
57899         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
57901         * string/Makefile (tests-ifunc): New variable.
57902         (tests): Add $(tests-ifunc).
57903         * string/test-memccpy.c (TEST_NAME): New macro.
57904         * string/test-memchr.c (TEST_NAME): Likewise.
57905         * string/test-memcmp.c (TEST_NAME): Likewise.
57906         * string/test-memcpy.c (TEST_NAME): Likewise.
57907         * string/test-memmem.c (TEST_NAME): Likewise.
57908         * string/test-memmove.c (TEST_NAME): Likewise.
57909         * string/test-memset.c (TEST_NAME): Likewise.
57910         * string/test-rawmemchr.c (TEST_NAME): Likewise.
57911         * string/test-stpcpy.c (TEST_NAME): Likewise.
57912         * string/test-stpncpy.c (TEST_NAME): Likewise.
57913         * string/test-strcasecmp.c (TEST_NAME): Likewise.
57914         * string/test-strcasestr.c (TEST_NAME): Likewise.
57915         * string/test-strcat.c (TEST_NAME): Likewise.
57916         * string/test-strchr.c (TEST_NAME): Likewise.
57917         * string/test-strcmp.c(TEST_NAME): Likewise.
57918         * string/test-strcpy.c (TEST_NAME): Likewise.
57919         * string/test-strcspn.c (TEST_NAME): Likewise.
57920         * string/test-strlen.c (TEST_NAME): Likewise.
57921         * string/test-strncasecmp.c (TEST_NAME): Likewise.
57922         * string/test-strncmp.c (TEST_NAME): Likewise.
57923         * string/test-strncpy.c (TEST_NAME): Likewise.
57924         * string/test-strnlen.c (TEST_NAME): Likewise.
57925         * string/test-strpbrk.c (TEST_NAME): Likewise.
57926         * string/test-strrchr.c (TEST_NAME): Likewise.
57927         * string/test-strspn.c (TEST_NAME): Likewise.
57928         * string/test-strstr.c (TEST_NAME): Likewise.
57929         * string/test-bcopy-ifunc.c: New file.
57930         * string/test-bzero-ifunc.c: Likewise.
57931         * string/test-memccpy-ifunc.c: Likewise.
57932         * string/test-memchr-ifunc.c: Likewise.
57933         * string/test-memcmp-ifunc.c: Likewise.
57934         * string/test-memcpy-ifunc.c: Likewise.
57935         * string/test-memmem-ifunc.c: Likewise.
57936         * string/test-memmove-ifunc.c: Likewise.
57937         * string/test-mempcpy-ifunc.c: Likewise.
57938         * string/test-memset-ifunc.c: Likewise.
57939         * string/test-rawmemchr-ifunc.c: Likewise.
57940         * string/test-stpcpy-ifunc.c: Likewise.
57941         * string/test-stpncpy-ifunc.c: Likewise.
57942         * string/test-strcasecmp-ifunc.c: Likewise.
57943         * string/test-strcasestr-ifunc.c: Likewise.
57944         * string/test-strcat-ifunc.c: Likewise.
57945         * string/test-strchr-ifunc.c: Likewise.
57946         * string/test-strchrnul-ifunc.c: Likewise.
57947         * string/test-strcmp-ifunc.c: Likewise.
57948         * string/test-strcpy-ifunc.c: Likewise.
57949         * string/test-strcspn-ifunc.c: Likewise.
57950         * string/test-strlen-ifunc.c: Likewise.
57951         * string/test-strncasecmp-ifunc.c: Likewise.
57952         * string/test-strncat-ifunc.c: Likewise.
57953         * string/test-strncmp-ifunc.c: Likewise.
57954         * string/test-strncpy-ifunc.c: Likewise.
57955         * string/test-strnlen-ifunc.c: Likewise.
57956         * string/test-strpbrk-ifunc.c: Likewise.
57957         * string/test-strrchr-ifunc.c: Likewise.
57958         * string/test-strspn-ifunc.c: Likewise.
57959         * string/test-strstr-ifunc.c: Likewise.
57961         * debug/Makefile (tests-ifunc): New variable.
57962         (tests): Add $(tests-ifunc).
57963         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
57964         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
57965         * debug/test-stpcpy_chk-ifunc.c: New file.
57966         * debug/test-strcpy_chk-ifunc.c: Likewise.
57968 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
57970         [BZ #13601]
57971         * elf/dl-load.c (open_verify): Retry read if the entire ELF
57972         header is not read in.
57974 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
57976         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
57977         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
57978         directly.  Pass built executable to script as
57979         $(built-program-cmd).
57980         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
57981         $testprogram without using LD_LIBRARY_PATH and $ldso.
57983         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
57984         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
57985         $(rtld-installed-name).
57986         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
57987         (rtld_installed_name): Likewise.
57988         (library_path): Likewise.
57989         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
57990         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
57991         $(run-program-prefix) to tst-tables.sh.
57992         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
57993         it to run tst-table-from and tst-table-to.
57994         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
57995         Pass it to tst-table.sh.
57996         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
57997         $(run-program-prefix) to tst-gettext.sh.
57998         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
57999         tst-translit.sh.
58000         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
58001         tst-gettext2.sh.
58002         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
58003         to run tst-gettext.
58004         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
58005         to run tst-gettext2.
58006         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
58007         to run tst-translit.
58008         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
58009         $(run-program-prefix) to tst-mtrace.sh.
58010         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
58011         to run tst-mtrace.
58012         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
58013         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
58014         $(rtld-installed-name).
58015         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
58016         (rtld_installed_name): Likewise.
58017         (run_program_prefix): New variable.  Use it to run wordexp-test.
58019         * Makeconfig (ARCH): Remove all definitions.
58020         (machine): Likewise.
58021         [ARCH]: Remove conditional code.
58022         [!objdir]: Give error.
58023         [!objdir] (objpfx): Remove.
58024         [!objdir] (common-objpfx): Likewise.
58025         [!objdir] (common-objdir): Likewise.
58026         * configure.in (config_makefile): Remove.  Hardcode Makefile in
58027         AC_CONFIG_FILES call.
58028         * configure: Regenerated.
58030         [BZ #13888]
58031         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
58032         or TMPDIR.
58033         (testout): Likewise.
58035         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
58036         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
58037         $(rtld-installed-name).
58038         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
58039         (rtld_installed_name): Likwise.
58040         (runit): Remove function.
58041         (run_getconf): New variable,  Use it for running getconf binary.
58043 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
58045         [BZ #14716]
58046         * string/test-memmem.c (check_result): New function.
58047         (do_one_test): Use it.
58048         (check1): New function.
58049         (test_main): Use it.
58051 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
58053         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
58055 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
58057         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
58058         (_G_LSEEK64): Likewise.
58059         (_G_MMAP64): Likewise.
58060         (_G_FSTAT64): Likewise.
58061         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
58062         (_G_LSEEK64): Likewise.
58063         (_G_MMAP64): Likewise.
58064         (_G_FSTAT64): Likewise.
58065         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
58066         unconditional.  Call __mmap64 directly.
58067         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
58068         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
58069         __lseek64 directly.
58070         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
58071         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
58072         __mmap64 directly.
58073         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
58074         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
58075         __lseek64 directly.
58076         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
58077         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
58078         __lseek64 directly.
58079         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
58080         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
58081         __lseek64 directly.
58082         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
58083         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
58084         __fxstat64 directly.
58085         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
58086         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
58087         unconditional.
58088         (freopen64) [!_G_OPEN64]: Remove conditional code.
58089         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
58090         unconditional.
58091         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
58092         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
58093         unconditional.
58094         (ftello64) [!_G_LSEEK64]: Remove conditional code.
58095         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
58096         unconditional.
58097         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
58098         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
58099         unconditional.
58100         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
58101         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
58102         unconditional.
58103         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
58104         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
58105         unconditional.
58106         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
58107         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
58108         unconditional.
58109         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
58111 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
58113         [BZ #12140]
58114         * manual/memory.texi (Malloc Tunable Parameters): Add note
58115         about free list pointers overwriting some perturb bytes.
58116         Wording suggested by Roland McGrath.
58118 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
58120         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
58121         (lgamma_test): Likewise.
58122         (tgamma_test): Likewise.
58124 2012-10-16  Florian Weimer  <fweimer@redhat.com>
58126         [BZ #14700]
58127         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
58128         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
58130 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
58132         * NEWS: Mention BZ #14716.
58133         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
58134         when removing AVAILABLE1_USES_J macro.
58136 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
58138         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
58139         (__bswap_64): __uint64_t for unsigned 64-bit int.
58141 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
58143         * include/string.h (memmem): Declare libc hidden alias.
58144         * string/memmem.c (memmem): Define libc hidden alias.
58145         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
58146         __read, __close instead of open, read, close.
58148 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
58150         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
58151         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
58152         global and hidden.
58153         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
58154         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
58155         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
58156         Likewise.
58157         (__rawmemchr_sse2): Likewise.
58158         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
58159         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
58160         (__strchr_sse2): Likewise.
58161         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
58162         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
58163         (__strcasecmp_sse2): Likewise.
58164         (__strncasecmp_sse2): Likewise.
58165         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
58166         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
58167         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
58168         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
58169         (__strrchr_sse2): Likewise.
58170         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
58171         ifunc-impl-list.c.
58172         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
58173         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
58174         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
58175         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
58176         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
58177         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
58178         * sysdeps/x86_64/multiarch/memset.S: Likewise.
58179         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
58180         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
58181         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
58182         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
58183         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
58184         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
58185         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
58186         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
58187         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
58188         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
58189         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
58190         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
58191         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
58192         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
58193         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
58194         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
58195         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
58196         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
58197         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
58198         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
58199         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
58200         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
58201         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
58203         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
58204         global and hidden.
58205         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
58206         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
58207         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
58208         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
58209         Likewise.
58210         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
58211         Likewise.
58212         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
58213         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
58214         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
58215         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
58216         ifunc-impl-list.c.
58217         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
58218         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
58219         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
58220         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
58221         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
58222         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
58223         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
58224         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
58225         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
58226         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
58227         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
58228         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
58229         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
58230         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
58231         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
58232         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
58233         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
58234         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
58235         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
58236         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
58237         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
58238         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
58239         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
58240         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
58241         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
58242         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
58243         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
58244         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
58245         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
58246         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
58247         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
58248         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
58249         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
58250         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
58251         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
58252         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
58253         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
58254         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
58255         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
58256         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
58257         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
58259         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
58260         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
58261         * include/ifunc-impl-list.h: New file.
58262         * misc/ifunc-impl-list.c: Likewise.
58263         * misc/Makefile (routines): Add ifunc-impl-list.
58264         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
58265         * string/test-string.h: Include <ifunc-impl-list.h>.
58266         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
58267         TEST_NAME]: New variables.
58268         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
58269         are defined.
58270         (test_init): Call __libc_ifunc_impl_list to initialize
58271         func_list if TEST_IFUNC and TEST_NAME are defined.
58273         * string/Makefile (strop-tests): Add bcopy and bzero.
58274         * string/test-bcopy.c: New file.
58275         * string/test-bzero.c: Likewise.
58276         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
58277         defined.
58278         * string/test-memset.c: Support bzero test if TEST_BZERO is
58279         defined.
58280         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
58281         __libc_memmove.
58282         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
58283         __libc_memset.
58284         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
58285         of memset.
58287 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
58289         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
58290         * configure: Regenerated.
58292         * Makeconfig (+link-static-before-libc): Don't include
58293         $(link-static-libc).
58295         * libio/libio.h (_IO_pos_t): Remove.
58297 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
58299         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
58300         McGrath.
58302 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
58304         * crypt/crypt-entry.c: Include fips-private.h.
58305         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
58306         * crypt/md5c-test.c (main): Tolerate disabled MD5.
58307         * sysdeps/unix/sysv/linux/fips-private.h: New file.
58308         * sysdeps/generic/fips-private.h: New file, dummy fallback.
58310 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
58312         * crypt/crypt-private.h: Include stdbool.h.
58313         (_ufc_setup_salt_r): Return bool.
58314         * crypt/crypt-entry.c: Include errno.h.
58315         (__crypt_r): Return NULL with EINVAL for bad salt.
58316         * crypt/crypt_util.c (bad_for_salt): New.
58317         (_ufc_setup_salt_r): Check that salt is long enough and within
58318         the specified alphabet.
58319         * crypt/badsalttest.c: New file.
58320         * crypt/Makefile (tests): Add it.
58321         ($(objpfx)badsalttest): New.
58323 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
58325         * NEWS: Add entry for BZ #14602.
58327 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
58329         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
58330         type-generic.
58331         * math/libm-test.inc: Update comment listing what functions and
58332         macros are tested.
58333         (isgreater_test): New function.
58334         (isgreaterequal_test): Likewise.
58335         (isless_test): Likewise.
58336         (islessequal_test): Likewise.
58337         (islessgreater_test): Likewise.
58338         (isunordered_test): Likewise.
58339         (main): Call the new functions.
58341 2012-10-09  Roland McGrath  <roland@hack.frob.com>
58343         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
58344         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
58345         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
58346         * sysdeps/i386/configure: Regenerated.
58347         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
58348         * sysdeps/mach/configure: Regenerated.
58349         * sysdeps/mach/hurd/configure: Regenerated.
58350         * sysdeps/powerpc/configure: Regenerated.
58351         * sysdeps/powerpc/powerpc32/configure: Regenerated.
58352         * sysdeps/powerpc/powerpc64/configure: Regenerated.
58353         * sysdeps/s390/s390-32/configure: Regenerated.
58354         * sysdeps/s390/s390-64/configure: Regenerated.
58355         * sysdeps/sh/configure: Regenerated.
58356         * sysdeps/sparc/configure: Regenerated.
58357         * sysdeps/unix/sysv/linux/configure: Regenerated.
58358         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
58359         * sysdeps/x86_64/configure: Regenerated.
58361         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
58362         defined.  Don't check if MAP is NULL.
58364 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
58366         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
58367         (_G_stat64): Likewise.
58368         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
58369         (_G_stat64): Likewise.
58370         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
58371         instead of struct _G_stat64.
58372         * libio/fileops.c (mmap_remap_check): Likewise.
58373         (decide_maybe_mmap): Likewise.
58374         (_IO_new_file_seekoff): Likewise.
58375         (_IO_file_stat): Likewise.
58376         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
58377         _G_off64_t.
58378         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
58379         instead of struct _G_stat64.
58380         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
58382 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
58384         [BZ #14602]
58385         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
58386         Replace with ...
58387         (CHECK_EOL): New macro.
58388         (two_way_short_needle): Check beginning of haystack for EOL.  Use
58389         CHECK_EOL.
58390         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
58391         Replace with CHECK_EOL.
58392         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
58393         Replace with CHECK_EOL.
58395 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
58397         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
58398         type-generic.
58399         * math/libm-test.inc: Update comment listing what functions and
58400         macros are tested.
58401         (finite_test): New function.
58402         (isinf_test): Likewise.
58403         (isnan_test): Likewise.
58404         (fpclassify_test): Test subnormal input.
58405         (isfinite_test): Likewise.
58406         (isnormal_test): Likewise.
58407         (main): Call the new functions.
58409 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
58411         [BZ #14660]
58412         * Makerules (%.dynsym): Force C locale when running
58413         $(OBJDUMP) --dynamic-syms.
58415 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
58417         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
58418         <stdint.h>.
58420 2012-10-06  David S. Miller  <davem@davemloft.net>
58422         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
58423         upper 32-bits of the length value in %o2 since we use branch-on-register
58424         tests which consider the entire 64-bit register.
58426 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
58428         * string/test-strstr.c (check2): Add a test for page boundary.
58430 2012-10-05  David S. Miller  <davem@davemloft.net>
58432         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
58433         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
58434         file.
58435         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
58436         sysdep_routines.
58437         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
58438         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
58439         and bzero when HWCAP_SPARC_CRYPTO is present.
58441 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
58443         [BZ #14602]
58444         * string/test-strstr.c (check2): New function.
58445         (test_main): Call check2.
58447         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
58448         and bug-strchr1.
58449         * string/bug-strcasestr1.c (do_test): Moved to ...
58450         * string/test-strcasestr.c (check1): Here.  New function.
58451         (do_one_test): Break out result checking code into ...
58452         (check_result): This.  New function.
58453         (do_one_test): Call check_result.
58454         (test_main): Call check1.
58455         * string/bug-strchr1.c (do_test): Moved to ...
58456         * string/test-strchr.c (check1): Here.  New function.
58457         (do_one_test): Break out result checking code into ...
58458         (check_result): This.  New function.
58459         (do_one_test): Call check_result.
58460         (test_main): Call check1.
58461         * string/bug-strstr1.c (main): Moved to ...
58462         * string/test-strstr.c (check1): Here.  New function.
58463         (do_one_test): Break out result checking code into ...
58464         (check_result): This.  New function.
58465         (do_one_test): Call check_result.
58466         (test_main): Call check1.
58467         * string/bug-strcasestr1.c: Removed.
58468         * string/bug-strchr1.c: Likewise.
58469         * string/bug-strstr1.c: Likewise.
58471         * elf/Makefile (dl-routines): Add hwcaps.
58472         * elf/dl-support.c (_dl_important_hwcaps): Removed.
58473         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
58474         (_dl_important_hwcaps): Moved to ...
58475         * elf/dl-hwcaps.c: Here.  New file.
58476         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
58478         [BZ #14557]
58479         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
58480         if IS_IN_rtld isn't defined.
58482         * elf/dl-support.c (_dl_sysinfo_map): New.
58483         Include "get-dynamic-info.h" and "setup-vdso.h".
58484         (_dl_non_dynamic_init): Call setup_vdso.
58485         * elf/dynamic-link.h: Don't include <assert.h>.
58486         (elf_get_dynamic_info): Moved to ...
58487         * elf/get-dynamic-info.h: Here.  New file.
58488         * elf/dynamic-link.h: Include "get-dynamic-info.h".
58489         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
58490         * elf/setup-vdso.h: Here.  New file.
58491         * elf/rtld.c: Include "setup-vdso.h".
58492         (dl_main): Call setup_vdso.
58494 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
58496         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
58497         creal in comment listing functions tested.  List finite, isinf,
58498         isnan, isless, islessequal, isgreater, isgreaterequal,
58499         islessgreater, isunordered, lgamma_r and pow10 as functions and
58500         macros not tested.  Mention which functions not tested are aliases
58501         for other functions.  Fix typo.  Note that signs of NaNs are not
58502         tested.
58504         * scripts/config.guess: Update from config.git.
58505         * scripts/config.sub: Likewise.
58507 2012-10-04  Roland McGrath  <roland@hack.frob.com>
58509         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
58510         * misc/madvise.c (madvise): Renamed to __madvise.
58511         Make madvise a weak alias.
58512         * include/sys/mman.h: Declare __madvise.
58513         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
58514         * sysdeps/unix/syscalls.list
58515         (madvise): Make __madvise the strong name, and madvise a weak alias.
58516         * sysdeps/unix/sysv/linux/syscalls.list
58517         (madvise, mmap): Remove redundant entries.
58518         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
58519         * malloc/malloc.c (mtrim): Likewise.
58520         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
58522 2012-10-03  Roland McGrath  <roland@hack.frob.com>
58524         * sysdeps/mach/hurd/dl-cache.c: File removed.
58525         * config.h.in (USE_LDCONFIG): New #undef.
58526         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
58527         * configure: Regenerated.
58528         * elf/Makefile (dl-routines): Add dl-cache only under
58529         [$(use-ldconfig) = yes].
58530         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
58531         cache on [USE_LDCONFIG].
58532         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
58533         [USE_LDCONFIG].
58534         * elf/rtld.c (dl_main): Likewise.
58536 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
58538         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
58539         _SC_LEVEL4_CACHE_LINESIZE.
58541 2012-10-03  Roland McGrath  <roland@hack.frob.com>
58543         * sysdeps/unix/bsd/confstr.h: File removed.
58545 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
58547         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
58548         sys/sdt-config.h.
58550 2012-10-02  Roland McGrath  <roland@hack.frob.com>
58552         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
58553         Make 'mapoff' field ElfW(Off) rather than off_t.
58555 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
58557         * nscd/Makefile: Remove nscd-cflags and all its users.
58558         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
58559         (CFLAGS-nonlib): Add compiler flags for nscd modules.
58561         [BZ #10631]
58562         * malloc.c (malloc_printerr): Clarify error message.
58564 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
58566         [BZ #14648]
58567         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
58568         Set bit_FMA_Usable if FMA is supported.
58569         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
58570         macro.
58571         (bit_FMA4_Usable): Updated.
58572         (index_FMA_Usable): New macro.
58573         (CPUID_FMA): Likewise.
58574         (HAS_FMA): Defined with bit_FMA_Usable.
58576 2012-10-01  Roland McGrath  <roland@hack.frob.com>
58578         * bits/types.h (__swblk_t): Type removed.
58579         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
58580         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
58581         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
58582         (__SWBLK_T_TYPE): Likewise.
58583         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
58584         (__SWBLK_T_TYPE): Likewise.
58585         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
58586         (__SWBLK_T_TYPE): Likewise.
58587         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
58588         (__SWBLK_T_TYPE): Likewise.
58590 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
58591             Honza Horak <hhorak@redhat.com>
58593         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
58594         (xdr_mapname): Use YPMAXMAP as maxsize.
58595         (xdr_peername): Use YPMAXPEER as maxsize.
58596         (xdr_keydat): Use YPAXRECORD as maxsize.
58597         (xdr_valdat): Use YPMAXRECORD as maxsize.
58599 2012-10-01  Roland McGrath  <roland@hack.frob.com>
58601         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
58603         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
58604         * csu/init-first.c: ... here.
58605         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
58606         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
58607         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
58608         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
58609         * sysdeps/i386/init-first.c: File removed.
58610         * sysdeps/sh/init-first.c: File removed.
58612 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
58614         [BZ #14645]
58615         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
58616         if x * y might underflow to zero and z is zero.
58617         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
58618         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
58619         * math/libm-test.inc (min_subnorm_value): New variable.
58620         (fma_test): Add more tests.
58621         (fma_test_towardzero): Likewise.
58622         (fma_test_downward): Likewise.
58623         (fma_test_upward): Likewise.
58624         (initialize): Set min_subnorm_value.
58626 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
58628         [BZ #14638]
58629         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
58630         0 + 0.
58631         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
58632         mode for addition resulting in exact zero.
58633         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
58634         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
58635         exact 0 + 0.
58636         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
58637         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
58638         * math/libm-test.inc (fma_test): Add more tests.
58639         (fma_test_towardzero): New function.
58640         (fma_test_downward): Likewise.
58641         (fma_test_upward): Likewise.
58642         (main): Call the new functions.
58644 2012-09-28  David S. Miller  <davem@davemloft.net>
58646         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
58648 2012-09-28  Roland McGrath  <roland@hack.frob.com>
58650         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
58651         instead of SIGALRM.
58653         * sysdeps/gnu/_G_config.h: Moved to ...
58654         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
58655         * sysdeps/mach/hurd/_G_config.h: Moved to ...
58656         * sysdeps/generic/_G_config.h: ... here.
58658         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
58660         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
58662         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
58663         Conditionalize target on [libnss_test1.so-version].
58665         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
58667         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
58668         (elfobjdir): Move out of conditionals.
58670         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
58671         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
58672         (__nss_lookup_function): Conditionalize label remove_from_tree on
58673         [!DO_STATIC_NSS || SHARED], matching its only use.
58675 2012-09-28  David S. Miller  <davem@davemloft.net>
58677         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
58678         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
58679         file.
58680         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
58681         sysdep_routines.
58682         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
58683         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
58684         when HWCAP_SPARC_CRYPTO is present.
58686 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
58688         * io/tst-mknodat.c: Create a FIFO instead of a socket.
58690 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
58692         [BZ #6530]
58693         * stdio-common/vfprintf.c (process_string_arg): Revert
58694         2000-07-22 change.
58696 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
58698         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
58699         for testcase.
58700         * stdio-common/tst-sprintf.c: Include <locale.h>
58701         (main): Test sprintf's handling of incomplete multibyte
58702         characters.
58704 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
58706         * elf/dl-runtime.c (VERSYMIDX): Removed.
58707         * elf/dl-version.c (VERSYMIDX): Likewise.
58708         * elf/do-rel.h (VERSYMIDX): Likewise.
58709         (VALIDX): Likewise.
58710         * elf/dynamic-link.h (VERSYMIDX): Likewise.
58711         * elf/rtld.c (VALIDX): Likewise.
58712         (ADDRIDX): Likewise.
58713         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
58714         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
58715         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
58716         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
58717         (VALIDX): Likewise.
58718         (ADDRIDX): Likewise.
58720 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
58722         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
58724 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
58726         [BZ #11438]
58727         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
58728         to global scope.
58729         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
58730         addresses are in the same scope as 192.0.2/24.
58731         * posix/gai.conf: Document new scope table defaults.
58733 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
58735         [BZ #5298]
58736         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
58737         for ftell.  Compute offsets from write pointers instead.
58738         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
58740 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
58742         [BZ #14543]
58743         * libio/Makefile (tests): New test case tst-fseek.
58744         * libio/tst-fseek.c: New test case to verify that fseek/ftell
58745         combination works in wide mode.
58746         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
58747         state when the external buffer state changes.
58749 2012-09-27  David S. Miller  <davem@davemloft.net>
58751         [BZ #14376]
58752         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
58753         pass reloc->r_addend in as the 'high' argument to
58754         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
58756         * sysdeps/sparc/fpu/libm-test-ulps: Update.
58758 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
58760         * rt/tst-aio2.c: Include <pthread.h>.
58761         * rt/tst-aio3.c: Likewise.
58763 2012-09-27  Steve Ellcey  <sellcey@mips.com>
58765         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
58767 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
58769         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
58770         contents on [SHARED].
58772 2012-09-26  Marek Polacek  <polacek@redhat.com>
58774         [BZ #14530]
58775         [BZ #13741]
58776         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
58777         for C++ and GCC <4.3 as well as for non GCC compilers.
58779 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
58781         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
58783 2012-09-25  Roland McGrath  <roland@hack.frob.com>
58785         * Makefile.in (all, install): Declare with .PHONY.
58786         Reported by Michael Hope <michael.hope@linaro.org>.
58788 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
58790         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
58791         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
58792         system header.
58793         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
58794         Likewise.
58795         (sydep_routines): Add the new and the internal functions.
58796         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
58797         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
58798         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
58799         (GLIBC_2.17): Add the new function.
58800         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
58801         (GLIBC_2.17): Likewise.
58802         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
58803         (GLIBC_2.17): Likewise.
58804         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
58805         (GLIBC_2.17): Likewise.
58806         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
58808 2012-09-25  Alan Modra  <amodra@gmail.com>
58810         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
58811         Add release barrier before setting once_control to say
58812         initialisation is done.  Add hints on lwarx.  Use macro in
58813         place of isync.
58814         (clear_once_control): Add release barrier.
58816 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
58818         [BZ #13629]
58819         * math/s_clog.c (__clog): Handle more values close to |z| = 1
58820         specially.
58821         * math/s_clog10.c (__clog10): Likewise.
58822         * math/s_clog10f.c (__clog10f): Likewise.
58823         * math/s_clog10l.c (__clog10l): Likewise.
58824         * math/s_clogf.c (__clogf): Likewise.
58825         * math/s_clogl.c (__clogl): Likewise.
58826         * math/Makefile (libm-calls): Add x2y2m1.
58827         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
58828         (__x2y2m1): Likewise.
58829         (__x2y2m1l): Likewise.
58830         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
58831         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
58832         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
58833         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
58834         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
58835         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
58836         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
58837         * sysdeps/i386/fpu/libm-test-ulps: Update.
58838         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58840         [BZ #14621]
58841         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
58842         int as type of variable DEPTH.
58843         (glob): Use size_t instead of int as type of variables NEWCOUNT
58844         and OLD_PATHC.
58846 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
58848         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
58849         Add s_sincosf-sse2.
58850         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
58851         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
58852         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
58853         macros for using routine as __sincosf_ia32.
58854         Use macro for function declaration and weak_alias.
58855         * sysdeps/i386/fpu/libm-test-ulps: Update.
58857         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
58858         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
58860         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
58861         subnormal argument.
58862         * math/s_cexpf.c (__cexpf): Likewise.
58863         * math/s_csinf.c (__csinf): Likewise.
58864         * math/s_csinhf.c (__csinhf): Likewise.
58865         * math/s_ctanf.c (__ctanf): Likewise.
58866         * math/s_ctanhf.c (__ctanhf): Likewise.
58867         * math/s_ccosh.c (__ccoshf): Likewise.
58868         * math/s_cexp.c (__cexpl): Likewise.
58869         * math/s_csin.c (__csin): Likewise.
58870         * math/s_csinh.c (__csinh): Likewise.
58871         * math/s_ctan.c (__ctan): Likewise.
58872         * math/s_ctanh.c (ctanh): Likewise.
58873         * math/s_ccoshl.c (__ccoshl): Likewise.
58874         * math/s_cexpl.c (__cexpl): Likewise.
58875         * math/s_csinl.c (__csinl): Likewise.
58876         * math/s_csinhl.c (__csinhl): Likewise.
58877         * math/s_ctanl.c (__ctanl): Likewise.
58878         * math/s_ctanhl.c (__ctanhl): Likewise.
58880 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
58882         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
58883         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
58884         (_IO_off_t): Define to __off_t, not _G_off_t.
58885         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
58886         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
58887         (_IO_wint_t): Define to wint_t, not _G_wint_t.
58888         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
58889         type of __dummy and __dummy2 fields.
58890         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
58891         (_G_ssize_t): Likewise.
58892         (_G_off_t): Likewise.
58893         (_G_pid_t): Likewise.
58894         (_G_uid_t): Likewise.
58895         (_G_wchar_t): Likewise.
58896         (_G_wint_t): Likewise.
58897         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
58898         (_G_ssize_t): Likewise.
58899         (_G_off_t): Likewise.
58900         (_G_pid_t): Likewise.
58901         (_G_uid_t): Likewise.
58902         (_G_wchar_t): Likewise.
58903         (_G_wint_t): Likewise.
58904         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
58905         (_G_ssize_t): Likewise.
58906         (_G_off_t): Likewise.
58907         (_G_pid_t): Likewise.
58908         (_G_uid_t): Likewise.
58909         (_G_wchar_t): Likewise.
58910         (_G_wint_t): Likewise.
58912 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
58914         * malloc/arena.c: Include malloc-sysdep.h.
58915         (shrink_heap): Use check_may_shrink_heap to decide if madvise
58916         is sufficient to shrink the heap or an unmap is needed.
58917         * sysdeps/generic/malloc-sysdep.h: New file.  Define
58918         new function check_may_shrink_heap.
58919         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
58920         new function check_may_shrink_heap.
58922 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
58924         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
58925         comments.
58927 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
58929         * catgets/test-gencat.sh: Add "set -e".
58930         * elf/tst-pathopt.sh: Likewise.
58931         * grp/tst_fgetgrent.sh: Likewise.
58932         * iconvdata/run-iconv-test.sh: Likewise.
58933         * intl/tst-gettext.sh: Likewise.
58934         * intl/tst-gettext2.sh: Likewise.
58935         * intl/tst-gettext4.sh: Likewise.
58936         * intl/tst-gettext6.sh: Likewise.
58937         * intl/tst-translit.sh: Likewise.
58938         * io/ftwtest-sh: Likewise.
58939         * libio/test-freopen.sh: Likewise.
58940         * malloc/tst-mtrace.sh: Likewise.
58941         * posix/globtest.sh: Likewise.
58942         * posix/tst-getconf.sh: Likewise.
58943         * posix/wordexp-tst.sh: Likewise.
58944         * stdio-common/tst-printf.sh: Likewise.
58945         * stdio-common/tst-unbputc.sh: Likewise.
58946         * stdlib/tst-fmtmsg.sh: Likewise.
58947         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
58948         * catgets/Makefile: Do not specify -e option when running
58949         testsuite shell scripts.
58950         * elf/Makefile: Likewise.
58951         * grp/Makefile: Likewise.
58952         * iconvdata/Makefile: Likewise.
58953         * intl/Makefile: Likewise.
58954         * io/Makefile: Likewise.
58955         * libio/Makefile: Likewise.
58956         * malloc/Makefile: Likewise.
58957         * posix/Makefile: Likewise.
58958         * stdio-common/Makefile: Likewise.
58959         * stdlib/Makefile: Likewise.
58960         * sysdeps/x86_64/Makefile: Likewise.
58962         * io/ftwtest-sh: Add copyright header.
58963         * posix/globtest.sh: Likewise.
58964         * posix/tst-getconf.sh: Likewise.
58965         * posix/wordexp-tst.sh: Likewise.
58966         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
58968 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
58970         [BZ #13679]
58971         * Makeconfig (+link): Defined as $(+link-static) if
58972         $(build-shared) isn't yes.
58973         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
58974         isn't yes.
58975         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
58977         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
58979         [BZ #14562]
58980         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
58981         new chunk size with MALLOC_ALIGN_MASK.
58983 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
58985         [BZ #5044]
58986         * stdio-common/printf_fphex.c: Include <stdbool.h> and
58987         <rounding-mode.h>.
58988         (__printf_fphex): Determine rounding using get_rounding_mode and
58989         round_away.
58990         * stdio-common/tst-printf-round.c (struct hex_test): New
58991         structure.
58992         (hex_tests): New variable.
58993         (test_hex_in_one_mode): New function.
58994         (do_test): Also run tests for hex float output.
58996 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
58998         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
58999         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
59000         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
59001         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
59002         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
59003         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
59004         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
59005         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
59007 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
59009         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
59010         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
59011         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
59012         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
59014 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
59016         [BZ #14579]
59017         * elf/rtld.c (dl_main): Limit the check for self loading to normal
59018         mode only.
59019         * elf/tst-rtld-load-self.sh: New test.
59020         * elf/Makefile: Run it.
59022 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
59024         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
59025         (tst-writev-ENV): Remove.
59026         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
59028 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
59030         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
59032 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
59034         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
59035         unconditional.
59036         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
59037         Likewise.
59038         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
59039         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
59040         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
59041         Likewise.
59043 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
59045         [BZ #14587]
59046         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
59047         * config.make.in (have-cpp-asm-debuginfo): Removed.
59048         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
59049         * configure: Regenerated.
59051 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
59053         [BZ #5044]
59054         * stdio-common/printf_fp.c: Include <stdbool.h> and
59055         <rounding-mode.h>.
59056         (___printf_fp): Determine rounding using get_rounding_mode and
59057         round_away.
59058         * stdio-common/tst-printf-round.c: New file.
59059         * stdio-common/Makefile (tests): Add tst-printf-round.
59060         (link-libm): New variable.
59061         ($(objpfx)tst-printf-round): Depend in $(link-libm).
59063 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
59065         [BZ #14576]
59066         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
59067         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
59068         Likewise.
59069         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
59070         Likewise.
59072 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
59074         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
59075         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
59076         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
59077         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
59079 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
59081         [BZ #14518]
59082         * include/rounding-mode.h: New file.
59083         * sysdeps/generic/get-rounding-mode.h: Likewise.
59084         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
59085         * stdlib/strtod_l.c: Include <rounding-mode.h>.
59086         (MAX_VALUE): New macro.
59087         (MIN_VALUE): Likewise.
59088         (overflow_value): New function.
59089         (underflow_value): Likewise.
59090         (round_and_return): Use overflow_value and underflow_value to
59091         determine return values in overflow and underflow cases.  Use
59092         round_away to determine rounding depending on rounding mode.
59093         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
59094         determine return values in overflow and underflow cases.
59095         * stdlib/tst-strtod-round.c: Include <fenv.h>.
59096         (struct test_results): New structure.
59097         (struct test): Use struct test_results to store expected results
59098         for all rounding modes.
59099         (TEST): Include expected results for all rounding modes.
59100         (test_in_one_mode): New function.
59101         (do_test): Use test_in_one_mode to compute and check results.
59102         Check results for all rounding modes.
59103         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
59104         $(link-libm).
59106 2012-12-09  Allan McRae  <allan@archlinux.org>
59108         * sysdeps/i386/fpu/libm-test-ulps: Update
59110 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
59112         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
59113         (_G_int32_t): Likewise.
59114         (_G_uint16_t): Likewise.
59115         (_G_uint32_t): Likewise.
59116         (_G_HAVE_BOOL): Likewise.
59117         (_G_HAVE_ATEXIT): Likewise.
59118         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
59119         (_G_HAVE_IO_FILE_OPEN): Likewise.
59120         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
59121         (_G_int32_t): Likewise.
59122         (_G_uint16_t): Likewise.
59123         (_G_uint32_t): Likewise.
59124         (_G_HAVE_BOOL): Likewise.
59125         (_G_HAVE_ATEXIT): Likewise.
59126         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
59127         (_G_HAVE_IO_FILE_OPEN): Likewise.
59128         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
59129         (_G_int32_t): Likewise.
59130         (_G_uint16_t): Likewise.
59131         (_G_uint32_t): Likewise.
59132         (_G_HAVE_BOOL): Likewise.
59133         (_G_HAVE_ATEXIT): Likewise.
59134         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
59135         (_G_HAVE_IO_FILE_OPEN): Likewise.
59137 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
59139         * csu/libc-tls.c: Update copyright years.
59141 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
59143         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
59144         [!_G_USING_THUNKS]: Remove conditional code.
59145         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
59146         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
59148         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
59149         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
59150         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
59151         (_G_VTABLE_LABEL_PREFIX): Likewise.
59152         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
59153         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
59154         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
59155         (_G_VTABLE_LABEL_PREFIX): Likewise.
59156         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
59157         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
59158         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
59159         (_G_VTABLE_LABEL_PREFIX): Likewise.
59160         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
59162 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
59164         * libio/Makefile: Include ../Makeconfig before tests.
59165         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
59166         only if $(build-shared) is yes.
59168         * iconv/gconv_db.c: Update copyright years.
59170 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
59172         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
59173         unwind info if defined PIC. Fix special cases description.
59174         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
59176         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
59177         DP_HI_MASK entry.
59178         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
59180 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
59182         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
59184         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
59185         is NULL.
59187         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
59188         (LDLIBS-tst-chk4): This.
59189         (LDFLAGS-tst-chk5): Renamed to ...
59190         (LDLIBS-tst-chk5): This.
59191         (LDFLAGS-tst-chk6): Renamed to ...
59192         (LDLIBS-tst-chk6): This.
59193         (LDFLAGS-tst-lfschk4): Renamed to ...
59194         (LDLIBS-tst-lfschk4): This.
59195         (LDFLAGS-tst-lfschk5): Renamed to ...
59196         (LDLIBS-tst-lfschk5): This.
59197         (LDFLAGS-tst-lfschk6): Renamed to ...
59198         (LDLIBS-tst-lfschk6): This.
59200         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
59201         on $(common-objpfx)soversions.mk.
59203 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
59205         [BZ #10014]
59206         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
59207         example host name.
59209 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
59211         * malloc/arena.c (arena_get_retry): New function that gets
59212         another arena for the caller to try its request on.
59213         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
59214         current arena cannot fulfill the request.
59215         (__libc_memalign): Likewise.
59216         (__libc_memalign): Likewise.
59217         (__libc_pvalloc): Likewise.
59218         (__libc_calloc): Likewise.
59220 2012-09-05  John Tobey  <john.tobey@gmail.com>
59222         [BZ #13542]
59223         * manual/arith.texi (Operations on Complex): Fix description
59224         of carg branch cut.
59226 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
59228         [BZ #10014]
59229         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
59230         host name.
59232         [BZ #10038]
59233         * manual/memory.texi (Memory): Make order of menu items match
59234         order of sections.
59236 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
59238         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
59239         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
59240         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
59242 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
59244         * csu/libc-tls.c (static_dtv): Renamed to ...
59245         (_dl_static_dtv): This.  Make it global.
59246         (_dl_initial_dtv): Removed.
59247         (__libc_setup_tls): Updated.
59248         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
59249         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
59250         DL_INITIAL_DTV.
59252 2012-09-06  Petr Machata  <pmachata@redhat.com>
59254         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
59255         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
59256         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
59257         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
59259 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
59261         [BZ #14545]
59262         * csu/libc-tls.c (_dl_initial_dtv): New variable.
59263         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
59264         freeing dtv[-1].
59266 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
59268         [BZ #14544]
59269         * Makeconfig (link-static-before-libc): Replace $(+prector)
59270         with $(+prectorT).
59271         (link-static-after-libc): Replace $(+postctor) with
59272         $(+postctorT).
59273         (link-bounded): Replace $(+prector)/$(+postctor) with
59274         $(+prectorT)/$(+postctorT).
59275         (+prectorT): New macro.
59276         (+postctorT): Likewise.
59278 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
59280         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
59281         (round_str): Handle values above the maximum for IBM long double
59282         as inexact.
59283         * stdlib/tst-strtod-round.c (tests): Regenerated.
59285 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
59287         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
59288         assembler flag.
59289         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
59290         zarch_nohighgprs around the zarch optimized routines.
59291         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
59292         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
59293         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
59294         for zarch.
59296 2012-09-05  David S. Miller  <davem@davemloft.net>
59298         * sysdeps/sparc/fpu/libm-test-ulps: Update.
59300         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
59301         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
59302         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
59303         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
59304         entries.
59306 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
59308         * malloc/arena.c: Fold copyright years.
59309         * malloc/mcheck.c, malloc/memusage.c: Likewise.
59311 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
59313         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
59315 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
59317         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
59319 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
59321         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
59322         change internal state upon failure.
59324 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
59326         * malloc/mcheck.c (mcheck_check_all): Fix typo.
59327         * malloc/memusage.c (mmap): Likewise.
59328         (mmap64, mremap): Likewise.  Adjust name in comment.
59330 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
59332         * libio/fileops.c: Fix typos in comments.
59333         * libio/oldfileops.c: Likewise.
59334         * libio/wfileops.c: Likewise.
59336 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
59338         [BZ #1349]
59339         * malloc/Makefile (tests): Add tst-malloc-usable test case.
59340         (tst-malloc-usable-ENV): Set environment for test case.
59341         * malloc/hooks.c (malloc_check_get_size): New function to get
59342         requested size.
59343         * malloc/malloc.c (musable): Use malloc_check_get_size.
59344         * malloc/tst-malloc-usable.c: New test case.
59346 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
59348         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
59350 2012-09-05  Allan McRae  <allan@archlinux.org>
59352         [BZ #13966]
59353         * configure.in (CXX_SYSINCLUDES): Use compiler output to
59354         determine header location.
59355         * configure: Regenerated.
59357 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
59359         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
59360         float format.
59361         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
59362         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
59363         format.
59364         (test): Regenerate.
59366 2012-09-04  David S. Miller  <davem@davemloft.net>
59368         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
59369         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
59370         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
59372 2012-09-04  Florian Weimer  <fweimer@redhat.com>
59374         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
59375         failures.
59377         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
59379 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
59381         [BZ #9914]
59382         * libio/iogetdelim.c: Include <limits.h>.
59383         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
59384         + len + 1 would overflow.
59386 2012-09-03  Andreas Jaeger  <aj@suse.de>
59388         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
59389         * sysdeps/i386/fpu/libm-test-ulps: Update.
59391 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
59393         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
59394         Add s_sinf-sse2, s_conf-sse2.
59396         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
59397         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
59398         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
59399         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
59401         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
59402         for using routine as __sinf_ia32.
59403         Use macro for function declaration and weak_alias.
59404         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
59405         for using routine as __cosf_ia32.
59406         Use macro for function declaration and weak_alias.
59408         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
59409         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
59411         * sysdeps/x86_64/fpu/s_sinf.S: New file.
59412         * sysdeps/x86_64/fpu/s_cosf.S: New file.
59413         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
59415         * math/libm-test.inc (cos_test): Add more test cases.
59416         (sin_test): Likewise.
59417         (sincos_test): Likewise.
59419 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
59421         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
59422         (IFUNC_RESOLVE): Make pointers to the specialized implementations
59423         hidden.
59424         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
59426 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
59428         [BZ #14538]
59429         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
59430         first element of the GOT.
59431         (elf_machine_load_address): Return the difference between
59432         the runtime address of _DYNAMIC and elf_machine_dynamic ().
59434 2012-09-01  Allan McRae  <allan@archlinux.org>
59436         [BZ #13412]
59437         * configure.in (AWK): Require gawk version 3.0 or later.
59438         * configure: Regenerated.
59440 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
59442         * sysdeps/unix/sysv/linux/kernel-features.h
59443         (__ASSUME_POSIX_CPU_TIMERS): Remove.
59444         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
59445         [__NR_clock_getres]: Make code unconditional.
59446         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
59447         (clock_getcpuclockid): Remove code left unreachable by removal of
59448         conditionals.
59449         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
59450         code unconditional.
59451         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
59452         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
59453         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
59454         Make code unconditional.
59455         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
59456         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
59457         * sysdeps/unix/sysv/linux/clock_settime.c
59458         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
59459         conditional code.
59460         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
59461         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
59463 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
59465         [BZ #14476]
59466         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
59467         scripts/test-installation.pl.
59469         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
59470         and $ld_so_version if it is set.
59472 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
59474         [BZ #14516]
59475         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
59476         failure if reading from procfs failed.
59477         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
59479 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
59481         * sysdeps/unix/sysv/linux/kernel-features.h
59482         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
59483         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
59484         Remove conditional code.
59485         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
59486         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
59487         Remove conditional code.
59488         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
59489         * sysdeps/unix/sysv/linux/i386/fxstat.c
59490         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
59491         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
59492         * sysdeps/unix/sysv/linux/i386/fxstatat.c
59493         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
59494         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
59495         * sysdeps/unix/sysv/linux/i386/lxstat.c
59496         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
59497         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
59498         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
59499         Remove conditional code.
59500         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
59501         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
59502         Remove conditional code.
59503         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
59504         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
59505         <kernel-features.h>.
59506         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
59507         Remove.
59508         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
59509         Remove conditional code.
59510         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
59511         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
59512         Remove conditional.
59514 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
59516         [BZ #5400]
59517         * NEWS: Add fixed bug number.
59519 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
59521         [BZ #14519]
59522         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
59523         underflowing exponent in case of negative sign.
59524         * stdlib/tst-strtod-round-data: Add more tests.
59525         * stdlib/tst-strtod-round.c (tests): Regenerated.
59527         [BZ #3479]
59528         * stdlib/strtod_l.c (NDIG): Remove.
59529         (HEXNDIG): Likewise.
59530         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
59531         smallest representable value.
59532         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
59533         lie within an exact representation of 1/2 ulp of the result.
59534         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
59535         unconditionally.
59536         (TENS_P9_IDX): Define unconditionally.
59537         (TENS_P9_SIZE): Likewise.
59538         (TENS_P10_IDX): Likewise.
59539         (TENS_P10_SIZE): Likewise.
59540         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
59541         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
59542         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
59543         entries for 10^2^13 and 10^2^14.
59544         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
59545         (TENS_P13_IDX): Define.
59546         (TENS_P13_SIZE): Likewise.
59547         (TENS_P14_IDX): Likewise.
59548         (TENS_P14_SIZE): Likewise.
59549         (_fpioconst_pow10): Change array size to
59550         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
59551         unconditional.
59552         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
59553         1024]: Add entries for 10^2^13 and 10^2^14.
59554         [LAST_POW10 > _LAST_POW10]: Remove #error.
59555         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
59556         (_fpioconst_pow10): Change array size to
59557         FPIOCONST_POW10_ARRAY_SIZE.
59558         * stdlib/gen-fpioconst.c: New file.
59559         * stdlib/gen-tst-strtod-round.c: Likewise.
59560         * stdlib/tst-strtod-round-data: Likewise.
59561         * stdlib/tst-strtod-round.c: Likewise.
59562         * stdlib/Makefile (tests): Add tst-strtod-round.
59564         [BZ #14459]
59565         * stdlib/strtod_l.c: Include <stdint.h>.
59566         (NDEBUG): Do not define.
59567         (round_and_return): Change EXPONENT parameter to type intmax_t.
59568         Rearrange calculations to avoid internal overflow possibilities.
59569         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
59570         Rearrange calculations to avoid internal overflow possibilities.
59571         Assert that number fits inside MPNSIZE limbs.
59572         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
59573         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
59574         calculations and add assertions to avoid internal overflow
59575         possibilities.  Add casts to avoid signed/unsigned operations.
59576         * stdlib/tst-strtod-overflow.c: New file.
59577         * stdlib/Makefile (tests): Add tst-strtod-overflow.
59579 2012-08-25  Marek Polacek  <polacek@redhat.com>
59581         * time/time.h: Fix some typos in comments.
59583 2012-08-23  Roland McGrath  <roland@hack.frob.com>
59585         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
59586         * posix/tst-rfc3484-2.c: Likewise.
59587         * posix/tst-rfc3484-3.c: Likewise.
59589 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
59591         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
59592         (EF_ARM_ABI_FLOAT_HARD): Likewise.
59594 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
59596         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
59597         #include of fxstatat64.c.
59599 2012-08-22  Roland McGrath  <roland@hack.frob.com>
59601         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
59602         * shadow/getspent_r.c: Likewise.
59603         * shadow/getspnam.c: Likewise.
59604         * shadow/getspnam_r.c: Likewise.
59605         * gshadow/getsgent.c: Likewise.
59606         * gshadow/getsgent_r.c: Likewise.
59607         * gshadow/getsgnam.c: Likewise.
59608         * gshadow/getsgnam_r.c: Likewise.
59609         * inet/getnetbyad.c: Likewise.
59610         * inet/getnetbyad_r.c: Likewise.
59611         * inet/getnetbynm.c: Likewise.
59612         * inet/getnetbynm_r.c: Likewise.
59613         * inet/getnetent.c: Likewise.
59614         * inet/getnetent_r.c: Likewise.
59615         * inet/getproto.c: Likewise.
59616         * inet/getproto_r.c: Likewise.
59617         * inet/getprtent.c: Likewise.
59618         * inet/getprtent_r.c: Likewise.
59619         * inet/getprtname.c: Likewise.
59620         * inet/getprtname_r.c: Likewise.
59621         * inet/getrpcbyname.c: Likewise.
59622         * inet/getrpcbyname_r.c: Likewise.
59623         * inet/getrpcbynumber.c: Likewise.
59624         * inet/getrpcbynumber_r.c: Likewise.
59625         * inet/getrpcent.c: Likewise.
59626         * inet/getrpcent_r.c: Likewise.
59627         * inet/getaliasent.c: Likewise.
59628         * inet/getaliasent_r.c: Likewise.
59629         * inet/getaliasname.c: Likewise.
59630         * inet/getaliasname_r.c: Likewise.
59631         * nscd/getgrgid_r.c: Likewise.
59632         * nscd/getgrnam_r.c: Likewise.
59633         * nscd/gethstbyad_r.c: Likewise.
59634         * nscd/gethstbynm3_r.c: Likewise.
59635         * nscd/getpwnam_r.c: Likewise.
59636         * nscd/getpwuid_r.c: Likewise.
59637         * nscd/getsrvbynm_r.c: Likewise.
59638         * nscd/getsrvbypt_r.c: Likewise.
59639         * nscd/gai.c: Likewise.
59641         * configure.in (build_nscd): New substituted variable, set
59642         by --disable-build-nscd and defaults to $use_nscd.
59643         * configure: Regenerated.
59644         * config.make.in (build-nscd): New substituted variable.
59645         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
59646         Change conditional to require [$(build-nscd) = yes] as well.
59647         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
59649         [BZ# 13696]
59650         * configure.in (use_nscd): New substituted variable, set by
59651         --disable-nscd.  If enabled, define USE_NSCD.
59652         * configure: Regenerated.
59653         * config.h.in: Add USE_NSCD.
59654         * config.make.in (use-nscd): New substituted variable.
59655         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
59656         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
59657         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
59658         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
59659         (CFLAGS-getgrnam_r.c): Likewise.
59660         (CFLAGS-initgroups.c): Likewise.
59661         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
59662         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
59663         Variables removed.
59664         * inet/getnetgrent_r.c
59665         (nscd_setnetgrent): New function, broken out of ...
59666         (setnetgrent): ... here.  Call it.
59667         (innetgr): Conditionalize nscd bits on [USE_NSCD].
59668         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
59669         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
59670         * nscd/Makefile (routines, aux): Move definitions after include of
59671         Makeconfig.  Conditionalize on [$(use-nscd) != no].
59672         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
59673         Conditionalize on [USE_NSCD].
59674         (is_nscd, nscd_init_cb): Likewise.
59675         (nss_load_library): Conditionalize init callback on [USE_NSCD].
59676         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
59677         * nss/nss_db/db-init.c: Likewise.
59678         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
59679         [USE_NSCD].
59680         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
59681         (make_request): Use it.
59682         (cache_valid_p): New function.
59683         (__check_pf): Use it.
59684         * NEWS: Add item for --disable-nscd.
59686 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
59688         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
59689         to support sed >= 4.2.1-20-ga9bf076.
59690         * configure: Regenerated.
59692 2012-08-22  Roland McGrath  <roland@hack.frob.com>
59694         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
59695         Conditionalize whole body on [IREL].
59697 2012-08-22  Jeff Law <law@redhat.com>
59699         [BZ #14505]
59700         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
59701         if the family is PF_UNSPEC.
59703 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
59705         * Makerules (lib-version): Rename from V.
59706         (install-lib-nosubdir): Change V to lib-version.
59708 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
59710         [BZ #14252]
59711         * powerpc32/power6/wcschr.c: New file.
59712         * powerpc32/power6/wcscpy.c: New file.
59713         * powerpc32/power6/wcsrchr.c: New file.
59714         * powerpc64/power6/wcschr.c: New file.
59715         * powerpc64/power6/wcscpy.c: New file.
59716         * powerpc64/power6/wcsrchr.c: New file.
59718 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
59720         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
59721         (two_way_short_needle): Use it.
59722         * string/strstr.c (AVAILABLE1_USES_J): Define.
59723         * string/strcasestr.c: Likewise.
59725         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
59726         array references.
59727         * string/strcasestr.c (TOLOWER): Make side-effect safe.
59729         [BZ #11607]
59730         * NEWS: Add an entry.
59731         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
59732         define their defaults.
59733         (two_way_short_needle): Detect end-of-string on-the-fly.
59734         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
59735         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
59736         * string/bug-strcasestr1.c: New test.
59737         * string/Makefile: Run it.
59739 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
59741         [BZ #11607]
59742         * string/str-two-way.h (two_way_short_needle): Optimize matching of
59743         the first character.
59745 2012-08-21  Roland McGrath  <roland@hack.frob.com>
59747         * csu/elf-init.c (__libc_csu_irel): Function removed.
59748         * csu/libc-start.c (apply_irel): New function.
59749         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
59751 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
59753         * sysdeps/unix/sysv/linux/kernel-features.h
59754         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
59755         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
59756         <kernel-features.h>.
59757         [__NR_fadvise64_64]: Make code unconditional.
59758         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
59759         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
59760         !__NR_fadvise64_64)]: Likewise.
59761         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
59762         !__NR_fadvise64_64))]: Likewise.
59763         [__NR_fadvise64]: Make code unconditional.
59764         [!__NR_fadvise64]: Remove conditional code.
59765         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
59766         <kernel-features.h>.
59767         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
59768         unconditional.
59769         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
59770         conditional code.
59771         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
59772         not include <kernel-features.h>.
59773         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
59774         unconditional.
59775         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
59776         conditional code.
59777         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
59778         include <kernel-features.h>.
59779         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
59780         unconditional.
59781         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
59782         conditional code.
59784 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
59786         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
59787         slight instruction rearrangements per scrollpipe analysis.
59788         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
59790 2012-08-20  Roland McGrath  <roland@hack.frob.com>
59792         * manual/syslog.texi (syslog; vsyslog, closelog):
59793         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
59794         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
59796         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
59797         DSOCAPS to match condition on defining it.
59799 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
59801         * sysdeps/unix/sysv/linux/kernel-features.h
59802         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
59803         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
59804         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
59805         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
59806         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
59807         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
59808         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
59809         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
59810         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
59811         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
59813         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
59814         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
59816         * sysdeps/unix/sysv/linux/kernel-features.h
59817         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
59818         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
59819         unconditional.
59820         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
59821         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
59822         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
59823         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
59824         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
59825         Make code unconditional.
59826         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
59827         (__mmap64) [!__NR_mmap2]: Likewise.
59828         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
59829         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
59830         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
59831         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
59832         [__NR_mmap2]: Make code unconditional.
59833         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
59834         (__mmap64) [!__NR_mmap2]: Likewise.
59836 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
59838         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
59840 2012-08-18  Andreas Jaeger  <aj@suse.de>
59842         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
59844 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
59846         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
59847         * include/unistd.h (__have_sock_cloexec): Likewise.
59848         (__have_pipe2): Likewise.
59849         (__have_dup3): Likewise.
59851 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
59853         [BZ #9685]
59854         * include/unistd.h (__have_pipe2): Change define into an extern int.
59855         (__have_dup3): Likewise.
59856         * socket/have_sock_cloexec.c: Include fcntl.h.
59857         (__have_pipe2): New variable.
59858         (__have_dup3): Likewise.
59860 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
59862         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
59864 2012-08-17  Marek Polacek  <polacek@redhat.com>
59866         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
59867         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
59869 2012-08-17  Roland McGrath  <roland@hack.frob.com>
59871         * configure.in: Add AC_SUBST for sysheaders.
59872         * configure: Regenerated.
59873         * config.make.in (sysheaders): New substituted variable.
59875         * sysdeps/unix/mkfifo.c: Moved ...
59876         * sysdeps/posix/mkfifo.c: ... here.
59877         * sysdeps/unix/mkfifoat.c: Moved ...
59878         * sysdeps/posix/mkfifoat.c: ... here.
59880         * sysdeps/unix/utime.c: Moved ...
59881         * sysdeps/posix/utime.c: ... here.
59883         * sysdeps/unix/time.c: Moved ...
59884         * sysdeps/posix/time.c: ... here.
59885         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
59886         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
59888         * sysdeps/unix/nice.c: Moved ...
59889         * sysdeps/posix/nice.c: ... here.
59891         * sysdeps/unix/alarm.c: Moved ...
59892         * sysdeps/posix/alarm.c: ... here.
59894         * intl/Makefile ($(codeset_mo)): Depend on the input file.
59896 2012-08-17  Jeff Law <law@redhat.com>
59898         * intl/Makefile (codeset_mo): New variable.
59899         ($(codeset_mo)): New target.
59900         (tst-codeset.out): Depend on that.  Remove explicit rule.
59901         (tst-gettext3.out, tst-gettext5.out): Likewise.
59902         (LOCPATH-ENV, tst-codeset-ENV): New variables.
59903         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
59904         * intl/tst-codeset.sh: Remove.
59905         * intl/tst-gettext3.sh: Likewise.
59906         * intl/tst-gettext5.sh: Likewise.
59908 2012-08-17  Roland McGrath  <roland@hack.frob.com>
59910         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
59911         * sysdeps/unix/syscalls.list: ... here.
59913         * sysdeps/posix/getaddrinfo.c
59914         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
59915         (gaiconf_init, gaiconf_reload): Use them.
59916         [!_STATBUF_ST_NSEC]
59917         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
59918         Define using time_t rather than struct timespec.
59920         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
59921         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
59922         Macros removed.
59923         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
59924         [!NO_THREADS].
59925         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
59926         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
59927         Likewise.
59929         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
59930         __libc_cleanup_push argument.
59932         * bits/param.h: New file.
59933         * misc/sys/param.h: New file.
59934         * include/sys/param.h: New file.
59935         * misc/Makefile (headers): Add bits/param.h.
59936         * sysdeps/generic/sys/param.h: File removed.
59937         * sysdeps/unix/sysv/linux/bits/param.h: New file.
59938         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
59939         * sysdeps/mach/hurd/bits/param.h: New file.
59940         * sysdeps/mach/hurd/sys/param.h: File removed.
59942         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
59943         last change.
59945         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
59946         [_IO_MTSAFE_IO].
59947         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
59948         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
59949         New macros.
59951         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
59952         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
59953         rather than -D_IO_MTSAFE_IO conditionally.
59954         * stdio-common/Makefile (CPPFLAGS): Likewise.
59955         * wcsmbs/Makefile (CPPFLAGS): Likewise.
59956         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
59957         Use $(libio-mtsafe).
59958         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
59959         of -D_IO_MTSAFE_IO.
59960         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
59961         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
59962         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
59963         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
59964         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
59965         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
59966         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
59967         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
59968         (CFLAGS-fread_u_chk.c): Likewise.
59969         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
59970         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
59971         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
59972         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
59973         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
59974         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
59975         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
59976         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
59977         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
59979         * libio/Makefile: Test [$(libc-reentrant) = yes]
59980         instead of [$(filter %REENTRANT, $(defines)) nonempty].
59982         * Makeconfig
59983         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
59984         * sysdeps/pthread/configure: File removed.
59985         * sysdeps/pthread/Makeconfig: New file.
59986         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
59987         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
59989 2012-08-16  Gary Benson  <gbenson@redhat.com>
59991         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
59992         unmapping the first object in a namespace.
59994 2012-08-16  Roland McGrath  <roland@hack.frob.com>
59996         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
59997         (__internal_setnetgrent): ... this.  Add internal_function to
59998         definition.  Add libc_hidden_def.
59999         (setnetgrent): Update caller.
60000         (internal_endnetgrent): Renamed to ...
60001         (__internal_endnetgrent): ... this.  Add internal_function to
60002         definition.  Add libc_hidden_def.
60003         (endnetgrent): Update caller.
60004         (internal_getnetgrent_r): Renamed to ...
60005         (__internal_getnetgrent_r): ... this.  Add internal_function to
60006         definition.  Add libc_hidden_def.
60007         (__getnetgrent_r): Update caller.
60008         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
60010 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
60012         * stdlib/longlong.h: Update from GCC.
60014 2012-08-16  Roland McGrath  <roland@hack.frob.com>
60016         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
60017         on _QL, which is set by umul_ppmm but never used.
60018         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
60019         variables, which are set by GMP macros but never used.
60020         * stdio-common/_itowa.c (_itowa): Likewise.
60021         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
60022         * stdlib/mod_1.c (mpn_mod_1): Likewise.
60024 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
60026         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
60027         struct La_sh_regs is not constant.
60028         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
60029         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
60030         and struct La_sparc64_regs are not constant.
60032 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
60034         * sysdeps/unix/sysv/linux/kernel-features.h
60035         (__ASSUME_POSIX_TIMERS): Remove.
60036         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
60037         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
60038         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
60039         Make code unconditional.
60040         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
60041         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
60042         Make code unconditional.
60043         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
60044         * sysdeps/unix/sysv/linux/clock_nanosleep.c
60045         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
60046         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
60047         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
60048         Make code unconditional.
60049         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
60050         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
60051         (__libc_missing_posix_timers): Remove.
60053 2012-08-15  Roland McGrath  <roland@hack.frob.com>
60055         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
60056         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
60058         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
60060         * elf/dl-sym.c: Include <stdlib.h>.
60062         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
60063         constants, which avoids warnings in 32-bit builds.
60065         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
60066         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
60068         * misc/lseek.c: File moved to ...
60069         * io/lseek.c: ... here.
60071         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
60073         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
60074         shifting LEN more than 31 bits at once.
60076 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
60078         [BZ #14195]
60079         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
60080         segmentation fault for a case of two empty input strings.
60081         * string/test-strncasecmp.c (check1): Renamed to...
60082         (bz12205): ...this.
60083         (bz14195): Add new testcase for two empty input strings and N > 0.
60084         (test_main): Call new testcase, adapt for renamed function.
60086 2012-08-15  Andreas Jaeger  <aj@suse.de>
60088         [BZ #14090]
60089         * crypt/md5test2.c: New test, based on test supplied by Serge
60090         Belyshev <belyshev@depni.sinp.msu.ru>.
60091         * crypt/Makefile (xtests): Add md5test-giant..
60092         * crypt/Makefile ($(objpfx)md5test-giant): Add.
60094 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
60096         [BZ #14090]
60097         * crypt/md5.c (md5_process_block): Don't assume the buffer
60098         length is less than 2**32.
60099         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
60100         length is less than 2**64.
60102 2012-08-15  Roland McGrath  <roland@hack.frob.com>
60104         * string/str-two-way.h: Include <sys/param.h>.
60105         (MAX): Macro removed.
60107         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
60108         Move #define and #undef of memmove to just before and after
60109         including <string.h>.
60111         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
60112         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
60113         and after including <string.h>.  Move declarations of
60114         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
60115         to before #include "string/memmove.c".
60117         * include/dirent.h: Declare __getdirentries.
60119         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
60120         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
60122 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
60124         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
60125         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
60126         * sysdeps/i386/configure: Regenerated.
60127         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
60128         STABS_CURRENT_FILE, and STABS_FUN.
60129         (END): Remove call to STABS_FUN_END.
60130         (STABS_CURRENT_FILE1): Delete.
60131         (STABS_CURRENT_FILE): Likewise.
60132         (STABS_FUN): Likewise.
60133         (STABS_FUN_END): Likewise.
60134         (STABS_FUN2): Likewise.
60135         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
60136         * sysdeps/x86_64/configure: Regenerated.
60138 2012-08-14  Roland McGrath  <roland@hack.frob.com>
60140         * elf/dl-open.c: Include <atomic.h>.
60141         * elf/dl-lookup.c: Likewise.
60143 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
60145         * sysdeps/unix/sysv/linux/kernel-features.h
60146         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
60147         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
60148         unconditionally.
60149         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
60150         unconditionally.
60151         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
60152         condition on __ASSUME_CLONE_THREAD_FLAGS.
60154 2012-08-14  Andreas Jaeger  <aj@suse.de>
60156         * sysdeps/i386/fpu/libm-test-ulps: Update.
60158 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
60160         * include/atomic.h (atomic_exchange_and_add): Split into ...
60161         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
60162         New atomic macros.
60164 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
60166         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
60168 2012-08-13  Jeff Law <law@redhat.com>
60170         * manual/stdio.texi (snprintf): Clarify handling of the trailing
60171         null byte in the output string.
60173 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
60175         * sysdeps/unix/sysv/linux/kernel-features.h
60176         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
60177         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
60178         (__ASSUME_ARG_MAX_STACK_BASED): Define.
60179         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
60180         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
60181         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
60182         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
60184 2012-08-09  Jeff Law <law@redhat.com>
60186         [BZ #13939]
60187         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
60188         When avoid_arena is set, don't retry in the that arena.  Pick the
60189         next one, whatever it might be.
60190         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
60191         (arena_lock): Pass in new parameter to arena_get2.
60192         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
60193         arena_get2.
60194         (__libc_malloc): Unify retrying after main arena failure with
60195         __libc_memalign version.
60196         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
60198 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
60200         [BZ #14166]
60201         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
60202         to __redirect_strstr.
60203         (__strstr_sse42): Use typeof __redirect_strstr.
60204         (__strstr_ia32): Likewise.
60205         (__libc_strstr): New prototype.
60206         (strstr): Renamed to ...
60207         (__libc_strstr): This.
60208         (strstr): New strong alias of __libc_strstr.
60209         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
60210         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
60211         __redirect_time.
60212         Include <time.h>.
60213         (__libc_time): New prototype.
60214         (time_ifunc): Replace time with __libc_time.
60215         (time): New strong alias and hidden definition of __libc_time.
60216         (__GI_time): Remove strong alias.
60217         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
60218         Include <stddef.h>.
60219         (memmove): Redefined to __redirect_memmove.
60220         (__memmove_sse2): Use typeof __redirect_memmove.
60221         (__memmove_ssse3): Likewise.
60222         (__memmove_ssse3_back): Likewise.
60223         (__libc_memmove): New prototype.
60224         (memmove): Renamed to ...
60225         (__libc_memmove): This.
60226         (memmove): New strong alias of __libc_memmove.
60228 2012-08-08  Mark Salter  <msalter@redhat.com>
60230         * elf/elf.h
60231         (R_MN10300_TLS_GD): Define.
60232         (R_MN10300_TLS_LD): Likewise.
60233         (R_MN10300_TLS_LDO): Likewise.
60234         (R_MN10300_TLS_GOTIE): Likewise.
60235         (R_MN10300_TLS_IE): Likewise.
60236         (R_MN10300_TLS_LE): Likewise.
60237         (R_MN10300_TLS_DTPMOD): Likewise.
60238         (R_MN10300_TLS_DTPOFF): Likewise.
60239         (R_MN10300_TLS_TPOFF): Likewise.
60240         (R_MN10300_SYM_DIFF): Likewise.
60241         (R_MN10300_ALIGN): Likewise.
60242         (R_MN10300_NUM): Update.
60244 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
60246         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
60247         Remove.
60249 2012-08-08  Roland McGrath  <roland@hack.frob.com>
60251         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
60253         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
60254         sysdeps/unix -> sysdeps/posix move.
60255         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
60257 2012-08-07      Allan McRae     <allan@archlinux.org>
60259         [BZ #14303]
60260         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
60261         (SUNOS_CPP): Likewise.
60262         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
60263         not found.
60264         (open_input): Call CPP using execvp.
60266 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
60268         * sysdeps/unix/sysv/linux/kernel-features.h
60269         (__ASSUME_PROT_GROWSUPDOWN): Remove.
60270         (__ASSUME_NO_CLONE_DETACHED): Likewise.
60271         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
60272         (__ASSUME_WAITID_SYSCALL): Likewise.
60273         * sysdeps/unix/sysv/linux/dl-execstack.c
60274         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
60275         code unconditional.
60276         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
60277         conditional code.
60278         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
60279         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
60280         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
60281         code.
60282         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
60283         unconditional.
60284         [__ASSUME_WAITID_SYSCALL]: Likewise.
60285         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
60287 2012-08-07  Roland McGrath  <roland@hack.frob.com>
60289         * sysdeps/unix/closedir.c: Renamed to ...
60290         * sysdeps/posix/closedir.c: ... here.
60291         * sysdeps/unix/dirfd.c: Renamed to ...
60292         * sysdeps/posix/dirfd.c: ... here.
60293         * sysdeps/unix/dirstream.h: Renamed to ...
60294         * sysdeps/posix/dirstream.h: ... here.
60295         * sysdeps/unix/fdopendir.c: Renamed to ...
60296         * sysdeps/posix/fdopendir.c: ... here.
60297         * sysdeps/unix/opendir.c: Renamed to ...
60298         * sysdeps/posix/opendir.c: ... here.
60299         * sysdeps/unix/readdir.c: Renamed to ...
60300         * sysdeps/posix/readdir.c: ... here.
60301         * sysdeps/unix/readdir_r.c: Renamed to ...
60302         * sysdeps/posix/readdir_r.c: ... here.
60303         * sysdeps/unix/rewinddir.c: Renamed to ...
60304         * sysdeps/posix/rewinddir.c: ... here.
60305         * sysdeps/unix/seekdir.c: Renamed to ...
60306         * sysdeps/posix/seekdir.c: ... here.
60307         * sysdeps/unix/telldir.c: Renamed to ...
60308         * sysdeps/posix/telldir.c: ... here.
60309         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
60310         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
60311         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
60312         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
60314         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
60315         * bits/fcntl.h: ... here.
60317         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
60318         not 0.
60319         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
60320         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
60321         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
60322         (struct flock): Move l_start, l_len to the beginning.
60323         Use __pid_t for l_pid.
60324         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
60325         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
60326         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
60327         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
60328         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
60329         [__USE_LARGEFILE64] (struct flock64): New type.
60330         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
60332         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
60333         * bits/dirent.h: ... here.
60335         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
60336         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
60338 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
60340         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
60341         Change from 2.6.0 to 2.6.16.
60342         * sysdeps/unix/sysv/linux/configure: Regenerated.
60343         * sysdeps/unix/sysv/linux/kernel-features.h
60344         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
60345         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
60346         version.
60347         (__ASSUME_UTIMES): Likewise.
60348         (__ASSUME_CLONE_STOPPED): Remove.
60349         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
60350         architectures, not kernel version.
60351         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
60352         (__ASSUME_NO_CLONE_DETACHED): Likewise.
60353         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
60354         (__ASSUME_WAITID_SYSCALL): Likewise.
60355         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
60356         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
60357         * README: State 2.6.16 as minimum Linux kernel version.  Do not
60358         refer to older versions.
60360 2012-08-06  Roland McGrath  <roland@hack.frob.com>
60362         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
60363         Define alphasort64 as an alias.
60364         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
60365         Define versionsort64 as an alias.
60366         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
60367         Define scandir64 as an alias.
60368         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
60369         Define scandirat64 as an alias.
60370         * dirent/alphasort64.c (alphasort64):
60371         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
60372         * dirent/versionsort64.c: Likewise.
60373         * dirent/scandir64.c: Likewise.
60374         * dirent/scandirat64.c: Likewise.
60375         * sysdeps/wordsize-64/alphasort.c: File removed.
60376         * sysdeps/wordsize-64/alphasort64.c: File removed.
60377         * sysdeps/wordsize-64/scandir.c: File removed.
60378         * sysdeps/wordsize-64/scandir64.c: File removed.
60379         * sysdeps/wordsize-64/scandirat.c: File removed.
60380         * sysdeps/wordsize-64/scandirat64.c: File removed.
60381         * sysdeps/wordsize-64/versionsort.c: File removed.
60382         * sysdeps/wordsize-64/versionsort64.c: File removed.
60383         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
60384         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
60385         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
60386         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
60387         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
60388         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
60389         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
60390         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
60392         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
60393         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
60394         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
60395         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
60396         [defined __arch64__ || defined __sparcv9]
60397         (__INO_T_MATCHES_INO64_T): New macro.
60398         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
60399         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
60400         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
60401         * sysdeps/unix/sysv/linux/bits/dirent.h
60402         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
60403         (_DIRENT_MATCHES_DIRENT64): New macro.
60405         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
60406         Define lockf64 as an alias.
60407         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
60408         Define fseeko64 as an alias.
60409         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
60410         Define ftello64 as an alias.
60411         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
60412         Define _IO_fgetpos64 and fgetpos64 as aliases.
60413         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
60414         Define _IO_fsetpos64 and fsetpos64 as aliases.
60415         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
60416         Conditionalize body on this.
60417         * libio/fseeko64.c: Likewise.
60418         * libio/ftello64.c: Likewise.
60419         * libio/iofgetpos64.c: Likewise.
60420         * libio/iofsetpos64.c: Likewise.
60421         * sysdeps/wordsize-64/lockf.c: File removed.
60422         * sysdeps/wordsize-64/lockf64.c: File removed.
60423         * sysdeps/wordsize-64/fseeko.c: File removed.
60424         * sysdeps/wordsize-64/fseeko64.c: File removed.
60425         * sysdeps/wordsize-64/ftello.c: File removed.
60426         * sysdeps/wordsize-64/ftello64.c: File removed.
60427         * sysdeps/wordsize-64/iofgetpos.c: File removed.
60428         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
60429         * sysdeps/wordsize-64/iofsetpos.c: File removed.
60430         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
60431         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
60432         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
60433         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
60434         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
60435         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
60436         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
60437         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
60438         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
60439         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
60440         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
60442         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
60443         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
60444         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
60445         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
60446         [defined __arch64__ || defined __sparcv9]
60447         (__OFF_T_MATCHES_OFF64_T): New macro.
60448         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
60449         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
60450         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
60451         (__OFF_T_MATCHES_OFF64_T): New macro.
60453 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
60455         * stdlib/secure-getenv.c (__secure_getenv): Replace
60456         GLIBC_2_16 with GLIBC_2_17.
60458 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
60460         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
60461         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
60463 2012-08-03  David S. Miller  <davem@davemloft.net>
60465         * sysdeps/sparc/fpu/libm-test-ulps: Update.
60467 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
60469         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
60470         Remove.
60471         (__ASSUME_CORRECT_SI_PID): Likewise.
60472         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
60473         (__ASSUME_TMPFS_NAME): Likewise.
60474         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
60475         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
60476         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
60477         (HAVE_AUX_SECURE): Make definition unconditional.
60478         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
60479         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
60481 2012-08-03  Roland McGrath  <roland@hack.frob.com>
60483         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
60484         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
60485         * sysdeps/mach/hurd/eloop-threshold.h: New file.
60486         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
60487         __eloop_threshold instead of SYMLOOP_MAX.
60489         * sysdeps/generic/eloop-threshold.h: New file.
60490         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
60491         of MAXSYMLINKS.
60492         * elf/chroot_canon.c (chroot_canon): Likewise.
60494 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
60496         [BZ #13717]
60497         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
60498         Change to 2.6.0 everywhere.
60499         * sysdeps/unix/sysv/linux/configure: Regenerated.
60500         * sysdeps/unix/sysv/linux/kernel-features.h
60501         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
60502         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
60503         kernel versions.
60504         (__ASSUME_POSIX_TIMERS): Define unconditionally.
60505         (__ASSUME_FUTEX_REQUEUE): Remove.
60506         (__ASSUME_STATFS64): Define unconditionally.
60507         (__ASSUME_AT_SECURE): Likewise.
60508         (__ASSUME_CORRECT_SI_PID): Likewise.
60509         (__ASSUME_TGKILL): Define without depending on kernel version for
60510         i386.
60511         (__ASSUME_UTIMES): Likewise.
60512         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
60513         kernel version.
60514         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
60515         (__ASSUME_TMPFS_NAME): Likewise.
60516         * README: Update reference to Linux kernel versions.
60518 2012-08-02  Marek Polacek  <polacek@redhat.com>
60520         [BZ# 14150]
60521         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
60522         libc_cv_asm_type_prefix with %.
60523         * configure: Regenerated.
60524         * include/libc-symbols.h: Remove comment about
60525         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
60526         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
60527         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
60528         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
60529         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
60530         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
60531         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
60532         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
60533         * elf/tst-unique2mod1.c: Likewise.
60534         * elf/tst-unique1mod2.c: Likewise.
60535         * elf/tst-unique1mod1.c: Likewise.
60536         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
60537         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
60538         Replace ASM_TYPE_DIRECTIVE with .type.
60539         * sysdeps/s390/s390-64/sysdep.h: Likewise.
60540         * sysdeps/i386/sysdep.h: Likewise.
60541         * sysdeps/x86_64/sysdep.h: Likewise.
60542         * sysdeps/sh/sysdep.h: Likewise.
60543         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
60544         Do not define ASM_TYPE_DIRECTIVE.
60545         * sysdeps/powerpc/sysdep.h: Likewise.
60546         * sysdeps/powerpc/powerpc32/sysdep.h:
60547         Replace ASM_TYPE_DIRECTIVE with .type.
60548         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
60549         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
60550         * sysdeps/i386/fpu/e_powf.S: Likewise.
60551         * sysdeps/i386/fpu/e_expl.S: Likewise.
60552         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
60553         * sysdeps/i386/fpu/e_acosh.S: Likewise.
60554         * sysdeps/i386/fpu/e_pow.S: Likewise.
60555         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
60556         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
60557         * sysdeps/i386/fpu/s_expm1.S: Likewise.
60558         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
60559         * sysdeps/i386/fpu/e_log2.S: Likewise.
60560         * sysdeps/i386/fpu/e_log2l.S: Likewise.
60561         * sysdeps/i386/fpu/e_scalb.S: Likewise.
60562         * sysdeps/i386/fpu/e_powl.S: Likewise.
60563         * sysdeps/i386/fpu/e_log10f.S: Likewise.
60564         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
60565         * sysdeps/i386/fpu/e_logl.S: Likewise.
60566         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
60567         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
60568         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
60569         * sysdeps/i386/fpu/e_log2f.S: Likewise.
60570         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
60571         * sysdeps/i386/fpu/e_log.S: Likewise.
60572         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
60573         * sysdeps/i386/fpu/e_logf.S: Likewise.
60574         * sysdeps/i386/fpu/e_log10l.S: Likewise.
60575         * sysdeps/i386/fpu/e_atanh.S: Likewise.
60576         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
60577         * sysdeps/i386/fpu/e_log10.S: Likewise.
60578         * sysdeps/i386/fpu/s_frexp.S: Likewise.
60579         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
60580         * sysdeps/i386/fpu/s_asinh.S: Likewise.
60581         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
60582         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
60583         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
60584         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
60585         * sysdeps/i386/i686/strtok.S: Likewise.
60586         * sysdeps/i386/i386-mcount.S: Likewise.
60587         * sysdeps/i386/strtok.S: Likewise.
60588         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
60589         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
60590         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
60591         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
60592         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
60593         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
60594         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
60595         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
60596         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
60597         * sysdeps/x86_64/_mcount.S: Likewise.
60598         * sysdeps/x86_64/strtok.S: Likewise.
60599         * sysdeps/sh/_mcount.S: Likewise.
60601 2012-08-01  Roland McGrath  <roland@hack.frob.com>
60603         * libio/iofopen.c: Include <fcntl.h>.
60604         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
60605         (_IO_fopen64, fopen64): Define as aliases.
60606         * libio/iofopen64.c: Include <fcntl.h>.
60607         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
60608         Conditionalize body on this.
60609         * sysdeps/wordsize-64/iofopen.c: File removed.
60610         * sysdeps/wordsize-64/iofopen64.c: File removed.
60612 2012-08-01  Marek Polacek  <polacek@redhat.com>
60614         * libc/Makeconfig: Use elf in place of binfmt-subdir.
60615         Use dlfcn directly instead of a variable.
60616         (binfmt-subdir): Do not define.
60617         (dlfcn): Likewise.
60619 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
60621         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
60622         Remove all definitions.
60623         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
60624         <kernel-features.h>.
60625         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
60626         (miss_F_GETOWN_EX): Remove all definitions.
60627         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
60628         macro definition.
60629         [!__ASSUME_FCNTL64]: Remove conditional code.
60630         [__ASSUME_FCNTL64]: Make code unconditional.
60631         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
60632         <kernel-features.h>.
60633         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
60634         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
60635         (lockf64) [__NR_fcntl64]: Make code unconditional.
60636         (lockf64) [__ASSUME_FCNTL64]: Likewise.
60638         * sysdeps/unix/sysv/linux/kernel-features.h
60639         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
60640         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
60641         Make code unconditional.
60642         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
60643         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
60644         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
60645         [__NR_vfork]: Make code unconditional.
60646         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
60647         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
60648         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
60649         [__NR_vfork]: Make code unconditional.
60650         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
60651         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
60653 2012-08-01  Roland McGrath  <roland@hack.frob.com>
60655         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
60656         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
60658         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
60659         Define mkstemp64 as an alias.
60660         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
60661         Define mkstemps64 as an alias.
60662         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
60663         Define mkostemp64 as an alias.
60664         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
60665         Define mkostemps64 as an alias.
60666         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
60667         Conditionalize body on this.
60668         * misc/mkostemp64.c: Likewise.
60669         * misc/mkostemps64.c: Likewise.
60670         * misc/mkstemps64.c: Likewise.
60671         * sysdeps/wordsize-64/mkstemp64.c: File removed.
60672         * sysdeps/wordsize-64/mkostemp64.c: File removed.
60673         * sysdeps/wordsize-64/mkostemp.c: File removed.
60674         * sysdeps/wordsize-64/mkstemp.c: File removed.
60675         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
60676         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
60677         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
60678         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
60680         [BZ #14138]
60681         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
60682         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
60683         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
60684         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
60686         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
60687         compat_symbol macros from <shlib-compat.h> rather than the underlying
60688         default_symbol_version and symbol_version macros, so that DEFAULT
60689         lines in shlib-versions are respected.
60690         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
60692 2012-08-01  Florian Weimer  <fweimer@redhat.com>
60694         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
60695         Declare with warn_unused_result.
60696         (setgid, setregid, setegid, setresgid): Likewise.
60697         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
60698         Likewise.
60699         * WUR-REPORT: Remove set*id functions.
60701 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
60703         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
60705 2012-07-31  Roland McGrath  <roland@hack.frob.com>
60707         [BZ #10191]
60708         * include/sys/socket.h (__libc_accept, __libc_accept4):
60709         Add attribute_hidden.
60710         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
60712         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
60713         use of PTR_MANGLE.
60714         * inet/getnetgrent_r.c (setup): Likewise.
60716         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
60718 2012-07-31  David S. Miller  <davem@davemloft.net>
60720         * sysdeps/sparc/fpu/libm-test-ulps: Update.
60722 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
60724         [BZ #13629]
60725         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
60726         value between 1.0 and 2.0 and smaller part has absolute value less
60727         than 1.0.
60728         * math/s_clog10.c (__clog10): Likewise.
60729         * math/s_clog10f.c (__clog10f): Likewise.
60730         * math/s_clog10l.c (__clog10l): Likewise.
60731         * math/s_clogf.c (__clogf): Likewise.
60732         * math/s_clogl.c (__clogl): Likewise.
60733         * math/libm-test.inc (clog_test): Add more tests.
60734         (clog10_test): Likewise.
60735         * sysdeps/i386/fpu/libm-test-ulps: Update.
60736         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60738 2012-07-31  Florian Weimer  <fweimer@redhat.com>
60740         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
60741         Exit with zero in case no suitable GID is found, and write a
60742         message to standard error.
60744 2012-07-30  Roland McGrath  <roland@hack.frob.com>
60746         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
60747         rather than to 1.
60748         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
60749         (MAXPATHLEN): Removed.
60750         (NOGROUP, NODEV): New macros.
60751         (setbit, clrbit, isset, isclr): New macros.
60752         (howmany, roundup, powerof2): New macros.
60753         (DEV_BSIZE): New macro.
60755         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
60756         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
60758         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
60759         definition on [!__NO_LONG_DOUBLE_MATH].
60761         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
60762         PTR_MANGLE and PTR_DEMANGLE.
60764         * socket/accept4.c (accept4): Rename to __libc_accept4.
60765         Define accept4 as a weak alias.
60767         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
60768         on [_DIRENT_HAVE_D_TYPE].
60769         * io/ftw.c (ftw_dir): Likewise.
60771         * io/xmknod.c (__xmknod): Don't check PATH for being null.
60773         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
60775         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
60776         Use the BSD numbers rather than the arbitrary ones we had.
60777         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
60778         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
60779         (SIGXCPU, SIGXFSZ): New macros.
60780         (_NSIG): Now 32.
60782         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
60783         initializer on [_LIBC_REENTRANT].
60785         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
60786         definitions inside [_POSIX_MAPPED_FILES].
60788         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
60790         * dirent/opendir.c: Include <fcntl.h>.
60792         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
60793         (__libc_getspecific): Likewise.
60794         (__libc_key_create): Likewise.
60796         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
60797         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
60798         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
60799         (tmpfile64): Define as alias.
60800         * sysdeps/wordsize-64/tmpfile.c: File removed.
60801         * sysdeps/wordsize-64/tmpfile64.c: File removed.
60802         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
60803         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
60805         * stdio-common/vfscanf.c: Include <stdbool.h>.
60806         * nss/makedb.c: Likewise.
60807         * stdio-common/_i18n_number.h: Likewise.
60808         * argp/argp-help.c: Likewise.
60809         * posix/wordexp.c: Likewise.
60810         * sysdeps/posix/spawni.c: Likewise.
60811         * nss/nss_files/files-initgroups.c: Likewise.
60812         * stdio-common/reg-modifier.c: Include <stdlib.h>.
60813         * nss/nss_files/files-initgroups.c: Likewise.
60814         * nss/nss_db/db-netgrp.c: Likewise.
60815         * nss/nss_db/db-initgroups.c: Likewise.
60816         * io/fchmodat.c: Include <sys/stat.h>.
60818         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
60819         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
60821         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
60822         [HAVE_MMAP].
60824         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
60825         Add multiple inclusion protection.
60827 2012-07-27  David S. Miller  <davem@davemloft.net>
60829         * sysdeps/sparc/fpu/libm-test-ulps: Update.
60831 2012-07-27  Gary Benson  <gbenson@redhat.com>
60833         [BZ #14298]
60834         * elf/rtld.c: Include <stap-probe.h>.
60835         (dl_main): Added static probes "init_start" and "init_complete".
60836         * elf/dl-load.c: Include <stap-probe.h>.
60837         (lose): Take new parameter "nsid".
60838         Added static probe "map_failed".
60839         (_dl_map_object_from_fd): Pass namespace id to lose.
60840         Added static probe "map_start".
60841         (open_verify): Pass namespace id to lose.
60842         * elf/dl-open.c: Include <stap-probe.h>.
60843         (dl_open_worker) Added static probes "map_complete", "reloc_start"
60844         and "reloc_complete".
60845         * elf/dl-close.c: Include <stap-probe.h>.
60846         (_dl_close_worker): Added static probes "unmap_start" and
60847         "unmap_complete".
60848         * elf/rtld-debugger-interface.txt: New file documenting the above.
60850 2012-07-26  Roland McGrath  <roland@hack.frob.com>
60852         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
60853         rather than a string variable.
60854         * sunrpc/rpc_main.c (h_output): Likewise.
60855         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
60857 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
60859         * inet/check_native.c: New file.
60861 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
60863         [BZ #13629]
60864         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
60865         if larger part has absolute value 1.0.
60866         * math/s_clog10.c (__clog10): Likewise.
60867         * math/s_clog10f.c (__clog10f): Likewise.
60868         * math/s_clog10l.c (__clog10l): Likewise.
60869         * math/s_clogf.c (__clogf): Likewise.
60870         * math/s_clogl.c (__clogl): Likewise.
60871         * math/libm-test.inc (clog_test): Add more tests.
60872         (clog10_test): Likewise.
60873         * sysdeps/i386/fpu/libm-test-ulps: Update.
60874         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60876         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
60877         (pltexit): Likewise.
60878         (La_regs): Likewise.
60879         (La_retval): Likewise.
60880         (int_retval): Likewise.
60881         Update #error for removed macros to refer only to definitions in
60882         tst-audit.h.
60883         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
60884         macro.
60885         (pltexit): Likewise.
60886         (La_regs): Likewise.
60887         (La_retval): Likewise.
60888         (int_retval): Likewise.
60889         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
60890         macro.
60891         (pltexit): Likewise.
60892         (La_regs): Likewise.
60893         (La_retval): Likewise.
60894         (int_retval): Likewise.
60895         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
60896         macro.
60897         (pltexit): Likewise.
60898         (La_regs): Likewise.
60899         (La_retval): Likewise.
60900         (int_retval): Likewise.
60901         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
60902         macro.
60903         (pltexit): Likewise.
60904         (La_regs): Likewise.
60905         (La_retval): Likewise.
60906         (int_retval): Likewise.
60907         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
60908         macro.
60909         (pltexit): Likewise.
60910         (La_regs): Likewise.
60911         (La_retval): Likewise.
60912         (int_retval): Likewise.
60913         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
60914         macro.
60915         (pltexit): Likewise.
60916         (La_regs): Likewise.
60917         (La_retval): Likewise.
60918         (int_retval): Likewise.
60919         * sysdeps/generic/tst-audit.h: Update comment to refer only to
60920         macro definitions in tst-audit.h.
60921         * sysdeps/i386/tst-audit.h: New file.
60922         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
60923         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
60924         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
60925         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
60926         * sysdeps/sh/tst-audit.h: Likewise.
60927         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
60928         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
60929         * sysdeps/x86_64/tst-audit.h: Likewise.
60931 2012-07-26  Andreas Jaeger  <aj@suse.de>
60933         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
60934         ptrace.
60936         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
60937         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
60938         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
60939         PTRACE_O_MASK.
60940         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
60941         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
60942         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
60944         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
60945         value.
60947         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
60948         _sigsys.
60949         (si_call_addr, si_syscall, si_arch): Define new macro.
60950         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
60951         _sigsys.
60952         (si_call_addr, si_syscall, si_arch): Define new marcro.
60953         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
60954         _sigsys.
60955         (si_call_addr, si_syscall, si_arch): Define new macro.
60956         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
60957         _sigsys.
60958         (si_call_addr, si_syscall, si_arch): Define new macro.
60960 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
60962         [BZ #13717]
60963         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
60964         Change to 2.4.21 where previously 2.4.1.
60965         * sysdeps/unix/sysv/linux/configure: Regenerated.
60966         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
60967         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
60968         Linux kernel version.
60969         (__ASSUME_STD_AUXV): Remove.
60970         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
60971         kernel version.
60972         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
60973         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
60974         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
60975         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
60976         (__ASSUME_NETLINK_SUPPORT): Likewise.
60977         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
60978         (__no_netlink_support): Remove conditional definition.
60979         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
60980         Remove.
60981         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
60982         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
60983         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
60984         (if_nameindex_ioctl): Remove.
60985         (if_nameindex_netlink): Do not handle __no_netlink_support.
60986         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
60987         code.
60988         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
60989         Remove conditional code.
60990         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
60991         code.
60992         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
60993         unconditional.
60994         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
60995         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
60996         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
60997         Remove.
60998         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
60999         [!__ASSUME_STD_AUXV]: Remove conditional code.
61000         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
61001         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
61002         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
61003         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
61004         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
61005         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
61006         code.
61007         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
61008         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
61009         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
61010         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
61011         conditional code.
61012         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
61013         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
61014         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
61015         code.
61016         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
61017         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
61018         conditional code.
61019         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
61020         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
61021         code unconditional.
61022         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
61023         conditional code.
61024         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
61025         unconditional.
61026         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
61027         conditional code.
61028         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
61029         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
61030         unconditional.
61031         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
61032         conditional code.
61033         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
61034         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
61035         code unconditional.
61036         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
61037         conditional code.
61038         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
61039         unconditional.
61040         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
61041         conditional code.
61042         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
61043         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
61044         code unconditional.
61045         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
61046         conditional code.
61047         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
61048         unconditional.
61049         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
61050         conditional code.
61052 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
61054         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
61055         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
61056         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
61057         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
61058         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
61059         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
61060         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
61061         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
61062         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
61063         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
61064         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
61065         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
61066         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
61067         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
61068         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
61069         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
61070         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
61071         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
61072         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
61073         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
61074         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
61075         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
61076         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
61078 2012-07-25  Florian Weimer  <fweimer@redhat.com>
61080         * Versions.def: Add GLIBC_2.17.
61081         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
61082         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
61083         Introduce __libc_secure_getenv.
61084         * stdlib/Versions (2.17): Add secure_getenv
61085         (GLIBC_PRIVATE): Add __libc_secure_getenv.
61086         * stdlib/secure-getenv.c: Rename __secure_getenv to
61087         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
61088         symbol __secure_getenv for GLIBC_2.0.
61089         * stdlib/tst-secure-getenv.c: New.
61090         * stdlib/Makefile (tests): Add testcase.
61091         * manual/startup.texi (Environment Access): Document
61092         secure_getenv.
61093         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
61094         __libc_secure_getenv.
61095         * inet/ruserpass.c (ruserpass): Likewise.
61096         * malloc/mtrace.c (mtrace): Likewise.
61097         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
61098         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
61099         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
61100         * sysdeps/posix/tempname.c: Likewise.  Evaluate
61101         HAVE_SECURE_GETENV.
61102         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
61103         __secure_getenv to __libc_secure_getenv.
61104         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
61105         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
61106         Likewise.
61107         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
61108         Likewise.
61109         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
61110         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
61111         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
61112         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
61113         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
61114         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
61115         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
61117 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
61119         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
61120         (struct La_i86_retval): Likewise.
61121         (struct La_x86_64_regs): Likewise.
61122         (struct La_x86_64_retval): Likewise.
61123         (struct La_x32_regs): Likewise.
61124         (struct La_x32_retval): Likewise.
61125         (struct La_ppc32_regs): Likewise.
61126         (struct La_ppc32_retval): Likewise.
61127         (struct La_ppc64_regs): Likewise.
61128         (struct La_ppc64_retval): Likewise.
61129         (struct La_sh_regs): Likewise.
61130         (struct La_sh_retval): Likewise.
61131         (struct La_s390_32_regs): Likewise.
61132         (struct La_s390_32_retval): Likewise.
61133         (struct La_s390_64_regs): Likewise.
61134         (struct La_s390_64_retval): Likewise.
61135         (struct La_sparc32_regs): Likewise.
61136         (struct La_sparc32_retval): Likewise.
61137         (struct La_sparc64_regs): Likewise.
61138         (struct La_sparc64_retval): Likewise.
61139         (struct audit_ifaces): Remove architecture-specific pltenter and
61140         pltexit members.
61141         * sysdeps/i386/ldsodefs.h: New file.
61142         * sysdeps/powerpc/ldsodefs.h: Likewise.
61143         * sysdeps/s390/ldsodefs.h: Likewise.
61144         * sysdeps/sh/ldsodefs.h: Likewise.
61145         * sysdeps/sparc/ldsodefs.h: Likewise.
61146         * sysdeps/x86_64/ldsodefs.h: Likewise.
61148 2012-07-25  Marek Polacek  <polacek@redhat.com>
61150         [BZ #6808]
61151         * math/libm-test.inc (yn_test): Add another test.
61152         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
61153         to ERANGE when the result is +-Inf.
61154         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
61155         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
61156         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
61157         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
61159 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
61161         * conform/data/time.h-data (NULL): Use macro-constant.  Require
61162         equal to 0.
61163         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
61164         clock_t.
61165         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
61167 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
61169         * configure.in <sysdeps resolving>: Correct printing
61170         Implies_before.
61171         * configure: Regenerate.
61173 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
61175         * math/w_ilogb.c: Include <limits.h>.
61176         * math/w_ilogbl.c: Likewise.
61178 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
61180         * manual/lang.texi (__va_copy): Document primarily as ISO C99
61181         va_copy.  Document allowing for unavailable va_copy only as
61182         pre-C99 compatibility.
61183         * manual/string.texi (Copying and Concatenation): Use va_copy
61184         instead of __va_copy in concat example.
61186 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
61188         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
61189         (__sendto): Use create_address_port.  Initialize APORT and deallocate
61190         it if not null.
61192         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
61193         with O_NOLINK passed to __file_name_lookup.
61195         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
61196         with O_NOLINK passed to __file_name_lookup.
61198         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
61199         negative N or less than NGIDS.
61201         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
61202         type to string_t.  Set ERANGE as errno and return it if NAME is not big
61203         enough.  Use memcpy instead of strncpy.
61205 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
61207         * elf/Makefile (check-data): Remove.
61208         (localplt.data): New vpath directive.
61209         ($(objpfx)check-localplt.out): Use localplt.data from vpath
61210         instead of $(check-data).
61211         * scripts/data/localplt-generic.data: Move to ...
61212         * sysdeps/generic/localplt.data: ... here.
61213         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
61214         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
61215         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
61216         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
61217         ... here.
61218         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
61219         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
61220         ... here.
61221         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
61222         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
61223         ... here.
61224         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
61225         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
61226         ... here.
61227         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
61228         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
61229         ... here.
61230         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
61231         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
61232         ... here.
61234 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61236         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
61237         PPC32 and PPC64 files.
61238         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
61239         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
61241 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
61243         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
61244         __makecontext_ret to ...
61245         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
61246         ... here and call exit if uc_link is NULL.  New file.
61247         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
61248         __makecontext_ret.S.
61249         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
61250         __makecontext_ret to ...
61251         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
61252         ... here and call exit if uc_link is NULL.  New file.
61253         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
61254         __makecontext_ret.S.
61256 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
61258         * elf/elf.h (R_390_IRELATIVE): New definition.
61259         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
61260         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
61261         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
61262         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
61263         (elf_machine_lazy_rel): Likewise.
61264         * sysdeps/s390/dl-irel.h: New file.
61265         * sysdeps/s390/s390-64/memcpy.S: New asm code.
61266         * sysdeps/s390/s390-64/memset.S: New asm code.
61267         * sysdeps/s390/s390-64/memcmp.S: New asm code.
61268         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
61269         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
61270         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
61271         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
61272         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
61273         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
61274         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
61275         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
61276         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
61277         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
61278         * sysdeps/s390/s390-32/memcpy.S: New asm code.
61279         * sysdeps/s390/s390-32/memset.S: New asm code.
61280         * sysdeps/s390/s390-32/memcmp.S: New asm code.
61282 2012-07-17  Marek Polacek  <polacek@redhat.com>
61284         [BZ #14349]
61285         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
61286         * sysdeps/s390/s390-64/configure.in: Likewise.
61287         * sysdeps/sparc/configure.in: Likewise.
61288         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
61289         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
61290         * sysdeps/i386/configure.in: Likewise.
61291         * sysdeps/x86_64/configure.in: Likewise.
61292         * sysdeps/sh/configure.in: Likewise.
61293         * sysdeps/s390/s390-32/configure: Regenerated.
61294         * sysdeps/s390/s390-64/configure: Likewise.
61295         * sysdeps/x86_64/configure: Likewise.
61296         * sysdeps/sh/configure: Likewise.
61297         * sysdeps/powerpc/powerpc64/configure: Likewise.
61298         * sysdeps/powerpc/powerpc32/configure: Likewise.
61299         * sysdeps/sparc/configure: Likwise.
61300         * sysdeps/i386/configure: Likewise.
61302         * elf/dl-open.c: Comment fixes.
61304 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
61306         * Makefile [CXX] (check-data): Remove.
61307         [CXX] (c++-types.data): New vpath directive.
61308         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
61309         vpath.  Do not allow for C++ type data being missing.
61310         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
61311         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
61312         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
61313         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
61314         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
61315         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
61316         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
61317         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
61318         ... here.
61319         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
61320         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
61321         ... here.
61322         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
61323         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
61324         ... here.
61325         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
61326         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
61327         ... here.
61328         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
61329         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
61330         ... here.
61331         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
61332         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
61333         ... here.
61334         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
61335         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
61336         ... here.
61337         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
61338         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
61340         * elf/tls-macros.h (TLS_LE): Move architecture-specific
61341         definitions to architecture-specific files.
61342         (TLS_IE): Likewise.
61343         (TLS_LD): Likewise.
61344         (TLS_GD): Likewise.
61345         * sysdeps/i386/tls-macros.h: New file.
61346         * sysdeps/powerpc/tls-macros.h: Likewise.
61347         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
61348         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
61349         * sysdeps/sh/tls-macros.h: Likewise.
61350         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
61351         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
61352         * sysdeps/x86_64/tls-macros.h: Likewise.
61354 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
61356         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
61357         zero value for regular exit case.
61359         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
61360         (__start_context): Preserve zero value for regular exit case.
61362 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
61363             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
61365         * manual/setjmp.texi (setcontext): Clarify normal process
61366         termination when uc_link is the null pointer.
61367         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
61368         exit call.
61370 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
61372         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
61373         preprocessor.  Test for each exception mask separately.
61375 2012-07-16  Andreas Jaeger  <aj@suse.de>
61377         * po/ru.po: Update from translation team.
61379 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
61381         * conform/data/string.h-data (NULL): Use macro-constant.  Require
61382         equal to 0.
61383         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
61384         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
61385         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
61386         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
61387         [ISO || ISO99 || ISO11] (*_t): Do not allow.
61389 2012-07-13  Andreas Jaeger  <aj@suse.de>
61391         * po/fr.po: Update from translation team.
61393 2012-07-12  Marek Polacek  <polacek@redhat.com>
61395         [BZ #14173]
61396         * math/libm-test.inc (yn_test): Add test for BZ #14173.
61397         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
61398         loop condition.
61400 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
61402         [BZ #13717]
61403         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
61404         Change to 2.4.1 where previously 2.4.0.
61405         * sysdeps/unix/sysv/linux/configure: Regenerated.
61406         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
61407         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
61408         version.
61409         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
61410         (__ASSUME_AT_CLKTCK): Remove.
61411         (__ASSUME_AT_PAGESIZE): Likewise.
61412         (__ASSUME_AT_XID): Likewise.
61413         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
61414         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
61415         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
61416         unconditionally.
61417         (HAVE_AUX_PAGESIZE): Likewise.
61418         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
61419         [__ASSUME_AT_CLKTCK]: Make code unconditional.
61420         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
61422 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
61424         [BZ #14307]
61425         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
61426         the temporary buffer used to invoke __gethostbyname2_r,
61427         __gethostbyaddr_r and gethostbyname4_r to make room for struct
61428         host_data / struct gaih_addrtuple.
61429         * resolv/nss_dns/dns-host.c (global scope): Move definition of
61430         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
61431         header file nss/nsswitch.h.
61432         * nss/nsswitch.h (global scope): Add definition of implementation
61433         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
61434         resolv/nss_dns/dns-host.c).
61436 2012-07-11  Andreas Jaeger  <aj@suse.de>
61438         * po/fr.po: Update from translation team.
61440         * po/sv.po: Update from translation team
61441         * po/fr.po: Another update from translation team.
61443 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61445         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
61446         for subnormals or multiply small sinh result by itself.
61447         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
61448         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
61450 2012-07-11  David S. Miller  <davem@davemloft.net>
61452         * sysdeps/sparc/fpu/libm-test-ulps: Update.
61454 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
61456         [BZ #14347]
61457         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
61458         (INTERNAL_MARK): Shift it here.
61460 2012-07-10  Marek Polacek  <polacek@redhat.com>
61462         [BZ #14151]
61463         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
61464         libc_cv_asm_global_directive with .globl.
61465         * configure: Regenerated.
61466         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
61467         with .globl.
61468         * sysdeps/i386/configure: Regenerated.
61469         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
61470         with .globl.
61471         * sysdeps/x86_64/configure: Regenerated.
61472         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
61473         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
61474         * elf/tst-unique2mod2.c: Likewise.
61475         * elf/tst-unique2mod1.c: Likewise.
61476         * elf/tst-unique1mod2.c: Likewise.
61477         * elf/tst-unique1mod1.c: Likewise.
61478         * sysdeps/s390/s390-32/sysdep.h: Likewise.
61479         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
61480         * sysdeps/s390/s390-64/sysdep.h: Likewise.
61481         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
61482         * sysdeps/mach/sysdep.h: Likewise.
61483         * sysdeps/i386/sysdep.h: Likewise.
61484         * sysdeps/i386/i386-mcount.S: Likewise.
61485         * sysdeps/x86_64/_mcount.S: Likewise.
61486         * sysdeps/x86_64/sysdep.h: Likewise.
61487         * sysdeps/sh/_mcount.S: Likewise.
61488         * sysdeps/sh/sysdep.h: Likewise.
61489         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
61490         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
61491         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
61492         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
61493         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
61494         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
61495         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
61496         * locale/localeinfo.h: Likewise.
61497         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
61498         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
61500 2012-07-09  Roland McGrath  <roland@hack.frob.com>
61502         [BZ #14336]
61503         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
61504         system".
61505         * manual/message.texi (The Uniforum approach): Likewise.
61506         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
61507         (glibc iconv Implementation): Likewise.
61509 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
61511         [BZ #14337]
61512         * math/s_clog.c (__clog): Avoid scaling a value down where that
61513         could result in underflow.
61514         * math/s_clog10.c (__clog10): Likewise.
61515         * math/s_clog10f.c (__clog10f): Likewise.
61516         * math/s_clog10l.c (__clog10l): Likewise.
61517         * math/s_clogf.c (__clogf): Likewise.
61518         * math/s_clogl.c (__clogl): Likewise.
61519         * math/libm-test.inc (clog_test): Add more tests.
61520         (clog10_test): Likewise.
61521         * sysdeps/i386/fpu/libm-test-ulps: Update.
61522         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61524 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
61526         [BZ #14283]
61527         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
61528         by 7 not 8 to examine high bit of fractional part.
61530         [BZ #14042]
61531         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
61532         for call to __mcount_internal.
61533         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
61534         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
61535         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
61537 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
61539         [BZ #14154]
61540         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
61541         approximation for values within 0x1p-13f of an odd multiple of
61542         pi/4.
61543         * math/libm-test.inc (tan_test): Do not allow spurious underflow
61544         exception.  Add more tests.
61545         * sysdeps/i386/fpu/libm-test-ulps: Update.
61547         [BZ #6778]
61548         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
61549         inputs and return -1 for them.  Do not check for +Inf in case not
61550         reachable for +Inf.
61551         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
61552         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
61553         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
61554         and return -1 for them.  Do not check for +Inf in case not
61555         reachable for +Inf.
61556         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
61557         define.
61558         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
61559         and return -1 for them.  Do not check for +Inf in case not
61560         reachable for +Inf.
61561         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
61562         spurious underflow.
61563         * sysdeps/i386/fpu/libm-test-ulps: Update.
61564         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61566 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
61568         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
61570 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
61572         [BZ #14157]
61573         [BZ #14331]
61574         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
61575         could result in spurious underflow.  Scale down values above
61576         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
61577         * math/s_csqrtf.c (__csqrtf): Likewise.
61578         * math/s_csqrtl.c (__csqrtl): Likewise.
61579         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
61580         spurious underflow.
61581         * sysdeps/i386/fpu/libm-test-ulps: Update.
61582         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61584 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
61586         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
61587         xopen-msg.sed.
61588         * catgets/xopen-msg.awk: New file.
61589         * catgets/xopen-msg.sed: Removed.
61591         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
61592         po2text.sed.
61593         * intl/po2test.awk: New file.
61594         * intl/po2test.sed: Removed.
61596 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
61598         [BZ #14328]
61599         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
61600         or multiply small sinh result by itself.
61601         * math/s_ctanf.c (__ctanf): Likewise.
61602         * math/s_ctanh.c (__ctanh): Likewise.
61603         * math/s_ctanhf.c (__ctanhf): Likewise.
61604         * math/s_ctanhl.c (__ctanhl): Likewise.
61605         * math/s_ctanl.c (__ctanl): Likewise.
61606         * math/libm-test.inc (ctan_test_tonearest): New function.
61607         (ctan_test_towardzero): Likewise.
61608         (ctan_test_downward): Likewise.
61609         (ctan_test_upward): Likewise.
61610         (ctanh_test_tonearest): Likewise.
61611         (ctanh_test_towardzero): Likewise.
61612         (ctanh_test_downward): Likewise.
61613         (ctanh_test_upward): Likewise.
61614         (main): Call these new functions.
61615         * sysdeps/i386/fpu/libm-test-ulps: Update.
61616         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61618 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
61620         * .gitignore: Delete /ports entry.
61622 2012-07-03  Andreas Jaeger  <aj@suse.de>
61624         * po/bg.po: Update from translation team.
61625         * po/cs.po: Likewise.
61626         * po/de.po: Likewise.
61627         * po/hr.po: Likewise.
61628         * po/nl.pl: Likewise.
61629         * po/pl.po: Likewise.
61630         * po/vi.po: Likewise.
61632 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
61634         * Makeconfig [!+link] (+link-before-libc): New variable.
61635         [!+link] (+link-after-libc): Likewise.
61636         [!+link] (+link-tests): Likewise.
61637         [!+link] (+link): Define in terms of $(+link-before-libc) and
61638         $(+link-after-libc).
61639         [!+link-static] (+link-static-before-libc): New variable.
61640         [!+link-static] (+link-static-after-libc): Likewise.
61641         [!+link-static] (+link-static-tests): Likewise.
61642         [!+link-static] (+link-static): Define in terms of
61643         $(+link-static-before-libc) and $(+link-static-after-libc).
61644         [build-shared] (link-libc-before-gnulib): New variable.
61645         [build-shared] (link-libc-tests): Likewise.
61646         [build-shared] (link-libc): Define in terms of
61647         $(link-libc-before-gnulib).
61648         [!build-shared] (link-libc-tests): New variable.
61649         (link-libc-static-tests): New variable.
61650         [!gnulib] (gnulib-arch): New variable.
61651         [!gnulib] (gnulib-tests): Likewise.
61652         [!gnulib] (static-gnulib-arch): Likewise.
61653         [!gnulib] (static-gnulib-tests): Likewise.
61654         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
61655         Define with "=" instead of ":=".
61656         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
61657         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
61658         * Rules (binaries-all-notests): New variable.
61659         (binaries-all-tests): Likewise.
61660         (binaries-static-notests): Likewise.
61661         (binaries-static-tests): Likewise.
61662         (binaries-all): Define using $(binaries-all-notests) and
61663         $(binaries-all-tests).
61664         (binaries-static): Define using $(binaries-static-notests) and
61665         $(binaries-static-tests).
61666         (binaries-shared-tests): New variable.
61667         (binaries-shared-notests): Likewise.
61668         (binaries-shared): Remove variable.
61669         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
61670         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
61671         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
61672         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
61673         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
61674         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
61675         * elf/Makefile (sln-modules): New variable.
61676         (extra-objs): Add $(sln-modules:=.o).
61677         (ldconfig-modules): Add static-stubs.
61678         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
61679         * elf/static-stubs.c: New file.
61681         [BZ #14283]
61682         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
61683         by 7 not 8 to examine high bit of fractional part.  Use volatile
61684         variables when splitting into final array of floats if
61685         __FLT_EVAL_METHOD__ != 0.
61686         * math/libm-test.inc (cos_test): Add another test.
61687         (sin_test): Likewise.
61688         * sysdeps/i386/fpu/libm-test-ulps: Update.
61690         [BZ #14273]
61691         * math/libm-test.inc (cosh_test): Add more tests.
61693         * version.h (RELEASE): Set to "development".
61694         (VERSION): Set to "2.16.90".
61696 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
61698         * NEWS: Update copyright. Remove last-updated date.
61699         Mention math library bug fixes and timezone data changes.
61700         * README: Mention GNU/Hurd, x32, and HPPA support status.
61702 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
61704         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
61706 2012-06-27  Andreas Jaeger  <aj@suse.de>
61708         * manual/contrib.texi (Contributors): Add Samuel Thibault.
61710 2012-06-25  Andreas Jaeger  <aj@suse.de>
61712         * sysdeps/s390/fpu/libm-test-ulps: Update.
61714 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
61715             Thomas Schwinge  <thomas@codesourcery.com>
61717         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
61718         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
61719         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
61720         fanotify_mark.
61722 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
61724         * sysdeps/mach/start.c: Remove file.
61725         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
61726         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
61727         * sysdeps/sh/init-first.c: Likewise.
61729         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
61730         registers for frame unwinding purposes, add CFI directives.
61731         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
61732         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise.
61733         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
61734         Likewise.
61736         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
61737         __fortify_fail returning.
61738         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
61740         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
61741         sysdeps/sh/____longjmp_chk.S.
61742         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
61743         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
61744         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
61745         (gen-as-const-headers): Append sigaltstack-offsets.sym.
61747         * sysdeps/sh/abort-instr.h: New file.
61748         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
61749         process in case exit returns.
61751         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
61752         initialize the GOT register before use.
61754         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
61755         calculation of ARGC > 4.
61757         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
61758         meaningful names to some local labels.
61760 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
61761             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
61763         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
61764         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
61765         (__arch_compare_and_exchange_val_16_acq): Likewise.
61766         (__arch_compare_and_exchange_val_32_acq): Likewise.
61767         (atomic_exchange_and_add): Fix gUSA sequence.
61768         (atomic_add): Likewise.
61769         (atomic_add_negative): Likewise.
61770         (atomic_add_zero): Likewise.
61771         (atomic_bit_test_set): Likewise.
61773 2012-06-22  Andreas Schwab  <schwab@redhat.com>
61775         [BZ #13579]
61776         * include/link.h (struct link_map): Add l_free_initfini.
61777         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
61778         l_initfini.
61779         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
61780         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
61781         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
61782         set.
61784 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
61786         * configure.in: Use AC_LANG_SOURCE.
61787         * configure: Regenerate.
61789 2012-06-22  Roland McGrath  <roland@hack.frob.com>
61791         * configure.in (libc_cv_localstatedir): New substituted variable.
61792         * configure: Regenerated.
61793         * config.make.in (localstatedir): New variable, substituted from
61794         libc_cv_localstatedir.
61795         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
61796         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
61797         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
61798         * sysdeps/gnu/configure: Regenerated.
61800 2012-06-21  Jeff Law  <law@redhat.com>
61802         [BZ #14277]
61803         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
61804         free.  Simplify list management for _LIBC case.
61806 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
61808         [BZ #14273]
61809         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
61810         Clear sign bit of 64-bit integer value before comparing against
61811         overflow value.
61813         * sysdeps/mach/configure: Regenerated.
61815 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
61817         [BZ #14278]
61818         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
61820 2012-06-21  Jeff Law  <law@redhat.com>
61822         [BZ #13882]
61823         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
61824         uint16_t for elements in the "seen" array to avoid char overflows.
61825         * elf/dl-fini.c (_dl_sort_fini): Likewise.
61826         * elf/dl-open.c (dl_open_worker): Likewise.
61828 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
61830         * scripts/list-sources.sh: Scan PORTS for translations.
61831         * po/libc.pot: Regenerated.
61833 2012-06-21  Andreas Jaeger  <aj@suse.de>
61835         [BZ #12194]
61836         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
61837         warning.
61838         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
61839         * bits/byteswap-16.h (__bswap_16): Likewise.
61840         * bits/byteswap.h (__bswap_constant_16): Likewise.
61842 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
61844         [BZ #14117]
61845         * sysdeps/i386/fpu_control.h: Removed.
61846         * sysdeps/x86_64/fpu_control.h: Moved to ...
61847         * sysdeps/x86/fpu_control.h: Here.
61849         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
61850         (_FPU_SETCW): Likewise.
61852 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
61854         [BZ #14117]
61855         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
61856         * sysdeps/x86/fpu/bits/mathinline.h: This.
61857         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
61859         [BZ #14050]
61860         [BZ #14117]
61861         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
61862         functions if __x86_64__ is defined.
61864 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
61866         * string/endian.h: Add !__ASSEMBLER__ condition for including
61867         conversion interfaces.
61869 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
61871         [BZ #14241]
61872         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
61873         of ABS(x) in calculating zero to negative powers other than odd
61874         integers.
61875         * math/libm-test.inc (pow_test): Add more tests.
61877 2012-06-15  Andreas Jaeger  <aj@suse.de>
61879         * manual/contrib.texi (Contributors): Update entry of Liubov
61880         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
61881         Machado Filho.
61883 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
61885         * string/string.h: Add __wur to GNU version of strerror_r.
61887 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
61889         [BZ #14229]
61890         * string/Makefile (tests): Add tst-strtok_r.
61891         * string/tst-strtok_r.c: New file.
61892         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
61893         RAX_LP/RDX_LP on SAVE_PTR.
61895 2012-06-14  Roland McGrath  <roland@hack.frob.com>
61897         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
61899 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
61901         * libm_test.inc (csqrt_test): Allow more spurious underflow
61902         exceptions.
61903         (j0_test): Likewise.
61904         (j1_test): Likewise.
61905         (y0_test): Likewise.
61906         (y1_test): Likewise.
61908 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
61910         * po/Makefile (libc.pot): Use UTF-8 charset.
61912 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
61914         [BZ #14210]
61915         Suppress sign-conversion warning from FD_SET.
61916         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
61917         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
61918         not unsigned long int.
61919         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
61921 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
61923         [BZ #14050]
61924         [BZ #14117]
61925         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
61926         __extern_always_inline instead of __extern_inline.
61927         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
61928         (__signbit): Likewise.
61929         (__signbitl): Support C++ namespace.
61930         (lrintf): New inline function.
61931         (lrint): Likewise.
61932         (llrintf): Likewise.
61933         (llrint): Likewise.
61934         (fmaxf): Likewise.
61935         (fmax): Likewise.
61936         (fminf): Likewise.
61937         (fmin): Likewise.
61938         (rint): Likewise.
61939         (rintf): Likewise.
61940         (ceil): Likewise.
61941         (ceilf): Likewise.
61942         (floor): Likewise.
61943         (floorf): Likewise.
61944         (nearbyint): Likewise.
61945         (nearbyintf): Likewise.
61947 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
61949         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
61950         non-default versions.
61952 2012-06-11  Roland McGrath  <roland@hack.frob.com>
61954         [BZ #14218]
61955         * manual/argp.texi (Argp): Reword argp_parse description slightly.
61957 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
61959         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
61960         (FE_UPWARD, FE_DOWNWARD): Don't define.
61961         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
61962         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
61964         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
61965         reading it.
61966         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
61967         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
61969 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
61971         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
61972         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
61973         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
61974         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
61976 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
61978         [BZ #14117]
61979         * sysdeps/i386/fpu/bits/fenv.h: Removed.
61980         * sysdeps/i386/fpu/Implies: New file.
61981         * sysdeps/x86_64/fpu/Implies: Likewise.
61982         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
61983         * sysdeps/x86/fpu/bits/fenv.h: This.
61985         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
61986         __SSE_MATH__.
61988 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
61990         [BZ #14134]
61991         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
61992         character 0xffff that matches the last element of the
61993         conversion table.
61995 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61997         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
61998         fmodl commit.
62000 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62002         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
62003         values higher than 25.6283.
62005 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62007         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
62008         subnormal exponent extraction and add some __builtin_expect.
62009         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
62010         Fix for subnormal mantissa calculation.
62012 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
62014         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
62015         cpu2 is -1 and errno is not ENOSYS.
62017 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
62019         [BZ #14117]
62020         * sysdeps/i386/i486/bits/string.h: Renamed to ...
62021         * sysdeps/x86/bits/string.h: This.
62022         * sysdeps/x86_64/bits/string.h: Removed.
62024         * sysdeps/i386/i486/bits/string.h: Define inline functions only
62025         if not compiling for x86-64, but compiling for >= i486.
62027         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
62028         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
62030         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
62031         New macro from Linux kernel 3.4.0.
62032         (FP_XSTATE_MAGIC2): Likewise.
62033         (FP_XSTATE_MAGIC2_SIZE): Likewise.
62034         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
62035         (struct _fpx_sw_bytes): New struct.
62036         (struct _xsave_hdr): Likewise.
62037         (struct _ymmh_state): Likewise.
62038         (struct _xstate): Likewise.
62040         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
62041         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
62042         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
62043         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
62044         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
62045         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
62047         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
62048         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
62049         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
62050         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
62051         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
62052         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
62054 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
62056         [BZ #13743]
62057         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
62058         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
62059         (sysdep_headers): Include sys/platform/ppc.h.
62060         * sysdeps/powerpc/test-gettimebase.c: Test for
62061         __ppc_get_timebase() to catch future ISA opcode/insn changes.
62062         * manual/Makefile (appendices): Include platform.texi.
62063         * manual/contrib.texi (Contributors): Update @node pointers.
62064         * manual/maint.texi (Maintenance): Likewise.
62065         (Platform): New node.
62066         * manual/platform.texi: New file.  Document the new features.
62068 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
62069             Jakub Jelinek  <jakub@redhat.com>
62071         [BZ #14188]
62072         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
62073         where __builtin_expect is unavailable.
62075 2012-06-03  David S. Miller  <davem@davemloft.net>
62077         * stdlib/longlong.h: Updated from GCC.
62079 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
62081         [BZ #14042]
62082         * sysdeps/powerpc/powerpc32/mcount.c: New file.
62083         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
62084         __mcount_internal.
62085         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
62086         (GLIBC_2.16): Likewise.
62088 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
62090         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
62092 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
62094         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
62095         (default-abi): New variable.
62096         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
62097         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
62098         variable.
62099         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
62100         Likewise.
62101         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
62102         Likewise.
62103         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
62104         Likewise.
62106         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
62107         definition.  Document in comment.
62109 2012-06-01  David S. Miller  <davem@davemloft.net>
62111         * stdlib/longlong.h: Updated from GCC.
62113 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
62115         [BZ #14117]
62116         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
62117         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
62118         sys/debugreg.h sys/io.h here.
62119         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
62120         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
62121         sys/io.h.
62122         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
62123         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
62124         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
62125         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
62126         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
62127         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
62129         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
62130         Define only if __x86_64__ is defined.
62132 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
62134         [BZ #14048]
62135         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
62136         Use int64_t for variable i.
62137         * math/libm-test.inc (fmod_test): Add more tests.
62139         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
62140         z computation is not scheduled after fetestexcept.
62141         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
62142         Use math_force_eval instead of asm to ensure calculation scheduled
62143         before exception test.
62144         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
62145         Ensure a1 + u.d computation is not scheduled after fetestexcept.
62147 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
62149         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
62150         computation is not scheduled after fetestexcept.
62152 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
62154         [BZ #14117]
62155         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
62156         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
62158 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62160         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
62161         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
62163 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
62165         [BZ #14117]
62166         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
62167         <bits/wordsize.h>.
62168         (__WCHAR_MIN): Support __WORDSIZE == 64.
62169         (__WCHAR_MAX): Likewise.
62171         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
62172         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
62174         [BZ #14183]
62175         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
62176         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
62178         [BZ #14117]
62179         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
62180         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
62182         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
62183         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
62185         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
62186         Defined to 1 if __x86_64__ isn't defined.
62187         (_STAT_VER_LINUX_OLD): New.
62188         (st_atime): Remove duplicate.
62189         (st_mtime): Likewise.
62190         (st_ctime): Likewise.
62192 2012-05-31  David S. Miller  <davem@davemloft.net>
62194         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
62195         entries.
62197 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
62199         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
62200         gen-libm-test.pl.
62202         [BZ #14132]
62203         * elf/dl-reloc.c: Include <_itoa.h>.
62204         (_dl_reloc_bad_type): Remove use of INTUSE.
62205         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
62206         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
62207         * stdio-common/psiginfo.c (psiginfo): Likewise.
62208         * stdio-common/psignal.c (psignal): Likewise.
62209         * string/strsignal.c (strsignal): Likewise.
62210         * include/signal.h (_sys_siglist): Declare hidden proto.
62211         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
62212         INTVARDEF with libc_hidden_data_def.
62213         * stdio-common/itoa-udigits.c: Likewise.
62214         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
62215         (_itoa_lower_digits_internal): Remove declaration.
62216         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
62217         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
62218         (_sys_sigabbrev_internal): Remove aliases.
62219         (_sys_siglist): Define hidden alias.
62221 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
62223         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
62224         bits/sysctl.h.
62226 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
62228         [BZ #14117]
62229         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
62230         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
62232         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
62233         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
62234         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
62235         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
62236         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
62237         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
62239         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
62240         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
62241         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
62243         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
62244         with __addr.
62245         (insw): Likewise.
62246         (insl): Likewise.
62247         (outsb): Likewise.
62248         (outsw): Likewise.
62249         (outsl): Likewise.
62251         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
62252         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
62253         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
62255         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
62256         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
62257         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
62258         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
62259         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
62260         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
62262         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
62263         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
62265         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
62266         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
62268         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
62269         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
62270         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
62272         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
62273         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
62274         to ...
62275         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
62277         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
62278         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
62279         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
62281         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
62282         for x86-64.
62283         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
62285 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
62287         * math/math.h (M_El): Use two more decimal places.
62288         (M_LOG2El): Likewise.
62289         (M_LOG10El): Likewise.
62290         (M_LN2l): Likewise.
62291         (M_LN10l): Likewise.
62292         (M_PIl): Likewise.
62293         (M_PI_2l): Likewise.
62294         (M_PI_4l): Likewise.
62295         (M_1_PIl): Likewise.
62296         (M_2_PIl): Likewise.
62297         (M_2_SQRTPIl): Likewise.
62298         (M_SQRT2l): Likewise.
62299         (M_SQRT1_2l): Likewise.
62301 2012-05-31  David S. Miller  <davem@davemloft.net>
62303         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
62304         values between float registers.
62305         * sysdeps/sparc/sparc64/memset.S: Likewise.
62306         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
62308 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
62310         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
62311         -D_FORTIFY_SOURCE=1.
62312         (CPPFLAGS-tst-longjmp_chk.c): Define.
62313         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
62314         (CPPFLAGS-tst-longjmp_chk2.c): Define.
62315         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
62316         CFLAGS-tst-wchar-h.c.
62318 2012-05-31  Marek Polacek  <polacek@redhat.com>
62320         [BZ #14132]
62321         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
62322         __endmntent_internal): Remove declaration.
62323         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
62324         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
62325         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
62327 2012-05-30  David S. Miller  <davem@davemloft.net>
62329         * sysdeps/sparc/sparc32/soft-fp/q_util.c
62330         (___Q_simulate_exceptions): Use real FP ops rather than writing
62331         into the %fsr.
62332         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
62333         Likewise.
62335 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
62337         [BZ #14117]
62338         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
62339         * sysdeps/x86/bits/xtitypes.h: This.
62341         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
62342         * sysdeps/x86/bits/wordsize.h: This.
62344         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
62345         * sysdeps/x86/bits/huge_vall.h: This.
62347         * sysdeps/i386/bits/select.h: Removed.
62348         * sysdeps/x86_64/bits/select.h: Renamed to ...
62349         * sysdeps/x86/bits/select.h: This.
62351         * sysdeps/i386/bits/setjmp.h: Removed.
62352         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
62353         * sysdeps/x86/bits/setjmp.h: This.
62355         * sysdeps/i386/bits/mathdef.h: Removed.
62356         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
62357         * sysdeps/x86/bits/mathdef.h: This.
62359 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
62361         [BZ #14132]
62362         * include/sys/socket.h (__connect_internal)
62363         (__libc_sa_len_internal): Remove declaration.
62364         (__connect, __libc_sa_len): Declare hidden_proto.
62365         (SA_LEN): Remove use of INTUSE.
62366         * socket/connect.c: Add libc_hidden_def.
62367         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
62368         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
62369         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
62370         alias.
62371         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
62372         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
62373         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
62374         of adding _internal alias.
62376 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
62378         [BZ #14117]
62379         * sysdeps/i386/bits/link.h: Removed.
62380         * sysdeps/i386/bits/linkmap.h: Likewise.
62381         * sysdeps/x86_64/bits/link.h: Renamed to ...
62382         * sysdeps/x86/bits/link.h: This.
62383         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
62384         * sysdeps/x86/bits/linkmap.h: This.
62386         * sysdeps/i386/bits/endian.h: Removed.
62387         * sysdeps/x86_64/bits/endian.h: Renamed to ...
62388         * sysdeps/x86/bits/endian.h: This.
62390         * sysdeps/i386/bits/byteswap.h: Removed.
62391         * sysdeps/i386/bits/byteswap-16.h: Likewise.
62392         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
62393         * sysdeps/x86/bits/byteswap.h: This.
62394         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
62395         * sysdeps/x86/bits/byteswap-16.h: This.
62396         * sysdeps/i386/Implies: Add x86.
62397         * sysdeps/x86_64/Implies: Likewise.
62399 2012-05-30  David S. Miller  <davem@davemloft.net>
62401         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
62402         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
62403         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
62404         (FP_TRAPPING_EXCEPTIONS): Define.
62405         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
62406         (FP_TRAPPING_EXCEPTIONS): Define.
62407         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
62408         subnormals only when inexact has been signalled or underflow
62409         exceptions are enabled.
62410         (_FP_PACK_CANONICAL): Likewise.
62412 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
62414         [BZ #14183]
62415         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
62416         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
62418 2012-05-30  Richard Henderson  <rth@twiddle.net>
62420         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
62421         with #ifndef NOT_IN_libc.
62423         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
62424         marked to avoid plt entry.
62426 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
62428         [BZ #14112]
62429         * Makeconfig (default-abi): New macro.
62430         (abi-includes): Likewise.
62431         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
62432         $(abi-$(default-abi)-lib-soname) for soname if defined.
62433         ($(common-objpfx)gnu/lib-names.stmp): Generate from
62434         abi-variants.
62435         * Makefile (installed-stubs): Likewise.
62436         * include/stubs-biarch.h: Removed.
62437         * scripts/lib-names.awk: Only handle one library at a time.
62438         * scripts/soversions.awk: Remove WORDSIZE support.
62439         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
62440         entries.
62441         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
62442         Removed.
62443         (syscall-list-default-condition): Likewise.
62444         (syscall-list-default-condition): Likewise.
62445         (syscall-list-includes): Likewise.
62446         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
62447         syscall-list-* with abi-*.  Handle undefined abi-variants.
62448         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
62449         * sysdeps/unix/sysv/linux/i386/Implies: New file.
62450         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
62451         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
62452         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
62453         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
62454         Removed.
62455         (syscall-list-32-options): Likewise.
62456         (syscall-list-32-condition): Likewise.
62457         (syscall-list-64-options): Likewise.
62458         (syscall-list-64-condition): Likewise.
62459         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
62460         macro.
62461         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
62462         Renamed to ...
62463         (abi-*): This.
62464         (abi-64-ld-soname): New macro.
62465         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
62466         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
62467         Renamed to ...
62468         (abi-*): This.
62469         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
62470         * sysdeps/x86_64/x32/shlib-versions: Likewise.
62472 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
62474         * sysdeps/unix/sysv/linux/kernel-features.h
62475         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
62476         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
62477         include <kernel-features.h>.
62478         [!__NR_ftruncate64]: Remove conditional code.
62479         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
62480         [__NR_ftruncate64]: Make code unconditional.
62481         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
62482         * sysdeps/unix/sysv/linux/truncate64.c: Do not
62483         include <kernel-features.h>.
62484         [!__NR_ftruncate64]: Remove conditional code.
62485         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
62486         [__NR_ftruncate64]: Make code unconditional.
62487         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
62488         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
62489         include <kernel-features.h>.
62490         [!__NR_ftruncate64]: Remove conditional code.
62491         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
62492         [__NR_ftruncate64]: Make code unconditional.
62493         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
62494         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
62495         include <kernel-features.h>.
62496         [!__NR_ftruncate64]: Remove conditional code.
62497         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
62498         [__NR_ftruncate64]: Make code unconditional.
62499         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
62501         * configure.in (libc_cv_fpie): Weaken to a compile test using
62502         LIBC_TRY_CC_OPTION.
62503         * configure: Regenerated.
62505 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
62507         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
62508         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
62509         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
62510         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
62511         Refreshed.
62512         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
62513         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
62514         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
62515         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
62516         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
62517         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
62518         Refreshed.
62520 2012-05-27  David S. Miller  <davem@davemloft.net>
62522         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
62523         (___Q_zero): New.
62524         (__Q_simulate_exceptions): Return void.  Change to simulate
62525         exceptions by writing into the %fsr.
62526         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
62527         (__Qp_handle_exceptions): Likewise.
62528         (numbers): Delete.
62529         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
62530         __Qp_handle_exceptions.
62531         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
62532         __Qp_handle_exceptions.
62533         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
62534         as unused and give dummy FP_RND_NEAREST initializer.
62535         (FP_INHIBIT_RESULTS): Define.
62536         (___Q_simulate_exceptions): Update declaration.
62537         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
62538         formatting.
62539         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
62540         as unused and give dummy FP_RND_NEAREST initializer.
62541         (__Qp_handle_exceptions): Update declaration.
62542         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
62543         formatting.
62545 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
62547         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
62548         the temporary FPU control word.
62549         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
62550         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
62551         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
62552         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
62553         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
62554         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
62555         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
62556         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
62557         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
62558         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
62559         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
62561 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
62563         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
62564         fields.
62566 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
62568         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
62569         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
62570         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
62571         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
62572         Likewise.
62573         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
62574         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
62575         Likewise.
62577 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
62579         * po/h.po: Update from translation team.
62581 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
62583         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
62585         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
62586         handling of denormals.
62587         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
62588         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
62589         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
62590         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
62591         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
62592         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
62593         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
62594         Likewise.
62596 2012-05-26  Marek Polacek  <polacek@redhat.com>
62598         [BZ #14152]
62599         * math/libm-test.inc (fma_test): Don't always expect underflow
62600         exception.
62602 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
62604         [BZ #12416]
62605         * elf/tst-execstack.c: Include stackinfo.h.
62606         (do_test): Adjust test case to ensure that pthread_getattr_np
62607         behaviour remains the same after marking stack executable.
62609 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
62611         * sysdeps/unix/sysv/linux/kernel-features.h
62612         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
62613         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
62614         kernel-features.h.
62615         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
62616         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
62617         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
62618         kernel-features.h.
62619         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
62620         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
62622 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
62624         * configure.in: Define the default includes to being none.
62625         * configure: Regenerated.
62627 2012-05-25  Roland McGrath  <roland@hack.frob.com>
62629         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
62630         * sysdeps/x86_64/setjmp.S: Likewise.
62631         * sysdeps/i386/bsd-setjmp.S: Likewise.
62632         * sysdeps/i386/bsd-_setjmp.S: Likewise.
62633         * sysdeps/i386/setjmp.S: Likewise.
62634         * sysdeps/i386/__longjmp.S: Likewise.
62635         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
62636         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
62638         * include/stap-probe.h: New file.
62639         * configure.in: Handle --enable-systemtap.
62640         * configure: Regenerated.
62641         * config.h.in (USE_STAP_PROBE): New #undef.
62642         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
62643         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
62644         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
62646 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
62648         [BZ #13717]
62649         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
62650         to 2.4.0 where earlier.
62651         * sysdeps/unix/sysv/linux/configure: Regenerated.
62652         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
62653         <kernel-features.h>.
62654         [__ASSUME_32BITUIDS]: Make code unconditional.
62655         [!__ASSUME_32BITUIDS]: Remove conditional code.
62656         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
62657         <kernel-features.h>.
62658         [__ASSUME_32BITUIDS]: Make code unconditional.
62659         [!__ASSUME_32BITUIDS]: Remove conditional code.
62660         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
62661         [__ASSUME_32BITUIDS]: Make code unconditional.
62662         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
62663         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
62664         <kernel-features.h>.
62665         [__ASSUME_32BITUIDS]: Make code unconditional.
62666         [!__ASSUME_32BITUIDS]: Remove conditional code.
62667         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
62668         <kernel-features.h>.
62669         [__ASSUME_32BITUIDS]: Make code unconditional.
62670         [!__ASSUME_32BITUIDS]: Remove conditional code.
62671         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
62672         <kernel-features.h>.
62673         [__ASSUME_32BITUIDS]: Make code unconditional.
62674         [!__ASSUME_32BITUIDS]: Remove conditional code.
62675         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
62676         <kernel-features.h>.
62677         [__ASSUME_32BITUIDS]: Make code unconditional.
62678         [!__ASSUME_32BITUIDS]: Remove conditional code.
62679         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
62680         <kernel-features.h>.
62681         [__ASSUME_32BITUIDS]: Make code unconditional.
62682         [!__ASSUME_32BITUIDS]: Remove conditional code.
62683         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
62684         <kernel-features.h>.
62685         [__ASSUME_32BITUIDS]: Make code unconditional.
62686         [!__ASSUME_32BITUIDS]: Remove conditional code.
62687         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
62688         <kernel-features.h>.
62689         [__ASSUME_32BITUIDS]: Make code unconditional.
62690         [!__ASSUME_32BITUIDS]: Remove conditional code.
62691         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
62692         <kernel-features.h>.
62693         [__ASSUME_32BITUIDS]: Make code unconditional.
62694         [!__ASSUME_32BITUIDS]: Remove conditional code.
62695         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
62696         <kernel-features.h>.
62697         [__ASSUME_32BITUIDS]: Make code unconditional.
62698         [!__ASSUME_32BITUIDS]: Remove conditional code.
62699         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
62700         <kernel-features.h>.
62701         [__ASSUME_32BITUIDS]: Make code unconditional.
62702         [!__ASSUME_32BITUIDS]: Remove conditional code.
62703         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
62704         <kernel-features.h>.
62705         [__NR_setresgid] (__setresgid): Do not declare.
62706         [__ASSUME_32BITUIDS]: Make code unconditional.
62707         [!__ASSUME_32BITUIDS]: Remove conditional code.
62708         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
62709         <kernel-features.h>.
62710         [__NR_setresuid] (__setresuid): Do not declare.
62711         [__ASSUME_32BITUIDS]: Make code unconditional.
62712         [!__ASSUME_32BITUIDS]: Remove conditional code.
62713         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
62714         <kernel-features.h>.
62715         [__ASSUME_32BITUIDS]: Make code unconditional.
62716         [!__ASSUME_32BITUIDS]: Remove conditional code.
62717         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
62718         <kernel-features.h>.
62719         [__ASSUME_32BITUIDS]: Make code unconditional.
62720         [!__ASSUME_32BITUIDS]: Remove conditional code.
62721         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
62722         <kernel-features.h>.
62723         [__ASSUME_32BITUIDS]: Make code unconditional.
62724         [!__ASSUME_32BITUIDS]: Remove conditional code.
62725         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
62726         <kernel-features.h>.
62727         [__ASSUME_32BITUIDS]: Make code unconditional.
62728         [!__ASSUME_32BITUIDS]: Remove conditional code.
62729         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
62730         <kernel-features.h>.
62731         [__ASSUME_32BITUIDS]: Make code unconditional.
62732         [!__ASSUME_32BITUIDS]: Remove conditional code.
62733         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
62734         <kernel-features.h>.
62735         [__ASSUME_32BITUIDS]: Make code unconditional.
62736         [!__ASSUME_32BITUIDS]: Remove conditional code.
62737         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
62738         <kernel-features.h>.
62739         [__ASSUME_32BITUIDS]: Make code unconditional.
62740         [!__ASSUME_32BITUIDS]: Remove conditional code.
62741         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
62742         <kernel-features.h>.
62743         [__ASSUME_32BITUIDS]: Make code unconditional.
62744         [!__ASSUME_32BITUIDS]: Remove conditional code.
62745         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
62746         <kernel-features.h>.
62747         [__ASSUME_32BITUIDS]: Make code unconditional.
62748         [!__ASSUME_32BITUIDS]: Remove conditional code.
62749         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
62750         <kernel-features.h>.
62751         [__ASSUME_32BITUIDS]: Make code unconditional.
62752         [!__ASSUME_32BITUIDS]: Remove conditional code.
62753         * sysdeps/unix/sysv/linux/kernel-features.h
62754         (__ASSUME_SETRESUID_SYSCALL): Remove.
62755         (__ASSUME_SETRESGID_SYSCALL): Likewise.
62756         (__ASSUME_32BITUIDS): Likewise.
62757         (__ASSUME_LDT_WORKS): Likewise.
62758         (__ASSUME_O_DIRECTORY): Likewise.
62759         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
62760         architecture but not kernel version.
62761         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
62762         (__ASSUME_MMAP2_SYSCALL): Likewise.
62763         (__ASSUME_STAT64_SYSCALL): Likewise.
62764         (__ASSUME_IPC64): Likewise.
62765         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
62766         <kernel-features.h>.
62767         [__ASSUME_32BITUIDS]: Make code unconditional.
62768         [!__ASSUME_32BITUIDS]: Remove conditional code.
62769         * sysdeps/unix/sysv/linux/opendir.c: Do not include
62770         <kernel-features.h>.
62771         [__ASSUME_O_DIRECTORY]: Make code unconditional.
62772         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
62773         132096]: Remove conditional code.
62774         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
62775         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
62776         <kernel-features.h>.
62777         [__ASSUME_32BITUIDS]: Make code unconditional.
62778         [!__ASSUME_32BITUIDS]: Remove conditional code.
62779         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
62780         <kernel-features.h>.
62781         [__ASSUME_32BITUIDS]: Make code unconditional.
62782         [!__ASSUME_32BITUIDS]: Remove conditional code.
62783         * sysdeps/unix/sysv/linux/setegid.c: Do not include
62784         <kernel-features.h>.
62785         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
62786         unconditional.
62787         (__setresgid): Do not declare.
62788         [__ASSUME_32BITUIDS]: Make code unconditional.
62789         [!__ASSUME_32BITUIDS]: Remove conditional code.
62790         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
62791         <kernel-features.h>.
62792         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
62793         unconditional.
62794         (__setresuid): Do not declare.
62795         [__ASSUME_32BITUIDS]: Make code unconditional.
62796         [!__ASSUME_32BITUIDS]: Remove conditional code.
62797         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
62798         <kernel-features.h>.
62799         [__ASSUME_32BITUIDS]: Make code unconditional.
62800         [!__ASSUME_32BITUIDS]: Remove conditional code.
62801         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
62802         <kernel-features.h>.
62803         [__ASSUME_32BITUIDS]: Make code unconditional.
62804         [!__ASSUME_32BITUIDS]: Remove conditional code.
62806 2012-05-25  Richard Henderson  <rth@twiddle.net>
62808         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
62809         dl_hwcap to ifunc resolver.
62810         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
62811         elf_ifunc_invoke.
62812         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
62813         dl_hwcap to ifunc resolver.
62814         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
62816 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
62818         [BZ #14153]
62819         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
62820         for |x| <= 2**-26, not 2**-57.
62821         * math/libm-test.inc (acos_test): Do not allow spurious underflow
62822         exception.
62824 2012-05-24  Jeff Law  <law@redhat.com>
62826         * stdio-common/Makefile (tests): Add bug25.
62827         * stdio-common/bug25.c: New test.
62829 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
62831         [BZ #13576]
62832         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
62833         multiple of MALLOC_ALIGNMENT in size.
62834         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
62836 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
62838         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
62839         Require >= 256.
62840         (FILENAME_MAX): Use macro-int-constant.
62841         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
62842         (_IOFBF): Use macro-int-constant.
62843         (_IOLBF): Likewise.
62844         (_IONBF): Likewise.
62845         (SEEK_CUR): Likewise.
62846         (SEEK_END): Likewise.
62847         (SEEK_SET): Likewise.
62848         (TMP_MAX): Likewise.
62849         (EOF): Use macro-int-constant.  Require < 0.
62850         (NULL): Use macro-constant.  Require == 0.
62851         (stdin): Require type to be FILE *.
62852         (stdout): Likewise.
62853         (stderr): Likewise.
62854         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
62855         macro-int-constant.
62856         (EXIT_SUCCESS): Likewise.
62857         (NULL): Use macro-constant.  Require == 0.
62858         (RAND_MAX): Use macro-int-constant.
62859         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
62860         [C99-based standards] (strtof): Require function.
62861         [C99-based standards] (strtold): Likewise.
62862         [C99-based standards] (strtoll): Likewise.
62863         [C99-based standards] (strtoull): Likewise.
62864         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
62865         [ISO || ISO99 || ISO11] (limits.h): Likewise.
62866         [ISO || ISO99 || ISO11] (math.h): Likewise.
62867         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
62868         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
62869         [ISO || ISO99 || ISO11] (*_t): Do not allow.
62871 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
62873         [BZ #14132]
62874         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
62875         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
62876         * intl/dgettext.c (DCGETTEXT): Likewise.
62877         * intl/gettext.c (DCGETTEXT): Likewise.
62878         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
62879         * posix/regex_internal.h (gettext): Likewise.
62880         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
62881         Remove declaration.
62882         * include/argz.h (__argz_count_internal)
62883         (__argz_stringify_internal): Remove declaration.
62884         (__argz_count, __argz_stringify): Declare hidden proto.
62885         * intl/dcgettext.c: Remove use of INTDEF.
62886         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
62887         * string/argz-stringify.c: Likewise.
62888         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
62889         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
62890         Declare hidden proto.
62891         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
62892         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
62893         Declare hidden proto.
62894         * include/stdio.h (__asprintf_internal): Don't declare.
62895         (__asprintf): Don't define as macro.  Declare hidden proto.
62896         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
62897         (__fsetlocking): Declare hidden proto.
62898         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
62899         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
62900         hidden proto.
62901         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
62902         (_IO_setlinebuf): Remove use of INTUSE.
62903         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
62904         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
62905         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
62906         Remove declaration.
62907         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
62908         (_IO_do_flush): Remove use of INTUSE.
62909         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
62910         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
62911         (_IO_adjust_column, _IO_least_wmarker)
62912         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
62913         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
62914         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
62915         (_IO_default_doallocate, _IO_wdefault_doallocate)
62916         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
62917         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
62918         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
62919         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
62920         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
62921         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
62922         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
62923         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
62924         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
62925         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
62926         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
62927         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
62928         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
62929         proto.
62930         (_IO_flush_all_internal, _IO_adjust_column_internal)
62931         (_IO_default_uflow_internal, _IO_default_finish_internal)
62932         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
62933         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
62934         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
62935         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
62936         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
62937         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
62938         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
62939         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
62940         (_IO_file_close_internal, _IO_file_close_it_internal)
62941         (_IO_file_underflow_internal, _IO_file_overflow_internal)
62942         (_IO_file_init_internal, _IO_file_attach_internal)
62943         (_IO_file_fopen_internal, _IO_file_read_internal)
62944         (_IO_file_sync_internal, _IO_file_seek_internal)
62945         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
62946         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
62947         (_IO_str_underflow_internal, _IO_str_overflow_internal)
62948         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
62949         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
62950         (_IO_list_all_internal, _IO_link_in_internal)
62951         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
62952         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
62953         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
62954         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
62955         (_IO_do_write_internal, _IO_padn_internal)
62956         (_IO_getline_info_internal, _IO_getline_internal)
62957         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
62958         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
62959         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
62960         (_IO_vfscanf_internal, _IO_vfprintf_internal)
62961         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
62962         (_IO_init_internal, _IO_un_link_internal): Don't declare.
62963         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
62964         with libc_hidden_ver, remove use of INTUSE.
62965         * libio/genops.c: Likewise.
62966         * libio/freopen.c: Likewise.
62967         * libio/freopen64.c: Likewise.
62968         * libio/iofclose.c: Likewise.
62969         * libio/iofdopen.c: Likewise.
62970         * libio/iofflush.c: Likewise.
62971         * libio/iofflush_u.c: Likewise.
62972         * libio/iofgets.c: Likewise.
62973         * libio/iofgets_u.c: Likewise.
62974         * libio/iofopen.c: Likewise.
62975         * libio/iofopncook.c: Likewise.
62976         * libio/iofread.c: Likewise.
62977         * libio/iofread_u.c: Likewise.
62978         * libio/ioftell.c: Likewise.
62979         * libio/iofwrite.c: Likewise.
62980         * libio/iogetline.c: Likewise.
62981         * libio/iogets.c: Likewise.
62982         * libio/iogetwline.c: Likewise.
62983         * libio/iopadn.c: Likewise.
62984         * libio/iopopen.c: Likewise.
62985         * libio/ioseekoff.c: Likewise.
62986         * libio/ioseekpos.c: Likewise.
62987         * libio/iosetbuffer.c: Likewise.
62988         * libio/iosetvbuf.c: Likewise.
62989         * libio/ioungetc.c: Likewise.
62990         * libio/ioungetwc.c: Likewise.
62991         * libio/iovdprintf.c: Likewise.
62992         * libio/iovsprintf.c: Likewise.
62993         * libio/iovsscanf.c: Likewise.
62994         * libio/memstream.c: Likewise.
62995         * libio/obprintf.c: Likewise.
62996         * libio/oldfileops.c: Likewise.
62997         * libio/oldiofclose.c: Likewise.
62998         * libio/oldiofdopen.c: Likewise.
62999         * libio/oldiofopen.c: Likewise.
63000         * libio/oldiopopen.c: Likewise.
63001         * libio/oldstdfiles.c: Likewise.
63002         * libio/putc.c: Likewise.
63003         * libio/setbuf.c: Likewise.
63004         * libio/setlinebuf.c: Likewise.
63005         * libio/stdfiles.c: Likewise.
63006         * libio/strops.c: Likewise.
63007         * libio/vasprintf.c: Likewise.
63008         * libio/vscanf.c: Likewise.
63009         * libio/vsnprintf.c: Likewise.
63010         * libio/vswprintf.c: Likewise.
63011         * libio/wfiledoalloc.c: Likewise.
63012         * libio/wfileops.c: Likewise.
63013         * libio/wgenops.c: Likewise.
63014         * libio/wmemstream.c: Likewise.
63015         * libio/wstrops.c: Likewise.
63016         * libio/__fpurge.c: Likewise.
63017         * libio/__fsetlocking.c: Likewise.
63018         * assert/assert.c: Likewise.
63019         * debug/fgets_chk.c: Likewise.
63020         * debug/fgets_u_chk.c: Likewise.
63021         * debug/fread_chk.c: Likewise.
63022         * debug/fread_u_chk.c: Likewise.
63023         * debug/gets_chk.c: Likewise.
63024         * debug/obprintf_chk.c: Likewise.
63025         * debug/vasprintf_chk.c: Likewise.
63026         * debug/vdprintf_chk.c: Likewise.
63027         * debug/vsnprintf_chk.c: Likewise.
63028         * debug/vsprintf_chk.c: Likewise.
63029         * malloc/mtrace.c: Likewise.
63030         * misc/error.c: Likewise.
63031         * misc/syslog.c: Likewise.
63032         * stdio-common/asprintf.c: Likewise.
63033         * stdio-common/fxprintf.c: Likewise.
63034         * stdio-common/getw.c: Likewise.
63035         * stdio-common/isoc99_fscanf.c: Likewise.
63036         * stdio-common/isoc99_scanf.c: Likewise.
63037         * stdio-common/isoc99_vfscanf.c: Likewise.
63038         * stdio-common/isoc99_vscanf.c: Likewise.
63039         * stdio-common/isoc99_vsscanf.c: Likewise.
63040         * stdio-common/printf-prs.c: Likewise.
63041         * stdio-common/printf_fp.c: Likewise.
63042         * stdio-common/printf_fphex.c: Likewise.
63043         * stdio-common/printf_size.c: Likewise.
63044         * stdio-common/putw.c: Likewise.
63045         * stdio-common/scanf.c: Likewise.
63046         * stdio-common/sprintf.c: Likewise.
63047         * stdio-common/tmpfile.c: Likewise.
63048         * stdio-common/vfprintf.c: Likewise.
63049         * stdio-common/vfscanf.c: Likewise.
63050         * stdlib/strfmon_l.c: Likewise.
63051         * sunrpc/openchild.c: Likewise.
63052         * sunrpc/xdr_stdio.c: Likewise.
63053         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
63054         * sysdeps/mach/hurd/tmpfile.c: Likewise.
63056 2012-05-24  Roland McGrath  <roland@hack.frob.com>
63058         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
63060         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
63061         in the third column, to generate for the shared library an IFUNC
63062         that uses _dl_vdso_vsym.
63063         * Makerules (COMPILE.c, compile-stdin.c): New variables.
63064         * Makeconfig (object-suffixes-noshared): New variable.
63066         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
63067         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
63068         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
63069         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
63071         [BZ #14132]
63072         * include/sys/time.h (__gettimeofday): Remove macro.
63073         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
63074         * time/gettimeofday.c (__gettimeofday): Remove #undef.
63075         Remove INTDEF.
63076         (__gettimeofday): Add libc_hidden_def.
63077         (gettimeofday): Add libc_hidden_weak.
63078         * sysdeps/mach/gettimeofday.c: Likewise.
63079         * sysdeps/posix/gettimeofday.c: Likewise.
63080         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
63081         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
63082         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
63083         (__gettimeofday_internal): Remove strong_alias.
63084         (__gettimeofday): Add libc_hidden_def.
63085         (gettimeofday): Add libc_hidden_weak.
63086         * sysdeps/unix/syscalls.list (gettimeofday):
63087         Remove __gettimeofday_internal alias.
63089 2012-05-24  Daniel Jacobowitz  <drow@false.org>
63090             H.J. Lu  <hongjiu.lu@intel.com>
63092         [BZ #12495]
63093         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
63094         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
63095         (largebin_index_32_big): New.
63096         (largebin_index): Use it for 16-byte alignment.
63097         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
63098         correction with front_misalign.
63100 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
63102         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
63103         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
63104         Likewise.
63105         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
63106         Likewise.
63107         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
63108         Likewise.
63109         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
63110         Likewise.
63111         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
63112         Likewise.
63113         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
63114         Likewise.
63115         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
63116         Likewise.
63117         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
63118         Likewise.
63119         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
63120         Likewise.
63121         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
63122         Likewise.
63123         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
63124         Likewise.
63125         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
63126         Likewise.
63128         * scripts/data/c++-types-x32-linux-gnu.data: New file.
63129         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
63131 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
63133         [BZ #10846]
63134         [BZ #14036]
63135         * math/libm-test.inc (exp_test): Add test from bug 14036.
63136         (pow_test): Add test from bug 10846.
63138         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
63139         and other flags.
63140         (special_function): Do not include flags in test name.
63141         (parse_args): Likewise.
63142         * sysdeps/i386/fpu/libm-test-ulps: Update.
63143         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
63144         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
63145         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
63146         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63148         * math/gen-libm-test.pl (%beautify): Add entries for underflow
63149         exceptions.
63150         * math/libm-test.inc ("Philosophy"): Update comment about
63151         exception testing.
63152         (UNDERFLOW_EXCEPTION): New macro.
63153         (UNDERFLOW_EXCEPTION_OK): Likewise.
63154         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
63155         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
63156         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
63157         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
63158         (INVALID_EXCEPTION_OK): Update value.
63159         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
63160         (OVERFLOW_EXCEPTION_OK): Likewise.
63161         (IGNORE_ZERO_INF_SIGN): Likewise.
63162         (test_exceptions): Handle underflow exceptions.
63163         (acos_test): Update for underflow exception expectations.
63164         (cexp_test): Likewise.
63165         (clog_test): Likewise.
63166         (clog10_test): Likewise.
63167         (csqrt_test): Likewise.
63168         (ctan_test): Likewise.
63169         (ctanh_test): Likewise.
63170         (exp_test): Likewise.
63171         (exp10_test): Likewise.
63172         (exp2_test): Likewise.
63173         (expm1_test): Likewise.
63174         (fma_test): Likewise.
63175         (j0_test): Likewise.
63176         (jn_test): Likewise.
63177         (nexttoward_test): Likewise.
63178         (pow_test): Likewise.
63179         (scalbn_test): Likewise.
63180         (scalbln_test): Likewise.
63181         (tan_test): Likewise.
63182         (y1_test): Likewise.
63183         * sysdeps/i386/fpu/libm-test-ulps: Update.
63184         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63186 2012-05-23  David S. Miller  <davem@davemloft.net>
63188         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
63189         (__libc_sigaction): Remove unused local variables.
63191 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
63193         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
63195 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
63197         mktime: avoid signed integer overflow
63198         * time/mktime.c (__mktime_internal): Do not mishandle the case
63199         where diff == INT_MIN.
63201         mktime: simplify computation of average
63202         * time/mktime.c (ranged_convert): Use new time_t_avg function
63203         instead of rolling our own (probably-slower) code.
63205         mktime: do not assume signed right shift propagates sign bit
63206         * time/mktime.c (isdst_differ): New static function.
63207         (__mktime_internal): No need to normalize tm_isdst now.
63208         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
63209         tm_isdst values.
63211         mktime: merge another wrapv change from gnulib
63212         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
63213         from some compilers.
63215         mktime: remove incorrect attempt at unusual arithmetics
63216         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
63217         The code didn't really work on such machines anyway.
63218         (TYPE_MINIMUM): Assume two's complement.
63219         (twos_complement_arithmetic): Verify that long_int and time_t
63220         are two's complement (or unsigned, in the latter case).
63222         mktime: check signed shifts on long_int and time_t, too
63223         * time/mktime.c (SHR): Check that shifts work as desired
63224         on the types long_int and time_t too, as SHR is used on
63225         such types.
63227         mktime: do not assume 'long' is wide enough
63228         * time/mktime.c (verify): Move decl up.
63229         (long_int): New type.
63230         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
63231         to remove assumption in the code that 'long' is wide enough to
63232         store year values.  This assumption is not true on x32 and on
63233         some non-glibc platforms.
63235         mktime: merge wrapv change from gnulib
63236         * time/mktime.c (WRAPV): New macro.
63237         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
63238         (guess_time_tm, __mktime_internal): Do not assume that signed
63239         integer overflow wraps around; modern compilers generate code
63240         where this assumption is no longer valid.
63242 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
63244         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
63245         Replace "jmp L(pseudo_end)" with "ret".
63246         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
63247         Likewise.
63249 2012-05-23  Andreas Jaeger  <aj@suse.de>
63251         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
63252         * sysdeps/unix/sysv/linux/poll.c: Remove file.
63254 2012-05-23  Andreas Jaeger  <aj@suse.de>
63255             Maximilian Attems  <max@stro.at>
63257         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
63258         New macros.
63260 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
63262         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
63263         code so that pseudo_end is just ret and the stack pointer is
63264         correct also for static library in error case.
63266 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
63268         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
63269         move to syscalls.list.
63270         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
63271         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
63272         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
63273         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
63275         * manual/install.texi (Running make install): Do not mention Linux
63276         kernel version for which pt_chown is not needed.
63277         (Linux): Do not mention problems with nscd with 2.0 kernels.
63278         * INSTALL: Regenerated.
63280 2012-05-23  Andreas Jaeger  <aj@suse.de>
63282         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
63283         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
63284         macro.
63285         * sysdeps/unix/sysv/linux/s390/bits/mman.h
63286         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
63287         * sysdeps/unix/sysv/linux/sh/bits/mman.h
63288         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
63289         * sysdeps/unix/sysv/linux/i386/bits/mman.h
63290         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
63291         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
63292         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
63293         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
63294         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
63295         * sysdeps/unix/sysv/linux/bits/in.h
63296         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
63298 2012-05-22  Roland McGrath  <roland@hack.frob.com>
63300         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
63301         (PREPARE_VERSION): Just use assert instead, it will be elided
63302         under [NDEBUG] anyway.
63304 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
63306         * sysdeps/unix/sysv/linux/Makefile: Include
63307         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
63308         (sysdep_routines): Remove sysctl.
63309         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
63310         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
63311         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
63312         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
63313         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
63315 2012-05-22  Andreas Jaeger  <aj@suse.de>
63317         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
63318         that pseudo_end is just ret and the stack pointer is correct also
63319         for static library in error case.
63321 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
63323         [BZ #14122]
63324         * nss/nsswitch.c (defconfig_entries): New variable.
63325         (__nss_database_lookup): Don't leak defconfig entries.
63326         (nss_parse_service_list): Don't leak on error paths.
63327         (free_database_entries): New function.
63328         (free_defconfig): New function.
63329         (free_mem): Move common code to free_database_entries.
63331 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
63333         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
63334         Add arch_prctl.
63335         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
63337         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
63338         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
63339         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
63340         New macro.
63341         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
63342         (INTERNAL_SYSCALL_TYPES): Likewise.
63343         (LOAD_ARGS_TYPES_[1-6]): Likewise.
63344         (LOAD_REGS_TYPES_[1-6]): Likewise.
63345         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
63346         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
63348 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63350         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
63351         copysignl for GLIBC_2_0.
63352         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
63353         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
63354         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
63355         logbl for GLIBC_2_0.
63356         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
63357         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
63359 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
63361         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
63362         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
63364         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
63365         Use "neg %eax".
63367         * time/mktime.c: Update copyright years.
63369 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
63371         mktime: merge comment-quoting-style change from gnulib
63372         * time/mktime.c: Quote 'like this' in comments.
63373         The GNU coding standards suggest that we no longer quote `like this',
63374         as "`" and "'" are typically rendered asymmetrically nowadays.
63375         The typical gnulib style is to quote 'like this' when quoting
63376         code, and "like this" when quoting English.
63378         * time/mktime.c (compile-command): Add "-I.".
63380         mktime: merge mktime-internal.h change from gnulib
63381         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
63383         mktime: merge time_r change from gnulib
63384         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
63386         mktime: merge DEBUG change from gnulib
63387         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
63388         case system <time.h> has a #define.
63390         mktime: merge <sys/types.h> change from gnulib
63391         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
63392         since <time.t> is now guaranteed to define time_t.
63394         mktime: merge HAVE_CONFIG_H change from gnulib
63395         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
63397 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
63399         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
63400         Use "neg %eax".
63402         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
63403         __rlim_t cast.
63404         (struct rusage): Use anonymous union to pad each field to
63405         __syscall_slong_t.
63407 2012-05-21  David S. Miller  <davem@davemloft.net>
63409         * Makefules (o-iterator): Remove .s cases.
63410         (compile-command.s): Delete.
63411         (COMPILE.s): Delete.
63412         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
63414 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
63416         * configure.in (libc_cv_predef_stack_protector): Only consider
63417         "foobar" and "__stack_chk_fail" lines in libc_undefs.
63418         * configure: Regenerated.
63420 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
63422         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
63423         New macro.  Use R*LP on int and pointer.
63424         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
63425         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
63426         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
63427         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
63429         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
63430         [__WORDSIZE_TIME64_COMPAT32] instead of
63431         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
63432         (struct utmp): Likewise.
63433         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
63434         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
63435         Renamed to ...
63436         (__WORDSIZE_TIME64_COMPAT32): This.
63437         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
63438         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
63439         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
63440         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
63441         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
63442         (__WORDSIZE_TIME64_COMPAT32): New macro.
63444 2012-05-21  Andreas Jaeger  <aj@suse.de>
63446         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
63447         only if [SHARED]. Add prototype for __wcschr_ia32.
63449 2012-05-21  Roland McGrath  <roland@hack.frob.com>
63451         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
63452         of %rbp unmolested in the jmp_buf while mangling the low bits.
63453         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
63454         unmolested high bits of %rbp while demangling the low bits.
63455         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
63457 2012-05-21  Andreas Jaeger  <aj@suse.de>
63459         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
63460         * sunrpc/svc_simple.c: Use it for registerrpc.
63461         * sunrpc/xcrypt.c: Use it for passwd2des.
63463         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
63465 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
63467         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
63468         Don't define if [__SYSCALL_WORDSIZE != 32].
63469         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
63470         New macro.
63472 2012-05-21  Bruno Haible  <bruno@clisp.org>
63473             Andreas Jaeger  <aj@suse.de>
63475         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
63476         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
63477         inptr and inend for must_buffer_ch.
63478         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
63479         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
63480         * stdio-common/Makefile (tests): Remove bug15.
63481         (bug15-ENV): Remove macro.
63482         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
63483         anymore.
63485 2012-05-19  Andreas Jaeger  <aj@suse.de>
63486             Roland McGrath  <roland@hack.frob.com>
63488         * manual/contrib.texi: Completely rewritten. It contains now an
63489         alphabetical list of contributors and their contributions.
63491 2012-05-21  Richard Henderson  <rth@twiddle.net>
63493         * misc/getauxval.c (__getauxval): Use unsigned long int.
63494         * misc/sys/auxv.h: Include <sys/cdefs.h>.
63495         (getauxval): Use unsigned long int.
63497 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
63499         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
63501 2012-05-21  Roland McGrath  <roland@hack.frob.com>
63503         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
63504         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
63505         __alignof__ (long double).
63507 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63509         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
63511 2012-05-20  Richard Henderson  <rth@twiddle.net>
63513         * misc/getauxval.c: New file.
63514         * misc/sys/auxv.h: New file.
63515         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
63516         (routines): Add getauxval.
63517         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
63518         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
63519         * elf/dl-sysdep.c (_dl_auxv): Remove.
63520         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
63521         * elf/dl-support.c (_dl_auxv): New variable.
63522         (_dl_aux_init): Initialize it.
63523         * manual/startup.texi (Auxiliary Vector): New node.
63524         * sysdeps/generic/bits/hwcap.h: New file.
63525         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
63526         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
63527         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
63528         * sysdeps/sparc/sysdep.h: ... here.  Include it.
63529         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
63530         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
63531         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
63532         Update.
63533         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
63534         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
63535         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
63536         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
63537         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
63538         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
63539         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
63540         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
63542 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63544         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
63546 2012-05-19  David S. Miller  <davem@davemloft.net>
63548         * sysdeps/sparc/fpu/libm-test-ulps: Update.
63550 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
63552         [BZ #14123]
63553         * math/s_ccosh.c: Include <float.h>
63554         (__ccosh): Avoid internal overflow calculating sinh and cosh
63555         values before multiplying by sin and cos values.
63556         * math/s_ccoshf.c: Likewise.
63557         * math/s_ccoshl.c: Likewise.
63558         * math/s_csin.c: Likewise.
63559         * math/s_csinf.c: Likewise.
63560         * math/s_csinl.c: Likewise.
63561         * math/s_csinh.c: Likewise.
63562         * math/s_csinhf.c: Likewise.
63563         * math/s_csinhl.c: Likewise.
63564         * math/libm-test.inc (ccos_test): Add more tests.
63565         (ccosh_test): Likewise.
63566         (csin_test): Likewise.
63567         (csinh_test): Likewise.
63568         * sysdeps/i386/fpu/libm-test-ulps: Update.
63569         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63571 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
63573         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
63574         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
63576         * sysdeps/x86_64/x32/_itoa.h: Add comment.
63578 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
63580         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
63581         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
63582         * sysdeps/powerpc/soft-fp/Versions: Likewise.
63583         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
63584         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
63585         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
63586         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
63587         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
63588         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
63589         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
63590         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
63591         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
63592         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
63593         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
63594         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
63595         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
63596         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
63597         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
63598         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
63599         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
63600         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
63601         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
63602         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
63603         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
63604         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
63605         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
63606         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
63607         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
63608         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
63609         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
63610         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
63612 2012-05-18  Andreas Jaeger  <aj@suse.de>
63614         * csu/.gitignore: Delete.
63616 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
63618         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
63619         (timex): Use __syscall_slong_t.
63621 2012-05-18  Andreas Jaeger  <aj@suse.de>
63622             Carlos O'Donell  <carlos_odonell@mentor.com>
63624         * manual/install.texi (Configuring and compiling): Update
63625         description about files modified in the source directory.
63626         * INSTALL: Regenerated.
63628 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
63630         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
63631         value.  Use "or" to set return value to -1.
63632         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
63633         negate return value.
63635 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
63637         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
63638         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
63639         failure if the compiler has Graphite support disabled.
63640         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
63641         Likewise.
63642         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
63643         (CFLAGS-memmove.c): Likewise.
63644         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
63645         Likewise.
63647 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
63649         * sysdeps/x86_64/x32/_itoa.h: New file.
63651         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
63652         getdents system call only if kernel and user dirents have the
63653         same d_ino and d_off.
63655         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
63656         LLONG_MAX != LONG_MAX.
63657         (_itoa_word): Use _ITOA_WORD_TYPE on value.
63658         (_fitoa_word): Likewise.
63660         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
63661         years.
63662         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
63663         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
63664         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
63666         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
63667         include <bits/wordsize.h>.  Check __x86_64__ instead of
63668         __WORDSIZE.
63669         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
63670         if __x86_64__ is defined.  Use anonymous union on fpstate.
63672         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
63673         anonymous union.
63675 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
63677         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
63678         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
63679         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
63680         Refer to _rtld_local_ro instead of _rtld_global_ro.
63681         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
63682         Likewise.
63683         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
63684         Likewise.
63685         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
63686         Likewise.
63687         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
63688         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
63689         of _rtld_global, and rtld_progname instead of _dl_argv[0].
63691         [BZ #10882]
63692         * sysdeps/powerpc/powerpc32/dl-machine.c
63693         (__elf_machine_runtime_setup) [PROF]: Don't reference
63694         _dl_prof_resolve.
63696 2012-05-18  Andreas Jaeger  <aj@suse.de>
63698         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
63699         function only available for GCCs before 3.4 since GCC 3.4
63700         introduced a builtin.
63701         (lrint): Likewise.
63702         (llrintf): Likewise.
63703         (llrint): Likewise.
63704         (fmaxf): Likewise.
63705         (fmax): Likewise.
63706         (fminf): Likewise.
63707         (fmin): Likewise.
63708         (rint): Likewise.
63709         (rintf): Likewise.
63710         (nearbyint): Likewise.
63711         (nearbyintf): Likewise.
63712         (ceil): Likewise.
63713         (ceilf): Likewise.
63714         (floor): Likewise.
63715         (floorf): Likewise.
63717 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
63719         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
63720         on both fields and cast pointer to __syscall_ulong_t.
63722         * bits/types.h (__fsword_t): New type.
63723         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
63724         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
63725         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
63726         (__FSWORD_T_TYPE): Likewise.
63727         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
63728         (__FSWORD_T_TYPE): Likewise.
63729         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
63730         (__FSWORD_T_TYPE): Likewise.
63731         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
63732         (__FSWORD_T_TYPE): Likewise.
63733         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
63734         __SWORD_TYPE with __fsword_t.
63735         (statfs64): Likewise.
63737 2012-05-17  David S. Miller  <davem@davemloft.net>
63739         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
63741 2012-05-17  Andreas Jaeger  <aj@suse.de>
63743         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
63744         warning.
63746 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
63748         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
63750 2012-05-17  Andreas Jaeger  <aj@suse.de>
63752         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
63753         when it is used.
63755 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
63757         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
63759 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
63761         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
63762         * sysdeps/x86_64/tst-mallocalign1.c: New file.
63764 2012-05-17  Andreas Jaeger  <aj@suse.de>
63765             Carlos O'Donell  <carlos_odonell@mentor.com>
63767         [BZ #14059]
63768         * sysdeps/x86_64/multiarch/init-arch.h
63769         (bit_YMM_Usable): Rename to...
63770         (bit_AVX_Usable): ... this.
63771         (bit_FMA4_Usable): New macro.
63772         (bit_XMM_state): New macro.
63773         (bit_YMM_state): New macro.
63774         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
63775         [__ASSEMBLER__] (index_AVX_Usable): ... this.
63776         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
63777         (CPUID_OSXSAVE): New macro.
63778         (CPUID_AVX): New macro.
63779         (CPUID_FMA4): New macro.
63780         (index_YMM_Usable): Rename to...
63781         (index_AVX_Usable): ... this.
63782         (HAS_AVX): Use HAS_ARCH_FEATURE.
63783         (HAS_FMA4): Likewise.
63784         (HAS_YMM_USABLE): Remove.
63785         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
63786         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
63787         are present.
63788         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
63789         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
63790         * sysdeps/x86_64/multiarch/Makefile: Likewise.
63791         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
63792         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
63794 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
63796         * math/libm-test.c: Support platforms without multiple rounding modes.
63797         * math/bug-nextafter.c: Support platforms without FP exceptions.
63798         * math/bug-nexttoward.c: Likewise.
63799         * math/test-fenv.c: Likewise.
63800         * math/test-misc.c: Likewise.
63801         * stdlib/bug-getcontext.c: Likewise.
63803 2012-05-17  Andreas Jaeger  <aj@suse.de>
63805         * manual/examples/search.c (critter_cmp): Change signature to
63806         avoid warnings.
63807         * manual/string.texi (Collation Functions): Likewise.
63809 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
63811         * bits/types.h: Fold copyright years.
63812         * bits/typesizes.h: Likewise.
63813         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
63814         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
63815         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
63816         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
63817         * time/time.h: Likewise.
63819 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
63821         [BZ #208]
63822         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
63823         in instead of returning them.  Return void.
63824         (__libc_mallinfo): Accumulate over all arenas.
63825         (__malloc_stats): Adjust for change in int_mallinfo interface.
63827 2012-05-16  Roland McGrath  <roland@hack.frob.com>
63829         [BZ #10375]
63830         * configure.in (NM): Add AC_CHECK_TOOL for it.
63831         (libc_extra_cflags): New substituted variable.
63832         Check for -fstack-protector being used implicitly.
63833         * configure: Regenerated.
63834         * config.make.in (config-extra-cflags): New variable,
63835         gets @libc_extra_cflags@.
63836         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
63838         [BZ #10375]
63839         * configure.in: Check for _FORTIFY_SOURCE being predefined.
63840         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
63841         * configure: Regenerated.
63842         * config.make.in (CPPUNDEFS): New substituted variable.
63843         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
63844         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
63845         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
63847 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
63849         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
63850         (mq_attr): Use __syscall_slong_t.
63852 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
63854         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
63855         Check __x86_64__ instead of __WORDSIZE.
63856         (_STAT_VER_LINUX): Likewise.
63857         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
63858         __syscall_ulong_t and __syscall_slong_t.
63859         (stat64): Likewise.
63861 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
63863         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
63865 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
63867         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
63869 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
63871         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
63872         __syscall_ulong_t.
63874         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
63875         include <bits/wordsize.h>.  Check __x86_64__ instead of
63876         __WORDSIZE.
63877         (greg_t): Use "__extension__ long long int" if __x86_64__ is
63878         defined.
63879         (mcontext_t): Replace "unsigned long" with "unsigned long long".
63881         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
63882         include <bits/wordsize.h>.  Check __x86_64__ instead of
63883         __WORDSIZE.
63884         (user_regs_struct): Use "__extension__ unsigned long long"
63885         instead of "unsigned long" if __x86_64__ is defined.
63886         (user): Likewise.  Pad after pointer field if __ILP32__ is
63887         defined.
63889 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
63891         * configure.in (makeinfo): Require version 4.5 or later.  Allow
63892         versions 5 to 9.
63893         * configure: Regenerated.
63894         * manual/install.texi (texinfo): Increase version requirement to
63895         4.5 or later.
63896         * INSTALL: Regenerated.
63898         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
63900 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
63902         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
63904         * sysdeps/x86_64/x32/ffs.c: New file.
63906         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
63907         __syscall_ulong_t.
63908         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
63909         defined.  Use __syscall_ulong_t.
63910         (shminfo): Use __syscall_ulong_t.
63911         (shm_info): Likewise.
63913         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
63914         __syscall_ulong_t.
63916         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
63917         <bits/wordsize.h>.
63918         (msgqnum_t): Use __syscall_ulong_t.
63919         (msglen_t): Likewise.
63920         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
63921         __syscall_ulong_t.
63923         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
63924         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
63926         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
63928         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
63929         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
63931         * sysvipc/sys/msg.h (msgbuf): Replace long int with
63932         __syscall_slong_t.
63934         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
63935         include <bits/wordsize.h>.  Check __x86_64__ instead of
63936         __WORDSIZE.
63938         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
63939         "unsigned long long int" if __x86_64__ is defined.
63940         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
63942         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
63943         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
63944         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
63946         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
63947         <stdint.h>.
63948         (GET_PC): Cast to uintptr_t first.
63949         (GET_FRAME): Likewise.
63950         (GET_STACK): Likewise.
63952         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
63953         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
63954         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
63955         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
63956         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
63957         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
63958         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
63959         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
63960         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
63961         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
63962         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
63963         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
63964         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
63965         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
63966         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
63967         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
63968         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
63969         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
63970         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
63971         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
63972         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
63973         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
63974         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
63975         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
63976         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
63977         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
63978         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
63979         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
63980         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
63982 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
63984         * Makerules (+depfiles): Also collect depfiles from .oS in
63985         $(extra-objs).
63986         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
63987         .oS, $(libnldbl-routines)).
63989         * Makerules (native-compile-mkdep-flags): Define.
63990         * sunrpc/Makefile (extra-objs): Add $(addprefix
63991         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
63992         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
63993         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
63994         calling $(make-target-directory).
63996 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
63998         * bits/types.h (__snseconds_t): Removed.
63999         * time/time.h (struct timespec): Replace __snseconds_t with
64000         __syscall_slong_t.
64001         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
64002         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
64003         Likewise.
64004         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
64005         (__SNSECONDS_T_TYPE): Likewise.
64006         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
64007         (__SNSECONDS_T_TYPE): Likewise.
64008         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
64009         (__SNSECONDS_T_TYPE): Likewise.
64011 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
64013         * sysdeps/mach/hurd/bits/typesizes.h
64014         (__SYSCALL_SLONG_TYPE): New macro.
64015         (__SYSCALL_ULONG_TYPE): Likewise.
64017 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
64019         * bits/types.h (__syscall_slong_t): New type.
64020         (__syscall_ulong_t): Likewise.
64022         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
64023         (__SYSCALL_ULONG_TYPE): Likewise.
64024         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
64025         (__SYSCALL_SLONG_TYPE): Likewise.
64026         (__SYSCALL_ULONG_TYPE): Likewise.
64027         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
64028         (__SYSCALL_SLONG_TYPE): Likewise.
64029         (__SYSCALL_ULONG_TYPE): Likewise.
64030         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
64031         (__SYSCALL_SLONG_TYPE): Likewise.
64032         (__SYSCALL_ULONG_TYPE): Likewise.
64034 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
64036         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
64037         Add sigaltstack-offsets.sym.
64038         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
64039         <sigaltstack-offsets.h>.
64040         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
64041         longjmp_msg pointer.
64042         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
64043         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
64044         signal stack.
64045         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
64047 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
64049         * elf/stackguard-macros.h: Remove file.
64050         * sysdeps/generic/stackguard-macros.h: New file.
64051         * sysdeps/i386/stackguard-macros.h: Likewise.
64052         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
64053         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
64054         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
64055         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
64056         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
64057         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
64058         * sysdeps/x86_64/stackguard-macros.h: Likewise.
64059         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
64060         <elf/stackguard-macros.h>.
64062         [BZ #14109]
64063         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
64064         __aligned__ in attribute.
64065         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
64066         (gregset_t): Likewise.
64068 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
64070         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
64071         * sysdeps/x86_64/64/Implies-after: Here.  New file.
64072         * sysdeps/x86_64/x32/Implies-after: New file.
64074 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
64076         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
64077         and access return value for _dl_profile_fixup.  Use R10_LP to
64078         load frame size.
64080 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
64082         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
64084 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
64086         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
64087         * sysdeps/x86_64/x32/sysdep.h: New file.
64089 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
64091         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
64092         * sysdeps/x86_64/setjmp.S: Likewise.
64094 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64096         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
64097         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
64098         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
64099         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
64100         remove unused global constant.
64102 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
64104         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
64105         include of <not-cancel.h>.
64107 2012-05-15  Roland McGrath  <roland@hack.frob.com>
64109         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
64111 2012-05-15  Jeff Law  <law@redhat.com>
64112             Andreas Jaeger  <aj@suse.de>
64114         [BZ #13594]
64115         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
64116         out from...
64117         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
64118         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
64119         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
64120         code changing __hst_map_handle.map.
64122 2012-05-15  Roland McGrath  <roland@hack.frob.com>
64124         * configure.in (sysnames): Look for Implies-before and Implies-after
64125         files.
64126         * configure: Regenerated.
64128 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
64130         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
64131         8-byte data alignment with LP_SIZE alignment.
64133 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
64135         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
64136         into R10_LP.
64138 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
64140         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
64142 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
64144         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
64145         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
64146         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
64147         Likewise.
64148         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
64150 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
64152         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
64153         (stackinfo_sub_sp): Likewise.
64155 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
64157         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
64158         RAX_LP.
64160 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
64162         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
64163         into R*_LP.
64165 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
64167         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
64168         sizes into R*_LP.
64170 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
64172         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
64174 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
64176         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
64177         into R11_LP and load __x86_64_shared_cache_size_half into
64178         R8_LP.
64180 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
64182         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
64183         R8_LP.
64185 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64187         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
64188         logb for POWER7.
64189         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
64190         logbf for POWER7.
64191         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
64192         logbl for POWER7.
64193         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
64194         powerpc32/power7/fpu/s_logb.c via #include.
64195         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
64196         powerpc32/power7/fpu/s_logbf.c via #include.
64197         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
64198         powerpc32/power7/fpu/s_logbl.c via #include.
64200 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
64202         * README.libm: Remove file.
64204 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
64206         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
64207         count for x32.  Use R*_LP and omit operand-size suffix.
64209 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
64211         * shlib-versions: Move x86_64-.*-linux.* entries to ...
64212         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
64213         * sysdeps/x86_64/x32/shlib-versions: New file.
64215 2012-05-14  Roland McGrath  <roland@hack.frob.com>
64217         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
64218         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
64219         Use _dl_fatal_printf instead.
64221 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
64223         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
64224         set if not set by the user.  Do not allow for being unset.
64225         * sysdeps/unix/sysv/linux/configure: Regenerated.
64227 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
64229         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
64230         the `q' suffix from lea and replace .quad with ASM_ADDR.
64232 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
64234         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
64235         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
64236         instead of $17.
64237         (PTR_DEMANGLE): Likewise.
64239 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
64241         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
64242         (LP_OP): Likewise.
64243         (ASM_ADDR): Likewise.
64244         (RAX_LP): Likewise.
64245         (RBP_LP): Likewise.
64246         (RBX_LP): Likewise.
64247         (RCX_LP): Likewise.
64248         (RDI_LP): Likewise.
64249         (RSI_LP): Likewise.
64250         (RSP_LP): Likewise.
64251         (R8_LP): Likewise.
64252         (R9_LP): Likewise.
64253         (R10_LP): Likewise.
64254         (R10_LP): Likewise.
64255         (R11_LP): Likewise.
64256         (R12_LP): Likewise.
64257         (R13_LP): Likewise.
64258         (R14_LP): Likewise.
64259         (R15_LP): Likewise.
64261 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
64263         * sysdeps/x86_64/x32/dl-machine.h: New file.
64265 2012-05-14  Andreas Jaeger  <aj@suse.de>
64267         * manual/Makefile (subdir): Remove export of subdir.
64268         (all): Remove target.
64269         (.PHONY): Remove all from list.
64270         (mkinstalldirs): Remove.
64271         (.PHONY): Remove installdirs from list.
64272         ($(inst_infodir)/libc.info): Use make-target-directory.
64273         (installdirs): Remove.
64274         (subdir_%): Remove.
64275         (glibc-targets): Remove.
64276         (lib): Remove.
64277         (stubs): Remove.
64278         ($(objpfx)stubs ../po/manual.pot): Remove.
64279         ($(objpfx)stamp%): Remove.
64280         (make-target-directory): Remove.
64281         (subdir_install): Remove.
64282         (routines): Remove.
64283         (aux): Remove.
64284         (sources): Remove.
64285         (objects): Remove.
64286         (headers): Remove.
64288         [BZ #13750]
64289         * manual/.gitignore: Remove, it's not needed anymore.
64290         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
64291         all files in it.
64292         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
64293         directory.
64294         (texis): Renamed to $(objpfx)texis.
64295         (texis-path): New, contains path to generated files.
64296         (chapters.%): Use texis-path for complete path, add extra argument
64297         libc-texinfo.sh.
64298         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
64299         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
64300         (summary,texi, stamp-summary): Use complete path of
64301         files. Generate files in build dir.
64302         (dir-add.texi): Build in build dir.
64303         (libm-err.texi,stamp-libm-err): Likewise.
64304         (version.texi, stamp-version): Likewise.
64305         (.%c.texi): Likewise.
64306         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
64307         (mostlyclean): Remove target.
64308         (realclean): Remove target.
64309         (generated): Add new variable with contents from mostlyclean and
64310         realclean, remove entries duplicated in common-mostlyclean, add
64311         stamp-libm-err and stamp-version.
64312         (generated-dirs): Add libc directory.
64313         ($(inst_infodir)/libc.info): Install files from build dir.
64315         * manual/install.texi (Configuring and compiling): Adjust since
64316         the info files are not part of the tar ball anymore.
64318 2012-05-14  Andreas Jaeger  <aj@suse.de>
64320         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
64321         variable.
64323 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
64325         [BZ #13717]
64326         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
64327         to 2.2.0 where earlier.
64328         * sysdeps/unix/sysv/linux/configure: Regenerated.
64329         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
64330         Remove conditional code.
64331         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
64332         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
64333         Remove conditional code.
64334         [!__NR_lchown]: Likewise.
64335         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
64336         [__NR_lchown]: Likewise.
64337         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
64338         comment referencing __ASSUME_LCHOWN_SYSCALL.
64339         * sysdeps/unix/sysv/linux/i386/sigaction.c
64340         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
64341         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
64342         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
64343         Remove conditional code.
64344         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
64345         (__protocol_available): Remove #if 0 code.
64346         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
64347         conditional code.
64348         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
64349         * sysdeps/unix/sysv/linux/kernel-features.h
64350         (__ASSUME_GETCWD_SYSCALL): Don't define.
64351         (__ASSUME_REALTIME_SIGNALS): Likewise.
64352         (__ASSUME_PREAD_SYSCALL): Likewise.
64353         (__ASSUME_PWRITE_SYSCALL): Likewise.
64354         (__ASSUME_POLL_SYSCALL): Likewise.
64355         (__ASSUME_LCHOWN_SYSCALL): Likewise.
64356         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
64357         non-SPARC.
64358         (__ASSUME_SIOCGIFNAME): Don't define.
64359         (__ASSUME_MSG_NOSIGNAL): Likewise.
64360         (__ASSUME_SENDFILE): Define unconditionally.
64361         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
64362         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
64363         conditional code.
64364         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
64365         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
64366         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
64367         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
64368         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
64369         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
64370         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
64371         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
64372         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
64373         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
64374         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
64375         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
64376         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
64377         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
64378         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
64379         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
64380         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
64381         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
64382         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
64383         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
64384         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
64385         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
64386         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
64387         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
64388         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
64389         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
64390         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
64391         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
64392         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
64393         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
64394         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
64395         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
64396         Remove conditional code.
64397         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
64398         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
64399         Remove conditional code.
64400         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
64401         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
64402         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
64403         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
64404         Remove conditional code.
64405         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
64406         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
64407         Remove conditional code.
64408         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
64409         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
64410         Remove conditional code.
64411         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
64412         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
64413         Remove conditional code.
64414         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
64415         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
64416         Remove conditional code.
64417         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
64418         * sysdeps/unix/sysv/linux/sh/pwrite64.c
64419         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
64420         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
64421         * sysdeps/unix/sysv/linux/sigaction.c
64422         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
64423         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
64424         * sysdeps/unix/sysv/linux/sigpending.c
64425         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
64426         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
64427         * sysdeps/unix/sysv/linux/sigprocmask.c
64428         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
64429         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
64430         * sysdeps/unix/sysv/linux/sigsuspend.c
64431         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
64432         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
64433         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
64434         (__libc_missing_rt_sigs): Remove.
64435         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
64436         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
64437         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
64438         Remove conditional code.
64439         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
64440         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
64441         return 1.
64442         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
64443         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
64444         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
64445         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
64447 2012-05-14  Andreas Jaeger  <aj@suse.de>
64449         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
64450         it's not used in glibc.
64451         (__coshm1): Likewise.
64452         (__acosh1p): Likewise.
64453         (__sgn): Likewise.
64455         * manual/string.texi (Copying and Concatenation): Add missing
64456         variable in concat example.
64457         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
64459 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
64461         [BZ #14103]
64462         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
64463         __builtin_clzl with __builtin_clzll.
64465 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
64467         [BZ #14104]
64468         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
64469         libc_freeres_ptr.
64471 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
64473         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
64474         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
64475         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
64476         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
64478 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
64480         * NEWS: Update ia64 info.
64482 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
64484         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
64485         used as bcopy.
64487 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
64489         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
64490         * sysdeps/unix/syscalls.list (dup3): Likewise.
64491         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
64492         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
64494 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
64496         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
64497         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
64499 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
64501         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
64502         thread pointer.
64503         (TLS_IE): Use mov/add instead of movq/addq to load thread
64504         pointer.
64505         (TLS_GD_PREFIX): New.
64506         (TLS_GD): Use it.
64508 2012-05-11  David S. Miller  <davem@davemloft.net>
64510         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
64511         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
64512         (_FPU_SETCW): Likewise.
64514 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
64516         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
64517         is 32-byte aligned.
64519 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
64521         [BZ #11837]
64522         * iconvdata/gb18030.c: Update tables.
64523         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
64524         characters specially.
64525         (BODY for TO_LOOP): Add encoding of missing ranges.
64527 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
64529         [BZ #13673]
64530         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
64531         * sysdeps/mach/hurd/dup3.c: Likewise.
64532         * sysdeps/mach/hurd/readlinkat.c: Likewise.
64533         * sysdeps/powerpc/memmove.c:: Likewise.
64535 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
64537         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
64538         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
64540 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
64542         * elf/elf.h (R_X86_64_RELATIVE64): New.
64543         (R_X86_64_NUM): Updated.
64544         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
64545         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
64546         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
64547         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
64548         tst-quad1pie tst-quad2pie
64549         (modules-names): Add tst-quadmod1 tst-quadmod2.
64550         ($(objpfx)tst-quad1): New dependency.
64551         ($(objpfx)tst-quad2): Likewise.
64552         ($(objpfx)tst-quad1pie): Likewise.
64553         ($(objpfx)tst-quad2pie): Likewise.
64554         * sysdeps/x86_64/tst-quad1.c: New file.
64555         * sysdeps/x86_64/tst-quad1pie.c: New file.
64556         * sysdeps/x86_64/tst-quad2.c: Likewise.
64557         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
64558         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
64559         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
64560         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
64561         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
64563 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
64565         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
64566         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
64567         * streams/stropts.h (t_scalar_t): Define type.
64569         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
64570         (_PATH_PRESERVE): Set to "/var/lib".
64571         (_PATH_RWHODIR): Set to "/var/spool/rwho".
64573         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
64574         instead of int.
64576         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
64577         if __dir_mkfile succeeded.
64579         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
64580         checking for _hurd_dtablesize.  Unlock it right after having
64581         finished _hurd_dtable allocation.
64583 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
64585         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
64586         * sysdeps/mach/hurd/configure: Regenerated.
64587         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
64588         special-casing to...
64589         * sysdeps/gnu/configure.in: ... this new file.
64590         * sysdeps/unix/sysv/linux/configure: Regenerated.
64591         * sysdeps/gnu/configure: New generated file.
64593         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
64594         for Linux: use nsec instead of usec, as well as:
64595         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
64596         members of type struct timespec.
64597         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
64598         New macros.
64599         (struct stat64): Likewise.
64600         (_STATBUF_ST_NSEC): New macro.
64601         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
64603         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
64604         __strtoul_internal rather than strtoul.
64606 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
64608         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
64609         and reject them.
64611 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
64613         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
64614         which preserves existing values.
64615         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
64617 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
64619         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
64620         TIMEOUT values.  Return EINVAL for NFDS values either negative or
64621         greater than FD_SETSIZE.
64623 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
64625         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
64626         allocated, call __vm_protect to finish enabling the existing space, and
64627         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
64628         allocate the remainder.
64630 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
64632         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
64633         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
64635 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
64637         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
64638         sysdeps/mach/hurd/readlink.c.
64640         * posix/tst-sysconf.c (posix_options): Only use
64641         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
64642         _POSIX_SYNCHRONIZED_IO when they are defined
64643         * sysdeps/mach/hurd/bits/posix_opt.h:
64644         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
64645         (_XOPEN_REALTIME): Undefine macro.
64646         (_XOPEN_REALTIME_THREADS): Undefine macro.
64647         (_XOPEN_SHM): Undefine macro.
64648         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
64649         macro to -1.
64650         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
64651         macro to -1.
64652         (_POSIX_ASYNC_IO): Undefine macro.
64653         (_POSIX_PRIORITIZED_IO): Undefine macro.
64654         (_POSIX_SPIN_LOCKS): Define macro to -1.
64656         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
64657         SA_NODEFER, SA_RESETHAND.
64658         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
64659         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
64660         F_DUPFD_CLOEXEC.
64662 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
64664         * elf/Makefile (pldd-modules): Define unconditionally.
64666 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
64668         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
64670 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
64672         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
64673         Return ENOENT when name is empty.
64674         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
64676 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
64678         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
64680         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
64682 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
64684         Fix mlock in all cases except non-readable pages.
64685         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
64686         instead of VM_PROT_ALL as parameter to __vm_wire function.
64688         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
64689         (__mkdir): When path is `/', just fail with EEXIST.
64690         * sysdeps/mach/hurd/mkdirat.c: Likewise.
64692 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
64694         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
64695         <sys/uio.h> (for writev).
64696         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
64697         and <sys/param.h> (for MIN).
64699 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
64701         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
64702         REQUESTED_TIME.  Properly set the remaining time and return EINTR
64703         if interrupted.
64705 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
64707         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
64708         Depend on against $(link-rpcuserlibs).
64710 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
64712         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
64713         (__libc_stack_end): Do not use attribute_relro.
64714         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
64715         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
64716         to libthread-provided value.
64717         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
64718         attribute_relro.
64720 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
64722         [BZ #3748]
64723         * bits/libc-lock.h (__libc_once_get): New macro.
64724         * sysdeps/mach/bits/libc-lock.h: Likewise.
64725         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
64726         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
64727         instead of using implementation details.
64729         * libio/fileops.c: Unconditionally include <kernel-features.h>.
64730         * libio/freopen.c: Likewise.
64731         * libio/freopen64.c: Likewise.
64732         * misc/syslog.c: Likewise.
64733         * nscd/connections.c: Likewise.
64734         * nscd/netgroupcache.c: Likewise.
64735         * sysdeps/posix/getcwd.c: Likewise.
64737 2012-05-10  Roland McGrath  <roland@hack.frob.com>
64739         * math/w_ilogbf.c: Add #include <limits.h>.
64741 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
64743         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
64744         path instead of returning without unlocking.
64746         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
64747         immediate-write ioctls.
64748         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
64750 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
64752         * sysdeps/mach/hurd/i386/init-first.c (init): Use
64753         __builtin_frame_address instead of making assumptions about the
64754         location of the return address relative to DATA.  Force early load of
64755         the return address.
64756         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
64757         __builtin_frame_address.
64759         dup3 for GNU Hurd.
64760         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
64761         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
64762         implement dup3 and do some further code clean-ups.
64763         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
64764         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
64766 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
64768         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
64770         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
64771         HURD_CRITICAL_END around holding _hurd_dtable_lock.
64772         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
64773         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
64774         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
64775         d->port.lock.
64777         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
64778         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
64779         when handler == SIG_ERR, not when handler != SIG_ERR.
64781 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
64783         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
64784         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
64785         definitions.
64787         accept4 for GNU Hurd.
64788         * include/sys/socket.h (__libc_accept4): New prototype.
64789         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
64790         to implement __libc_accept4.
64791         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
64792         __libc_accept4.
64793         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
64795         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
64796         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
64797         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
64798         signal-defines.sym.
64800 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
64802         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
64804 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
64806         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
64807         assertion on O_CLOEXEC flag.
64808         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
64809         * hurd/intern-fd.c: Likewise.
64810         * hurd/port2fd.c: Likewise.
64812 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
64814         [BZ #3906]
64815         * bits/in.h (IPV6_PKTINFO): Define new macro.
64816         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
64818 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64820         [BZ #13954]
64821         [BZ #13955]
64822         [BZ #13956]
64823         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
64824         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
64825         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
64826         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
64827         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
64828         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
64829         * math/libm-test.inc (logb_test) : Additional logb tests.
64831 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
64832             Andreas Jaeger  <aj@suse.de>
64834         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
64835         * configure: Regenerated.
64836         * config.h.in (LINK_OBSOLETE_RPC): New macro.
64837         * config.make.in (link-obsolete-rpc): New substituted variable.
64838         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
64839         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
64840         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
64841         (shared-only-routines): Don't set it under [link-obsolete-rpc],
64842         so that libc.a contains the symbols.
64843         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
64844         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
64845         * sunrpc/auth_none.c: Likewise.
64846         * sunrpc/auth_unix.c: Likewise.
64847         * sunrpc/authdes_prot.c: Likewise.
64848         * sunrpc/authuxprot.c: Likewise.
64849         * sunrpc/clnt_gen.c: Likewise.
64850         * sunrpc/clnt_perr.c: Likewise.
64851         * sunrpc/clnt_raw.c: Likewise.
64852         * sunrpc/clnt_simp.c: Likewise.
64853         * sunrpc/clnt_tcp.c: Likewise.
64854         * sunrpc/clnt_udp.c: Likewise.
64855         * sunrpc/clnt_unix.c: Likewise.
64856         * sunrpc/des_crypt.c: Likewise.
64857         * sunrpc/des_soft.c: Likewise.
64858         * sunrpc/get_myaddr.c: Likewise.
64859         * sunrpc/key_call.c: Likewise.
64860         * sunrpc/key_prot.c: Likewise.
64861         * sunrpc/netname.c: Likewise.
64862         * sunrpc/pm_getmaps.c: Likewise.
64863         * sunrpc/pm_getport.c: Likewise.
64864         * sunrpc/pmap_clnt.c: Likewise.
64865         * sunrpc/pmap_prot.c: Likewise.
64866         * sunrpc/pmap_prot2.c: Likewise.
64867         * sunrpc/pmap_rmt.c: Likewise.
64868         * sunrpc/publickey.c: Likewise.
64869         * sunrpc/rpc_cmsg.c: Likewise.
64870         * sunrpc/rpc_common.c: Likewise.
64871         * sunrpc/rpc_dtable.c: Likewise.
64872         * sunrpc/rpc_prot.c: Likewise.
64873         * sunrpc/rpc_thread.c: Likewise.
64874         * sunrpc/rtime.c: Likewise.
64875         * sunrpc/svc.c: Likewise.
64876         * sunrpc/svc_auth.c: Likewise.
64877         * sunrpc/svc_raw.c: Likewise.
64878         * sunrpc/svc_run.c: Likewise.
64879         * sunrpc/svc_tcp.c: Likewise.
64880         * sunrpc/svc_udp.c: Likewise.
64881         * sunrpc/svc_unix.c: Likewise.
64882         * sunrpc/svcauth_des.c: Likewise.
64883         * sunrpc/xcrypt.c: Likewise.
64884         * sunrpc/xdr.c: Likewise.
64885         * sunrpc/xdr_array.c: Likewise.
64886         * sunrpc/xdr_float.c: Likewise.
64887         * sunrpc/xdr_intXX_t.c: Likewise.
64888         * sunrpc/xdr_mem.c: Likewise.
64889         * sunrpc/xdr_rec.c: Likewise.
64890         * sunrpc/xdr_ref.c: Likewise.
64891         * sunrpc/xdr_sizeof.c: Likewise.
64892         * sunrpc/xdr_stdio.c: Likewise.
64894 2012-05-10  Roland McGrath  <roland@hack.frob.com>
64896         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
64897         change.  Update copyright years.
64899 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
64901         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
64903 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
64904             Joseph Myers  <joseph@codesourcery.com>
64905             Paul Pluzhnikov  <ppluzhnikov@google.com>
64907         [BZ #14012]
64908         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
64909         requiring rpcgen.
64910         [cross-compiling] (extra-libs): Likewise.
64911         [cross-compiling] (extra-libs-others): Likewise.
64912         [cross-compiling] (librpcsvc-routines): Likewise.
64913         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
64914         [cross-compiling] (omit-deps): Likewise.
64915         (sunrpc-CPPFLAGS): New variable.
64916         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
64917         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
64918         (cross-rpcgen-objs): New variable.
64919         (extra-objs): Append $(cross-rpcgen-objs).
64920         ($(cross-rpcgen-objs)): New rule.
64921         ($(objpfx)cross-rpcgen): Likewise.
64922         (rpcgen-cmd): Define to use $(built-program-file).  Expand
64923         comment.
64924         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
64925         ($(objpfx)x%.stmp): Likewise.
64926         * sunrpc/proto.h [IS_IN_build] (_): Define.
64927         [IS_IN_build] (_libc_intl_domainname): Likewise.
64929 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
64931         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
64932         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
64933         and R_X86_64_TPOFF64.
64935 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
64937         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
64938         sysdeps/unix/sysv/syscalls.list.
64939         (stime): Likewise.
64940         (utime): Likewise.
64941         * sysdeps/unix/sysv/syscalls.list: Remove file.
64943 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
64945         [BZ #3440]
64946         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
64947         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
64948         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
64949         (__LC_IDENTIFICATION): Make these macros useful in #if
64950         expressions, as required by C99.
64952 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
64954         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
64955         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
64956         after this.
64958 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
64960         * stdlib/longlong.h: Updated from GCC.
64962 2012-05-09  Andreas Jaeger  <aj@suse.de>
64964         * nscd/nscd.c (run_modes): Make named enum, reorder so that
64965         default is first entry.
64966         (run_mode): Set type.
64967         (main): Remove informal message about syslog.
64968         (options): Fix typo.
64970         [BZ #14053]
64971         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
64972         to asm.
64973         (lrint): Likewise.
64974         (llrintf): Likewise.
64975         (llrint): Likewise.
64976         (rint): Likewise.
64977         (rintf): Likewise.
64978         (nearbyint): Likewise.
64979         (nearbyintf): Likewise.
64981 2012-05-09  Andreas Jaeger  <aj@suse.de>
64982             Pedro Alves  <palves@redhat.com>
64984         * nscd/nscd.c (run_mode): Use enum.
64985         (main): Cleanup coding style issue.
64987 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
64988             Andreas Jaeger  <aj@suse.de>
64990         * nscd/nscd.c (go_background): Replaced with...
64991         (run_mode): ... this.
64992         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
64993         (options): Add -F --foreground.
64994         (main): Implement it.
64995         (parse_opt): Parse it.
64997 2012-05-09  Andreas Jaeger  <aj@suse.de>
64999         [BZ #14083]
65000         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
65001         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
65002         -Wconversion warning.
65003         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
65004         Likewise.
65006 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
65008         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
65009         == 0.
65010         (LC_ALL): Use macro-int-constant.
65011         (LC_COLLATE): Likewise.
65012         (LC_CTYPE): Likewise.
65013         (LC_MESSAGES): Likewise.
65014         (LC_MONETARY): Likewise.
65015         (LC_NUMERIC): Likewise.
65016         (LC_TIME): Likewise.
65017         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
65018         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
65019         [ISO || ISO99 || ISO11] (*_t): Do not allow.
65020         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
65021         Specify type.
65022         [C99-based standards] (float_t): Expect type.
65023         [C99-based standards] (double_t): Expect type.
65024         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
65025         type.
65026         [C99-based standards] (HUGE_VALL): Likewise.
65027         [C99-based standards] (INFINITY): Likewise.
65028         [C99-based standards] (NAN): Likewise.
65029         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
65030         [C99-based standards] (FP_NAN): Likewise.
65031         [C99-based standards] (FP_NORMAL): Likewise.
65032         [C99-based standards] (FP_SUBNORMAL): Likewise.
65033         [C99-based standards] (FP_ZERO): Likewise.
65034         [C99-based standards] (FP_FAST_FMA): Use
65035         optional-macro-int-constant.  Specify type.  Require == 1.
65036         [C99-based standards] (FP_FAST_FMAF): Likewise.
65037         [C99-based standards] (FP_FAST_FMAL): Likewise.
65038         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
65039         [C99-based standards] (FP_ILOGBNAN): Likewise.
65040         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
65041         Specify type.
65042         [C99-based standards] (MATH_ERREXCEPT): Likewise.
65043         [C99-based standards] (math_errhandling): Specify type.
65044         [ISO99 || ISO11] (signgam): Do not allow.
65045         [non-C99-based standards] (copysignf): Do not allow.
65046         [non-C99-based standards] (exp2f): Likewise.
65047         [non-C99-based standards] (log2f): Likewise.
65048         [non-C99-based standards] (modff): Allow.
65049         [non-C99-based standards] (erff): Do not allow.
65050         [non-C99-based standards] (erfcf): Likewise.
65051         [non-C99-based standards] (gammaf): Likewise.
65052         [non-C99-based standards] (hypotf): Likewise.
65053         [non-C99-based standards] (j0f): Likewise.
65054         [non-C99-based standards] (j1f): Likewise.
65055         [non-C99-based standards] (jnf): Likewise.
65056         [non-C99-based standards] (lgammaf): Likewise.
65057         [non-C99-based standards] (tgammaf): Likewise.
65058         [non-C99-based standards] (y0f): Likewise.
65059         [non-C99-based standards] (y1f): Likewise.
65060         [non-C99-based standards] (ynf): Likewise.
65061         [non-C99-based standards] (isnanf): Likewise.
65062         [non-C99-based standards] (acoshf): Likewise.
65063         [non-C99-based standards] (asinhf): Likewise.
65064         [non-C99-based standards] (atanhf): Likewise.
65065         [non-C99-based standards] (cbrtf): Likewise.
65066         [non-C99-based standards] (expm1f): Likewise.
65067         [non-C99-based standards] (ilogbf): Likewise.
65068         [non-C99-based standards] (log1pf): Likewise.
65069         [non-C99-based standards] (logbf): Likewise.
65070         [non-C99-based standards] (nextafterf): Likewise.
65071         [non-C99-based standards] (remainderf): Likewise.
65072         [non-C99-based standards] (rintf): Likewise.
65073         [non-C99-based standards] (scalbf): Likewise.
65074         [non-C99-based standards] (copysignl): Likewise.
65075         [non-C99-based standards] (exp2l): Likewise.
65076         [non-C99-based standards] (log2l): Likewise.
65077         [non-C99-based standards] (modfl): Allow.
65078         [non-C99-based standards] (erfl): Do not allow.
65079         [non-C99-based standards] (erfcl): Likewise.
65080         [non-C99-based standards] (gammal): Likewise.
65081         [non-C99-based standards] (hypotl): Likewise.
65082         [non-C99-based standards] (j0l): Likewise.
65083         [non-C99-based standards] (j1l): Likewise.
65084         [non-C99-based standards] (jnl): Likewise.
65085         [non-C99-based standards] (lgammal): Likewise.
65086         [non-C99-based standards] (tgammal): Likewise.
65087         [non-C99-based standards] (y0l): Likewise.
65088         [non-C99-based standards] (y1l): Likewise.
65089         [non-C99-based standards] (ynl): Likewise.
65090         [non-C99-based standards] (isnanl): Likewise.
65091         [non-C99-based standards] (acoshl): Likewise.
65092         [non-C99-based standards] (asinhl): Likewise.
65093         [non-C99-based standards] (atanhl): Likewise.
65094         [non-C99-based standards] (cbrtl): Likewise.
65095         [non-C99-based standards] (expm1l): Likewise.
65096         [non-C99-based standards] (ilogbl): Likewise.
65097         [non-C99-based standards] (log1pl): Likewise.
65098         [non-C99-based standards] (logbl): Likewise.
65099         [non-C99-based standards] (nextafterl): Likewise.
65100         [non-C99-based standards] (remainderl): Likewise.
65101         [non-C99-based standards] (rintl): Likewise.
65102         [non-C99-based standards] (scalbl): Likewise.
65103         [ISO || ISO99 || ISO11] (*_t): Do not allow.
65104         [non-C99-based standards] (FP_*): Do not allow.
65105         [C99-based standards] (FP_*): Change to
65106         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
65107         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
65108         allow.
65109         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
65110         (SIG_ERR): Likewise.
65111         [X/Open-based standards] (SIG_HOLD): Likewise.
65112         (SIG_IGN): Likewise.
65113         (SIGABRT): Use macro-int-constant.  Specify type.  Require
65114         positive value.
65115         (SIGFPE): Likewise.
65116         (SIGILL): Likewise.
65117         (SIGINT): Likewise.
65118         (SIGSEGV): Likewise.
65119         (SIGTER): Likewise.
65120         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
65121         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
65122         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
65123         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
65124         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
65125         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
65126         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
65127         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
65128         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
65129         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
65130         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
65131         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
65132         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
65133         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
65134         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
65135         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
65136         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
65137         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
65138         [X/Open-based standards] (SIGTRAP): Likewise.
65139         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
65140         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
65141         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
65142         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
65143         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
65144         allow.
65146 2012-05-08  Ian Wienand  <ianw@vmware.com>
65148         [BZ #14080]
65149         * time/tzset.c (__tzset_parse_tz): Update default rules for
65150         daylight time changes in the Energy Policy Act of 2005.
65152 2012-05-09  Andreas Jaeger  <aj@suse.de>
65154         [BZ #13983]
65155         * elf/ldconfig.c (parse_conf): Change string to make clear that
65156         ldconfig only issued a warning if ld.so.conf does not exist.
65158 2012-05-08  David S. Miller  <davem@davemloft.net>
65160         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
65161         movxtod instead of popping the value on the stack.
65163         * sysdeps/sparc/fpu/libm-test-ulps: Update.
65165 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
65167         * config.h.in: Add HAVE_ARM_PCS_VFP.
65169 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
65171         [BZ #13979]
65172         * include/features.h: Warn if user requests __FORTIFY_SOURCE
65173         checking but the checks are disabled for any reason.
65175 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
65177         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
65178         and ELF64_R_TYPE with ELFW(R_TYPE).
65180 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
65182         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
65183         (ulimit): Likewise.
65185         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
65186         (settimeofday): Likewise.
65188 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
65190         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
65191         a struct th_u2 inside the union, and move tu_block/tu_code into
65192         a new th_u3 union of tu_block/tu_code inside of that.  Move
65193         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
65194         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
65195         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
65196         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
65197         (th_stuff): Change to th_u1.tu_stuff.
65198         (th_data): Define.
65199         (th_msg): Change to th_u1.th_u2.tu_data.
65201 2012-05-07  David S. Miller  <davem@davemloft.net>
65203         * sysdeps/sparc/fpu/libm-test-ulps: Update.
65205         [BZ #14074]
65206         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
65207         (SETUP_PIC_REG): Use it.
65208         (SETUP_PIC_REG_LEAF): Use it.
65210 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
65212         [BZ #13885]
65213         [BZ #13923]
65214         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
65215         USE_AS_EXPM1L.
65216         (EXPL_FINITE): Likewise.
65217         (FLDLOG): Likewise.
65218         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
65219         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
65220         e_expl.S.
65221         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
65222         USE_AS_EXPM1L.
65223         (EXPL_FINITE): Likewise.
65224         (FLDLOG): Likewise.
65225         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
65226         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
65227         e_expl.S.
65228         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
65229         test of -max_value argument for long double.
65230         * sysdeps/i386/fpu/libm-test-ulps: Update.
65231         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65233 2012-05-06  David S. Miller  <davem@davemloft.net>
65235         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
65236         quad soft-float symbols whose references which are compiler
65237         generated.
65238         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
65240 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
65242         [BZ #13884]
65243         [BZ #13914]
65244         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
65245         USE_AS_EXP10L.
65246         (EXPL_FINITE): Likewise.
65247         (FLDLOG): Likewise.
65248         (c0): Likewise.
65249         (c1): Likewise.
65250         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
65251         Adjust comments for base varying.
65252         (__expl_finite): Change alias to EXPL_FINITE.
65253         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
65254         e_expl.S.
65255         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
65256         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
65257         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
65258         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
65259         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
65260         USE_AS_EXP10L.
65261         (EXPL_FINITE): Likewise.
65262         (FLDLOG): Likewise.
65263         (c0): Likewise.
65264         (c1): Likewise.
65265         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
65266         Adjust comments for base varying.
65267         (__expl_finite): Change alias to EXPL_FINITE.
65268         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
65269         tests for bugs.
65270         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
65272         [BZ #14064]
65273         * math/libm-test.inc (check_float_internal): Correct ulp
65274         calculation for subnormal expected results.
65276 2012-05-06  Andreas Jaeger  <aj@suse.de>
65278         * Makeconfig (+math-flags): New, set to -frounding-math.
65279         (+cflags): Add +math-flags so that all of glibc gets compiled with
65280         it.
65282         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
65284 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
65286         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
65287         Disable one test.
65289         [BZ #13787]
65290         [BZ #13922]
65291         [BZ #14036]
65292         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
65293         (__ieee754_expl): Allow for and saturate large arguments.
65294         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
65295         (u_threshold): Likewise.
65296         (__exp): Call __ieee754_exp before checking for overflow and
65297         underflow.
65298         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
65299         (u_threshold): Likewise.
65300         (__expf): Call __ieee754_expf before checking for overflow and
65301         underflow.
65302         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
65303         (u_threshold): Likewise.
65304         (__expl): Call __ieee754_expl before checking for overflow and
65305         underflow.
65306         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
65307         (__ieee754_expl): Allow for and saturate large arguments.
65308         * math/libm-test.inc (exp_test): Add another test.  Do not allow
65309         missing overflow exception on overflow.
65310         (expm1_test): Do not allow missing overflow exception on overflow.
65312         * sysdeps/i386/fpu/e_expl.c: Move to ...
65313         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
65314         rather than using inline asm.
65315         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
65316         * sysdeps/x86_64/fpu/e_expl.S: Copy from
65317         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
65319         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
65320         (nice): Likewise.
65321         (poll): Likewise.
65322         (signal): Likewise.
65323         (time): Likewise.
65324         (times): Likewise.
65326 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
65328         * sysdeps/unix/syscalls.list (adjtime): Add entry from
65329         sysdeps/unix/common/syscalls.list.
65330         (fchmod): Likewise.
65331         (fchown): Likewise.
65332         (ftruncate): Likewise.
65333         (getrusage): Likewise.
65334         (gettimeofday): Likewise.
65335         (setpgid): Likewise.
65336         (setregid): Likewise.
65337         (setreuid): Likewise.
65338         (sigaction): Likewise.
65339         (truncate): Likewise.
65340         (vhangup): Likewise.
65341         * sysdeps/unix/common/syscalls.list: Remove file.
65342         * sysdeps/unix/bsd/Implies: Don't include unix/common.
65343         * sysdeps/unix/sysv/linux/Implies: Likewise.
65345 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
65347         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
65348         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
65349         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
65350         Moved to ...
65351         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
65352         Here.
65353         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
65354         to ...
65355         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
65356         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
65357         to ...
65358         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
65359         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
65360         to ...
65361         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
65362         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
65363         to ...
65364         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
65365         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
65366         to ...
65367         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
65368         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
65369         to ...
65370         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
65371         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
65372         to ...
65373         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
65374         Here.
65375         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
65376         to ...
65377         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
65378         Here.
65379         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
65380         to ...
65381         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
65382         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
65383         Moved to ...
65384         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
65385         Here.
65386         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
65387         to ...
65388         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
65390 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
65392         * sysdeps/unix/common/bits/dirent.h: Remove file.
65393         * sysdeps/unix/common/bits/fcntl.h: Likewise.
65395         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
65396         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
65397         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
65398         * sysdeps/unix/bsd/isatty.c: Likewise.
65399         * sysdeps/unix/bsd/tcdrain.c: Likewise.
65400         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
65401         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
65403 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65405         [BZ #13563]
65406         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
65407         long double comparison inaccuracies.
65408         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
65409         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
65411 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
65413         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
65414         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
65416 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
65418         [BZ #14049]
65419         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
65420         nonzero digits before rounding a hex value.
65421         * stdlib/tst-strtod.c (tests): Add another test.
65423 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
65425         * sysdeps/s390/fpu/libm-test-ulps: Update.
65427 2012-05-03  Andreas Jaeger  <aj@suse.de>
65429         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
65430         does not get optimized out.
65431         (malloc_opt_barrier): New.
65433 2012-05-03  Andreas Jaeger  <aj@suse.de>
65434             Roland McGrath  <roland@hack.frob.com>
65436         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
65437         intermediate file deletion.
65438         (generated): Add .symlist files.
65440 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
65442         [BZ #13775]
65443         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
65444         Redirect under this condition.
65445         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
65446         [__USE_GNU] (__dprintf_chk): Not under this condition.
65447         [__USE_GNU] (__vdprintf_chk): Likewise.
65448         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
65449         under this condition.
65450         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
65451         [__USE_XOPEN2K8] (dprintf): Define under this condition.
65452         [__USE_XOPEN2K8] (vdprintf): Likewise.
65453         [__USE_GNU] (__dprintf_chk): Not under this condition.
65454         [__USE_GNU] (__vdprintf_chk): Likewise.
65455         [__USE_GNU] (dprintf): Likewise.
65456         [__USE_GNU] (vdprintf): Likewise.
65458 2012-05-03  Roland McGrath  <roland@hack.frob.com>
65460         * elf/Makefile (common-generated): Set this instead of generated for
65461         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
65462         $(all-built-dso)-derived lists.
65464 2012-05-03  Andreas Jaeger  <aj@suse.de>
65466         * sysdeps/i386/fpu/libm-test-ulps: Update.
65468         * FAQ: Removed.
65469         * FAQ.in: Likewise.
65470         * scripts/gen-FAQ.pl: Likewise.
65471         * manual/install.texi (Installation): Point to online location of
65472         FAQ.
65473         * Makefile (files-for-dist): Remove FAQ.
65474         (FAQ): Remove.
65476 2012-05-02  Allan McRae  <allan@archlinux.org>
65478         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
65479         (LDFLAGS-reldepmod5.so): Likewise.
65480         (LDFLAGS-reldep6mod1.so): Likewise.
65481         (LDFLAGS-reldep6mod4.so): Likewise.
65482         (LDFLAGS-reldep8mod3.so): Likewise.
65483         (LDFLAGS-unload4mod1.so): Likewise.
65484         (LDFLAGS-unload4mod2.so): Likewise.
65485         (LDFLAGS-tst-initorder): Likewise.
65486         (LDFLAGS-tst-initordera2.so): Likewise.
65487         (LDFLAGS-tst-initordera3.so): Likewise.
65488         (LDFLAGS-tst-initordera4.so): Likewise.
65489         (LDFLAGS-tst-initorderb2.so): Likewise.
65490         (LDFLAGS-noload): Likewise.
65491         (LDFLAGS-next): Likewise.
65492         (LDFLAGS-order2mod1.so): Likewise.
65493         (LDFLAGS-order2mod2.so): Likewise.
65494         (LDFLAGS-tst-initorder2): Likewise.
65495         (LDFLAGS-tst-initorder2a.so): Likewise.
65496         (LDFLAGS-tst-initorder2b.so): Likewise.
65497         (LDFLAGS-tst-initorder2c.so): Likewise.
65498         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
65500 2012-05-02  David S. Miller  <davem@davemloft.net>
65502         * sysdeps/sparc/fpu/libm-test-ulps: Update.
65504 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
65506         [BZ #14055]
65507         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
65509 2012-05-02  Andreas Jaeger  <aj@suse.de>
65511         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
65512         since we manipulate rounding mode.
65513         (CPPFLAGS-test-idouble.c): Likewise.
65514         (CPPFLAGS-test-ifloat.c): Likewise.
65515         (CFLAGS-test-ldouble.c): Likewise.
65516         (CFLAGS-test-double.c): Likewise.
65517         (CFLAGS-test-float.c): Likewise.
65518         (CFLAGS-test-misc.c): Likewise.
65519         (CFLAGS-test-test-fenv.c): Likewise.
65521 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65523         [BZ #2550]
65524         [BZ #2570]
65525         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
65526         comparisons to determine direction to adjust input.
65528 2012-05-01  Roland McGrath  <roland@hack.frob.com>
65530         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
65531         output to the target.
65533         * scripts/localplt.awk: New file.
65534         * elf/Makefile ($(objpfx)check-localplt): Target removed.
65535         (check-localplt-CFLAGS): Variable removed.
65536         ($(all-built-dso:=.jmprel)): New static pattern rule.
65537         (generated): Add those targets.
65538         (localplt-built-dso): New variable.
65539         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
65541         * elf/check-localplt.c: File removed.
65543         * scripts/check-execstack.awk: New file.
65544         * elf/Makefile ($(objpfx)check-execstack): Target removed.
65545         (check-execstack-CFLAGS): Variable removed.
65546         ($(objpfx)check-execstack.h): Target removed.
65547         ($(objpfx)execstack-default): New target.
65548         (generated): Add that instead of check-execstack.h.
65549         ($(all-built-dso:=.phdr)): New static pattern rule.
65550         (generated): Add those targets.
65551         * elf/check-execstack.c: File removed.
65553         * scripts/check-textrel.awk: New file.
65554         * elf/Makefile ($(objpfx)check-textrel): Target removed.
65555         (check-textrel-CFLAGS): Variable removed.
65556         (all-built-dso): Use := to define.o
65557         ($(all-built-dso:=.dyn)): New static pattern rule.
65558         (generated): Add those targets.
65559         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
65560         * config.make.in (READELF): New substituted variable.
65561         * elf/check-textrel.c: File removed.
65563 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
65565         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
65566         allow.
65567         * conform/data/ctype.h-data [C99-based standards] (isblank):
65568         Expect function.
65569         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
65570         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
65571         [ISO || ISO99 || ISO11] (*_t): Do not allow.
65572         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
65573         Specify type.  Require positive value.
65574         (EILSEQ): Likewise.
65575         (ERANGE): Likewise.
65576         [ISO || POSIX] (EILSEQ): Do not expect.
65577         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
65578         Specify type.  Require positive value.
65579         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
65580         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
65581         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
65582         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
65583         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
65584         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
65585         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
65586         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
65587         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
65588         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
65589         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
65590         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
65591         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
65592         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
65593         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
65594         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
65595         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
65596         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
65597         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
65598         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
65599         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
65600         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
65601         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
65602         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
65603         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
65604         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
65605         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
65606         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
65607         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
65608         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
65609         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
65610         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
65611         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
65612         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
65613         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
65614         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
65615         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
65616         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
65617         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
65618         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
65619         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
65620         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
65621         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
65622         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
65623         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
65624         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
65625         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
65626         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
65627         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
65628         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
65629         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
65630         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
65631         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
65632         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
65633         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
65634         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
65635         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
65636         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
65637         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
65638         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
65639         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
65640         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
65641         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
65642         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
65643         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
65644         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
65645         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
65646         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
65647         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
65648         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
65649         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
65650         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
65651         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
65652         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
65653         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
65654         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
65655         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
65656         Require >= 2.
65657         (FLT_ROUNDS): Expect as macro, not constant.
65658         (FLT_MANT_DIG): Use macro-int-constant.
65659         (DBL_MANT_DIG): Likewise.
65660         (LDBL_MANT_DIG): Likewise.
65661         (FLT_DIG): Likewise.
65662         (DBL_DIG): Likewise.
65663         (LDBL_DIG): Likewise.
65664         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
65665         (DBL_MIN_EXP): Likewise.
65666         (LDBL_MIN_EXP): Likewise.
65667         (FLT_MAX_EXP): Use macro-int-constant.
65668         (DBL_MAX_EXP): Likewise.
65669         (LDBL_MAX_EXP): Likewise.
65670         (FLT_MAX_10_EXP): Likewise.
65671         (DBL_MAX_10_EXP): Likewise.
65672         (LDBL_MAX_10_EXP): Likewise.
65673         (FLT_MAX): Use macro-constant.
65674         (DBL_MAX): Likewise.
65675         (LDBL_MAX): Likewise.
65676         (FLT_EPSILON): Use macro-constant.  Give upper bound.
65677         (DBL_EPSILON): Likewise.
65678         (LDBL_EPSILON): Likewise.
65679         (FLT_MIN): Likewise.
65680         (DBL_MIN): Likewise.
65681         (LDBL_MIN): Likewise.
65682         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
65683         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
65684         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
65685         [ISO11] (FLT_HAS_SUBNORM): Likewise.
65686         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
65687         [ISO11] (DBL_DECIMAL_DIG): Likewise.
65688         [ISO11] (FLT_DECIMAL_DIG): Likewise.
65689         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
65690         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
65691         [ISO11] (FLT_TRUE_MIN): Likewise.
65692         [ISO11] (LDBL_TRUE_MIN): Likewise.
65693         [ISO || ISO99 || ISO11] (*_t): Do not allow.
65694         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
65695         (SCHAR_MIN): Use macro-int-constant.  Specify type.
65696         (SCHAR_MAX): Likewise.
65697         (UCHAR_MAX): Likewise.
65698         (CHAR_MIN): Likewise.
65699         (CHAR_MAX): Likewise.
65700         (MB_LEN_MAX): Use macro-int-constant.
65701         (SHRT_MIN): Use macro-int-constant.  Specify type.
65702         (SHRT_MAX): Likewise.
65703         (USHRT_MAX): Likewise.
65704         (INT_MAX): Likewise.
65705         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
65706         bound negative.
65707         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
65708         bound with "U".
65709         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
65710         bound with "L".
65711         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
65712         bound negative.  Suffix upper bound with "L".
65713         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
65714         bound with "UL".
65715         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
65716         Specify type.
65717         [C99-based standards] (LLONG_MAX): Likewise.
65718         [C99-based standards] (ULLONG_MAX): Likewise.
65719         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
65720         == 0.
65721         [ISO11] (max_align_t): Require type.
65722         [ISO || ISO99 || ISO11] (*_t): Do not allow.
65724         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
65725         from $CFLAGS, without defining away __attribute__ calls.
65726         (checknamespace): Use $CFLAGS_namespace.
65728         * conform/conformtest.pl (@keywords): Only include C99 keywords
65729         for standards based on C99 or C11.
65731         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
65732         Disable tests.
65733         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
65734         UNIX98]: Likewise.
65736         * conform/conformtest.pl: Handle "macro-int-constant" and test for
65737         usability of symbols in #if.
65739         * conform/conformtest.pl: If macro or constant types start
65740         "promoted:", expect the symbol to be of the following type
65741         promoted by the integer promotions.
65743         * conform/conformtest.pl: Parse all "constant" and "macro" lines
65744         in one place.  Also handle "macro-constant".
65746         * conform/conformtest.pl: Only accept expected macro values with
65747         "==".  Parse all "macro" lines in one place.
65748         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
65750         * conform/conformtest.pl: Handle braced types on "constant" lines
65751         instead of handling "typed-constant".
65752         * conform/data/signal.h-data: Use "constant" instead of
65753         "typed-constant".
65755         * conform/conformtest.pl: Handle "optional-" at start of lines in
65756         one place rather than duplicating several cases.  Handle each
65757         format of "macro" line with initial "optional-".
65759         * conform/conformtest.pl: Only accept expected constant or
65760         optional-constant values with "==".  Parse all "constant" lines in
65761         one place.  Parse all "optional-constant" lines in one place.
65762         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
65763         * conform/data/fmtmsg.h-data: Likewise.
65764         * conform/data/netinet/in.h-data: Likewise.
65765         * conform/data/tar.h-data: Likewise.
65766         * conform/data/limits.h-data: Use "==" form on "constant" and
65767         "optional-constant" lines.
65769         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
65770         Use -std=c99 for XOPEN2K.
65771         (@knownproblems): Remove.
65772         (newtoken): Don't check %isknown.
65774         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
65775         Do not expect macro.
65776         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
65777         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
65778         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
65779         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
65780         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
65781         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
65782         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
65783         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
65784         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
65785         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
65786         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
65787         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
65788         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
65789         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
65790         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
65791         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
65792         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
65793         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
65794         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
65795         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
65796         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
65797         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
65798         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
65799         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
65800         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
65801         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
65802         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
65803         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
65804         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
65805         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
65806         [XPG3] (acosh): Likewise.
65807         [XPG3] (asinh): Likewise.
65808         [XPG3] (atanh): Likewise.
65809         [XPG3] (cbrt): Likewise.
65810         [XPG3] (expm1): Likewise.
65811         [XPG3] (ilogb): Likewise.
65812         [XPG3] (log1p): Likewise.
65813         [XPG3] (logb): Likewise.
65814         [XPG3] (nextafter): Likewise.
65815         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
65816         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
65817         [XPG3] (remainder): Likewise.
65818         [XPG3] (rint): Likewise.
65819         [XPG3 || XPG4 || UNIX98] (round): Likewise.
65820         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
65821         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
65822         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
65823         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
65824         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
65825         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
65826         [UNIX98 || XOPEN2K] (scalb): Expect.
65827         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
65828         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
65829         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
65830         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
65831         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
65832         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
65833         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
65834         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
65835         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
65836         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
65837         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
65838         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
65839         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
65840         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
65841         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
65842         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
65843         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
65844         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
65845         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
65846         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
65847         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
65848         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
65849         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
65850         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
65851         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
65852         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
65853         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
65854         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
65855         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
65856         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
65857         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
65858         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
65859         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
65860         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
65861         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
65862         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
65863         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
65864         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
65865         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
65866         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
65867         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
65868         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
65869         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
65870         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
65871         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
65872         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
65873         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
65874         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
65875         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
65876         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
65877         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
65878         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
65879         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
65880         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
65881         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
65882         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
65883         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
65884         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
65885         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
65886         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
65887         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
65888         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
65889         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
65890         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
65891         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
65892         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
65893         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
65894         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
65895         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
65896         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
65897         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
65898         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
65899         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
65900         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
65901         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
65902         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
65903         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
65904         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
65905         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
65906         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
65907         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
65908         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
65909         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
65910         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
65911         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
65912         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
65913         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
65914         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
65915         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
65916         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
65917         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
65918         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
65919         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
65920         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
65921         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
65922         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
65923         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
65924         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
65925         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
65926         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
65927         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
65928         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
65929         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
65930         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
65931         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
65932         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
65933         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
65934         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
65935         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
65936         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
65937         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
65938         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
65939         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
65940         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
65941         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
65942         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
65943         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
65944         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
65945         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
65946         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
65947         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
65948         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
65949         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
65950         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
65951         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
65952         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
65953         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
65954         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
65955         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
65956         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
65957         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
65958         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
65959         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
65960         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
65961         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
65962         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
65963         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
65965         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
65966         _XOPEN_SOURCE_EXTENDED for XPG4.
65968         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
65970         * Makeconfig (localtime): Remove variable.
65971         (inst_localtime-file): Likewise.
65973 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
65975         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
65976         Update.
65977         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
65978         Update.
65979         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
65980         Update.
65981         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
65982         Update.
65983         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
65984         Update.
65985         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
65986         Update.
65987         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
65988         Update.
65989         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
65990         Update.
65991         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
65992         Update.
65994 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
65996         [BZ #2550]
65997         [BZ #2570]
65998         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
65999         comparisons to determine direction to adjust input.
66000         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
66001         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
66002         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
66003         Likewise.
66004         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
66005         Likewise.
66006         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
66007         Likewise.
66008         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
66009         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
66010         Likewise.
66011         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
66012         Likewise.
66013         * math/libm-test.inc (nexttoward_test): Add more tests.
66015 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
66017         [BZ #14040]
66018         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
66019         in version GLIBC_2.1, not GLIBC_2.0.
66020         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
66021         Likewise.
66023 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
66025         [BZ #13942]
66026         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
66027         (1 - x) * (1 + x).
66028         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
66029         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
66030         * math/libm-test.inc (acos_test): Add more tests.
66031         (asin_test): Likewise.
66032         * sysdeps/i386/fpu/libm-test-ulps: Update.
66033         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66035         [BZ #14034]
66036         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
66037         of square root.
66038         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
66039         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
66040         * math/libm-test.inc (acos_test_tonearest): New function.
66041         (acos_test_towardzero): Likewise.
66042         (acos_test_downward): Likewise.
66043         (acos_test_upward): Likewise.
66044         (asin_test_tonearest): Likewise.
66045         (asin_test_towardzero): Likewise.
66046         (asin_test_downward): Likewise.
66047         (asin_test_upward): Likewise.
66048         (main): Call the new functions.
66049         * sysdeps/i386/fpu/libm-test-ulps: Update.
66050         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
66052         [BZ #13884]
66053         [BZ #13924]
66054         * math/e_exp10.c: Include <float.h>.
66055         (__ieee754_exp10): Handle underflow here rather than multiplying
66056         large negative argument by M_LN10.
66057         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
66058         of __ieee754_expf.
66059         * math/e_exp10l.c: Include <float.h>.
66060         (__ieee754_exp10l): Handle underflow here rather than multiplying
66061         large negative argument by M_LN10l.
66062         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
66063         spurious overflow exception on underflow.
66065 2012-04-29  Marek Polacek  <polacek@redhat.com>
66067         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
66068         (__fortify_function): New macro.
66069         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
66070         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
66071         __extern_always_inline.
66072         * libio/bits/stdio2.h: Likewise.
66073         * libio/bits/stdio.h: Likewise.
66074         * string/string.h: Likewise.
66075         * string/bits/string3.h: Likewise.
66076         * include/stdio.h: Likewise.
66077         * stdlib/bits/stdlib.h: Likewise.
66078         * stdlib/stdlib.h: Likewise.
66079         * rt/bits/mqueue2.h: Likewise.
66080         * rt/mqueue.h: Likewise.
66081         * posix/bits/unistd.h: Likewise.
66082         * posix/unistd.h: Likewise.
66083         * io/bits/poll2.h: Likewise.
66084         * io/bits/fcntl2.h: Likewise.
66085         * io/fcntl.h: Likewise.
66086         * io/sys/poll.h: Likewise.
66087         * misc/bits/syslog.h: Likewise.
66088         * misc/bits/syslog-ldbl.h: Likewise.
66089         * misc/sys/syslog.h: Likewise.
66090         * socket/bits/socket2.h: Likewise.
66091         * socket/sys/socket.h: Likewise.
66092         * debug/tst-chk1.c: Likewise.
66093         * wcsmbs/bits/wchar2.h: Likewise.
66094         * wcsmbs/bits/wchar-ldbl.h: Likewise.
66095         * wcsmbs/wchar.h: Likewise.
66097 2012-04-29  Andreas Jaeger  <aj@suse.de>
66099         * Makerules (tests): Remove enable-check-abi protection.
66100         (check-abi-warn): Remove.
66101         (check-abi-%): Remove check-abi-warn usage.
66103         * configure.in: Remove check-abi configure option.
66104         * configure: Regenerated.
66105         * config.make.in (enable-check-abi): Remove.
66107 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
66109         [BZ #14033]
66110         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
66111         double functions to double *_finite functions.
66113         [BZ #13941]
66114         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
66115         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
66116         LDBL_MIN_EXP.
66117         * stdio-common/Makefile (tests): Add tst-sprintf3.
66118         * stdio-common/tst-sprintf3.c: New file.
66120         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
66121         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
66123 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
66125         * conform/conformtest.pl: Remove duplicate typed-constant
66126         handling.
66128 2012-04-28  David S. Miller  <davem@davemloft.net>
66130         * Makerules (%.abilist): Add vpath on sysdep_dirs.
66131         (check-abi-%): Remove AWK script prerequisite and explicit
66132         abilist directory.
66133         (check-abi): Rewrite to just diff the symlist with the abilist.
66134         (config-tls, config-abi-config): Delete, no longer used.
66135         (update-abi-%): Remove AWK script and explicit abilist directory.
66136         (update-abi): Rewrite to simply compare and conditionally copy the
66137         symlist and the sysdep abilist file.  Remove update-abi-config
66138         checks.
66139         * abilist/ld.abilist: Remove.
66140         * abilist/libBrokenLocale.abilist: Remove.
66141         * abilist/libanl.abilist: Remove.
66142         * abilist/libcrypt.abilist: Remove.
66143         * abilist/libdl.abilist: Remove.
66144         * abilist/librt.abilist: Remove.
66145         * abilist/libthread_db.abilist: Remove.
66146         * abilist/libutil.abilist: Remove.
66147         * scripts/extract-abilist.awk: Remove.
66148         * scripts/merge-abilist.awk: Remove.
66149         * sysdeps/generic/libcidn.abilist: New file.
66150         * sysdeps/generic/libnss_compat.abilist: New file.
66151         * sysdeps/generic/libnss_db.abilist: New file.
66152         * sysdeps/generic/libnss_dns.abilist: New file.
66153         * sysdeps/generic/libnss_files.abilist: New file.
66154         * sysdeps/generic/libnss_hesiod.abilist: New file.
66155         * sysdeps/generic/libnss_nis.abilist: New file.
66156         * sysdeps/generic/libnss_nisplus.abilist: New file.
66157         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
66158         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
66159         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
66160         file.
66161         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
66162         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
66163         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
66164         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
66165         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
66166         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
66167         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
66168         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
66169         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
66170         file.
66171         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
66172         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
66173         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
66174         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
66175         file.
66176         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
66177         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
66178         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
66179         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
66180         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
66181         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
66182         file.
66183         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
66184         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
66185         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
66186         file.
66187         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
66188         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
66189         New file.
66190         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
66191         New file.
66192         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
66193         New file.
66194         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
66195         New file.
66196         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
66197         New file.
66198         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
66199         New file.
66200         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
66201         New file.
66202         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
66203         New file.
66204         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
66205         New file.
66206         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
66207         New file.
66208         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
66209         New file.
66210         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
66211         New file.
66212         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
66213         New file.
66214         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
66215         file.
66216         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
66217         New file.
66218         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
66219         New file.
66220         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
66221         file.
66222         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
66223         New file.
66224         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
66225         New file.
66226         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
66227         file.
66228         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
66229         New file.
66230         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
66231         New file.
66232         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
66233         New file.
66234         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
66235         New file.
66236         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
66237         New file.
66238         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
66239         New file.
66240         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
66241         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
66242         file.
66243         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
66244         New file.
66245         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
66246         file.
66247         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
66248         file.
66249         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
66250         file.
66251         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
66252         file.
66253         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
66254         file.
66255         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
66256         New file.
66257         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
66258         file.
66259         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
66260         file.
66261         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
66262         New file.
66263         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
66264         file.
66265         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
66266         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
66267         file.
66268         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
66269         New file.
66270         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
66271         file.
66272         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
66273         file.
66274         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
66275         file.
66276         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
66277         file.
66278         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
66279         file.
66280         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
66281         New file.
66282         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
66283         file.
66284         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
66285         file.
66286         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
66287         New file.
66288         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
66289         file.
66290         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
66291         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
66292         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
66293         file.
66294         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
66295         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
66296         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
66297         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
66298         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
66299         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
66300         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
66301         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
66302         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
66303         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
66304         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
66305         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
66306         file.
66307         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
66308         New file.
66309         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
66310         file.
66311         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
66312         file.
66313         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
66314         file.
66315         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
66316         file.
66317         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
66318         file.
66319         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
66320         New file.
66321         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
66322         New file.
66323         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
66324         file.
66325         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
66326         New file.
66327         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
66328         file.
66329         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
66330         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
66331         file.
66332         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
66333         New file.
66334         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
66335         file.
66336         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
66337         file.
66338         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
66339         file.
66340         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
66341         file.
66342         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
66343         file.
66344         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
66345         New file.
66346         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
66347         New file.
66348         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
66349         file.
66350         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
66351         New file.
66352         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
66353         file.
66355 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
66357         * conform/conformtest.pl: Fix typo in handling typed-constant from
66358         allow-header.
66360 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
66362         * README: Cut down references to pre-2.6 Linux kernels and
66363         Linuxthreads.  Update lists of configurations in libc and ports
66364         and sort alphabetically.  Say "or newer" with Linux kernel version
66365         requirements.
66367         * config.h.in [IS_IN_build]: Allow compiling without optimization.
66369 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
66371         [BZ #887]
66372         * math/libm-test.inc (logb_test_downward): New test to expose
66373         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
66374         rounding mode.
66376 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
66378         [BZ #14027]
66379         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
66380         to be done.
66381         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
66382         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
66384 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
66386         * sysdeps/unix/i386/brk.S: Remove file.
66387         * sysdeps/unix/i386/dl-brk.S: Likewise.
66388         * sysdeps/unix/i386/pipe.S: Likewise.
66389         * sysdeps/unix/i386/sigreturn.S: Likewise.
66390         * sysdeps/unix/i386/syscall.S: Likewise.
66391         * sysdeps/unix/i386/vfork.S: Likewise.
66392         * sysdeps/unix/i386/wait.S: Likewise.
66394         * sysdeps/unix/common/tcsendbrk.c: Move to ...
66395         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
66397         * configure.in (arm*-none*): Do not allow without
66398         --enable-hacker-mode.
66399         (netbsd*): Remove case setting base_os.
66400         (386bsd*): Likewise.
66401         (freebsd*): Likewise.
66402         (bsdi*): Likewise.
66403         (osf*): Likewise.
66404         (sunos*): Likewise.
66405         (ultrix*): Likewise.
66406         (newsos*): Likewise.
66407         (dynix*): Likewise.
66408         (*bsd*): Likewise.
66409         (sysv*): Likewise.
66410         (isc*): Likewise.
66411         (esix*): Likewise.
66412         (sco*): Likewise.
66413         (minix*): Likewise.
66414         (irix4*): Likewise.
66415         (irix6*): Likewise.
66416         (solaris[2-9]*): Likewise.
66417         (none): Likewise.
66418         * configure: Regenerated.
66420 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66422         [BZ #11521]
66423         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
66424         overflow or cancellation in calculating denominator.
66425         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
66426         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
66427         down expression to avoid unexpected rounding in newer GCCs.
66428         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
66430 2012-04-26  David S. Miller  <davem@davemloft.net>
66432         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
66433         long-double compat symbols.
66434         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
66435         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
66436         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
66437         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
66438         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
66439         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
66440         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
66441         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
66442         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
66443         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
66444         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
66445         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
66446         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
66448 2012-04-25  David S. Miller  <davem@davemloft.net>
66450         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
66451         HWCAP_* values only after the memory barriers have been defined.
66452         (atomic_full_barrier): Define.
66453         (atomic_read_barrier): Define.
66454         (atomic_write_barrier): Define.
66456 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
66458         * shlib-versions: Add libgcc_s version information.
66459         * sysdeps/generic/libgcc_s.h: Remove.
66460         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
66461         libgcc_s.h.
66462         * sysdeps/gnu/unwind-resume.c: Likewise.
66463         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
66465 2012-04-25  David S. Miller  <davem@davemloft.net>
66467         * sysdeps/unix/sparc/brk.S: Delete.
66468         * sysdeps/unix/sparc/dl-brk.S: Delete.
66469         * sysdeps/unix/sparc/pipe.S: Delete.
66470         * sysdeps/unix/sparc/sysdep.S: Delete.
66471         * sysdeps/unix/sparc/sysdep.h: Delete.
66472         * sysdeps/unix/sparc/vfork.S: Delete.
66473         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
66474         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
66475         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
66476         (ret_ERRVAL, r0, r1, MOVE): Define.
66477         (JUMPTARGET): Remove.
66478         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
66479         sysdeps/unix/sparc/sysdep.h
66480         (ENTRY, END): Remove.
66481         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
66483 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
66485         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
66486         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
66487         -DIS_IN_build.
66489         * timezone/README: Update upstream location and email address for
66490         tzcode and tzdata.
66491         * timezone/zdump.c: Update from tzcode 2012b.
66492         * timezone/zic.c: Likewise.
66494         * configure.in (libc_cv_as_needed): Remove test.
66495         * configure: Regenerated.
66496         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
66497         conditional definition.
66498         [$(have-as-needed) != yes] (no-as-needed): Likewise.
66499         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
66500         * config.make.in (have-as-needed): Remove variable.
66502 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
66503             Paul Pluzhnikov  <ppluzhnikov@google.com>
66505         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
66506         strings correctly.
66508 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
66510         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
66511         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
66512         * sysdeps/sh/strlen.S: Likewise.
66514 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
66516         * sysdeps/unix/fork.S: Remove file.
66517         * sysdeps/unix/i386/fork.S: Likewise.
66518         * sysdeps/unix/sparc/fork.S: Likewise.
66520         * sysdeps/unix/system.c: Remove file.
66521         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
66523         * sysdeps/unix/getegid.S: Remove file.
66524         * sysdeps/unix/geteuid.S: Likewise.
66526 2012-04-24  Roland McGrath  <roland@hack.frob.com>
66528         * scripts/check-localplt.awk: New file.
66529         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
66530         of diff.
66531         * scripts/data/localplt-generic.data: Add a comment.
66533         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
66534         NODE when __dir_mkfile failed.
66535         * sysdeps/mach/hurd/symlinkat.c: Likewise.
66536         Reported by Ludovic Courtès <ludo@gnu.org>.
66538 2012-04-24  Andreas Jaeger  <aj@suse.de>
66540         * Makerules (common-clean): Also remove gen-as-const-headers
66541         files.
66543 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
66545         * Makerules (native-compile): Do not change working directory for
66546         build.  Use $(OUTPUT_OPTION) in command.
66547         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
66549 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66551         [BZ #13886]
66552         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
66553         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
66554         * math/libm-test.inc (floor_test): Add more tests.
66555         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
66557 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
66559         * sysdeps/unix/getdents.c: Remove file.
66560         * sysdeps/unix/sysv/getdents.c: Likewise.
66561         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
66563         * sysdeps/unix/syscalls.list (madvise): Add syscall from
66564         sysdeps/unix/mman/syscalls.list.
66565         (mmap): Likewise.
66566         (mprotect): Likewise.
66567         (msync): Likewise.
66568         (munmap): Likewise.
66569         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
66570         * sysdeps/unix/mman/syscalls.list: Remove.
66571         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
66573         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
66574         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
66575         * configure: Regenerated.
66576         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
66577         $(libgcc_s_suffix).
66578         * config.make.in (libgcc_s_suffix): Remove variable.
66580 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
66582         * sysdeps/unix/sysv/gethostname.c: Move to ...
66583         * sysdeps/posix/gethostname.c: ... here.
66585         * sysdeps/unix/execve.S: Remove file.
66587         * sysdeps/unix/_exit.S: Remove file.
66589 2012-04-23  Andreas Jaeger  <aj@suse.de>
66591         [BZ #13739]
66592         * manual/Makefile: Remove make dist support, there's no
66593         need for a stand-alone documentation tar ball.
66594         (TEXI2DVI): Define always, it's not in Makeconfig.
66595         (dist): Removed.
66596         (tar-it): Removed.
66597         (edition): Removed.
66598         (glibc-doc-$(edition).tar): Removed
66599         (%.Z): Removed.
66600         (%.gz): Removed.
66601         (%.uu): Removed.
66602         (ETAGS): Remove, it's in Makeconfig.
66603         (move-if-change): Remove, it's in Makeconfig.
66605 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
66607         [BZ #13970]
66608         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
66609         (strtod, strtof, strtold, strtol, strtoul, strtoq)
66610         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
66611         (strtod_l, strtof_l, strtold_l): Remove __wur.
66612         It is not necessarily an error to ignore strtol's return value.
66613         One can reliably look at the stored endptr to decide whether
66614         the number had valid syntax.
66616 2012-04-21  Andreas Jaeger  <aj@suse.de>
66618         [BZ #13739]
66619         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
66621 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
66623         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
66624         * sysdeps/unix/sysv/Versions: Remove file.
66626 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
66628         [BZ #13927]
66629         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
66631 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
66633         [BZ #7064]
66634         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
66635         version from __vm86.
66637 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
66639         * sysdeps/unix/common/lxstat.c: Remove file.
66640         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
66642         * sysdeps/unix/sysv/Makefile: Remove file.
66644         * sysdeps/unix/sysv/direct.h: Remove file.
66646         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
66647         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
66648         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
66649         * sysdeps/unix/sysv/bits/signum.h: Likewise.
66650         * sysdeps/unix/sysv/bits/stat.h: Likewise.
66651         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
66652         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
66654         * sysdeps/unix/sysv/setrlimit.c: Remove file.
66656         * sysdeps/unix/xmknod.c: Remove file.
66657         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
66659         * sysdeps/unix/sysv/settimeofday.c: Remove file.
66661         * sysdeps/unix/sysv/i386/time.S: Remove file.
66663         * sysdeps/unix/fxstat.c: Remove file.
66664         * sysdeps/unix/xstat.c: Likewise.
66665         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
66667         * sysdeps/unix/sysv/sigaction.c: Remove file.
66669         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
66670         (sysdep_headers): Remove variable.
66671         [termio.h not in sysdep_headers] (generated): Likewise.
66672         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
66673         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
66674         * sysdeps/unix/sysv/tcdrain.c: Likewise.
66675         * sysdeps/unix/sysv/tcflow.c: Likewise.
66676         * sysdeps/unix/sysv/tcflush.c: Likewise.
66677         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
66678         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
66679         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
66680         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
66681         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
66683         * sysdeps/unix/siglist.c: Remove file.
66685         * sysdeps/unix/getppid.S: Remove file.
66687         * sysdeps/unix/mkdir.c: Remove file.
66688         * sysdeps/unix/rmdir.c: Likewise.
66690 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
66692         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
66693         ERR_MAX value.
66694         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
66695         errlist-compat value.
66697 2012-04-18  David S. Miller  <davem@davemloft.net>
66699         * sysdeps/generic/memcopy.h (reg_char): Delete.
66700         * debug/strcat_chk.c: Use char, not reg_char.
66701         * debug/strcpy_chk.c: Likewise.
66702         * debug/strncat_chk.c: Likewise.
66703         * debug/strncpy_chk.c: Likewise.
66704         * string/memchr.c: Likewise.
66705         * string/memrchr.c: Likewise.
66706         * string/rawmemchr.c: Likewise.
66707         * string/strcat.c: Likewise.
66708         * string/strchr.c: Likewise.
66709         * string/strchrnul.c: Likewise.
66710         * string/strcmp.c: Likewise.
66711         * string/strcpy.c: Likewise.
66712         * string/strncat.c: Likewise.
66713         * string/strncmp.c: Likewise.
66714         * string/strncpy.c: Likewise.
66716 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
66718         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
66719         __builtin_memcopy is called when src and dest ranges are known to not
66720         overlap.
66722 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
66724         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
66725         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
66726         fwd_align_merge macro call.
66727         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
66728         bwd_align_merge macro call.
66729         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
66731 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
66733         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
66734         bwd_align_merge macros.
66735         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
66736         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
66737         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
66739 2012-04-18  David S. Miller  <davem@davemloft.net>
66741         * sysdeps/sparc/sparc64/memcopy.h: Delete.
66743 2012-04-18  Andreas Jaeger  <aj@suse.de>
66745         [BZ# 6794]
66746         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
66747         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
66748         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
66750         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
66751         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
66752         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
66754         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
66755         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
66756         Adjust for changed ldbl-128 files.
66758         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
66759         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
66760         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
66762 2012-04-17  David S. Miller  <davem@davemloft.net>
66764         * sysdeps/sparc/sparc32/memcopy.h: Delete.
66766 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
66768         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
66769         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
66770         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
66771         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
66772         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
66773         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
66775 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66777         [BZ #6794]
66778         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
66779         * math/libm-test.inc: Add ilogb errno and exception tests.
66780         * math/w_ilogb.c: New file: ilogb wrapper.
66781         * math/w_ilogbf.c: New file: ilogbf wrapper.
66782         * math/w_ilogbl.c: New file: ilogbl wrapper.
66783         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
66784         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
66785         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
66786         exception being thrown with 0.0 as argument.
66787         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
66788         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
66789         exception being thrown with 0.0 as argument.
66790         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
66791         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
66792         exception being thrown with 0.0 as argument.
66793         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
66794         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
66795         exception being thrown with 0.0 as argument.
66796         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
66797         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
66798         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
66799         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
66800         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
66801         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
66802         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
66803         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
66804         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
66806 2012-04-17  Petr Baudis  <pasky@ucw.cz>
66808         * include/sys/uio.h: Change __vector to __iovec to avoid clash
66809         with altivec.
66811 2012-04-16  Marek Polacek  <polacek@redhat.com>
66813         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
66815 2012-04-16  Marek Polacek  <polacek@redhat.com>
66817         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
66818         operands of fdivp instruction.
66820 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
66822         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
66823         * elf/tst-auditmod3b.c: Likewise.
66824         * elf/tst-auditmod4b.c: Likewise.
66825         * elf/tst-auditmod5b.c: Likewise.
66826         * elf/tst-auditmod6b.c: Likewise.
66827         * elf/tst-auditmod6c.c: Likewise.
66828         * elf/tst-auditmod7b.c: Likewise.
66829         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
66830         * sysdeps/x86_64/preconfigure.in: Likewise.
66831         * sysdeps/x86_64/preconfigure: Regenerated.
66833 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
66835         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
66836         __ILP32__.
66838 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
66840         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
66841         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
66843 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
66845         [BZ #13973]
66846         * locale/iso-639.def: Fix gl language name. Spotted by
66847         Yaron Shahrabani.
66849 2012-04-12  Roland McGrath  <roland@hack.frob.com>
66851         [BZ #2074]
66852         * libio/libio.h (__io_write_fn): Update comment.
66854 2012-04-12  Petr Baudis  <pasky@ucw.cz>
66856         [BZ #2074]
66857         * stdio.texi (Hook Functions): The user provided writer function
66858         is not allowed to return -1.
66860 2012-04-11  David S. Miller  <davem@davemloft.net>
66862         * sysdeps/sparc/fpu/libm-test-ulps: Update.
66864 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
66866         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
66867         Add a leading slash to rtkaio.
66869 2012-04-11  Jim Meyering  <meyering@redhat.com>
66871         [BZ #11959]
66872         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
66873         It is not necessarily an error to ignore fwrite's return
66874         value.  One can reliably use ferror to test for errors after
66875         the fact.
66877 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
66879         * bits/types.h (__snseconds_t): New type.
66880         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
66882         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
66883         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
66884         (__SNSECONDS_T_TYPE): Likewise.
66885         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
66886         (__SNSECONDS_T_TYPE): Likewise.
66887         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
66888         (__SNSECONDS_T_TYPE): Likewise.
66890 2012-04-10  Andreas Jaeger  <aj@suse.de>
66892         [BZ #2636]
66893         * manual/time.texi (Processor Time): Return type of times is
66894         elapsed real time since an arbitrary point in the past.
66895         (CPU Time): Move CLK_TCK from here...
66896         (Processor Time): ...to here.  Correct description.
66897         * manual/conf.texi (Constants for Sysconf): Correct description of
66898         _SC_CLK_TCK.
66900 2012-04-10  David S. Miller  <davem@davemloft.net>
66902         [BZ #13967]
66903         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
66904         where the is a gap between DT_REL(A) and DT_JMPREL.
66906 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
66908         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
66909         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
66910         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
66912 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
66914         * elf/dl-support.c (_dl_inhibit_cache): New variable.
66915         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
66916         (dl_main): Handle --inhibit-cache.
66917         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
66918         _dl_inhibit_cache.
66919         * elf/dl-load.c (_dl_map_object): Use it.
66920         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
66922 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
66924         [BZ #13872]
66925         * sysdeps/i386/fpu/e_powl.S (p78): New object.
66926         (__ieee754_powl): Saturate large exponents rather than testing for
66927         overflow of y*log2(x).
66928         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
66929         * math/libm-test.inc (pow_test): Do not permit spurious overflow
66930         exceptions.
66932         [BZ #11521]
66933         * math/s_ctan.c: Include <float.h>.
66934         (__ctan): Avoid internal overflow or cancellation in calculating
66935         denominator.
66936         * math/s_ctanf.c: Likewise.
66937         * math/s_ctanl.c: Likewise.
66938         * math/s_ctanh.c: Likewise.
66939         * math/s_ctanhf.c: Likewise.
66940         * math/s_ctanhl.c: Likewise.
66941         * math/libm-test.inc (ctan_test): Add more tests.
66942         (ctanh_test): Likewise.
66943         * sysdeps/i386/fpu/libm-test-ulps: Update.
66944         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66946 2012-04-09  Andreas Jaeger  <aj@suse.de>
66948         [BZ #6894]
66949         * manual/filesys.texi (Directory Entries): Mention that d_namlen
66950         is an optional BSD extension.
66952         [BZ #10254]
66953         * manual/stdio.texi (Opening Streams): Document additional fopen
66954         parameters.
66956 2012-04-09  Roland McGrath  <roland@hack.frob.com>
66958         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
66959         %eax without telling the compiler.
66961 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
66963         [BZ # 13963]
66964         * manual/install.texi: Use sourceware.org.
66966 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
66968         [BZ #13873]
66969         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
66970         (__ieee754_pow): Generate overflow and underflow using huge*huge
66971         and tiny*tiny rather than just returning constant infinity or zero
66972         for large exponents.
66973         * math/libm-test.inc (pow_test): Require overflow exceptions for
66974         applicable cases of large exponents.
66976         [BZ #706]
66977         * sysdeps/i386/fpu/e_pow.S (p10): New object.
66978         (__ieee754_pow): Use iterative multiplication algorithm only for
66979         integer exponents with absolute value below 1024.  Check for odd
66980         integer exponents when using algorithm for real exponents.
66981         * math/libm-test.inc (pow_test): Add more tests.
66982         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
66984 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
66986         [BZ #13705]
66987         * math/libm-test.inc (exp_test): Do not allow overflow exception
66988         on underflow test.
66990 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
66992         [BZ #13705]
66993         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
66994         instead of __kernel_standard_f.
66996 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
66998         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
66999         * sysdeps/x86_64/memset_chk.S: Likewise.
67001 2012-04-08  Andreas Jaeger  <aj@suse.de>
67003         [BZ #10153]
67004         * manual/startup.texi (Environment Access): Describe return value
67005         for putenv and setenv.
67007         [BZ #6895]
67008         * manual/filesys.texi (Directory Entries): Add description for
67009         DT_LNK.
67011         [BZ #6890]
67012         * manual/filesys.texi (Directory Entries): Clarify that it's file
67013         system not operating system in the description of DT_UNKNOWN.
67015         [BZ #6578]
67016         * manual/syslog.texi (closelog): Fix reference, it's openlog.
67018 2012-04-08  Stephen Compall  <s11@member.fsf.org>
67020         [BZ #6649]
67021         * manual/llio.texi (Opening and Closing Files): Add cross
67022         reference to explain mode argument.
67024 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
67026         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
67027         * sysdeps/x86_64/memset_chk.S: Likewise.
67029 2012-04-07  David S. Miller  <davem@davemloft.net>
67031         * elf/elf.h (R_SPARC_WDISP10): Define.
67032         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
67033         R_SPARC_SIZE32.
67034         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
67035         R_SPARC_SIZE64 and R_SPARC_H34.
67037 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
67039         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
67040         conditions and remove no longer applicable assertion.
67042 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
67044         * bits/byteswap.h: Include <features.h>.
67045         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
67046         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
67048 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
67050         * bits/byteswap.h (__bswap_16): Removed.
67051         Include <bits/byteswap-16.h> to get __bswap_16.
67052         * sysdeps/i386/bits/byteswap.h: Likewise.
67053         * sysdeps/s390/bits/byteswap.h: Likewise.
67054         * sysdeps/x86_64/bits/byteswap.h: Likewise.
67055         * bits/byteswap-16.h: New file.
67056         * sysdeps/i386/bits/byteswap-16.h: Likewise.
67057         * sysdeps/s390/bits/byteswap-16.h: Likewise.
67058         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
67059         * string/Makefile (headers): Add bits/byteswap-16.h.
67061 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
67063         [BZ #13895]
67064         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
67065         extra indirection.
67066         * nss/Makefile (tests-static, tests): Add tst-nss-static.
67067         * nss/tst-nss-static.c: New.
67069 2012-04-06  Robert Millan  <rmh@gnu.org>
67071         [BZ #6486]
67072         * manual/llio.texi (File Position Primitive): lseek
67073         refers to WHENCE when it really means OFFSET.
67075 2012-04-06  Andreas Jaeger  <aj@suse.de>
67077         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
67078         strncmp declarations.
67080         * abilist/libc.abilist: Add __poll and __ppoll.
67082 2012-04-05  David S. Miller  <davem@davemloft.net>
67084         * scripts/check-local-headers.sh: Accept a host triplet in the
67085         path matched by the exclude regexp.
67087         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
67088         definition.
67089         * sysdeps/powerpc/powerpc32/dl-machine.h
67090         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
67091         * sysdeps/s390/s390-32/dl-machine.h
67092         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
67093         * sysdeps/sparc/sparc32/dl-machine.h
67094         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
67095         * sysdeps/sparc/sparc64/dl-machine.h
67096         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
67098         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
67099         lazy binding.
67100         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
67101         undefined symbol errors.
67103         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
67104         DT_NEEDED entries.
67106 2012-04-05  Michael Matz  <matz@suse.de>
67108         [BZ #13592]
67109         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
67111 2012-04-05  Andreas Jaeger  <aj@suse.de>
67113         [BZ #13908]
67114         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
67115         comment.
67117 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
67119         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
67120         which ROUND is no valid rounding mode.
67122 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
67124         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
67125         read again.
67126         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
67128 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
67130         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
67131         an exception using FPU order intentionally.
67133 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
67135         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
67136         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
67137         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
67138         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
67140 2012-04-05  Simon Josefsson  <simon@josefsson.org>
67142         [BZ #12340]
67143         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
67144         EINVAL when BUFLEN is too smal.
67146 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
67148         [BZ #13553]
67149         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
67150         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
67152 2012-04-03  Andreas Jaeger  <aj@suse.de>
67154         [BZ #13938]
67155         * manual/setjmp.texi (System V contexts): Fix sentence.
67157         [BZ #13926]
67158         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
67159         New macro for this case.
67160         [!__GNUC__] (__bswap_64): New inline function for this case.
67161         * sysdeps/x86_64/bits/byteswap.h: Likewise.
67162         * bits/byteswap.h: Likewise.
67163         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
67164         ull, guard with __GLIBC_HAVE_LONG_LONG.
67166         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
67167         __GLIBC_HAVE_LONG_LONG.
67169         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
67170         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
67172 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
67174         [BZ #13691]
67175         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
67176         inptr and inend, rather than using last_ch.
67178 2012-04-02  David S. Miller  <davem@davemloft.net>
67180         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
67181         * stdio-common/printf-parse.h (read_int): Change return type to
67182         'int', return -1 on INT_MAX overflow.
67183         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
67184         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
67185         overflows INT_MAX.  Check for overflow of in-format-string precision
67186         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
67187         SIZE_MAX not INT_MAX for integer overflow test.
67188         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
67189         skip the construct in the format string but do not record anything.
67190         * stdio-common/bug22.c: Adjust to test both width/prevision
67191         INT_MAX overflow as well as total length INT_MAX overflow.  Check
67192         explicitly for proper errno values.
67194 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
67196         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
67197         CHAR_MAX.
67198         * string/test-strcmp.c [! WIDE]: Likewise.
67199         * time/tst-mktime2.c: Likewise for INT_MAX.
67200         * string/test-string.h: #include <sys/param.h> for MIN.
67202         * csu/init-first.c (__libc_init_first): Call __ctype_init.
67203         * sysdeps/i386/init-first.c (init): Likewise.
67204         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
67205         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
67206         * sysdeps/sh/init-first.c (init): Likewise.
67208 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
67210         * po/ru.po: Update from translation team.
67211         * po/vi.po: Likewise.
67213 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
67215         * resolv/nss_dns/dns-host.c: Merge copyright years.
67217 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
67219         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
67220         Optimize memcpy with prefetch if
67221         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
67222         src, dst pointers have unequal 16 byte alignments.
67224 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
67226         [BZ #13928]
67227         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
67228         from a CNAME entry and return the minimum ttl for the query.
67229         (gaih_getanswer_slice): Likewise.
67231 2012-03-30  Jeff Law  <law@redhat.com>
67233         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
67234         due to long keys.
67235         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
67236         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
67238         * resolv/nss_dns/dns-host.c: Update copyright year.
67240 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
67242         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
67243         requests to save a system call.  Fix check that all bytes are sent.
67245         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
67246         comments for sendmmsg.
67248 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
67250         [BZ #13691]
67251         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
67252         with only 1 character between 0x0041 and 0x01b0.
67253         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
67254         * wcsmbs/tst-mbsnrtowcs.c: New file.
67256 2012-03-29  David S. Miller  <davem@davemloft.net>
67258         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
67259         small copies by hand.
67261 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
67263         [BZ #13761]
67264         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
67265         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
67266         group memberships.
67268 2012-03-28  David S. Miller  <davem@davemloft.net>
67270         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
67271         that branches into memcpy.
67272         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
67273         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
67274         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
67275         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
67276         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
67277         bits.
67278         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
67279         implementation too.
67280         * sysdeps/sparc/mempcpy.S: New file.
67282         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
67283         the IFUNC routine in the libc case.
67284         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
67286         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
67287         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
67288         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
67289         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
67290         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
67291         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
67292         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
67293         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
67295         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
67296         loop to 256 bytes instead of 64 bytes and fix test signedness.
67298         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
67299         * sysdeps/sparc/sparc32/Makefile: rather than here...
67300         * sysdeps/sparc/sparc64/Makefile: and here.
67302 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
67304         * malloc/mallocbug.c: Avoid warnings about unused variables.
67306 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
67308         [BZ #13760]
67309         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
67310         in the right place. Discard and retry query if response is
67311         larger than input buffer size.
67313 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
67315         [BZ #369]
67316         [BZ #2678]
67317         [BZ #3866]
67318         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
67319         x for large integer exponent.
67320         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
67321         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
67322         sign of result as needed afterwards.
67323         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
67324         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
67325         result for underflowing pow the same as for overflow.
67326         (__kernel_standard_l): Handle powl overflow and underflow here
67327         rather than calling __kernel_standard.
67328         * math/libm-test.inc (pow_test): Add more tests.
67330         [BZ #3868]
67331         [BZ #13879]
67332         [BZ #13910]
67333         [BZ #13911]
67334         [BZ #13912]
67335         [BZ #13913]
67336         [BZ #13915]
67337         [BZ #13916]
67338         [BZ #13917]
67339         [BZ #13918]
67340         [BZ #13919]
67341         [BZ #13920]
67342         [BZ #13921]
67343         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
67344         * sysdeps/ieee754/k_standard.c: Include <float.h>.
67345         (__kernel_standard_l): New function.
67346         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
67347         __kernel_standard.
67348         * math/w_acosl.c (__acosl): Likewise.
67349         * math/w_asinl.c (__asinl): Likewise.
67350         * math/w_atan2l.c (__atan2l): Likewise.
67351         * math/w_atanhl.c (__atanhl): Likewise.
67352         * math/w_coshl.c (__coshl): Likewise.
67353         * math/w_exp10l.c (__exp10l): Likewise.
67354         * math/w_exp2l.c (__exp2l): Likewise.
67355         * math/w_fmodl.c (__fmodl): Likewise.
67356         * math/w_hypotl.c (__hypotl): Likewise.
67357         * math/w_j0l.c (__j0l, __y0l): Likewise.
67358         * math/w_j1l.c (__j1l, __y1l): Likewise.
67359         * math/w_jnl.c (__jnl, __ynl): Likewise.
67360         * math/w_lgammal.c (__lgammal): Likewise.
67361         * math/w_log10l.c (__log10l): Likewise.
67362         * math/w_log2l.c (__log2l): Likewise.
67363         * math/w_logl.c (__logl): Likewise.
67364         * math/w_powl.c (__powl): Likewise.
67365         * math/w_remainderl.c (__remainderl): Likewise.
67366         * math/w_scalbl.c (sysv_scalbl): Likewise.
67367         * math/w_sinhl.c (__sinhl): Likewise.
67368         * math/w_sqrtl.c (__sqrtl): Likewise.
67369         * math/w_tgammal.c (__tgammal): Likewise.
67370         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
67371         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
67372         * math/libm-test.inc (acos_test): Add more tests.
67373         (acosh_test): Likewise.
67374         (asin_test): Likewise.
67375         (atanh_test): Likewise.
67376         (exp_test): Likewise.
67377         (exp10_test): Likewise.
67378         (exp2_test): Likewise.
67379         (expm1_test): Likewise.
67380         (lgamma_test): Likewise.
67381         (log_test): Likewise.
67382         (log10_test): Likewise.
67383         (log1p_test): Likewise.
67384         (log2_test): Likewise.
67385         (pow_test): Do not allow some spurious overflow exceptions.
67386         (sqrt_test): Add more tests.
67387         (tgamma_test): Likewise.
67388         (y0_test): Likewise.
67389         (y1_test): Likewise.
67390         (yn_test): Likewise.
67392 2012-03-27  Anton Blanchard  <anton@samba.org>
67394         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
67395         MAP_HUGETLB.
67396         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
67397         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
67398         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
67400 2012-03-27  David S. Miller  <davem@davemloft.net>
67402         * conform/Makefile: Run run-conformtest.sh using $(BASH).
67404         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
67405         have-as-vis3 check.
67407 2012-03-27  Andreas Jaeger  <aj@suse.de>
67409         * sysdeps/x86_64/elf/configure.in: Moved to ...
67410         * sysdeps/x86_64/configure.in: ... here.
67411         * sysdeps/x86_64/elf/start.S: Moved to ...
67412         * sysdeps/x86_64/start.S: ... here.
67413         * sysdeps/x86_64/elf/configure: Delete.
67415         * sysdeps/x86_64/configure.in: Merge contents from
67416         sysdeps/i386/configure.in (without i686 check).
67418         * sysdeps/i386/elf/Versions: Merge into ...
67419         * sysdeps/i386/Versions: ... this.
67420         * sysdeps/i386/elf/Versions: Delete file.
67421         * sysdeps/i386/elf/start.S: Moved to ...
67422         * sysdeps/i386/start.S: ...here.
67423         * sysdeps/i386/elf/configure.in: Merge into...
67424         * sysdeps/i386/configure.in: ...here.
67425         * sysdeps/i386/elf/configure.in: Delete file.
67426         * sysdeps/i386/elf/configure: Delete file.
67428         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
67429         * debug/backtracesyms.c: ... here.
67430         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
67431         * debug/backtracesymsfd.c: ... here.
67432         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
67433         * sysdeps/generic/ifunc-sel.h: ... here.
67435         * sysdeps/unix/i386/start.c: Delete file.
67436         * sysdeps/unix/sparc/start.c: Delete file.
67437         * sysdeps/unix/start.c: Delete file.
67439         * sysdeps/sh/elf/configure.in: Moved to ...
67440         * sysdeps/sh/configure.in: ... here.
67441         * sysdeps/sh/elf/start.S: Moved to ...
67442         * sysdeps/sh/start.S: ... here.
67443         * sysdeps/sh/elf/configure: Delete file.
67445         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
67446         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
67447         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
67448         * sysdeps/powerpc/powerpc64/entry.h: ... here.
67449         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
67450         * sysdeps/powerpc/powerpc64/start.S: here.
67451         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
67452         * sysdeps/powerpc/powerpc64/Makefile: ... this.
67453         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
67454         * sysdeps/powerpc/powerpc64/configure.in: ... this.
67455         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
67457         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
67458         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
67459         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
67460         * sysdeps/powerpc/powerpc32/start.S: ... here.
67461         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
67462         * sysdeps/powerpc/powerpc32/configure.in: ... this.
67463         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
67465         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
67466         * sysdeps/powerpc/ifunc-sel.h: ... here.
67467         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
67468         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
67470         * sysdeps/sparc/elf/configure.in: Moved to ...
67471         * sysdeps/sparc/configure.in: ... here.
67472         * sysdeps/sparc/elf/configure: Delete file.
67473         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
67474         * sysdeps/sparc/sparc32/start.S: ... here.
67475         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
67476         * sysdeps/sparc/sparc64/start.S: ... here.
67477         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
67478         * sysdeps/sparc/sparc32/Makefile: ... this.
67479         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
67480         * sysdeps/sparc/sparc64/Makefile: ... this.
67482         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
67483         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
67484         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
67485         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
67486         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
67487         * sysdeps/s390/s390-32/setjmp.S: ... here.
67488         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
67489         * sysdeps/s390/s390-32/configure.in: ... here.
67490         * sysdeps/s390/s390-32/elf/configure: Delete file.
67491         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
67492         * sysdeps/s390/s390-32/start.S: ... here.
67494         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
67495         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
67496         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
67497         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
67498         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
67499         * sysdeps/s390/s390-64/setjmp.S: ... here.
67500         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
67501         * sysdeps/s390/s390-64/configure.in: ... here
67502         * sysdeps/s390/s390-64/elf/configure: Delete file.
67503         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
67504         * sysdeps/s390/s390-64/start.S: ... here.
67505         * sysdeps/s390/s390-64/elf/configure: Delete.
67507         * configure.in: Remove support for elf directories in sysdeps.
67509         * configure: Regenerated.
67510         * sysdeps/i386/configure: Regenerated.
67511         * sysdeps/powerpc/powerpc32/configure: Regenerated.
67512         * sysdeps/powerpc/powerpc64/configure: Regenerated.
67513         * sysdeps/s390/s390-32/configure: Regenerated.
67514         * sysdeps/s390/s390-64/configure: Regenerated.
67515         * sysdeps/sh/configure: Regenerated.
67516         * sysdeps/sparc/configure: Regenerated.
67517         * sysdeps/x86_64/configure: Regenerated.
67519 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
67521         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
67523         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
67524         denormal result into account.
67526 2012-03-25  Roland McGrath  <roland@hack.frob.com>
67528         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
67529         Reported by Allan McRae <allan@archlinux.org>.
67531 2012-03-23  Jeff Law  <law@redhat.com>
67533         * nss/getnssent.c (__nss_getent): Fix typo.
67535 2012-03-23  David S. Miller  <davem@davemloft.net>
67537         * sysdeps/sparc/fpu/libm-test-ulps: Update.
67539 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
67541         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
67542         to pad to uint64_t for each field.
67543         (dl_tls_index): Replace unsigned long with uint64_t.
67545 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
67546         Paul Pluzhnikov  <ppluzhnikov@google.com>
67548         [BZ #6528]
67549         * grp/Makefile (otherlibs): Don't set it.
67550         * inet/Makefile (otherlibs): Likewise.
67551         * login/Makefile (otherlibs): Likewise.
67552         * nscd/Makefile (otherlibs): Likewise.
67553         * posix/Makefile (otherlibs): Likewise.
67554         * pwd/Makefile (otherlibs): Likewise.
67555         * rt/Makefile (otherlibs): Likewise.
67556         * sunrpc/Makefile (otherlibs): Likewise.
67557         * nss/Makefile (otherlibs): Likewise.
67558         Add libnss_files to routines and static-only-routines.
67559         ($(objpfx)getent): Remove rule.
67560         * resolv/Makefile: Add libnss_dns and libresolv to routines and
67561         static-only-routines.
67563 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
67565         [BZ #13892]
67566         * math/s_cexp.c: Include <float.h>.
67567         (__cexp): Handle exp result overflowing not necessarily
67568         overflowing both real and imaginary parts of result.
67569         * math/s_cexpf.c: Likewise.
67570         * math/s_cexpl.c: Likewise.
67571         * math/libm-test.inc (cexp_test): Add more tests.
67572         * sysdeps/i386/fpu/libm-test-ulps: Update.
67573         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67575 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
67577         * include/link.h (ELFW): New macro.
67578         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
67579         Replace ELF64_R_TYPE with ELFW(R_TYPE).
67581 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
67583         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
67584         with uint64_t.
67586 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
67588         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
67589         declaration.
67590         (struct La_x32_retval): Likewise.
67592 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
67594         * sysdeps/x86_64/preconfigure.in: New file.
67595         * sysdeps/x86_64/preconfigure: New generated file.
67597 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
67599         [BZ #13824]
67600         * math/e_exp2l.c: Include <float.h>.
67601         (__ieee754_exp2l): Handle overflow and underflow cases
67602         separately.  Only pass fractional part of argument to
67603         __ieee754_expl.
67604         * math/libm-test.inc (exp2_test): Add more tests.
67606         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
67607         negating x to take absolute value.
67608         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
67609         Likewise.
67610         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
67611         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
67612         Likewise.
67613         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
67614         computing low part if x was negated.
67615         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
67617 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
67619         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
67620         la_x32_gnu_pltexit.
67621         (pltexit): Cast int_retval to ptrdiff_t.
67622         * elf/tst-auditmod3b.c: Likewise.
67623         * elf/tst-auditmod4b.c: Likewise.
67624         * elf/tst-auditmod5b.c: Likewise.
67625         * elf/tst-auditmod6b.c: Likewise.
67626         * elf/tst-auditmod6c.c: Likewise.
67627         * elf/tst-auditmod7b.c: Likewise.
67629         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
67630         and x32_gnu_pltexit.
67632         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
67633         __ELF_NATIVE_CLASS.
67634         (La_x32_regs): New macro.
67635         (La_x32_retval): Likewise.
67636         (la_x32_gnu_pltenter): New function prototype.
67637         (la_x32_gnu_pltexit): Likewise.
67639 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
67641         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
67642         exponent.
67644         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
67646         * configure.in (libc_cv_cc_nofma): Check for option to disable
67647         generation of FMA instructions.
67648         * configure: Regenerate.
67649         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
67650         * sysdeps/ieee754/dbl-64/Makefile: New file.
67651         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
67652         Remove brandred-fma4.
67653         (CFLAGS-brandred-fma4.c): Remove.
67654         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
67655         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
67656         define.
67657         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
67658         define.
67660 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
67662         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
67663         LLONG_MAX != LONG_MAX.
67664         (_itoa_word): Use _ITOA_WORD_TYPE on value.
67665         (_fitoa_word): Likewise.
67666         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
67667         LLONG_MAX != LONG_MAX.
67668         * stdio-common/_itowa.h: Include <_itoa.h>.
67669         (_itowa_word): Use _ITOA_WORD_TYPE on value.
67670         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
67671         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
67672         only if not defined.
67673         (_ITOA_WORD_TYPE): Likewise.
67674         (_itoa_word): Use _ITOA_WORD_TYPE on value.
67675         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
67677 2012-03-21  David S. Miller  <davem@davemloft.net>
67679         * sysdeps/sparc/fpu/libm-test-ulps: Update.
67681 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
67683         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
67684         of x86_64 when setting libc_cv_slibdir, libdir and
67685         libc_cv_localedir.
67686         * sysdeps/unix/sysv/linux/configure: Regenerated.
67688 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
67690         * manual/lang.texi (Old Varargs): Remove section.
67691         (How Variadic): Update menu.
67692         (va_start): Do not mention varargs.h.
67694 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
67695             Joseph Myers  <joseph@codesourcery.com>
67697         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
67698         link test.
67699         * configure: Regenerated.
67701 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
67703         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
67704         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
67705         conformtest.pl
67707 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
67709         * NOTES: Remove.
67710         * Makefile (files-for-dist): Remove NOTES.
67711         (NOTES): Remove rule.
67712         * README: Don't refer to NOTES.
67713         * manual/creature.texi: Don't include macros.texi.
67714         * manual/intro.texi (creature.texi): Remove comment referring to
67715         NOTES.
67717         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
67718         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
67719         * configure: Regenerated.
67720         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
67721         LIBC_TRY_CC_OPTION.
67722         (libc_cv_as_i686): Likewise.
67723         (libc_cv_cc_avx): Likewise.
67724         (libc_cv_cc_sse2avx): Likewise.
67725         (libc_cv_cc_fma4): Likewise.
67726         (libc_cv_cc_novzeroupper): Likewise.
67727         * sysdeps/i386/configure: Regenerated.
67729         [BZ #13883]
67730         * sysdeps/i386/fpu/s_cexp.S: Remove.
67731         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
67732         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
67733         * math/libm-test.inc (cexp_test): Add more tests.
67734         * sysdeps/i386/fpu/libm-test-ulps: Update.
67735         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67737 2012-03-21  Allan McRae  <allan@archlinux.org>
67739         * timezone/Makefile: Do not install iso3166.tab and zone.tab
67741 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
67743         [BZ #13871]
67744         * math/w_exp2.c: Do not include <float.h>.
67745         (o_threshold, u_threshold): Remove.
67746         (__exp2): Calculate result before checking finiteness and calling
67747         __kernel_standard.
67748         * math/w_exp2f.c: Likewise.
67749         * math/w_exp2l.c: Likewise.
67750         * math/libm-test.inc (exp2_test): Require overflow exception for
67751         1e6 input.
67753         [BZ #3866]
67754         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
67755         range of signed 64-bit integers before using fistpll.  Remove
67756         checks for whether integers fit in mantissa bits.
67757         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
67758         the range of signed 32-bit integers before using fistpl.  Remove
67759         checks for whether integers fit in mantissa bits.
67760         * sysdeps/i386/fpu/e_powl.S (p64): New object.
67761         (__ieee754_powl): Test for y outside the range of signed 64-bit
67762         integers before using fistpll.  Reduce 64-bit values to 63-bit
67763         ones as needed.
67764         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
67765         divide-by-zero is raised for zero to large negative powers.
67766         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
67767         (__ieee754_powl): Test for y outside the range of signed 64-bit
67768         integers before using fistpll.  Reduce 64-bit values to 63-bit
67769         ones as needed.
67770         * math/libm-test.inc (pow_test): Add more tests.
67772 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
67774         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
67775         <stdio-common/_itoa.h>.
67776         * debug/segfault.c: Likewise.
67777         * elf/dl-cache.c: Likewise.
67778         * elf/dl-minimal.c: Likewise.
67779         * elf/dl-misc.c: Likewise.
67780         * elf/dl-sysdep.c: Likewise.
67781         * elf/dl-version.c: Likewise.
67782         * elf/rtld.c: Likewise.
67783         * hurd/hurdsock.c: Likewise.
67784         * hurd/lookup-retry.c: Likewise.
67785         * malloc/malloc.c: Likewise.
67786         * malloc/mtrace.c: Likewise.
67787         * nscd/nscd_getgr_r.c: Likewise.
67788         * nscd/nscd_getpw_r.c: Likewise.
67789         * nscd/nscd_getserv_r.c: Likewise.
67790         * posix/getopt_init.c: Likewise.
67791         * posix/wordexp.c: Likewise.
67792         * stdio-common/_itoa.c: Likewise.
67793         * stdio-common/printf_fphex.c: Likewise.
67794         * stdio-common/vfprintf.c: Likewise.
67795         * string/_strerror.c: Likewise.
67796         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
67797         * sysdeps/i386/i686/hp-timing.h: Likewise.
67798         * sysdeps/mach/_strerror.c: Likewise.
67799         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
67800         * sysdeps/mach/hurd/sethostid.c: Likewise.
67801         * sysdeps/mach/hurd/xmknodat.c: Likewise.
67802         * sysdeps/mach/xpg-strerror.c: Likewise.
67803         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
67804         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
67805         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
67806         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
67807         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
67808         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
67809         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
67810         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
67811         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
67812         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
67813         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
67814         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
67815         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
67816         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
67817         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
67818         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
67819         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
67820         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
67821         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
67822         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
67823         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
67825         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
67827         * stdio-common/_itoa.h: Moved to ...
67828         * sysdeps/generic/_itoa.h: Here.
67830         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
67832         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
67833         instead of "_itoa.h" and "_itowa.h".
67834         * stdio-common/vfprintf.: Likewise.
67836 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
67838         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
67839         <bits/wordsize.h>.
67840         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
67841         (__signbit): Likwise.
67842         (llrintf): Likwise.
67843         (llrint): Likwise.
67845 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
67847         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
67848         __WORDSIZE != 64.
67850 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
67852         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
67853         OVERFLOW_EXCEPTION_OK.
67854         * math/libm-test.inc ("Philosophy"): Update comment about
67855         exception testing.
67856         (OVERFLOW_EXCEPTION): Define.
67857         (OVERFLOW_EXCEPTION_OK): Likewise.
67858         (INVALID_EXCEPTION_OK): Renumber.
67859         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
67860         (IGNORE_ZERO_INF_SIGN): Likewise.
67861         (test_exceptions): Handle FE_OVERFLOW.
67862         (exp10_test): Expect overflow exceptions.
67863         (exp2_test): Likewise.
67864         (expm1_test): Likewise.
67865         (nextafter_test): Likewise.
67866         (pow_test): Likewise.
67867         (scalbn_test): Likewise.
67868         (scalbln_test): Likewise.
67870 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
67872         * sysdeps/x86_64/bits/atomic.h
67873         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
67874         64bit integer.
67875         (atomic_exchange_acq): Likewise.
67876         (__arch_exchange_and_add_body): Likewise.
67877         (__arch_add_body): Likewise.
67878         (atomic_add_negative): Likewise.
67879         (atomic_add_zero): Likewise.
67881 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
67883         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
67884         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
67886 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
67888         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
67889         Check __x86_64__ instead of __WORDSIZE.
67891 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
67893         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
67895 2012-03-19  David S. Miller  <davem@davemloft.net>
67897         * sysdeps/sparc/fpu/libm-test-ulps: Update.
67899         * sysdeps/sparc/fpu/fenv_private.h: New file.
67900         * sysdeps/sparc/fpu/math_private.h: Use it.
67901         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
67902         Remove.
67903         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
67904         (libc_feholdexcept_setroundl): Remove.
67905         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
67906         Remove.
67907         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
67908         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
67910 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
67912         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
67913         int64_t instead of long int.
67914         (INSERT_WORDS64): Likwise.
67916 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
67918         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
67919         _Unwind_GetCFA return to _Unwind_Ptr first.
67921 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
67923         [BZ #13629]
67924         * math/s_clog.c: Include <float.h>.
67925         (__clog): Scale large or subnormal inputs.
67926         * math/s_clogf.c: Likewise.
67927         * math/s_clogl.c: Likewise.
67928         * math/s_clog10.c: Include <float.h>.
67929         (M_LOG10_2): Define.
67930         (__clog10): Scale large or subnormal inputs.
67931         * math/s_clog10f.c: Likewise.
67932         * math/s_clog10l.c: Likewise.
67933         * math/libm-test.inc (clog_test): Add more tests.
67934         (clog10_test): Likewise.
67935         * sysdeps/i386/fpu/libm-test-ulps: Update.
67936         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67938         [BZ #11451]
67939         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
67940         x and y.
67941         * math/libm-test.inc (atan2_test): Add another test.
67943         * Makerules (common-objdir-compile): Remove.
67944         * sysdeps/unix/Makefile (config-generated): Do not add
67945         $(unix-generated) to variable.
67946         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
67947         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
67948         Remove rule.
67949         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
67950         Likewise.
67951         [generic bits/local_lim.h] (before-compile): Do not append to
67952         variable.
67953         [generic bits/local_lim.h] (common-generated): Likewise.
67954         [generic sys/param.h] (before-compile): Do not append to variable.
67955         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
67956         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
67957         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
67958         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
67959         include.
67960         [generic sys/param.h] (sys/param.h-includes): Remove variable.
67961         [generic sys/param.h] (sys/param.h-includes): Remove rule.
67962         [generic sys/param.h] ($(addprefix
67963         $(common-objpfx),$(sys/param.h-includes))): Likewise.
67964         [generic sys/param.h] (common-generated): Do not append to
67965         variable.
67966         [generic sys/param.h] (sysdep_headers): Likewise.
67967         [generic bits/errno.h] (before-compile): Do not append to
67968         variable.
67969         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
67970         rule.
67971         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
67972         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
67973         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
67974         [generic bits/errno.h] (common-generated): Do not append to
67975         variable.
67976         [generic bits/ioctls.h] (before-compile): Do not append to
67977         variable.
67978         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
67979         rule.
67980         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
67981         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
67982         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
67983         rule.
67984         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
67985         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
67986         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
67987         [generic bits/ioctls.h] (common-generated): Do not append to
67988         variable.
67989         [generic sys/syscall.h] (syscall.h): Remove variable.
67990         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
67991         rule.
67992         [generic sys/syscall.h] (before-compile): Do not append to
67993         variable.
67994         [generic sys/syscall.h] (common-generated): Likewise.
67995         * sysdeps/unix/errnos-tmpl.c: Remove file.
67996         * sysdeps/unix/errnos.awk: Likewise.
67997         * sysdeps/unix/ioctls-tmpl.c: Likewise.
67998         * sysdeps/unix/ioctls.awk: Likewise.
67999         * sysdeps/unix/mk-local_lim.c: Likewise.
68000         * sysdeps/unix/snarf-ioctls: Likewise.
68002 2012-03-19  Richard Henderson  <rth@twiddle.net>
68004         * sysdeps/i386/fpu/fenv_private.h: New file.
68005         * sysdeps/i386/fpu/math_private.h: Use it.
68006         (math_opt_barrier, math_force_eval): Remove.
68007         (libc_feholdexcept_setround_53bit): Remove.
68008         (libc_feupdateenv_53bit): Remove.
68009         * sysdeps/x86_64/fpu/math_private.h: Likewise.
68010         (math_opt_barrier, math_force_eval): Remove.
68011         (libc_feholdexcept): Remove.
68012         (libc_feholdexcept_setround): Remove.
68013         (libc_fetestexcept, libc_fesetenv): Remove.
68014         (libc_feupdateenv_test): Remove.
68015         (libc_feupdateenv, libc_feholdsetround): Remove.
68016         (libc_feresetround): Remove.
68018         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
68019         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
68021         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
68022         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
68023         (libc_feupdateenv_testl): New.
68024         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
68025         (libc_feupdateenv_testf): New.
68026         (libc_feupdateenv): Use libc_feupdateenv_test.
68027         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
68028         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
68030         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
68031         (libc_feholdsetroundf, libc_feholdsetroundl): New.
68032         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
68033         (libc_feresetround_noex): New.
68034         (libc_feresetround_noexf): New.
68035         (libc_feresetround_noexl): New.
68036         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
68037         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
68038         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
68039         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
68040         SET_RESTORE_ROUND.
68041         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
68042         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
68043         (__cos): Likewise.
68044         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
68045         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
68046         SET_RESTORE_ROUND_NOEX.
68047         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
68048         SET_RESTORE_ROUND_NOEXF.
68049         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
68050         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
68051         (libc_feholdsetroundf): New.
68052         (libc_feresetround, libc_feresetroundf): New.
68054         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
68055         (libc_feholdexcept_setround_53bit): Convert from macro to function.
68056         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
68058         * sysdeps/generic/math_private.h: Include <fenv.h>.
68059         (default_libc_feholdexcept): New.
68060         (default_libc_feholdexcept_setround): New.
68061         (default_libc_fesetenv, default_libc_feupdateenv): New.
68062         (libc_feholdexcept): Only define if undefined.
68063         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
68064         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
68065         (libc_feholdexcept_setroundl): Likewise.
68066         (libc_feholdexcept_setround_53bit): Likewise.
68067         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
68068         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
68069         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
68070         (libc_feupdateenv_53bit): Likewise.
68071         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
68072         (libc_feholdexcept): Convert from macro to inline function.
68073         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
68074         (libc_fesetenv, libc_feupdateenv): Likewise.
68076         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
68077         not previously defined.
68078         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
68079         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
68080         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
68081         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
68082         * sysdeps/ieee754/flt-32/math_private.h: New file.
68083         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
68084         math_private.h below SET_FLOAT_WORD.
68085         (__isnan, __isinf_ns, __finite): Remove.
68086         (__isnanf, __isinf_nsf, __finitef): Remove.
68088 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
68090         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
68092 2012-03-17  David S. Miller  <davem@davemloft.net>
68094         [BZ #6471]
68095         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
68096         for 2.16.
68098 2012-03-16  David S. Miller  <davem@davemloft.net>
68100         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
68101         warnings.
68103         [BZ #6471]
68104         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
68105         properly.
68106         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
68107         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
68108         sysdep_routines when subdir is sysvipc.
68109         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
68110         __getshmlba helper.
68112         * sysdeps/sparc/fpu/libm-test/ulps: Update.
68114 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
68116         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
68117         [__LP64__].
68119 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
68121         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
68122         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
68123         (__lround): Renamed to ...
68124         (__llround): This.  Replace long int with long long int.
68125         Define lround functions as aliases of llround functions.
68126         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
68128 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
68130         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
68131         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
68132         adresses to uintptr_t.  Replace "long int" and "unsigned long
68133         int" with "greg_t" on va_arg.
68135 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
68137         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
68138         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
68140         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
68141         Move e_machine check before EI_CLASS check.  Handle x32
68142         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
68143         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
68144         SKIP_EM_IA_64 and include
68145         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
68147         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
68148         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
68149         (add_system_dir): New macro.
68151         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
68152         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
68154 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
68156         [BZ #2551]
68157         [BZ #2552]
68158         [BZ #2553]
68159         [BZ #2554]
68160         [BZ #2562]
68161         [BZ #2563]
68162         [BZ #2565]
68163         [BZ #2566]
68164         [BZ #2576]
68165         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
68166         (y0): Likewise.
68167         * math/w_j0f.c (j0f): Likewise.
68168         (y0f): Likewise.
68169         * math/w_j0l.c (__j0l): Likewise.
68170         (__y0l): Likewise.
68171         * math/w_j1.c (j1): Likewise.
68172         (y1): Likewise.
68173         * math/w_j1f.c (j1f): Likewise.
68174         (y1f): Likewise.
68175         * math/w_j1l.c (__j1l): Likewise.
68176         (__y1l): Likewise.
68177         * math/w_jn.c (jn): Likewise.
68178         (yn): Likewise.
68179         * math/w_jnf.c (jnf): Likewise.
68180         (ynf): Likewise.
68181         * math/w_jnl.c (__jnl): Likewise.
68182         (__ynl): Likewise.
68183         * math/libm-test.inc (j0_test): Add more tests.
68184         (j1_test): Likewise.
68185         (jn_test): Likewise.  Add trailing semicolon to existing test.
68186         (y0_test): Likewise.
68187         (y1_test): Likewise.
68188         * sysdeps/i386/fpu/libm-test-ulps: Update.
68189         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68191         [BZ #13851]
68192         [BZ #13854]
68193         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
68194         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
68195         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
68196         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
68197         (__tanl): Set errno for infinite argument.
68198         * sysdeps/i386/fpu/mptan.c: Remove.
68199         * sysdeps/i386/fpu/s_tan.S: Likewise.
68200         * sysdeps/i386/fpu/s_tanl.S: Likewise.
68201         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
68202         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
68203         * math/libm-test.inc (tan_test): Add more tests and enable more
68204         tests for double and long double.
68205         * sysdeps/i386/fpu/libm-test-ulps: Update.
68206         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68208 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
68210         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
68211         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
68213 2012-03-16  Roland McGrath  <roland@hack.frob.com>
68215         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
68216         * configure.in: Use it for both main tree and add-ons.
68217         * configure: Regenerated.
68219 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
68221         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
68223 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
68225         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
68226         in comment.
68228         [BZ #13851]
68229         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
68230         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
68231         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
68232         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
68233         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
68234         infinite argument.
68235         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
68236         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
68237         != 0 for prec == 2.
68238         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
68239         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
68240         * sysdeps/i386/fpu/s_cosl.S: Likewise.
68241         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
68242         * sysdeps/i386/fpu/s_sinl.S: Likewise.
68243         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
68244         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
68245         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
68246         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
68247         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
68248         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
68249         * math/libm-test.inc (cos_test): Add more tests and enable more
68250         tests for long double.
68251         (sin_test): Likewise.
68252         (sincos_test): Likewise.
68253         * sysdeps/i386/fpu/libm-test-ulps: Update.
68254         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68256 2012-03-16  David S. Miller  <davem@davemloft.net>
68258         * sysdeps/sparc/fpu/math_private.h: New file.
68260 2012-03-15  David S. Miller  <davem@davemloft.net>
68262         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
68263         file.
68264         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
68265         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
68266         file.
68267         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
68268         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
68269         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
68270         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
68271         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
68272         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
68273         sysdep routines.
68274         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
68276         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
68277         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
68279         * sysdeps/sparc/sparc-ifunc.h: New file.
68280         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
68281         sparc-ifunc.h
68282         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
68283         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
68284         Likewise.
68285         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
68286         Likewise.
68287         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
68288         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
68289         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
68290         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
68291         Likewise.
68292         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
68293         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
68294         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
68295         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
68296         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
68297         Likewise.
68298         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
68299         Likewise.
68300         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
68301         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
68302         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
68303         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
68304         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
68305         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
68306         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
68307         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
68308         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
68309         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
68310         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
68311         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
68312         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
68313         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
68314         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
68315         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
68316         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
68317         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
68318         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
68319         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
68320         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
68321         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
68322         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
68323         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
68325 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
68327         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
68328         scaling.
68329         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
68331 2012-03-15  Andreas Jaeger  <aj@suse.de>
68333         [BZ #13852]
68334         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
68335         ieee754/flt-32 implementation for sin, cos and sincos.
68336         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
68337         * sysdeps/i386/fpu/s_cosf.S: Likewise.
68338         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
68339         * sysdeps/i386/fpu/s_sinf.S: Likewise.
68340         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
68341         ieee754/flt-32 implementation for tan.
68343         * math/libm-test.inc (cos_test): Enable some large input tests for
68344         float as well
68345         (sin_test): Likewise.
68346         (sincos_test): Likewise.
68347         (tan_test): Add tests for large input.
68349         * sysdeps/i386/fpu/libm-test-ulps: Update.
68351 2012-03-15  Andreas Jaeger  <aj@suse.de>
68353         [BZ #13658]
68354         * math/libm-test.inc (cos_test): Add more test cases.
68355         (sin_test): Likewise.
68356         (sincos_test): Likewise.
68358 2012-03-15  Andreas Jaeger  <aj@suse.de>
68360         [BZ #13837]
68361         * math/libm-test.inc (cos_test): Add a test case for large input
68362         value.
68363         (sin_test): Likewise.
68364         (sincos_test): Likewise.
68366 2012-03-15  Andreas Jaeger  <aj@suse.de>
68367             Joseph Myers  <joseph@codesourcery.com>
68369         [BZ #13658]
68370         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
68371         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
68372         * sysdeps/i386/fpu/branred.c: Likewise.
68373         * sysdeps/i386/fpu/dosincos.c: Likewise.
68374         * sysdeps/i386/fpu/mpa.c: Likewise.
68375         * sysdeps/i386/fpu/s_cos.S: Likewise.
68376         * sysdeps/i386/fpu/s_sin.S: Likewise.
68377         * sysdeps/i386/fpu/s_sincos.S: Likewise.
68378         * sysdeps/i386/fpu/sincos32.c: Likewise.
68380         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
68381         Define.
68382         (libc_feupdateenv_53bit): Define.
68383         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
68384         Define.
68385         (libc_feupdateenv_53bit): Define.
68387         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
68388         53 bit (without extend i386 double precision).
68390         * math/libm-test.inc (sincos_test): Add tests for large input.
68391         (sin): Likewise.
68392         (cos): Likewise.
68394         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
68396 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
68398         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
68400 2012-03-15  David S. Miller  <davem@davemloft.net>
68402         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
68403         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
68404         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
68405         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
68406         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
68407         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
68408         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
68409         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
68410         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
68411         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
68412         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
68413         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
68414         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
68415         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
68416         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
68417         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
68418         file.
68419         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
68420         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
68421         file.
68422         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
68423         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
68424         file.
68425         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
68426         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
68427         file.
68428         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
68429         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
68430         fmin/fmax sysdep routines.
68431         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
68433 2012-03-14  David S. Miller  <davem@davemloft.net>
68435         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
68436         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
68437         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
68438         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
68439         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
68440         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
68441         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
68442         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
68443         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
68444         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
68445         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
68446         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
68447         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
68448         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
68449         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
68450         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
68451         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
68452         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
68453         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
68454         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
68455         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
68456         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
68457         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
68458         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
68459         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
68460         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
68461         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
68462         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
68463         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
68464         routines.
68465         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
68466         file.
68467         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
68468         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
68469         file.
68470         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
68471         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
68472         file.
68473         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
68474         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
68475         file.
68476         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
68477         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
68478         file.
68479         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
68480         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
68481         file.
68482         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
68483         file.
68484         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
68485         file.
68486         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
68487         file.
68488         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
68489         New file.
68490         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
68491         file.
68492         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
68493         file.
68494         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
68495         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
68496         file.
68497         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
68498         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
68499         file.
68500         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
68501         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
68502         file.
68503         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
68504         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
68505         VIS3 routines.
68507         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
68508         New file.
68510         * sysdeps/sparc/fpu/libm-test-ulps: Update.
68512         * sysdeps/sparc/configure.in: New file.
68513         * sysdeps/sparc/configure: Generate.
68514         * configure.in (libc_cv_sparc_as_vis3): Substitute.
68515         * configure: Regenerate.
68516         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
68517         * config.make.in (have-as-vis3): New.
68518         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
68519         available use -Av9d instead of -Av9a.
68520         * sysdeps/sparc/sparc64/Makefile: Likewise.
68521         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
68522         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
68523         New file.
68524         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
68525         file.
68526         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
68527         New file.
68528         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
68529         file.
68530         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
68531         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
68532         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
68533         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
68534         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
68536         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
68537         fzeros/fnegs to load 0x80000000 into a float register instead of
68538         using the stack.
68539         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
68541 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
68543         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
68544         bits/syscall.h.
68545         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
68546         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
68547         ($(inst_includedir)/bits/syscall.h): Remove rule.
68548         ($(objpfx)bits/syscall.d): Include instead of
68549         $(objpfx)syscall-list.d.
68550         (generated): Change syscall-list.h and syscall-list.d to
68551         bits/syscall.h and bits/syscall.d.
68553 2012-03-14  Roland McGrath  <roland@hack.frob.com>
68555         [BZ #13846]
68556         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
68558 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
68560         [BZ #13841]
68561         * math/s_csqrt.c: Include <float.h>.
68562         (__csqrt): Scale large or subnormal inputs.
68563         * math/s_csqrtf.c: Likewise.
68564         * math/s_csqrtl.c: Likewise.
68565         * math/libm-test.inc (csqrt_test): Add more tests.
68566         * sysdeps/i386/fpu/libm-test-ulps: Update.
68567         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68569         [BZ #13840]
68570         * math/libm-test.inc (hypot_test): Add more tests.
68572 2012-03-13  David S. Miller  <davem@davemloft.net>
68574         [BZ #13840]
68575         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
68576         double-precision for the calculation instead of scaling.
68578 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
68580         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
68581         manipulate bits before adding and subtracting TWO52[sx].
68582         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
68583         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
68584         Likewise.
68585         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
68587 2012-03-13  David S. Miller  <davem@davemloft.net>
68589         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
68590         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
68591         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
68592         rtld-global-offsets.h
68593         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
68595         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
68596         large parameters.
68598         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
68600         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
68601         'err' in the ifdef scope in which it is actually used.
68603         * nss/nss_db/db-init.c: Include string.h
68605 2012-03-12  David S. Miller  <davem@davemloft.net>
68607         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
68608         masking out of the most significant byte of random value used.
68609         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
68610         Fix coding style in previous change.
68612         * sysdeps/unix/sysv/linux/kernel-features.h
68613         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
68614         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
68615         expression.
68616         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
68617         later.
68619 2012-03-11  David S. Miller  <davem@davemloft.net>
68621         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
68622         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
68623         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
68624         for 'resultvar' otherwise things get truncated on 64-bit.
68626         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
68627         Fix masking out of the most significant byte of random value used.
68629         * sysdeps/sparc/fpu/libm-test-ulps: Update.
68631 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
68633         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
68635 2012-03-09  David S. Miller  <davem@davemloft.net>
68637         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
68638         variables with appropriate CPP guards.
68639         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
68640         from the frame pointer, not the stack pointer.  Correct layout
68641         comments.  Fix test on resulting framesize and the management of
68642         the outregs buffer for pltexit.  Preserve floating point return
68643         values across _dl_call_pltexit call.
68644         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
68645         framesize and the management of the outregs buffer for pltexit.
68646         Preserve floating point return values across _dl_call_pltexit
68647         call.
68648         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
68649         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
68650         (la_sparc64_gnu_pltexit): New functions.
68651         (print_exit): Fix format string for return register value.
68653 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
68655         * sunrpc/Makefile (others): Add rpcgen.
68656         ($(objpfx)rpcgen): Remove special build rule and dependency on
68657         libc.
68658         * sunrpc/rpcgen.c: New file.
68660 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
68662         [BZ #13673]
68663         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
68664         * stdio-common/bug-vfprintf-nargs.c: Likewise.
68665         * sysdeps/i386/crti.S: Likewise.
68666         * sysdeps/i386/crtn.S: Likewise.
68667         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
68668         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
68669         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
68670         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
68671         * sysdeps/sh/crti.S: Likewise.
68672         * sysdeps/sh/crtn.S: Likewise.
68673         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
68675         [BZ #13673]
68676         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
68677         with URL.
68678         * locale/programs/locfile-kw.gperf: Likewise.
68679         * locale/programs/charmap-kw.h: Regenerated.
68680         * locale/programs/locfile-kw.h: Likewise.
68682         [BZ #13673]
68683         * intl/plural.y: Replace FSF snail mail address with URL.
68684         * intl/plural.c: Regenerated.
68686 2012-03-09  Richard Henderson  <rth@twiddle.net>
68688         * include/math_private.h: Remove file.
68689         * math/math_private.h: Move file ...
68690         * sysdeps/generic/math_private.h: ... here.
68692         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
68693         * sysdeps/powerpc/fpu/math_private.h: Likewise.
68694         * sysdeps/x86_64/fpu/math_private.h: Likewise.
68696         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
68697         and <math_private.h>.
68698         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
68699         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
68700         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
68701         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
68702         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
68703         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
68704         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
68705         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
68706         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
68707         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
68708         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
68709         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
68710         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
68711         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
68712         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
68713         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
68714         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
68715         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
68716         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
68717         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
68718         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
68719         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
68720         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
68721         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
68722         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
68723         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
68724         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
68725         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
68726         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
68727         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
68728         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
68729         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
68730         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
68731         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
68732         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
68733         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
68734         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
68735         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
68736         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
68737         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
68738         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
68739         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
68740         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
68741         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
68742         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
68743         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
68744         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
68745         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
68746         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
68747         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
68748         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
68749         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
68750         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
68751         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
68752         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
68753         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
68754         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
68755         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
68756         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
68757         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
68758         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
68759         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
68760         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
68761         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
68762         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
68763         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
68764         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
68765         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
68766         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
68767         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
68768         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
68769         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
68770         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
68771         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
68772         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
68773         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
68774         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
68775         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
68776         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
68777         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
68778         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
68779         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
68780         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
68781         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
68782         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
68783         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
68784         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
68785         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
68786         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
68787         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
68788         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
68789         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
68790         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
68791         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
68792         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
68793         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
68794         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
68795         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
68796         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
68797         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
68798         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
68799         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
68800         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
68801         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
68802         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
68803         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
68804         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
68805         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
68806         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
68807         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
68808         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
68809         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
68810         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
68811         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
68812         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
68813         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
68814         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
68815         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
68816         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
68817         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
68818         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
68819         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
68820         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
68821         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
68822         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
68823         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
68824         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
68825         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
68826         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
68827         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
68828         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
68829         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
68830         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
68831         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
68832         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
68833         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
68834         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
68835         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
68836         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
68837         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
68838         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
68839         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
68840         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
68841         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
68842         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
68843         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
68844         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
68845         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
68846         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
68847         * sysdeps/ieee754/k_standard.c: Likewise.
68848         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
68849         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
68850         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
68851         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
68852         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
68853         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
68854         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
68855         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
68856         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
68857         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
68858         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
68859         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
68860         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
68861         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
68862         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
68863         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
68864         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
68865         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
68866         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
68867         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
68868         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
68869         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
68870         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
68871         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
68872         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
68873         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
68874         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
68875         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
68876         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
68877         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
68878         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
68879         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
68880         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
68881         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
68882         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
68883         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
68884         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
68885         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
68886         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
68887         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
68888         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
68889         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
68890         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
68891         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
68892         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
68893         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
68894         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
68895         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
68896         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
68897         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
68898         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
68899         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
68900         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
68901         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
68902         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
68903         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
68904         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
68905         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
68906         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
68907         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
68908         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
68909         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
68910         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
68911         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
68912         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
68913         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
68914         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
68915         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
68916         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
68917         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
68918         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
68919         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
68920         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
68921         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
68922         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
68923         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
68924         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
68925         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
68926         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
68927         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
68928         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
68929         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
68930         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
68931         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
68932         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
68933         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
68934         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
68935         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
68936         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
68937         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
68938         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
68939         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
68940         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
68941         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
68942         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
68943         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
68944         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
68945         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
68946         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
68947         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
68948         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
68949         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
68950         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
68951         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
68952         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
68953         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
68954         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
68955         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
68956         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
68957         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
68958         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
68959         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
68960         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
68961         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
68962         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
68963         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
68964         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
68965         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
68966         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
68967         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
68968         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
68969         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
68970         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
68971         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
68972         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
68973         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
68974         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
68975         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
68976         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
68977         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
68978         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
68979         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
68980         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
68981         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
68982         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
68983         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
68984         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
68985         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
68986         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
68987         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
68988         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
68989         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
68990         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
68991         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
68992         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
68993         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
68994         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
68995         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
68996         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
68997         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
68998         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
68999         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
69000         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
69001         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
69002         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
69003         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
69004         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
69005         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
69006         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
69007         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
69008         * sysdeps/ieee754/s_lib_version.c: Likewise.
69009         * sysdeps/ieee754/s_matherr.c: Likewise.
69010         * sysdeps/ieee754/s_signgam.c: Likewise.
69011         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
69012         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
69013         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
69014         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
69015         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
69016         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
69017         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
69018         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
69019         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
69020         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
69021         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
69022         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
69023         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
69024         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
69025         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
69026         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
69027         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
69028         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
69029         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
69030         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
69031         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
69033 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
69035         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
69036         * sunrpc/rpc_main.c: Likewise.
69037         * sunrpc/rpc_svcout.c: Likewise.
69039 2012-03-09  David S. Miller  <davem@davemloft.net>
69041         * include/math_private.h: New file.
69043 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
69045         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
69046         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
69047         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
69048         from <bits/socket_type.h>.
69049         (enum __socket_type): Don't define here.
69050         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
69051         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
69052         bits/socket_type.h.
69054         [BZ #13566]
69055         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
69056         checking __USE_GNU.
69058         * Makerules ($(inst_includedir)/%.h): New rule.
69059         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
69060         (install-others): Remove variable setting.
69061         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
69063 2012-03-08  Richard Henderson  <rth@twiddle.net>
69065         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
69066         from macro to inline function; merge with the
69067         !__LIBC_INTERNAL_MATH_INLINES version.
69068         (__ieee754_sqrtf): Likewise.
69070         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
69071         to inline function.
69072         (__rintf, __floor, __floorf): Likewise.
69074         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
69075         macro to inline function.
69076         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
69078         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
69079         not <math/math_private.h>.
69081 2012-03-08  David S. Miller  <davem@davemloft.net>
69083         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
69084         copyright year.
69085         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
69087 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
69089         * resolv/gai_misc.c (handle_requests): Fix struct timespec
69090         normalization.
69091         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
69092         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
69094 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
69096         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
69097         be defined individually, they must be defined as a block.  Define
69098         S for printing a string instead of hidint the different by using a
69099         macro for adding the 'l'.
69100         * stdio-common/tst-fphex-wide.c: Adjust.
69102 2012-03-07  Marek Polacek  <polacek@redhat.com>
69104         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
69106 2012-03-08  Marek Polacek  <polacek@redhat.com>
69108         [BZ #13806]
69109         * stdio-common/Makefile (tests): Add tst-fphex-wide.
69110         * stdio-common/tst-fphex.c: Define a few macros to make the
69111         test reusable.  Use them.
69112         * stdio-common/tst-fphex-wide.c: New file.
69114 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
69116         [BZ #6911]
69117         * manual/macros.texi (gnusystems): New macro.
69118         (nongnusystems): Likewise.
69119         (gnulinuxhurdsystems): Likewise.
69120         (gnuhurdsystems): Likewise..
69121         (gnulinuxsystems): Likewise.
69122         * manual/charset.texi: Use new macros or @theglibc{} to refer to
69123         variants of the GNU system, not "GNU system".
69124         * manual/conf.texi: Likewise.
69125         * manual/errno.texi: Likewise.  Update example of errno macro
69126         expansion.
69127         * manual/filesys.texi: Likewise.
69128         (getumask): Document as specific to GNU/Hurd.
69129         * manual/install.texi: Likewise.  Reword some references to
69130         GNU/Linux.
69131         * manual/intro.texi: Likewise.
69132         * manual/io.texi: Likewise.
69133         (File Name Portability): Detail which constraints are inapplicable
69134         to all GNU systems and which are only inapplicable to GNU/Hurd.
69135         * manual/job.texi: Likewise.
69136         * manual/llio.texi: Likewise.
69137         (O_NOCTTY): Document as present on GNU/Linux.
69138         * manual/maint.texi: Likewise.
69139         * manual/memory.texi: Likewise.
69140         * manual/pattern.texi: Likewise.
69141         * manual/pipe.texi: Likewise.
69142         * manual/process.texi: Likewise.
69143         * manual/resource.texi: Likewise.
69144         (RUSAGE_CHILDREN): Remove statement about specifying a particular
69145         child on GNU/Hurd.
69146         * manual/setjmp.texi: Likewise.
69147         * manual/signal.texi: Likewise.
69148         * manual/startup.texi: Likewise.
69149         * manual/stdio.texi: Likewise.
69150         * manual/terminal.texi: Likewise.
69151         (ONLCR): Document as POSIX.
69152         (OXTABS): Document availability on GNU/Linux as XTABS.
69153         (ONOEOT): Document availability separately from other bits.
69154         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
69155         * manual/time.texi: Likewise.
69156         * manual/users.texi: Likewise.
69157         * INSTALL: Regenerated.
69158         * sysdeps/gnu/errlist.c: Regenerated.
69160         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
69161         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
69162         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
69163         puts.
69164         * configure: Regenerated.
69166 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
69168         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
69169         default includes instead of AC_HEADER_CHECK.
69170         * sysdeps/i386/configure: Regenerated.
69172         [BZ #10716]
69173         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
69174         * math/s_cacoshf.c (__cacoshf): Likewise.
69175         * math/s_cacoshl.c (__cacoshl): Likewise.
69176         * math/s_casinh.c (__casinh): Set signs of result from argument.
69177         * math/s_casinhf.c (__casinhf): Likewise.
69178         * math/s_casinhl.c (__casinhl): Likewise.
69179         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
69180         (casinh_test): Add more tests.
69181         * sysdeps/i386/fpu/libm-test-ulps: Update.
69182         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69184 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
69186         * po/zh_TW.po: Update from translation team.
69188         * login/Makefile (distribute): Remove variable.
69189         * catgets/Makefile: Likewise.
69190         * mach/Makefile: Likewise.
69191         * malloc/Makefile: Likewise.
69192         * misc/Makefile: Likewise.
69193         * iconv/Makefile: Likewise.
69194         * nscd/Makefile: Likewise.
69195         * hurd/Makefile: Likewise.
69196         * manual/Makefile: Likewise.
69197         * locale/Makefile: Likewise.
69198         * intl/Makefile: Likewise.
69199         * conform/Makefile: Likewise.
69200         * nss/Makefile: Likewise.
69201         * time/Makefile: Likewise.
69202         * soft-fp/Makefile: Likewise.
69203         * dirent/Makefile: Likewise.
69204         * gmon/Makefile: Likewise.
69205         * po/Makefile: Likewise.
69206         * rt/Makefile: Likewise.
69207         * socket/Makefile: Likewise.
69208         * math/Makefile: Likewise.
69209         * signal/Makefile: Likewise.
69210         * debug/Makefile: Likewise.
69211         * elf/Makefile: Likewise.
69212         * timezone/Makefile: Likewise.
69213         * stdlib/Makefile: Likewise.
69214         * iconvdata/Makefile: Likewise.
69215         * sunrpc/Makefile: Likewise.
69216         * io/Makefile: Likewise.
69217         * argp/Makefile: Likewise.
69218         * inet/Makefile: Likewise.
69219         * hesiod/Makefile: Likewise.
69220         * grp/Makefile: Likewise.
69221         * csu/Makefile: Likewise.
69222         * wctype/Makefile: Likewise.
69223         * crypt/Makefile: Likewise.
69224         * libio/Makefile: Likewise.
69225         * string/Makefile: Likewise.
69226         * nis/Makefile: Likewise.
69227         * resolv/Makefile: Likewise.
69228         * stdio-common/Makefile: Likewise.
69229         * wcsmbs/Makefile: Likewise.
69230         * dlfcn/Makefile: Likewise.
69231         * posix/Makefile: Likewise.
69233         [BZ #6959]
69234         * timezone/Makefile: Don't install timezone files, just the programs
69235         and scripts.
69237 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
69239         * nss/databases.def: Add missing gshadow entry.
69241         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
69243 2012-03-06  Marek Polacek  <polacek@redhat.com>
69245         [BZ #13726]
69246         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
69247         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
69248         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
69249         * stdio-common/tst-long-dbl-fphex.c: New file.
69251 2012-03-06  David S. Miller  <davem@davemloft.net>
69253         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
69254         (set_obp_int): New function.
69255         (get_obp_int): New function.
69256         (__get_clockfreq_via_dev_openprom): Likewise.
69257         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
69258         Avoid unused variable warnings on 'val' and use builtin_expect.
69259         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
69260         __builtin_expect.
69261         (INLINE_CLONE_SYSCALL): Likewise.
69263 2012-03-05  David S. Miller  <davem@davemloft.net>
69265         * sysdeps/sparc/fpu/libm-test-ulps: Update.
69267 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
69269         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
69271         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
69272         only for |x| >= 40.
69273         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
69275 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
69277         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
69278         Replace gettimeofday with __vdso_gettimeofday.
69280         * sysdeps/unix/sysv/linux/x86_64/init-first.c
69281         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
69282         __vdso_clock_gettime and __vdso_getcpu.
69284         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
69285         time with __vdso_time.
69287 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
69289         * manual/lang.texi (size_t): Note types to which size_t may be
69290         equivalent with the GNU C Library, but do not describe when
69291         differences between them are significant.
69293 2012-03-05  Andreas Jaeger  <aj@suse.de>
69295         * sysdeps/i386/fpu/libm-test-ulps: Update.
69297 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
69299         [BZ #3976]
69300         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
69301         (__ieee754_pow): Save and restore rounding mode and use
69302         round-to-nearest for main computations.
69303         * math/libm-test.inc (pow_test_tonearest): New function.
69304         (pow_test_towardzero): Likewise.
69305         (pow_test_downward): Likewise.
69306         (pow_test_upward): Likewise.
69307         (main): Call the new functions.
69308         * sysdeps/i386/fpu/libm-test-ulps: Update.
69309         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69311         [BZ #3976]
69312         * math/libm-test.inc (cosh_test_tonearest): New function.
69313         (cosh_test_towardzero): Likewise.
69314         (cosh_test_downward): Likewise.
69315         (cosh_test_upward): Likewise.
69316         (sinh_test_tonearest): Likewise.
69317         (sinh_test_towardzero): Likewise.
69318         (sinh_test_downward): Likewise.
69319         (sinh_test_upward): Likewise.
69320         (main): Call the new functions.
69321         * sysdeps/i386/fpu/libm-test-ulps: Update.
69322         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69324 2012-03-05  Tom de Vries  <tom@codesourcery.com>
69326         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
69327         default stack guard is set in last bytes.
69328         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
69330 2012-03-05  Kees Cook  <keescook@chromium.org>
69332         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
69334         [BZ #13656]
69335         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
69336         possibly allocate from heap instead of stack.
69337         * stdio-common/bug-vfprintf-nargs.c: New file.
69338         * stdio-common/Makefile (tests): Add nargs overflow test.
69340 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
69342         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
69344 2012-03-03  Marek Polacek  <polacek@redhat.com>
69346         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
69347         * math/math_private.h: Likewise.
69348         * stdlib/tst-strtod.c: Likewise.
69349         * sysdeps/i386/i486/bits/atomic.h: Likewise.
69350         * sysdeps/x86_64/bits/atomic.h: Likewise.
69352 2012-03-02  David S. Miller  <davem@davemloft.net>
69354         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
69355         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
69356         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
69357         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
69358         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
69359         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
69360         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
69361         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
69363 2012-03-02  Roland McGrath  <roland@hack.frob.com>
69365         [BZ #13792]
69366         * manual/examples/README: New file, says the example source files
69367         can be used under GPL>=2.
69368         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
69369         line containing just "*/".
69370         * manual/examples/add.c: Add copyright header (GPL>=2).
69371         * manual/examples/argp-ex1.c: Likewise.
69372         * manual/examples/argp-ex2.c: Likewise.
69373         * manual/examples/argp-ex3.c: Likewise.
69374         * manual/examples/argp-ex4.c: Likewise.
69375         * manual/examples/atexit.c: Likewise.
69376         * manual/examples/db.c: Likewise.
69377         * manual/examples/dir.c: Likewise.
69378         * manual/examples/dir2.c: Likewise.
69379         * manual/examples/execinfo.c: Likewise.
69380         * manual/examples/filecli.c: Likewise.
69381         * manual/examples/filesrv.c: Likewise.
69382         * manual/examples/fmtmsgexpl.c: Likewise.
69383         * manual/examples/genpass.c: Likewise.
69384         * manual/examples/inetcli.c: Likewise.
69385         * manual/examples/inetsrv.c: Likewise.
69386         * manual/examples/isockad.c: Likewise.
69387         * manual/examples/longopt.c: Likewise.
69388         * manual/examples/memopen.c: Likewise.
69389         * manual/examples/memstrm.c: Likewise.
69390         * manual/examples/mkfsock.c: Likewise.
69391         * manual/examples/mkisock.c: Likewise.
69392         * manual/examples/mygetpass.c: Likewise.
69393         * manual/examples/pipe.c: Likewise.
69394         * manual/examples/popen.c: Likewise.
69395         * manual/examples/rprintf.c: Likewise.
69396         * manual/examples/search.c: Likewise.
69397         * manual/examples/select.c: Likewise.
69398         * manual/examples/setjmp.c: Likewise.
69399         * manual/examples/sigh1.c: Likewise.
69400         * manual/examples/sigusr.c: Likewise.
69401         * manual/examples/stpcpy.c: Likewise.
69402         * manual/examples/strdupa.c: Likewise.
69403         * manual/examples/strftim.c: Likewise.
69404         * manual/examples/strncat.c: Likewise.
69405         * manual/examples/subopt.c: Likewise.
69406         * manual/examples/swapcontext.c: Likewise.
69407         * manual/examples/termios.c: Likewise.
69408         * manual/examples/testopt.c: Likewise.
69409         * manual/examples/testpass.c: Likewise.
69410         * manual/examples/timeval_subtract.c: Likewise.
69412         [BZ #13792]
69413         * manual/time.texi (Elapsed Time): Move timeval_subtract example
69414         function to ...
69415         * manual/timeval_subtract.c.texi: ... here, new file.
69417 2012-03-02  David S. Miller  <davem@davemloft.net>
69419         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
69421 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
69423         [BZ #3976]
69424         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
69425         (__sin): Save and restore rounding mode and use round-to-nearest
69426         for all computations.
69427         (__cos): Save and restore rounding mode and use round-to-nearest
69428         for all computations.
69429         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
69430         <fenv.h>.
69431         (tan): Save and restore rounding mode and use round-to-nearest for
69432         all computations.
69433         * math/libm-test.inc (cos_test_tonearest): New function.
69434         (cos_test_towardzero): Likewise.
69435         (cos_test_downward): Likewise.
69436         (cos_test_upward): Likewise.
69437         (sin_test_tonearest): Likewise.
69438         (sin_test_towardzero): Likewise.
69439         (sin_test_downward): Likewise.
69440         (sin_test_upward): Likewise.
69441         (tan_test_tonearest): Likewise.
69442         (tan_test_towardzero): Likewise.
69443         (tan_test_downward): Likewise.
69444         (tan_test_upward): Likewise.
69445         (main): Call the new functions.
69446         * sysdeps/i386/fpu/libm-test-ulps: Update.
69447         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69449         [BZ #10135]
69450         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
69451         small n, then large n, before computing and testing k+n.
69452         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
69453         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
69454         Likewise.
69455         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
69456         Likewise.
69457         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
69458         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
69459         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
69460         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
69461         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
69462         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
69463         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
69464         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
69465         * math/libm-test.inc (scalbn_test): Add more tests.
69466         (scalbln_test): Likewise.
69468         * manual/filesys.texi (mode_t): Describe constraints on size and
69469         signedness, not exact equivalence to a particular type.
69470         (ino_t): Likewise.
69471         (ino64_t): Likewise.
69472         (dev_t): Likewise.
69473         (nlink_t): Likewise.
69474         (blkcnt_t): Likewise.
69475         (blkcnt64_t): Likewise.
69476         * manual/llio.texi (off_t): Likewise.
69478         [BZ #3976]
69479         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
69480         (__ieee754_exp): Save and restore rounding mode and use
69481         round-to-nearest for all computations.
69482         * math/libm-test.inc (exp_test_tonearest): New function.
69483         (exp_test_towardzero): Likewise.
69484         (exp_test_downward): Likewise.
69485         (exp_test_upward): Likewise.
69486         (main): Call the new functions.
69487         * sysdeps/i386/fpu/libm-test-ulps: Update.
69488         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69490 2012-03-01  Chris Demetriou  <cgd@google.com>
69492         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
69493         have predictable order.
69495 2012-03-01  David S. Miller  <davem@davemloft.net>
69497         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
69499         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
69500         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
69501         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
69502         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
69504         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
69505         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
69506         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
69507         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
69508         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
69509         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
69510         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
69511         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
69512         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
69514         * sysdeps/sparc/fpu/libm-test-ulps: Update.
69516         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
69517         * sysdeps/sparc/fpu/libm-test-ulps: to here.
69518         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
69520         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
69521         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
69522         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
69523         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
69524         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
69525         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
69526         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
69527         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
69528         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
69529         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
69530         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
69531         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
69532         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
69533         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
69534         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
69535         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
69536         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
69537         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
69538         * sysdeps/sparc/elf/configure: Regenerated.
69540 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
69542         * configure.in (AS, LD): Require binutils 2.20 or later.
69543         * configure: Regenerated.
69544         * manual/install.texi (Tools for Compilation): Give binutils 2.20
69545         as required minimum version.
69546         * INSTALL: Regenerated.
69548         [BZ #2541]
69549         [BZ #4108]
69550         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
69551         before squaring exponent.
69552         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
69553         bottom long double and 27 bits of top long double before squaring
69554         exponent.
69555         * math/libm-test.inc (erfc_test): Add more tests.
69556         * sysdeps/i386/fpu/libm-test-ulps: Update.
69557         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
69558         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69560 2012-03-01  Kai Tietz  <ktietz@redhat.com>
69562         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
69563         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
69564         containing bit-fields.
69565         * soft-fp/extended.h (_FP_UNION_E): Likewise.
69566         * soft-fp/single.h (_FP_UNION_S): Likewise.
69567         * soft-fp/double.h (_FP_UNION_D): Likewise.
69569 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
69571         [BZ #13786]
69572         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
69573         not include ../strcmp.S.
69574         [USE_AS_STRNCASECMP_L]: Likewise.
69575         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
69576         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
69577         * sysdeps/i386/i686/multiarch/strncase_l-c.c
69578         (__strncasecmp_l_ia32): Define as alias to
69579         __strncasecmp_l_nonascii.
69581         [BZ #5794]
69582         * math/libm-test.inc (expm1_test): Add test for bug 5794.
69583         * sysdeps/i386/fpu/libm-test-ulps: Update.
69584         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69586         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
69587         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69589 2012-02-29  Jeff Law  <law@redhat.com>
69591         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
69592         out of bounds read.
69594 2012-02-29  Marek Polacek  <polacek@redhat.com>
69596         [BZ #13706]
69597         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
69598         * elf/Makefile: Add rules to run tst-unused-dep.out.
69600 2012-02-28  David S. Miller  <davem@davemloft.net>
69602         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
69603         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
69604         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
69605         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
69606         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
69607         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
69609 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
69611         * math/libm-test.inc (llround_test): Move one test from
69612         lround_test.  Use TEST_f_L in moved test.
69613         (lround_test): Move misplaced test to llround_test.  Add testcase
69614         from bug 2561.
69616 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
69618         * sysdeps/x86_64/fpu/e_expf.S: New file.
69619         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
69621 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
69623         [BZ #13637]
69624         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
69625         of remain_len that may cause incomplete multi-byte character and
69626         false match.
69627         * posix/bug-regex33.c: New file.
69628         * posix/Makefile (tests): Add bug-regex33.
69630 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
69632         * manual/macros.texi: New file.
69633         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
69634         * manual/libc.texinfo: Include macros.texi.
69635         * manual/creatute.texi: Likewise.
69636         * manual/install.texi: Likewise.
69637         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
69638         @glibcadj{} in references to the GNU C Library.
69639         * manual/charset.texi: Likewise.
69640         * manual/conf.texi: Likewise.
69641         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
69642         when not using those macros.
69643         * manual/creature.texi: Likewise.
69644         * manual/crypt.texi: Likewise.
69645         * manual/errno.texi: Likewise.
69646         * manual/filesys.texi: Likewise.
69647         * manual/header.texi: Likewise.
69648         * manual/install.texi: Likewise.
69649         * manual/intro.texi: Likewise.
69650         * manual/io.texi: Likewise.
69651         * manual/job.texi: Likewise.
69652         * manual/lang.texi: Likewise.
69653         * manual/libc.texiinfo: Likewise.
69654         * manual/llio.texi: Likewise.
69655         * manual/locale.texi: Likewise.
69656         * manual/maint.texi: Likewise.
69657         * manual/math.texi: Likewise.
69658         * manual/memory.texi: Likewise.
69659         * manual/message.texi: Likewise.
69660         * manual/nss.texi: Likewise.
69661         * manual/pattern.texi: Likewise.
69662         * manual/process.texi: Likewise.
69663         * manual/resource.texi: Likewise.
69664         * manual/search.texi: Likewise.
69665         * manual/setjmp.texi: Likewise.
69666         * manual/signal.texi: Likewise.
69667         * manual/socket.texi: Likewise.
69668         * manual/startup.texi: Likewise.
69669         * manual/stdio.texi: Likewise.
69670         * manual/string.texi: Likewise.
69671         * manual/sysinfo.texi: Likewise.
69672         * manual/syslog.texi: Likewise.
69673         * manual/terminal.texi: Likewise.
69674         * manual/time.texi: Likewise.
69675         * manual/users.texi: Likewise.
69676         * INSTALL: Regenerated.
69677         * NOTES: Regenerated.
69678         * sysdeps/gnu/errlist.c: Regenerated.
69680 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
69682         * include/dirent.h: Include <dirstream.h> before
69683         <dirent/dirent.h>.
69685 2012-02-28  David S. Miller  <davem@davemloft.net>
69687         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
69688         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
69689         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
69690         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
69692 2012-02-27  David S. Miller  <davem@davemloft.net>
69694         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
69695         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
69696         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
69697         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
69699         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
69700         frame pointer instead of stack pointer relative arg slot.
69701         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
69702         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
69703         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
69705 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
69707         [BZ #3992]
69708         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
69710 2012-02-27  David S. Miller  <davem@davemloft.net>
69712         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
69713         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
69714         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
69715         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
69716         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
69717         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
69718         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
69719         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
69721 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
69723         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
69724         later.  Allow versions 5-9.
69725         * configure: Regenerated.
69726         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
69727         required minimum version and 4.6 as recommended version.  Do not
69728         mention bugs in GCC 2.7 and 2.8.
69729         * INSTALL: Regenerated.
69731 2012-02-27  David S. Miller  <davem@davemloft.net>
69733         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
69734         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
69735         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
69736         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
69737         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
69738         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
69739         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
69740         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
69742         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
69743         manipulate bits before adding and subtracting TWO112[sx].
69744         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
69746 2012-02-27  Roland McGrath  <roland@hack.frob.com>
69748         [BZ #13775]
69749         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
69750         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
69751         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
69752         being in POSIX, because they are in 1003.1-2008.
69754         * rt/tst-aio.c: Include <fcntl.h>.
69755         * rt/tst-aio7.c: Likewise.
69756         * rt/tst-aio64.c: Likewise.
69758         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
69760 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
69762         * manual/install.texi (--with-headers): Describe headers as
69763         interface headers, not private headers.
69764         (Specific advice for GNU/Linux systems): Describe use of headers
69765         from "make headers_install", not private headers from older
69766         kernels.
69767         * INSTALL: Regenerated.
69768         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
69769         Change to 2.6.19.
69770         * sysdeps/unix/sysv/linux/configure: Regenerated.
69772         * manual/llio.texi (fclean): Remove documentation.
69774         * manual/Makefile (libc-texi-generated): New variable.  Include
69775         version.texi.
69776         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
69777         $(libc-texi-generated), not duplicated list of files.
69778         (version.texi, stamp-version): New rules.
69779         (realclean): Remove $(libc-texi-generated), not individual files
69780         from that list.  Do not remove dir-add.texinfo.
69781         * manual/libc.texinfo: Comment out uses of edition numbers and
69782         references to printed manual.  Remove last-updated dates.
69783         (EDITION): Comment out.
69784         (ISBN): Likewise.
69785         (VERSION, UPDATED): Remove.
69786         (version.texi): Include.
69788 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
69790         * sysdeps/posix/spawni.c: Include <signal.h>.
69791         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
69792         * sysdeps/pthread/aio_fsync.c: Likewise.
69794 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
69796         * conform/Makefile (tests): Run only when not cross-compiling and
69797         when fast-check is not defined.
69799         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
69800         * conform/data/limits.h-data: Fixes for POSIX2008.
69801         * conform/run-conformtest.sh: Run all tests.
69802         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
69803         headers.
69804         * include/bits/dlfcn.h: Likewise.
69805         * include/langinfo.h: Likewise.
69806         * include/monetary.h: Likewise.
69807         * include/sys/poll.h: Likewise.
69809         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
69810         for __USE_GNU.
69811         * posix/spawn.h: Define __need_sigset_t.
69812         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
69813         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
69814         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
69815         to get sigevent_t only.
69816         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
69817         only for __USE_GNU.
69818         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
69819         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
69820         process_vm_writev only for __USE_GNU.
69821         * termios/termios.h: Declare tcgetsid also for POSIX2008.
69823         * conform/Makefile: For now ignore errors from run-conformtest.
69824         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
69825         POSIX to avoid namespace pollution.  Don't prepend headers.
69826         * conform/data/aio.h-data: Fixes for POSIX testing.
69827         * conform/data/fcntl.h-data: Likewise.
69828         * conform/data/glob.h-data: Likewise.
69829         * conform/data/grp.h-data: Likewise.
69830         * conform/data/pthread.h-data: Likewise.
69831         * conform/data/pwd.h-data: Likewise.
69832         * conform/data/signal.h-data: Likewise.
69833         * conform/data/spawn.h-data: Likewise.
69834         * conform/data/stdio.h-data: Likewise.
69835         * conform/data/stdlib.h-data: Likewise.
69836         * conform/data/stropts.h-data: Likewise.
69837         * conform/data/sys/mman.h-data: Likewise.
69838         * conform/data/sys/stat.h-data: Likewise.
69839         * conform/data/sys/types.h-data: Likewise.
69840         * conform/data/sys/wait.h-data: Likewise.
69841         * conform/data/time.h-data: Likewise.
69842         * conform/data/unistd.h-data: Likewise.
69843         * conform/data/utime.h-data: Likewise.
69845         * io/sys/stat.h: fchmod was always in POSIX.
69846         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
69847         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
69848         * rt/aio.h: Define __need_timespec before including <time.h>.
69849         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
69850         struct.  Add forward declaration of pthread_attr_t and use it in
69851         sigevent.
69852         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
69853         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
69854         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
69855         always remove CLK_TCK definition.
69857 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
69859         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
69861 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
69863         * conform/run-conformtest.sh: New file.
69864         * conform/Makefile: Run run-conformtest for tests.
69865         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
69866         support.
69868         * conform/data/uchar.h-data: New file.
69869         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
69870         * conform/data/arpa/inet.h-data: Likewise.
69871         * conform/data/assert.h-data: Likewise.
69872         * conform/data/complex.h-data: Likewise.
69873         * conform/data/cpio.h-data: Likewise.
69874         * conform/data/ctype.h-data: Likewise.
69875         * conform/data/dirent.h-data: Likewise.
69876         * conform/data/dlfcn.h-data: Likewise.
69877         * conform/data/errno.h-data: Likewise.
69878         * conform/data/fcntl.h-data: Likewise.
69879         * conform/data/float.h-data: Likewise.
69880         * conform/data/fmtmsg.h-data: Likewise.
69881         * conform/data/fnmatch.h-data: Likewise.
69882         * conform/data/ftw.h-data: Likewise.
69883         * conform/data/glob.h-data: Likewise.
69884         * conform/data/grp.h-data: Likewise.
69885         * conform/data/iconv.h-data: Likewise.
69886         * conform/data/inttypes.h-data: Likewise.
69887         * conform/data/langinfo.h-data: Likewise.
69888         * conform/data/libgen.h-data: Likewise.
69889         * conform/data/limits.h-data: Likewise.
69890         * conform/data/locale.h-data: Likewise.
69891         * conform/data/math.h-data: Likewise.
69892         * conform/data/monetary.h-data: Likewise.
69893         * conform/data/mqueue.h-data: Likewise.
69894         * conform/data/ndbm.h-data: Likewise.
69895         * conform/data/net/if.h-data: Likewise.
69896         * conform/data/netdb.h-data: Likewise.
69897         * conform/data/netinet/in.h-data: Likewise.
69898         * conform/data/nl_types.h-data: Likewise.
69899         * conform/data/poll.h-data: Likewise.
69900         * conform/data/pthread.h-data: Likewise.
69901         * conform/data/pwd.h-data: Likewise.
69902         * conform/data/regex.h-data: Likewise.
69903         * conform/data/sched.h-data: Likewise.
69904         * conform/data/search.h-data: Likewise.
69905         * conform/data/semaphore.h-data: Likewise.
69906         * conform/data/setjmp.h-data: Likewise.
69907         * conform/data/signal.h-data: Likewise.
69908         * conform/data/spawn.h-data: Likewise.
69909         * conform/data/stdarg.h-data: Likewise.
69910         * conform/data/stdio.h-data: Likewise.
69911         * conform/data/stdlib.h-data: Likewise.
69912         * conform/data/string.h-data: Likewise.
69913         * conform/data/strings.h-data: Likewise.
69914         * conform/data/stropts.h-data: Likewise.
69915         * conform/data/sys/ipc.h-data: Likewise.
69916         * conform/data/sys/mman.h-data: Likewise.
69917         * conform/data/sys/msg.h-data: Likewise.
69918         * conform/data/sys/resource.h-data: Likewise.
69919         * conform/data/sys/select.h-data: Likewise.
69920         * conform/data/sys/sem.h-data: Likewise.
69921         * conform/data/sys/shm.h-data: Likewise.
69922         * conform/data/sys/socket.h-data: Likewise.
69923         * conform/data/sys/stat.h-data: Likewise.
69924         * conform/data/sys/statvfs.h-data: Likewise.
69925         * conform/data/sys/time.h-data: Likewise.
69926         * conform/data/sys/timeb.h-data: Likewise.
69927         * conform/data/sys/times.h-data: Likewise.
69928         * conform/data/sys/types.h-data: Likewise.
69929         * conform/data/sys/uio.h-data: Likewise.
69930         * conform/data/sys/un.h-data: Likewise.
69931         * conform/data/sys/utsname.h-data: Likewise.
69932         * conform/data/sys/wait.h-data: Likewise.
69933         * conform/data/syslog.h-data: Likewise.
69934         * conform/data/tar.h-data: Likewise.
69935         * conform/data/termios.h-data: Likewise.
69936         * conform/data/utime.h-data: Likewise.
69937         * conform/data/utmpx.h-data: Likewise.
69938         * conform/data/varargs.h-data: Likewise.
69939         * conform/data/wchar.h-data: Likewise.
69940         * conform/data/wctype.h-data: Likewise.
69941         * conform/data/wordexp.h-data: Likewise.
69943         * include/stropts.h: New file.
69944         * include/uchar.h: New file.
69945         * include/aio.h: Changes to allow conformtest.pl to use the headers.
69946         * include/assert.h: Likewise.
69947         * include/ctype.h: Likewise.
69948         * include/dirent.h: Likewise.
69949         * include/dlfcn.h: Likewise.
69950         * include/fcntl.h: Likewise.
69951         * include/fnmatch.h: Likewise.
69952         * include/glob.h: Likewise.
69953         * include/grp.h: Likewise.
69954         * include/libio.h: Likewise.
69955         * include/locale.h: Likewise.
69956         * include/math.h: Likewise.
69957         * include/net/if.h: Likewise.
69958         * include/netdb.h: Likewise.
69959         * include/netinet/in.h: Likewise.
69960         * include/pthread.h: Likewise.
69961         * include/pwd.h: Likewise.
69962         * include/regex.h: Likewise.
69963         * include/sched.h: Likewise.
69964         * include/search.h: Likewise.
69965         * include/setjmp.h: Likewise.
69966         * include/signal.h: Likewise.
69967         * include/stdio.h: Likewise.
69968         * include/stdlib.h: Likewise.
69969         * include/string.h: Likewise.
69970         * include/sys/cdefs.h: Likewise.
69971         * include/sys/mman.h: Likewise.
69972         * include/sys/msg.h: Likewise.
69973         * include/sys/resource.h: Likewise.
69974         * include/sys/select.h: Likewise.
69975         * include/sys/socket.h: Likewise.
69976         * include/sys/stat.h: Likewise.
69977         * include/sys/statvfs.h: Likewise.
69978         * include/sys/time.h: Likewise.
69979         * include/sys/times.h: Likewise.
69980         * include/sys/uio.h: Likewise.
69981         * include/sys/utsname.h: Likewise.
69982         * include/sys/wait.h: Likewise.
69983         * include/termios.h: Likewise.
69984         * include/time.h: Likewise.
69985         * include/ulimit.h: Likewise.
69986         * include/unistd.h: Likewise.
69987         * include/utime.h: Likewise.
69988         * include/wchar.h: Likewise.
69989         * include/wctype.h: Likewise.
69990         * include/wordexp.h: Likewise.
69992         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
69994         * time/time.h: TIME_UTC must be a macro.
69995         Make timespec_get available for ISO C11 only as well.
69997 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
69999         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
70000         Reported by Peng Haitao <penght@cn.fujitsu.com>.
70002 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
70004         * configure.in: Use -o not -a in test for unsupported multi-arch.
70006 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
70008         * manual/texinfo.tex: Update to version 2012-01-19.16.
70010 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
70012         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
70014 2012-02-24  Roland McGrath  <roland@hack.frob.com>
70016         [BZ #13738]
70017         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
70018         * manual/fdl-1.3.texi: New file.
70019         * manual/fdl-1.1.texi: File removed.
70021         [BZ #13738]
70022         * manual/libc.texinfo (FDL_VERSION): New @set.
70023         Use it for mention of FDL in cover text.
70024         (Documentation License): Use it in @include file name.
70026 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
70027             Roland McGrath  <roland@hack.frob.com>
70029         [BZ #5461]
70030         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
70031         (not LONG_LONG_MAX and LONG_LONG_MIN.
70032         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
70033         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
70034         name.
70035         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
70037 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
70039         [BZ #2547]
70040         [BZ #11365]
70041         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
70042         manipulate bits before adding and subtracting TWO23[sx].
70043         * math/libm-test.inc (nearbyint_test): Add more tests.
70045 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
70047         [BZ #2548]
70048         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
70049         bits before adding and subtracting TWO23[sx].
70050         * math/libm-test.inc (rint_test): Add more tests.
70051         (rint_test_tonearest): Likewise.
70052         (rint_test_towardzero): Likewise.
70053         (rint_test_downward): Likewise.
70054         (rint_test_upward: Likewise.
70056 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
70058         [BZ #10110]
70059         * include/stdc-predef.h: New file.  Extracted from features.h.
70060         * include/features.h: Include stdc-predef.h.
70061         * Makefile (headers): Add stdc-predef.h.
70062         * CONFORMANCE (Compiler limitations): Update.
70064 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
70066         * manual/libc.texinfo (VERSION, UPDATED): Revert.
70068 2012-02-21  David S. Miller  <davem@davemloft.net>
70070         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
70071         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
70073 2012-02-20  David S. Miller  <davem@davemloft.net>
70075         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
70076         using a normal save/restore sequence, rather than allocating a
70077         dummy stack frame just to store a frame pointer and restore.
70078         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
70080 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
70082         * manual/install.texi: Fix stray word in line-wrapped comment.
70084 2012-02-20  David S. Miller  <davem@davemloft.net>
70086         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
70087         both binutils and gcc support GOTDATA.
70089         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
70090         "rd %pc" in the PIC register setup sequences.
70092         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
70093         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
70094         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
70095         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
70096         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
70097         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
70098         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
70099         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
70100         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
70101         (SYSCALL_ERROR_HANDLER): Likewise.
70102         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
70103         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
70104         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
70105         (SYSCALL_ERROR_HANDLER): Likewise.
70107         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
70108         (HAVE_GCC_GOTDATA): New.
70109         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
70110         relocation support in both binutils and gcc.
70111         * sysdeps/sparc/elf/configure: Regenerate.
70113         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
70114         * sysdeps/sparc/sparc32/elf/configure: Delete.
70115         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
70116         * sysdeps/sparc/sparc64/elf/configure: Delete.
70117         * sysdeps/sparc/elf/configure.in: New file.
70118         * sysdeps/sparc/elf/configure: Generate.
70120         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
70121         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
70122         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
70123         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
70124         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
70126 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
70128         * manual/install.texi: Do not mention specific glibc version
70129         numbers.
70130         * manual/libc.texinfo (VERSION, UPDATED): Update.
70131         (@copying): Use @copyright{} and range of years.
70133 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
70135         [BZ #13695]
70136         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
70137         [crti.S not in sysdirs] (generated): Do not append.
70138         [crti.S not in sysdirs] (omit-deps): Likewise.
70139         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
70140         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
70141         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
70142         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
70143         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
70144         Likewise.
70145         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
70146         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
70147         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
70148         * csu/defs.awk: Remove file.
70149         * sysdeps/generic/initfini.c: Likewise.
70150         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
70151         variable.
70152         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
70153         Likewise.
70155 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
70157         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
70158         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
70159         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
70160         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
70161         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
70162         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
70163         <bits/epoll.h>.
70164         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
70165         (__EPOLL_PACKED): Define to empty if not defined by
70166         <bits/epoll.h>.
70167         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
70168         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
70169         bits/epoll.h.
70171 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
70173         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
70174         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
70175         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
70176         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
70177         <bits/timerfd.h>.
70178         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
70179         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
70180         bits/timerfd.h.
70182 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
70184         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
70185         in C locale.
70186         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
70187         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
70188         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
70189         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70191 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
70193         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
70194         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
70196 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
70198         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
70199         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
70200         defined.
70201         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
70202         Likewise.
70203         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
70204         entry for 2.16.
70206 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
70208         * math/w_acos.c: Use non-signaling floating-point comparisons.
70209         * math/w_acosf.c: Likewise.
70210         * math/w_acosh.c: Likewise.
70211         * math/w_acoshf.c: Likewise.
70212         * math/w_acoshl.c: Likewise.
70213         * math/w_acosl.c: Likewise.
70214         * math/w_asin.c: Likewise.
70215         * math/w_asinf.c: Likewise.
70216         * math/w_asinl.c: Likewise.
70217         * math/w_atanh.c: Likewise.
70218         * math/w_atanhf.c: Likewise.
70219         * math/w_atanhl.c: Likewise.
70220         * math/w_exp2.c: Likewise.
70221         * math/w_exp2f.c: Likewise.
70222         * math/w_exp2l.c: Likewise.
70223         * math/w_j0.c: Likewise.
70224         * math/w_j0f.c: Likewise.
70225         * math/w_j0l.c: Likewise.
70226         * math/w_j1.c: Likewise.
70227         * math/w_j1f.c: Likewise.
70228         * math/w_j1l.c: Likewise.
70229         * math/w_jn.c: Likewise.
70230         * math/w_jnf.c: Likewise.
70231         * math/w_log.c: Likewise.
70232         * math/w_log10.c: Likewise.
70233         * math/w_log10f.c: Likewise.
70234         * math/w_log10l.c: Likewise.
70235         * math/w_log2.c: Likewise.
70236         * math/w_log2f.c: Likewise.
70237         * math/w_log2l.c: Likewise.
70238         * math/w_logf.c: Likewise.
70239         * math/w_logl.c: Likewise.
70240         * math/w_sqrt.c: Likewise.
70241         * math/w_sqrtf.c: Likewise.
70242         * math/w_sqrtl.c: Likewise.
70243         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
70244         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
70245         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
70246         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
70247         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
70249 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
70251         [BZ #9739]
70252         * manual/string.texi (strnlen): Use correct parameter name in
70253         equivalent expression.
70255 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
70257         [BZ #11174]
70258         * manual/users.texi (seteuid): Consistently use neweuid for
70259         argument name.
70261 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
70263         [BZ #13704]
70264         * manual/nss.texi (Services in the NSS configuration): Correct
70265         list of services in example configuration file.
70267 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
70269         [BZ #11322]
70270         * manual/arith.texi: Remove statements about negative zero
70271         behaving identically to zero.
70273 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
70275         [BZ #5993]
70276         * manual/install.texi: Do not document upgrading from libc5.
70278 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
70280         [BZ #4596]
70281         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
70283 2012-02-18  David S. Miller  <davem@davemloft.net>
70285         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
70286         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
70287         %o7 across the call.
70288         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
70289         instead.
70290         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
70291         SETUP_PIC_REG_LEAF.
70292         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
70293         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
70294         * sysdeps/sparc/crtn.S: Likewise.
70296 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
70298         * aout/Makefile: Remove.
70300 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
70302         [BZ #13058]
70303         * manual/examples/argp-ex1.c (main): Format definition in GNU
70304         style.
70305         * manual/examples/argp-ex2.c (main): Likewise.
70306         * manual/examples/argp-ex3.c (main): Likewise.
70307         * manual/examples/argp-ex4.c (main): Likewise.
70308         * manual/examples/longopt.c (main): Use new-style prototype
70309         definition.
70310         * manual/examples/strncat.c (main): Specify return type and use
70311         (void) for arguments.
70312         * manual/examples/subopt.c (main): Use char **argv argument.
70314 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
70316         [BZ #5077]
70317         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
70318         rounding modes.
70320 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
70322         [BZ #6907]
70323         * manual/string.texi (strchr): Change when strchrnul is
70324         recommended.
70326 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
70328         [BZ #174]
70329         * manual/locale.texi (setlocale): Document LOCPATH.
70331 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
70333         [BZ #10210]
70334         * manual/process.texi (execle): Move @dots{} before last argument.
70336 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
70338         [BZ #12047]
70339         * manual/charset.texi (Generic Charset Conversion): Fix typo
70340         (LC_TYPE -> LC_CTYPE).
70342 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
70344         [BZ #5805]
70345         * manual/arith.texi (scalbn): Use @var{} on parameter names.
70346         (scalbnf): Likewise.
70347         (scalbnl): Likewise.
70348         (scalbln): Likewise.
70349         (scalblnf): Likewise.
70350         (scalblnl): Likewise.
70351         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
70352         (vwarnx): Likewise.
70353         (verr): Likewise.
70354         (verrx): Likewise.
70355         * manual/filesys.texi (telldir): Use braces around return type.
70356         * manual/llio.texi (mmap): Add space after comma.
70357         (mmap64): Likewise.
70358         * manual/math.texi (jn): Use @var{} on parameter names.
70359         (jnf): Likewise.
70360         (jnl): Likewise.
70361         (yn): Likewise.
70362         (ynf): Likewise.
70363         (ynl): Likewise.
70364         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
70365         line.
70366         * manual/resource.texi (ulimit): Use @dots{} instead of literal
70367         "...".
70368         (sched_get_priority_min): Remove semicolon on @deftypefun line.
70369         (sched_get_priority_max): Likewise.
70370         * manual/signal.texi (sigvec): Add space after comma.
70371         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
70372         names.
70373         (if_indextoname): Likewise.
70374         (if_freenameindex): Likewise.
70375         (sendto): Use ',' instead of '.' in prototype.
70376         * manual/startup.texi (syscall): Use @dots{} instead of literal
70377         "...".
70378         * manual/stdio.texi (__fpending): Separate initial words of
70379         paragraph from @deftypefun line.
70380         * manual/syslog.texi (syslog): Use @dots{} instead of literal
70381         "...".
70382         (vsyslog): Use @var{} on parameter names.
70383         * manual/terminal.texi (stty): Use @var{} on parameter names.
70384         * manual/users.texi (getutmp): Use @var{} on parameter names.
70385         (getutmpx): Likewise.
70387 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
70389         [BZ #6884]
70390         * manual/stdio.texi (fopen): Fix typos in description of
70391         ",ccs=STRING".
70393 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
70395         [BZ #4026]
70396         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
70397         get clock_id definition.
70399 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
70401         [BZ #4822]
70402         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
70403         (madvise): Cast every argument to void on its own.
70405 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
70407         [BZ #9902]
70408         * manual/startup.texi (Exit Status): Fix typo.
70410 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
70412         [BZ #10140]
70413         * manual/examples/argp-ex1.c: Include <stdlib.h>.
70414         * manual/examples/argp-ex2.c: Likewise.
70415         * manual/examples/argp-ex3.c: Likewise.
70417 2012-02-16  Richard Henderson  <rth@redhat.com>
70419         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
70420         * sysdeps/s390/s390-32/initfini.c: Remove.
70421         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
70422         * sysdeps/s390/s390-64/initfini.c: Remove.
70424 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
70426         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
70427         compiler output for sysdeps/generic/initfini.c.
70428         * sysdeps/sh/elf/initfini.c: Remove file.
70430 2012-02-16  David S. Miller  <davem@davemloft.net>
70432         [BZ #11494]
70433         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
70435         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
70436         * sysdeps/sparc/crti.S: New file.
70437         * sysdeps/sparc/crtn.S: New file.
70438         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
70439         * sysdeps/sparc/sparc64/Makefile: Likewise.
70441 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
70443         [BZ #3335]
70444         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
70446 2012-02-15  Roland McGrath  <roland@hack.frob.com>
70448         [BZ #4822]
70449         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
70451         * mach/devstream.c (cookie_io_functions_t): Macro removed.
70452         (write, read, close): Likewise.
70453         Patch by Aurelien Jarno <aurelien@aurel32.net>.
70455 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
70457         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
70458         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
70459         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
70460         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
70461         <bits/signalfd.h>.
70462         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
70463         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
70464         bits/signalfd.h.
70466 2012-02-14  Marek Polacek  <polacek@redhat.com>
70468         * sysdeps/x86_64/crti.S: New file.
70469         * sysdeps/x86_64/crtn.S: New file.
70470         * sysdeps/x86_64/elf/initfini.c: Remove file.
70472 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
70474         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
70475         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
70476         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
70477         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
70478         <bits/inotify.h>.
70479         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
70480         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
70481         bits/inotify.h.
70483 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
70485         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
70486         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
70487         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
70488         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
70489         <bits/eventfd.h>.
70490         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
70491         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
70492         bits/eventfd.h.
70494 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
70496         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
70497         __feraiseexcept instead of feraiseexcept.
70499         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
70500         nanosleep invocations.
70501         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
70502         strings, and add error checking for a nanosleep invocations.
70504 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
70506         Replace FSF snail mail address with URLs, as per GNU coding standards.
70507         Most of the snail mail addresses were wrong anyway, and omitting
70508         them makes the source code easier to maintain.  Almost all of the
70509         changes are to license notices and to locale LC_IDENTIFICATION
70510         addresses, except for this one:
70511         * manual/libc.texinfo: In "Published by", give the FSF's URL,
70512         not its snail mail address.
70514 2012-02-09  Richard Henderson  <rth@twiddle.net>
70516         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
70517         of kernel-features.h.
70519         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
70521 2012-02-08  Marek Polacek  <polacek@redhat.com>
70523         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
70524         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
70525         * sysdeps/gnu/_G_config.h: Likewise.
70526         * sysdeps/generic/_G_config.h: Likewise.
70528 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
70530         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
70531         tests.
70532         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70534         * sysdeps/powerpc/powerpc32/crti.S: New file.
70535         * sysdeps/powerpc/powerpc32/crtn.S: New file.
70536         * sysdeps/powerpc/powerpc64/crti.S: New file.
70537         * sysdeps/powerpc/powerpc64/crtn.S: New file.
70539         * Makeconfig (have-initfini): Don't set.
70540         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
70541         * configure.in (nopic_initfini): Don't substitute.
70542         * config.h.in (HAVE_INITFINI): Don't #undef.
70543         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
70544         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
70546 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
70548         Support crti.S and crtn.S provided directly by architectures.
70549         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
70550         [crti.S in sysdirs] (omit-deps): Likewise.
70551         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
70552         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
70553         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
70554         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
70555         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
70556         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
70557         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
70558         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
70559         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
70560         compiler output for sysdeps/generic/initfini.c.
70561         * sysdeps/i386/elf/Makefile: Remove file.
70562         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
70564 2012-02-07  Marek Polacek  <polacek@redhat.com>
70566         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
70567         * sysdeps/gnu/_G_config.h: Likewise.
70568         * sysdeps/mach/hurd/_G_config.h: Likewise.
70570 2012-02-07  Marek Polacek  <polacek@redhat.com>
70572         * math/Makefile (tests): Add tst-CMPLX2.
70573         * math/tst-CMPLX2.c: New file.
70575 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
70577         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
70579         * math/libm-test.inc (jn_test): Add missing L suffix.
70581 2012-02-06  Marek Polacek  <polacek@redhat.com>
70583         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
70584         * sysdeps/i386/fpu/e_powf.S: Likewise.
70585         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
70586         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
70587         * sysdeps/i386/fpu/e_acosh.S: Likewise.
70588         * sysdeps/i386/fpu/e_pow.S: Likewise.
70589         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
70590         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
70591         * sysdeps/i386/fpu/s_expm1.S: Likewise.
70592         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
70593         * sysdeps/i386/fpu/e_log2.S: Likewise.
70594         * sysdeps/i386/fpu/e_log2l.S: Likewise.
70595         * sysdeps/i386/fpu/e_scalb.S: Likewise.
70596         * sysdeps/i386/fpu/e_powl.S: Likewise.
70597         * sysdeps/i386/fpu/s_log1p.S: Likewise.
70598         * sysdeps/i386/fpu/e_log10f.S: Likewise.
70599         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
70600         * sysdeps/i386/fpu/e_logl.S: Likewise.
70601         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
70602         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
70603         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
70604         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
70605         * sysdeps/i386/fpu/e_log2f.S: Likewise.
70606         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
70607         * sysdeps/i386/fpu/e_log.S: Likewise.
70608         * sysdeps/i386/fpu/s_cexp.S: Likewise.
70609         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
70610         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
70611         * sysdeps/i386/fpu/e_logf.S: Likewise.
70612         * sysdeps/i386/fpu/e_log10l.S: Likewise.
70613         * sysdeps/i386/fpu/e_atanh.S: Likewise.
70614         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
70615         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
70616         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
70617         * sysdeps/i386/fpu/e_log10.S: Likewise.
70618         * sysdeps/i386/fpu/s_frexp.S: Likewise.
70619         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
70620         * sysdeps/i386/fpu/s_asinh.S: Likewise.
70621         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
70622         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
70623         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
70624         * sysdeps/i386/asm-syntax.h: Likewise.
70625         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
70626         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
70627         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
70628         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
70629         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
70630         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
70631         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
70632         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
70633         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
70634         * sysdeps/powerpc/sysdep.h: Likewise.
70635         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
70636         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
70638 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
70640         [BZ #411]
70641         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
70643 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
70645         * sysdeps/i386/sysdep.h: Include <features.h>.
70646         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
70647         version.
70649 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
70651         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
70652         Define.
70653         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
70654         LOAD_PIC_REG_STR.
70656 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
70658         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
70659         (SETUP_PIC_REG): Use GET_PC_THUNK.
70660         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
70661         macro.
70663 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
70665         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
70666         for non-PIC compilation.
70667         (SETUP_PIC_REG): Add .p2align directive.
70668         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
70669         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
70670         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
70671         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
70672         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
70673         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
70674         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
70675         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
70676         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
70677         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
70678         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
70679         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
70680         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
70681         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
70682         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
70683         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
70684         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
70685         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
70686         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
70687         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
70688         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
70689         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
70690         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
70691         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
70692         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
70693         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
70694         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
70695         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
70696         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
70697         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
70698         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
70699         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
70700         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
70701         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
70702         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
70703         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
70704         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
70705         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
70706         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
70707         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
70708         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
70710 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
70712         * math/tst-CMPLX.c: Include <stdio.h>.
70714 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
70716         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
70717         float.
70718         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
70719         * sysdeps/sparc/bits/mathdef.h: Likewise.
70721 2012-01-31  Marek Polacek  <polacek@redhat.com>
70723         * libio/libio.h: Don't define _PARAMS.
70724         * locale/programs/config.h: Don't define PARAMS.
70725         * stdlib/strtol_l.c: Likewise.
70726         (__strtol_l): Remove PARAMS from the prototype.
70728 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
70730         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
70731         names.  Just use the correct names.  Remove unnecessary wrapper
70732         functions.
70733         * malloc/arena.c: Likewise.
70734         * malloc/hooks.c: Likewise.
70736         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
70737         ARENA_TEST says not to.  Simplify test for creation of a new arena.
70738         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
70740 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
70742         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
70743         into tail calls.
70744         (update_get_addr): New function.
70745         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
70746         GET_ADDR_MODULE parameter.
70748 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
70750         * crypt/cert.c: Remove __STDC__ conditionals.
70751         * crypt/crypt-entry.c: Likewise.
70752         * crypt/crypt_util.c: Likewise.
70753         * libio/filedoalloc.c: Likewise.
70754         * libio/fileops.c: Likewise.
70755         * libio/genops.c: Likewise.
70756         * libio/iofclose.c: Likewise.
70757         * libio/iofdopen.c: Likewise.
70758         * libio/iofopen.c: Likewise.
70759         * libio/iofopen64.c: Likewise.
70760         * libio/iogetdelim.c: Likewise.
70761         * libio/iopopen.c: Likewise.
70762         * libio/obprintf.c: Likewise.
70763         * libio/oldfileops.c: Likewise.
70764         * libio/oldiofclose.c: Likewise.
70765         * libio/oldiofdopen.c: Likewise.
70766         * libio/oldiofopen.c: Likewise.
70767         * libio/oldiopopen.c: Likewise.
70768         * libio/wfiledoalloc.c: Likewise.
70769         * libio/wgenops.c: Likewise.
70770         * locale/programs/xmalloc.c: Likewise.
70771         * misc/syslog.c: Likewise.
70772         * stdio-common/xbug.c: Likewise.
70773         * string/memchr.c: Likewise.
70774         * string/memcmp.c: Likewise.
70775         * string/memrchr.c: Likewise.
70776         * string/rawmemchr.c: Likewise.
70777         * sysdeps/posix/getcwd.c: Likewise.
70778         * time/strftime_l.c: Likewise.
70780 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
70782         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
70783         * config.make.in (config-cflags-sse2avx): Define.
70784         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
70785         Fix typo.
70787 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
70789         * scripts/config.guess: Update from upstream config git repository.
70790         * scripts/config.sub: Likewise.
70792 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
70794         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
70795         (EM_NUM): Update.
70796         (R_TILEPRO_*, R_TILEGX_*): New macros.
70798         * scripts/firstversions.awk: Fix bug in version range handling.
70800         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
70802         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
70804         * include/sys/epoll.h: New file.
70805         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
70806         libc_hidden_def.
70808 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
70810         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
70811         Avoid unnecessary __WORDSIZE == 64 test.
70812         (fmaxf): Use VEX format if possible.
70813         (fmax): Likewise.
70814         (fminf): Likewise.
70815         (fmin): Likewise.
70817         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
70818         * math/math_private.h: Remove libc_fegetround* and
70819         libc_fesetround*.
70820         * sysdeps/i386/configure.in: Check for -msse2avx.
70821         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
70822         also if SSE2AVX is defined.
70823         Remove libc_fegetround* and libc_fesetround*.
70824         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
70825         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
70826         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
70827         of HAS_YMM_USABLE.
70828         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
70829         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
70830         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
70831         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
70832         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
70834         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
70836 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
70838         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
70839         size is not set.
70840         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
70842 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
70844         [BZ #13618]
70845         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
70846         relocation.
70847         * Makeconfig (libm): Define.
70848         * elf/Makefile: Add rules to build and run tst-relsort1.
70849         * elf/tst-relsort1.c: New file.
70850         * elf/tst-relsort1mod1.c: New file.
70851         * elf/tst-relsort1mod2.c: New file.
70853 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
70855         * math/s_ldexp.c: Remove __STDC__ conditionals.
70856         * math/s_ldexpf.c: Likewise.
70857         * math/s_ldexpl.c: Likewise.
70858         * math/s_nextafter.c: Likewise.
70859         * math/s_nexttowardf.c: Likewise.
70860         * math/s_significand.c: Likewise.
70861         * math/s_significandf.c: Likewise.
70862         * math/s_significandl.c: Likewise.
70863         * math/w_jnl.c: Likewise.
70864         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
70865         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
70866         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
70867         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
70868         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
70869         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
70870         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
70871         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
70872         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
70873         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
70874         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
70875         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
70876         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
70877         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
70878         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
70879         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
70880         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
70881         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
70882         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
70883         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
70884         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
70885         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
70886         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
70887         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
70888         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
70889         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
70890         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
70891         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
70892         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
70893         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
70894         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
70895         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
70896         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
70897         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
70898         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
70899         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
70900         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
70901         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
70902         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
70903         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
70904         * sysdeps/ieee754/k_standard.c: Likewise.
70905         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
70906         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
70907         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
70908         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
70909         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
70910         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
70911         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
70912         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
70913         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
70914         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
70915         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
70916         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
70917         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
70918         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
70919         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
70920         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
70921         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
70922         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
70923         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
70924         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
70925         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
70926         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
70927         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
70928         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
70929         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
70930         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
70931         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
70932         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
70933         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
70934         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
70935         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
70936         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
70937         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
70938         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
70939         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
70940         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
70941         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
70942         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
70943         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
70944         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
70945         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
70946         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
70947         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
70948         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
70949         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
70950         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
70951         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
70952         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
70953         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
70954         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
70955         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
70956         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
70957         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
70958         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
70959         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
70960         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
70961         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
70962         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
70963         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
70964         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
70965         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
70966         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
70967         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
70968         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
70969         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
70970         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
70971         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
70972         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
70973         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
70974         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
70975         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
70976         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
70977         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
70978         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
70979         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
70980         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
70981         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
70982         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
70983         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
70984         * sysdeps/ieee754/s_matherr.c: Likewise.
70985         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
70986         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
70987         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
70988         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
70990 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
70992         * crypt/md5.h: Remove __STDC__ conditionals.
70993         * libio/libioP.h: Likewise.
70994         * locale/programs/config.h: Likewise.
70995         * sysdeps/generic/sysdep.h: Likewise.
70996         * sysdeps/i386/asm-syntax.h: Likewise.
70997         * sysdeps/s390/asm-syntax.h: Likewise.
70998         * sysdeps/unix/sysdep.h: Likewise.
70999         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
71000         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
71002 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
71004         * libio/libio.h: Remove __STDC__ conditionals.
71005         * malloc/obstack.h: Likewise.
71006         * math/complex.h: Likewise.
71007         * math/math.h: Likewise.
71008         * sysdeps/generic/_G_config.h: Likewise.
71009         * sysdeps/gnu/_G_config.h: Likewise.
71010         * sysdeps/mach/hurd/_G_config.h: Likewise.
71011         * sysdeps/powerpc/bits/mathdef.h: Likewise.
71012         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
71013         * sysdeps/sparc/bits/mathdef.h: Likewise.
71015 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
71017         [BZ #13583]
71018         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
71019         Clean up HAS_* macros.
71020         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
71021         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
71022         possible.
71023         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
71024         HAS_AVX.
71025         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
71026         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
71027         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
71028         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
71029         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
71031 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
71033         * elf/tst-unique3.cc (gets): Remove declaration.
71034         * elf/tst-unique3lib.cc (gets): Likewise.
71035         * elf/tst-unique3lib2.cc (gets): Likewise.
71036         * elf/tst-unique4.cc (gets): Likewise.
71038 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
71040         * include/stdio.h: Add C++ protection.  Add gets declarations and
71041         definitions.
71042         * debug/tst-chk1.c: Don't declare gets here.
71043         * stdio-common/tst-gets.c: Likewise.
71045 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
71047         * posix/glob: Remove directory.
71049 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
71051         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
71053 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
71055         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
71056         of the non-standard EPFNOSUPPORT.
71058 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
71060         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
71061         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
71062         ANYWHERE set to 1 only on KERN_NO_SPACE error.
71064 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
71066         * wcsmbs/uchar.h: Test __STDC_VERSION__.
71068 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
71070         * nscd/aicache.c (addhstaiX): Do not cache negative results of
71071         transient errors.
71072         * nscd/grpcache.c (cache_addgr): Likewise.
71073         * nscd/hstcache.c (cache_addhst): Likewise.
71074         * nscd/initgrcache.c (addinitgroupsX): Likewise.
71075         * nscd/pwdcache.c (cache_addpw): Likewise.
71076         * nscd/servicescache.c (cache_addserv): Likewise.
71078 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
71080         * malloc/malloc.c: Various cleanups.
71081         * malloc/hooks.c: Likewise.
71083         * stdlib/Makefile (tests): Add bug-fmtmsg1.
71084         * stdlib/bug-fmtmsg1.c: New file.
71086         * stdlib/fmtmsg.c (init): Add missing unlock.
71087         Patch by Peng Haitao <penght@cn.fujitsu.com>.
71089 2012-01-12  Marek Polacek  <polacek@redhat.com>
71091         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
71092         and _GNU_SOURCE.
71094 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
71096         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
71097         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
71098         macro to ensure uniqueness of label name.
71099         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
71100         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
71102 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
71104         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
71106         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
71107         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
71108         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
71109         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
71111 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
71113         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
71115         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
71116         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
71117         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
71119         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
71121         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
71122         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
71123         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
71124         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
71126         * math/bits/math-finite.h: Add ldexp support.
71128 2012-01-10  Marek Polacek  <polacek@redhat.com>
71130         * locale/programs/localedef.h (show_archive_content): Add noreturn
71131         attribute.
71133 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
71135         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
71137 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
71139         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
71141         * io/Makefile (headers): Add bits/poll2.h.
71143 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
71145         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
71146         typo #include statement.
71148 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
71150         * include/sys/cdefs.h: Define __attribute_alloc_size.
71151         * catgets/gencat.c: Add alloc_size attribute and apply consistently
71152         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
71153         * elf/pldd.c: Likewise.
71154         * iconv/iconv_charmap.c: Likewise.
71155         * iconv/iconvconfig.c: Likewise.
71156         * iconv/strtab.c: Likewise.
71157         * locale/programs/locale.c: Likewise.
71158         * locale/programs/localedef.h: Likewise.
71159         * locale/programs/simple-hash.c: Likewise.
71160         * nscd/nscd.h: Likewise.
71161         * nss/makedb.c: Likewise.
71162         * sysdeps/generic/ldconfig.h: Likewise.
71163         * locale/programs/localedef.c: Remove xmalloc prototype.
71164         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
71166 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
71168         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
71169         appropriate.
71171 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
71173         * math/Makefile (tests): Add tst-CMPLX.
71174         * math/tst-CMPLX.c: New file.
71176         * math/complex.h (CMPLXL): Fix typo.
71178         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
71179         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
71180         GLIBC_2.16.
71181         * debug/tst-chk1.c: Add poll and ppoll tests.
71182         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
71183         * include/sys/poll.h: Add hidden proto for ppoll.
71184         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
71185         * sysdeps/mach/hurd/ppoll.c: Likewise.
71186         * io/ppoll.c: Likewise.
71187         * debug/poll_chk.c: New file.
71188         * debug/ppoll_chk.c: New file.
71189         * include/bits/poll2.h: New file.
71190         * io/bits/poll2.h: New file.
71192         [BZ #1350]
71193         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
71195         * configure.in: static is always set to yes.  Remove.
71196         * config.make.in: Don't set build-static.
71197         * Makeconfig: Remove use of build-static.
71198         * dlfcn/Makefile: Likewise.
71199         * elf/Makefile: Likewise.
71200         * math/Makefile: Likewise.
71201         * misc/Makefile: Likewise.
71202         * nptl/Makefile: Likewise.
71203         * sysdeps/mach/hurd/Makefile: Likewise.
71205         * configure.in: PWD_P is not used anymore.
71206         * config.make.in: Remove PWD_P entry.
71208         * configure.in: Remove last remnants of RANLIB.
71209         No need to check for signed size_t anymore.
71210         Don't set libc_commonpagesize and libc_relro_required here for Alpha
71211         and IA-64.
71212         Remove __builtin_expect test because we require at least gcc 3.4.
71213         * aclocal.m4: Likewise.
71215         * wcsmbs/mbrtoc16.c: Implement using towc function.
71216         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
71217         * wcsmbs/wcsmbsload.c: Likewise.
71218         * iconv/gconv_simple.c: Likewise.
71219         * iconv/gconv_int.h: Likewise.
71220         * iconv/gconv_builtin.h: Likewise.
71221         * iconv/iconv_prog.c: Remove CHAR16 handling.
71223         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
71225         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
71227         * configure.in: Remove --with-elf and --enable-bounded options.
71228         Dont set base_machine for ia64.  More non-ELF conditions removed.
71229         Remove testing and setting of leading underscore information.
71230         * config.make.in (build-bounded): Set to no.
71231         * config.h.in: Remove NO_UNDERSCORES entry.
71232         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
71233         them.
71234         * csu/start.c: Remove !NO_UNDERSCORE code.
71235         * locale/localeinfo.h: Likewise.
71236         * sysdeps/generic/machine-gmon.h: Likewise.
71237         * sysdeps/generic/sysdep.h: Likewise.
71238         * sysdeps/i386/sysdep.h: Likewise.
71239         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
71240         * sysdeps/mach/sysdep.h: Likewise.
71241         * sysdeps/s390/s390-32/sysdep.h: Likewise.
71242         * sysdeps/s390/s390-64/sysdep.h: Likewise.
71243         * sysdeps/sh/sysdep.h: Likewise.
71244         * sysdeps/sparc/sparc32/alloca.S: Likewise.
71245         * sysdeps/unix/i386/sysdep.S: Likewise.
71246         * sysdeps/unix/sparc/start.c: Likewise.
71247         * sysdeps/unix/sparc/sysdep.S: Likewise.
71248         * sysdeps/unix/sparc/sysdep.h: Likewise.
71249         * sysdeps/unix/start.c: Likewise.
71250         * sysdeps/unix/x86_64/sysdep.S: Likewise.
71251         * sysdeps/x86_64/sysdep.h: Likewise.
71253 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
71255         [BZ #13553]
71256         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
71257         for non-gcc.
71258         * argp/argp-fmtstream.h: Use const instead __const.
71259         * argp/argp.h: Likewise.
71260         * assert/assert.h: Likewise.
71261         * bits/fenv.h: Likewise.
71262         * bits/sched.h: Likewise.
71263         * bits/sigset.h: Likewise.
71264         * bits/sigthread.h: Likewise.
71265         * catgets/nl_types.h: Likewise.
71266         * conform/data/pthread.h-data: Likewise.
71267         * crypt/crypt-private.h: Likewise.
71268         * crypt/crypt.h: Likewise.
71269         * crypt/crypt_util.c: Likewise.
71270         * ctype/ctype.h: Likewise.
71271         * debug/execinfo.h: Likewise.
71272         * debug/mbsnrtowcs_chk.c: Likewise.
71273         * debug/mbsrtowcs_chk.c: Likewise.
71274         * debug/wcsnrtombs_chk.c: Likewise.
71275         * debug/wcsrtombs_chk.c: Likewise.
71276         * debug/wcstombs_chk.c: Likewise.
71277         * dirent/dirent.h: Likewise.
71278         * dlfcn/dlfcn.h: Likewise.
71279         * elf/neededtest4.c: Likewise.
71280         * grp/grp.h: Likewise.
71281         * gshadow/gshadow.h: Likewise.
71282         * iconv/gconv.h: Likewise.
71283         * iconv/gconv_int.h: Likewise.
71284         * iconv/gconv_simple.c: Likewise.
71285         * iconv/iconv.h: Likewise.
71286         * iconv/loop.c: Likewise.
71287         * iconv/skeleton.c: Likewise.
71288         * include/aio.h: Likewise.
71289         * include/aliases.h: Likewise.
71290         * include/argz.h: Likewise.
71291         * include/arpa/inet.h: Likewise.
71292         * include/assert.h: Likewise.
71293         * include/dirent.h: Likewise.
71294         * include/dlfcn.h: Likewise.
71295         * include/execinfo.h: Likewise.
71296         * include/fcntl.h: Likewise.
71297         * include/fenv.h: Likewise.
71298         * include/glob.h: Likewise.
71299         * include/grp.h: Likewise.
71300         * include/libintl.h: Likewise.
71301         * include/mntent.h: Likewise.
71302         * include/netdb.h: Likewise.
71303         * include/pwd.h: Likewise.
71304         * include/rpc/netdb.h: Likewise.
71305         * include/sched.h: Likewise.
71306         * include/search.h: Likewise.
71307         * include/shadow.h: Likewise.
71308         * include/signal.h: Likewise.
71309         * include/stdio.h: Likewise.
71310         * include/stdlib.h: Likewise.
71311         * include/string.h: Likewise.
71312         * include/sys/socket.h: Likewise.
71313         * include/sys/stat.h: Likewise.
71314         * include/sys/statfs.h: Likewise.
71315         * include/sys/statvfs.h: Likewise.
71316         * include/sys/syslog.h: Likewise.
71317         * include/sys/time.h: Likewise.
71318         * include/sys/uio.h: Likewise.
71319         * include/time.h: Likewise.
71320         * include/unistd.h: Likewise.
71321         * include/utmp.h: Likewise.
71322         * include/wchar.h: Likewise.
71323         * include/wctype.h: Likewise.
71324         * inet/aliases.h: Likewise.
71325         * inet/arpa/inet.h: Likewise.
71326         * inet/netinet/ether.h: Likewise.
71327         * inet/netinet/in.h: Likewise.
71328         * intl/libintl.h: Likewise.
71329         * io/bits/fcntl2.h: Likewise.
71330         * io/fcntl.h: Likewise.
71331         * io/ftw.h: Likewise.
71332         * io/sys/poll.h: Likewise.
71333         * io/sys/stat.h: Likewise.
71334         * io/sys/statfs.h: Likewise.
71335         * io/sys/statvfs.h: Likewise.
71336         * io/utime.h: Likewise.
71337         * libio/bits/stdio.h: Likewise.
71338         * libio/bits/stdio2.h: Likewise.
71339         * libio/libio.h: Likewise.
71340         * libio/libioP.h: Likewise.
71341         * libio/stdio.h: Likewise.
71342         * locale/lc-ctype.c: Likewise.
71343         * locale/locale.h: Likewise.
71344         * login/utmp.h: Likewise.
71345         * malloc/arena.c: Likewise.
71346         * malloc/malloc.c: Likewise.
71347         * malloc/malloc.h: Likewise.
71348         * malloc/mcheck.c: Likewise.
71349         * malloc/mtrace.c: Likewise.
71350         * math/bits/mathcalls.h: Likewise.
71351         * math/fenv.h: Likewise.
71352         * math/math_private.h: Likewise.
71353         * misc/bits/error.h: Likewise.
71354         * misc/bits/syslog.h: Likewise.
71355         * misc/err.h: Likewise.
71356         * misc/error.h: Likewise.
71357         * misc/fstab.h: Likewise.
71358         * misc/mntent.h: Likewise.
71359         * misc/regexp.h: Likewise.
71360         * misc/search.h: Likewise.
71361         * misc/sgtty.h: Likewise.
71362         * misc/sys/mman.h: Likewise.
71363         * misc/sys/syslog.h: Likewise.
71364         * misc/sys/uio.h: Likewise.
71365         * misc/sys/xattr.h: Likewise.
71366         * misc/ttyent.h: Likewise.
71367         * nis/rpcsvc/ypclnt.h: Likewise.
71368         * nss/nss.h: Likewise.
71369         * posix/bits/unistd.h: Likewise.
71370         * posix/fnmatch.h: Likewise.
71371         * posix/glob.h: Likewise.
71372         * posix/sched.h: Likewise.
71373         * posix/spawn.h: Likewise.
71374         * posix/sys/wait.h: Likewise.
71375         * posix/unistd.h: Likewise.
71376         * posix/wordexp.h: Likewise.
71377         * pwd/pwd.h: Likewise.
71378         * resolv/netdb.h: Likewise.
71379         * resource/sys/resource.h: Likewise.
71380         * rt/aio.h: Likewise.
71381         * rt/bits/mqueue2.h: Likewise.
71382         * rt/mqueue.h: Likewise.
71383         * shadow/shadow.h: Likewise.
71384         * signal/signal.h: Likewise.
71385         * socket/send.c: Likewise.
71386         * socket/sendto.c: Likewise.
71387         * socket/sys/socket.h: Likewise.
71388         * stdio-common/printf.h: Likewise.
71389         * stdlib/bits/stdlib.h: Likewise.
71390         * stdlib/fmtmsg.h: Likewise.
71391         * stdlib/monetary.h: Likewise.
71392         * stdlib/stdlib.h: Likewise.
71393         * stdlib/ucontext.h: Likewise.
71394         * streams/stropts.h: Likewise.
71395         * string/argz.h: Likewise.
71396         * string/bits/string2.h: Likewise.
71397         * string/string.h: Likewise.
71398         * string/strings.h: Likewise.
71399         * sunrpc/rpc/auth.h: Likewise.
71400         * sunrpc/rpc/auth_des.h: Likewise.
71401         * sunrpc/rpc/clnt.h: Likewise.
71402         * sunrpc/rpc/netdb.h: Likewise.
71403         * sunrpc/rpc/pmap_clnt.h: Likewise.
71404         * sunrpc/rpc/xdr.h: Likewise.
71405         * sysdeps/generic/inttypes.h: Likewise.
71406         * sysdeps/generic/net/if.h: Likewise.
71407         * sysdeps/generic/sys/swap.h: Likewise.
71408         * sysdeps/gnu/net/if.h: Likewise.
71409         * sysdeps/gnu/utmpx.h: Likewise.
71410         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
71411         * sysdeps/i386/i486/bits/string.h: Likewise.
71412         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
71413         * sysdeps/s390/bits/string.h: Likewise.
71414         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
71415         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
71416         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
71417         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
71418         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
71419         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
71420         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
71421         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
71422         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
71423         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
71424         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
71425         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
71426         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
71427         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
71428         * sysdeps/unix/sysv/linux/readv.c: Likewise.
71429         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
71430         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
71431         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
71432         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
71433         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
71434         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
71435         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
71436         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
71437         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
71438         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
71439         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
71440         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
71441         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
71442         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
71443         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
71444         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
71445         * sysvipc/sys/ipc.h: Likewise.
71446         * sysvipc/sys/msg.h: Likewise.
71447         * sysvipc/sys/sem.h: Likewise.
71448         * sysvipc/sys/shm.h: Likewise.
71449         * termios/termios.h: Likewise.
71450         * time/sys/time.h: Likewise.
71451         * time/time.h: Likewise.
71452         * wcsmbs/bits/wchar2.h: Likewise.
71453         * wcsmbs/uchar.h: Likewise.
71454         * wcsmbs/wchar.h: Likewise.
71455         * wctype/wctype.h: Likewise.
71457         [BZ #13551]
71458         * Makeconfig: Remove all but ELF support including AIX support.
71459         * Makerules: Likewise.
71460         * config.h.in: Likewise.
71461         * config.make.in: Likewise.
71462         * configure: Likewise.
71463         * configure.in: Likewise.
71464         * csu/Makefile: Likewise.
71465         * csu/version.c: Likewise.
71466         * debug/Makefile: Likewise.
71467         * dlfcn/Makefile: Likewise.
71468         * elf/Makefile: Likewise.
71469         * extra-lib.mk: Likewise.
71470         * iconv/Makefile: Likewise.
71471         * include/libc-symbols.h: Likewise.
71472         * include/shlib-compat.h: Likewise.
71473         * resolv/Makefile: Likewise.
71474         * resolv/res_libc.c: Likewise.
71475         * rt/Makefile: Likewise.
71476         * sysdeps/i386/asm-syntax.h: Likewise.
71477         * sysdeps/i386/sysdep.h: Likewise.
71478         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
71479         * sysdeps/mach/sysdep.h: Likewise.
71480         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
71481         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
71482         * sysdeps/s390/asm-syntax.h: Likewise.
71483         * sysdeps/s390/s390-32/sysdep.h: Likewise.
71484         * sysdeps/s390/s390-64/sysdep.h: Likewise.
71485         * sysdeps/sh/sysdep.h: Likewise.
71486         * sysdeps/unix/sparc/sysdep.h: Likewise.
71487         * sysdeps/wordsize-32/divdi3.c: Likewise.
71488         * sysdeps/x86_64/sysdep.h: Likewise.
71490         * argp/Versions: Remove _argp_unlock_xxx.
71492         [BZ #13559]
71493         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
71494         * abilist/libBrokenLocale.abilist: Likewise.
71495         * abilist/libanl.abilist: Likewise.
71496         * abilist/libc.abilist: Likewise.
71497         * abilist/libcrypt.abilist: Likewise.
71498         * abilist/libdl.abilist: Likewise.
71499         * abilist/libm.abilist: Likewise.
71500         * abilist/libnsl.abilist: Likewise.
71501         * abilist/libpthread.abilist: Likewise.
71502         * abilist/libresolv.abilist: Likewise.
71503         * abilist/librt.abilist: Likewise.
71504         * abilist/libthread_db.abilist: Likewise.
71505         * abilist/libutil.abilist: Likewise.
71506         * abilist/libnss_db.abilist: New file.
71508         * scripts/abilist.awk: Add support for indirect functions.
71510         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
71512         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
71514         * shlib-versions: Remove entries for ports architectures.
71516         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
71517         files in ports.
71518         * elf/stackguard-macros.h: Remove support for IA-64.
71519         * elf/tst-auditmod1.c: Likewise.
71520         * sysdeps/generic/ldsodefs.h: Likewise.
71522         * sysdeps/unix/sysv/linux/configure.in: Ports should define
71523         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
71524         configure files.
71526         [BZ #13552]
71527         * configure.in: Remove --enable-omitfp support.
71528         * FAQ.in: Adjust.
71529         * config.make.in: Likewise.
71530         * Makeconfig: Likewise.
71531         * manual/install.texi: Likewise.
71533         In case anyone cares, the IA-64 architecture could move to ports.
71534         * sysdeps/ia64/*: Removed.
71535         * sysdeps/unix/sysv/linux/ia64/*: Removed.
71536         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
71538         [BZ #13555]
71539         * configure.in: Remove entries for unsupported architectures.
71541         [BZ #13533]
71542         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
71543         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
71544         routines.
71545         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
71546         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
71547         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
71548         fall back to using wcrtomb.
71549         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
71550         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
71551         renaming.
71552         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
71553         * wcsmbs/tst-c16c32-1.c: New file.
71555         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
71556         local variable.
71558         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
71560         * elf/tst-unique3.cc: Add explicit declaration of gets.
71561         * elf/tst-unique3lib.cc: Likewise.
71562         * elf/tst-unique3lib2.cc: Likewise.
71563         * elf/tst-unique4.cc: Likewise.
71565         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
71567 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
71569         [BZ #13566]
71570         * assert/assert.h (static_assert): Don't define for C++.
71571         * libio/stdio.h (gets): Do declare for C++ <= C++11.
71572         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
71574 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
71576         * iconv/loop.c (single loop): Fix assertion in storing of
71577         remaining bytes.
71579         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
71581 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
71583         * posix/getconf.c: Update copyright year.
71584         * nss/getent.c: Likewise.
71585         * nss/makedb.c: Likewise.
71586         * iconv/iconvconfig.c: Likewise.
71587         * iconv/iconv_prog.c: Likewise.
71588         * elf/ldconfig.c: Likewise.
71589         * elf/pldd.c: Likewise.
71590         * elf/sotruss.ksh: Likewise.
71591         * catgets/gencat.c: Likewise.
71592         * csu/version.c: Likewise.
71593         * elf/ldd.bash.in: Likewise.
71594         * elf/sprof.c (print_version): Likewise.
71595         * locale/programs/locale.c: Likewise.
71596         * locale/programs/localedef.c: Likewise.
71597         * login/programs/pt_chown.c: Likewise.
71598         * nscd/nscd.c (print_version): Likewise.
71599         * debug/xtrace.sh: Likewise.
71600         * malloc/memusage.sh: Likewise.
71601         * malloc/mtrace.pl: Likewise.
71602         * debug/catchsegv.sh: Likewise.
71604 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
71606         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
71607         pure attribute.
71609 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
71611         [BZ #13533]
71612         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
71613         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
71614         transformations.
71615         * iconv/gconv_int.h: Likewise.
71616         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
71617         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
71618         from libc for GLIBC_2.16.
71619         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
71620         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
71621         * wcsmbs/uchar.h: Really define mbstate_t.
71622         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
71623         * wcsmbs/c16rtomb.c: New file.
71624         * wcsmbs/mbrtoc16.c: New file.
71625         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
71626         for C/POSIX locale.
71627         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
71628         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
71630         * wcsmbs/wchar.h: Add missing __restrict.
71632 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
71634         [BZ #13532]
71635         * time/Makefile (routines): Add timespec_get.
71636         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
71637         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
71638         timespec for ISO C11.
71639         * time/timespec_get.c: New file.
71640         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
71641         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
71643         [BZ #13531]
71644         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
71645         * stdlib/stdlib.h: Declare aligned_alloc.
71646         * Versions.def: Add GLIBC_2.16 for libc.
71647         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
71649         [BZ 13527]
71650         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
71651         ISO C11.
71653         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
71654         code.
71656         [BZ #13528]
71657         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
71659         [BZ #13529]
71660         * assert/assert.h (static_assert): Define.
71662         * version.h: Update for 2.16 development version.
71664         [BZ #13526]
71665         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
71666         _ISOC11_SOURCE.
71668         * version.h (RELEASE): Bump for 2.15 release.
71669         * include/features.h (__GLIBC_MINOR__): Bump to 15.
71671         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
71672         Patch by Marek Polacek <mpolacek@redhat.com>.
71674         * bits/byteswap.h: Protect long long constants with __extension__.
71675         * sysdeps/i386/bits/byteswap.h: Likewise.
71676         * sysdeps/ia64/bits/byteswap.h: Likewise.
71677         * sysdeps/s390/bits/byteswap.h: Likewise.
71678         * sysdeps/x86_64/bits/byteswap.h: Likewise.
71680 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
71682         [BZ #13540]
71683         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
71684         destination buffer.
71685         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
71687 2011-12-23  Marek Polacek  <polacek@redhat.com>
71689         * elf/dl-addr.c (determine_info): Add inline keyword.
71690         * elf/tst-auditmod4b.c (check_avx): Likewise.
71691         * elf/tst-auditmod6b.c (check_avx): Likewise.
71692         * elf/tst-auditmod6c.c (check_avx): Likewise.
71693         * elf/tst-auditmod7b.c (check_avx): Likewise.
71695 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
71697         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
71698         !__SSE_MATH__.
71700 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
71702         [BZ #13540]
71703         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
71704         processing for last bytes.
71706 2011-08-06  Bruno Haible  <bruno@clisp.org>
71708         [BZ #13061]
71709         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
71710         U+0385, not to U+1FEE.
71712         [BZ #13062]
71713         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
71714         entry for U+00A5 U+0301.
71716 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
71718         [BZ #13166]
71719         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
71720         buffer for the output is too small.
71722         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
71723         optimization.
71725         [BZ #13185]
71726         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
71727         SSE flags if possible.
71729 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
71731         [BZ #13540]
71732         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
71733         processing for last bytes.
71735 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
71737         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
71738         (syscall-list-default-options, syscall-list-default-condition)
71739         (syscall-list-includes): Define.
71740         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
71741         list of ABIs and options and #if conditions for each ABI.  Do not
71742         handle common syscalls between ABIs specially.
71743         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
71744         Remove.
71745         (syscall-list-variants, syscall-list-32bit-options)
71746         (syscall-list-32bit-condition, syscall-list-64bit-options)
71747         (syscall-list-64bit-condition): Define.
71748         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
71749         (syscall-list-variants, syscall-list-32bit-options)
71750         (syscall-list-32bit-condition, syscall-list-64bit-options)
71751         (syscall-list-64bit-condition): Define.
71752         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
71753         Remove.
71754         (syscall-list-variants, syscall-list-32bit-options)
71755         (syscall-list-32bit-condition, syscall-list-64bit-options)
71756         (syscall-list-64bit-condition): Define.
71757         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
71758         Remove.
71759         (syscall-list-variants, syscall-list-32bit-options)
71760         (syscall-list-32bit-condition, syscall-list-64bit-options)
71761         (syscall-list-64bit-condition): Define.
71763 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
71765         * locale/iso-639.def: Add brx entry.
71767         [BZ #13328]
71768         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
71769         Proposed by Mariusz_Cukr <marcukr@op.pl>.
71771         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
71772         __feraiseexcept_renamed.
71774 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
71776         [BZ #13538]
71777         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
71778         EPOLLET with unsigned values.
71779         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
71780         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
71782         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
71783         to large cancellation.
71784         * math/s_cacoshf.c: Likewise.
71785         * math/s_cacoshl.c: Likewise.
71787 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
71789         [BZ #13305]
71790         [BZ #12786]
71791         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
71792         * math/s_cacoshf.c: Likewise.
71793         * math/s_cacoshl.c: Likewise.
71795 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
71797         [BZ #13439]
71798         * iconv/gconv.h: Define __GCONV_SWAP.
71799         * iconvdata/unicode.c: The swap bit must be stored in __flags.
71800         * iconvdata/utf-16.c: Likewise.
71801         * iconvdata/utf-32.c: Likewise.
71803 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
71805         [BZ #13524]
71806         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
71807         numerator after shifting it by one limb.
71809 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
71811         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
71812         under [__USE_EXTERN_INLINES].
71814 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
71816         [BZ #13446]
71817         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
71819 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
71821         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
71822         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
71823         optimized code.
71824         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
71825         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
71826         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
71827         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
71828         for strncasecmp/strncasecmp_l compilation.
71829         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
71830         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
71832 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
71834         [BZ #13484]
71835         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
71836         of __asm__.
71838 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
71840         [BZ #13506]
71841         * time/tzfile.c (__tzfile_read): Check values from file header.
71843 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
71845         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
71846         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
71847         * powerpc/powerpc32/dl-start.S: Likewise.
71848         * powerpc/powerpc32/elf/start.S: Likewise.
71849         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
71850         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
71851         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
71852         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
71853         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
71854         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
71855         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
71856         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
71857         * powerpc/powerpc32/fpu/s_round.S: Likewise.
71858         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
71859         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
71860         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
71861         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
71862         * powerpc/powerpc32/memset.S: Likewise.
71863         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
71864         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
71865         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
71866         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
71867         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
71868         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
71869         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
71870         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
71871         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
71872         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
71873         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
71874         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
71875         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
71877 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
71879         * math/libm-test.inc: Added more nearbyint tests.
71880         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
71881         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
71882         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
71883         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
71885 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
71887         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
71888         FD_CLOEXEC.
71890 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
71892         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
71893         Add wcscpy-ssse3 wcscpy-c.
71894         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
71895         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
71896         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
71897         * sysdeps/x86_64/wcschr.S: New file.
71898         * sysdeps/x86_64/wcsrchr.S: New file.
71899         * string/test-strcmp.c: Remove checking of wcscmp function for
71900         wrong alignments.
71901         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
71902         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
71903         wcsrchr-sse2 wcsrchr-c.
71904         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
71905         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
71906         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
71907         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
71908         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
71909         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
71910         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
71911         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
71912         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
71913         * wcsmbc/wcschr.c (WCSCHR): New macro.
71915 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
71917         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
71918         * wcsmbs/test-wcsrchr.c: New file.
71919         * string/test-strrchr.c: Add wcsrchr support.
71920         (WIDE): New macro.
71921         * wcsmbs/test-wcscpy.c: New file.
71922         * string/test-strcpy.c: Add wcscpy support.
71923         (WIDE): New macro.
71925 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
71927         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
71928         the inner loop.
71930 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
71932         [BZ #13472]
71933         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
71935 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
71937         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
71938         Minor optimizations.
71940         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
71941         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
71942         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
71944 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
71946         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
71947         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
71948         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
71949         for gcc to avoid warnings.
71950         * inet/Makefile (tests): Add tst-checks.
71951         * inet/tst-checks.c: New file.
71953         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
71954         warning.
71956         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
71957         __wmemcmp_sse2.
71959         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
71960         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
71962         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
71964 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
71966         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
71967         problem.
71969         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
71971 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
71973         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
71974         conditional on GCC version.
71975         (__arch_compare_and_exchange_val_8_acq)
71976         (__arch_compare_and_exchange_val_16_acq)
71977         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
71978         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
71979         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
71981 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
71983         * sysdeps/sh/backtrace.c: New file.
71985 2011-12-02  Andreas Schwab  <schwab@redhat.com>
71987         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
71988         parenthesis.
71990 2011-12-01  Andreas Schwab  <schwab@redhat.com>
71992         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
71993         falling back to utime.
71995 2011-11-30  Andreas Schwab  <schwab@redhat.com>
71997         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
71998         expectations for float.
72000 2011-11-29  Andreas Schwab  <schwab@redhat.com>
72002         * locale/weight.h (findidx): Add parameter len.
72003         * locale/weightwc.h (findidx): Likewise.
72004         * posix/fnmatch_loop.c (FCT): Adjust caller.
72005         * posix/regcomp.c (build_equiv_class): Likewise.
72006         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
72007         * posix/regexec.c (check_node_accept_bytes): Likewise.
72008         * string/strcoll_l.c (STRCOLL): Likewise.
72009         * string/strxfrm_l.c (STRXFRM): Likewise.
72011 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
72013         * Makefile.in: Remove CVSOPT handling.
72014         * configure.in: Remove use of AC_REVISION.
72015         * iconvdata/Makefile (distribute): No need to filter out CVS.
72016         * scripts/list-sources.sh: Remove CVS, subversion and monotone
72017         handling.
72019 2011-11-16  Andreas Schwab  <schwab@redhat.com>
72021         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
72022         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
72023         [USE_AS_STRNCASECMP_L]: Likewise.
72024         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
72025         NO_TLS_DIRECT_SEG_REFS.
72026         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
72027         Fix argument offsets for non-PIC.
72028         [USE_AS_STRNCASECMP_L]: Likewise.
72029         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
72030         NO_TLS_DIRECT_SEG_REFS.
72032 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
72034         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
72035         O_CLOEXEC.
72036         * locale/loadlocale.c (_nl_load_locale): Likewise.
72038 2011-11-15  Andreas Schwab  <schwab@redhat.com>
72040         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
72041         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
72042         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
72043         (SYSCALL_GETTIME): Set errno on error.
72045         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
72046         count references to noai6ai_cached.
72048 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
72050         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
72052         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
72053         FD_CLOEXEC for /proc/self/maps.
72055         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
72056         FD_CLOEXEC for /proc/meminfo.
72058         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
72059         gai.conf.
72061         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
72062         FD_CLOEXEC for given file.
72064         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
72066         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
72067         FD_CLOEXEC for /etc/hosts.
72068         (_gethtent): Likewise.
72070         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
72072         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
72073         cancellation and set FD_CLOEXEC for /etc/netgroup.
72075         * nss/nss_files/files-key.c (search): Don't allow cancellation when
72076         reading /etc/publickey.
72078         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
72079         allow cancellation when reading /etc/group.
72081         * nss/nss_files/files-alias.c (internal_setent): Don't allow
72082         cancellation.
72083         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
72085         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
72086         when using data file.
72088         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
72090         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
72091         (write_nis_obj): Use "c" and "e" in fopen.
72093         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
72095         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
72097         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
72099         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
72101         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
72102         locale.alias.
72104         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
72106         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
72108         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
72110         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
72111         file parsing and set FD_CLOEXEC.
72113 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
72115         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
72117 2011-11-14  Andreas Schwab  <schwab@redhat.com>
72119         * malloc/arena.c (arena_get2): Don't call reused_arena when
72120         _int_new_arena failed.
72122 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
72124         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
72125         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
72126         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
72127         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
72128         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
72129         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
72130         to compile strcasecmp and strncasecmp.
72131         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
72132         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
72134         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
72136 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
72138         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
72139         locale-defines.sym to gen-as-const-headers.
72140         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
72141         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
72142         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
72143         to compile strcasecmp and strncasecmp.
72144         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
72145         strcasecmp_l and strncasecmp_l.
72146         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
72147         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
72148         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
72149         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
72150         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
72151         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
72152         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
72153         * sysdeps/i386/i686/multiarch/strncase.S: New file.
72154         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
72155         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
72156         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
72158 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
72160         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
72161         result of SYSDEP_GETTIME_CPU to retval.
72162         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
72163         parameter list to macro.  Remove trailing semicolon.  Adjust users.
72165         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
72166         variable.
72168         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
72169         mantissa words.
72170         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
72172         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
72173         from unused variable.
72175         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
72176         DWARF definitions.
72177         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
72178         for assembling.
72180         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
72181         over namespaces.
72183         * sunrpc/rpc_prot.c (rejected): Fix case value.
72185         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
72186         unsigned long long int to avoid warnings in shift.
72188         * posix/regex_internal.c (re_string_reconstruct): Actually use result
72189         of use of trans.
72190         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
72191         variable tmp.
72193         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
72194         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
72195         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
72197         * nis/nis_table.c (nis_list): Use variable of correct type for
72198         result of __follow_path call.
72200 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
72202         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
72203         of math functions ceil, trunc, floor, round, and sqrt, when
72204         avaliable on the platform.
72205         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
72206         name clash.
72207         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
72208         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
72209         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
72211 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
72213         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
72214         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
72216 2011-11-11  Roland McGrath  <roland@hack.frob.com>
72218         * include/unistd.h: Fix __readlink return type.
72219         Reported by Chris Metcalf <cmetcalf@tilera.com>.
72221 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
72223         * stdlib/ucontext.h: Undo last change for makecontext.
72225 2011-11-11  Andreas Schwab  <schwab@redhat.com>
72227         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
72229         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
72230         * setjmp/setjmp.h: Mark functions as non-leaf.
72231         * setjmp/bits/setjmp2.h: Likewise.
72232         * stdlib/ucontext.h: Likewise.
72234 2011-11-10  Andreas Schwab  <schwab@redhat.com>
72236         * malloc/arena.c (_int_new_arena): Don't increment narenas.
72237         (reused_arena): Don't check arena limit.
72238         (arena_get2): Atomically check arena limit.
72240 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
72242         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
72243         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
72245         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
72246         instructions.
72248 2011-11-07  Andreas Schwab  <schwab@redhat.com>
72250         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
72251         handler when locking.
72253         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
72254         Fix size of allocated buffer.
72256 2011-11-04  Andreas Schwab  <schwab@redhat.com>
72258         [BZ #10103]
72259         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
72260         declarations for long double functions.
72261         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
72263         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
72265 2011-11-03  Andreas Schwab  <schwab@redhat.com>
72267         * nscd/nscd.c (main): Don't start AVC thread until credentials are
72268         installed.
72270         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
72271         is disabled.
72273 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
72275         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
72277 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
72279         * include/alloca.h (stackinfo_alloca_round): Define.
72280         (extend_alloca): Use it.
72281         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
72282         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
72283         here.
72285         * scripts/check-local-headers.sh: Ignore libaudit.h.
72287         * nscd/Makefile (extra-objs): Make recursively expanded.
72289 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
72291         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
72292         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
72294         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
72295         * posix/tst-rfc3484-2.c: Likewise.
72296         * posix/tst-rfc3484-3.c: Likewise.
72298         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
72299         process_vm_writev.
72300         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
72301         process_vm_writev.
72302         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
72303         process_vm_writev from libc using GLIBC_2.15 version.
72305         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
72307 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
72309         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
72310         stack usage.
72312 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
72314         [BZ #13367]
72315         * nss/getent.c (initgroups_keys): Show error message in case no group
72316         names are given.
72318         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
72319         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
72320         __bump_nl_timestamp.
72321         * nscd/connections (nscd_init): When host database is served open
72322         netlink socket and request notification about configuration changes.
72323         (main_loop_poll): Track netlink file descriptor and bump timestamp
72324         in case data becomes available.
72325         (main_loop_epoll): Likewise.
72326         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
72327         (database_pers_head): Add extra_data fileds.
72328         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
72329         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
72330         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
72331         Adjust caller.
72332         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
72333         in6ai data, call __free_in6ai.
72334         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
72335         Add -DHAVE_NETLINK.
72336         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
72337         interface information.  Reuse previous data if netlink timestamp
72338         is not changed.
72339         (__bump_nl_timestamp): New function.
72340         (__free_in6ai): New function.
72342 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
72344         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
72345         close_not_cancel_no_status here.
72346         (__check_pf): Reorganize code a bit to not call close twice if OOM.
72348 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
72350         [BZ #13276]
72351         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
72352         return value.
72354         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
72355         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
72356         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
72358 2011-07-03  Andreas Jaeger  <aj@suse.de>
72360         [BZ #10709]
72361         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
72362         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
72363         * math/libm-test.inc (sin_test): Add test case.
72365 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
72367         [BZ #13337]
72368         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
72369         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
72371         * elf/chroot_canon.c (chroot_canon): Cleanups.
72373         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
72375         [BZ #13335]
72376         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
72377         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
72379         * string/test-strchr.c: Make usable for strchrnul testing.
72380         * string/test-strchrnul.c: New file.
72381         * string/Makefile (strop-tests): Add strchrnul.
72383         * po/it.po: Update from translation team.
72384         * po/es.po: Likewise.
72386 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
72388         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
72389         the three constants needed as parameters.  Drop the others.
72390         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
72391         __m128i_strloadu_tolower.
72392         Create and initialize variable zero and use it in all the places
72393         where _mm_setzero_si128 was used.
72395         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
72396         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
72397         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
72398         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
72399         anymore.
72400         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
72401         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
72402         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
72403         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
72404         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
72405         __mpranred, __mptan.
72406         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
72407         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
72408         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
72409         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
72410         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
72411         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
72412         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
72413         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
72414         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
72416 2011-10-28  Andreas Schwab  <schwab@redhat.com>
72418         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
72419         redefine if SHARED.
72420         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
72422         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
72423         wide char related routines to wcsmbs subdir.
72425 2011-10-27  Andreas Schwab  <schwab@redhat.com>
72427         [BZ #13344]
72428         * misc/sys/cdefs.h (__THROWNL): Define.
72429         * posix/unistd.h: Use __THREADNL instead of __THREAD
72430         for memory synchronization functions.
72432 2011-10-26  Roland McGrath  <roland@hack.frob.com>
72434         [BZ #13349]
72435         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
72436         doesn't exist.
72437         * manual/stdio.texi (Obstack Streams): Node removed.
72439 2011-10-26  Andreas Schwab  <schwab@redhat.com>
72441         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
72442         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
72443         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
72445         * math/math_private.h (math_force_eval): Allow non-addressable
72446         arguments.
72447         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
72449 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
72451         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
72452         file is not needed.
72454         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
72455         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
72456         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
72457         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
72458         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
72459         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
72460         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
72461         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
72462         Add AVX variants.
72463         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
72464         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
72465         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
72466         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
72467         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
72468         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
72469         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
72470         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
72471         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
72472         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
72473         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
72474         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
72475         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
72476         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
72477         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
72478         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
72479         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
72480         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
72481         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
72483         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
72484         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
72486         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
72487         place.  Use VEX encoding when compiling for AVX.
72489 2011-10-25  Andreas Schwab  <schwab@redhat.com>
72491         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
72492         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
72494         * string/test-strchr.c (do_test): Don't generate NUL bytes.
72496 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
72498         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
72499         useless if() expression.
72500         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
72501         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
72502         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
72503         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
72504         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
72505         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
72506         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
72507         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
72508         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
72509         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
72510         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
72511         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
72512         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
72513         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
72514         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
72515         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
72516         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
72517         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
72518         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
72520         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
72522 2011-10-25  Andreas Schwab  <schwab@redhat.com>
72524         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
72525         condition.
72526         * elf/dl-fini.c (_dl_sort_fini): Likewise.
72528 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
72530         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
72531         .text section.  Avoid duplicate constants.
72532         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
72533         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
72534         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
72535         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
72536         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
72537         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
72538         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
72539         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
72540         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
72541         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
72542         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
72543         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
72544         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
72545         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
72546         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
72547         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
72548         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
72549         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
72550         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
72551         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
72552         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
72553         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
72554         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
72555         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
72556         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
72557         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
72558         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
72559         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
72560         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
72561         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
72562         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
72563         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
72564         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
72565         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
72566         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
72567         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
72568         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
72569         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
72570         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
72571         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
72572         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
72573         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
72574         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
72575         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
72576         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
72578 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
72580         * sysdeps/x86_64/dla.h: Move to ...
72581         * sysdeps/x86_64/fpu/dla.h: ...here.
72582         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
72583         situations.  Use __builtin_fma only for gcc 4.6 and up.
72585         * config.make.in: Add have-mfma4 entry.
72586         * configure.in: Substitute libc_cv_cc_fma4.
72587         * math/Makefile (dbl-only-routines): Add sincostab.
72588         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
72589         Use __sincostab not sincos.
72590         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
72591         name is a macro.
72592         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
72593         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
72594         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
72595         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
72596         using __copysign.
72597         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
72598         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
72599         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
72600         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
72601         and __inv.
72602         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
72603         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
72604         __copysign.
72605         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
72606         define aliases when function name is a macro.
72607         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
72608         sysdeps/ieee754/dbl-64/sincos.tbl.
72609         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
72610         fma4-enabled routines.
72611         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
72612         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
72613         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
72614         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
72615         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
72616         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
72617         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
72618         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
72619         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
72620         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
72621         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
72622         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
72623         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
72624         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
72625         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
72626         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
72627         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
72628         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
72629         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
72630         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
72631         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
72632         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
72633         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
72634         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
72635         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
72636         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
72637         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
72638         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
72639         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
72640         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
72642         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
72643         rename.
72644         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
72645         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
72646         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
72647         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
72648         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
72649         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
72650         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
72651         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
72653 2011-10-24  Andreas Schwab  <schwab@redhat.com>
72655         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
72657 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
72659         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
72661         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
72662         prediction.
72663         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
72665         * string/strnlen.c: Don't define STRNLEN, reverse logic.
72666         Remove unused variable magic_bits.
72667         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
72669         * string/strnlen.c: Define and use STRNLEN macro.
72670         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
72671         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
72672         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
72673         * wcsmbs/wcslen.c: Define and use WCSLEN.
72674         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
72675         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
72676         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
72677         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
72678         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
72679         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
72680         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
72682 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
72684         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
72685         strnlen-sse2-no-bsf.
72686         Rename strlen-no-bsf to strlen-sse2-no-bsf.
72687         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
72688         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
72689         Add strnlen support.
72690         (USE_AS_STRNLEN): New macro.
72691         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
72692         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
72693         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
72694         * sysdeps/x86_64/wcslen.S: New file.
72696 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
72698         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
72699         XMM-moves are used for copying on small sizes.
72701 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
72703         * wcsmbs/Makefile (strop-tests): Add wcschr.
72704         * wcsmbs/test-wcschr.c: New file.
72705         * string/test-strchr.c: Update.
72706         Add wcschr support.
72707         (WIDE): New macro.
72709 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
72711         * wcsmbs/Makefile (strop-tests): Add wcslen.
72712         * wcsmbs/test-wcslen.c: New file.
72713         * string/test-strlen.c: Update.
72714         Add wcslen support.
72715         (WIDE): New macro.
72717 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
72719         * po/it.po: Update from translation team.
72721 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
72723         * sysdeps/x86_64/wcscmp.S: Update.
72724         Fix wrong comparison semantics.
72725         wcscmp shall use signed comparison not unsigned.
72726         Don't use substraction to avoid overflow bug.
72727         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
72728         * wcsmbc/wcscmp.c: Likewise.
72729         * string/test-strcmp.c: Likewise.
72730         Add new tests to check cases with negative values.
72732 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
72734         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
72735         * sysdeps/x86_64/dla.h: ...here.  New file.
72736         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
72737         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
72738         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
72739         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
72740         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
72741         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
72742         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
72743         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
72744         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
72746 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
72748         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
72749         __ynl_finite aliases.
72751 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
72753         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
72755         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
72756         define DLA_FMA.
72757         [DLA_FMA] (EMULV): Use DLA_FMA.
72758         [DLA_FMA] (MUL12): Use EMULV.
72759         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
72760         that are not needed.
72761         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
72762         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
72763         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
72764         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
72765         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
72766         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
72767         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
72769 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
72771         * math/s_nan.c: Undef __nan.
72772         * math/s_nanf.c: Undef __nanf.
72773         * math/s_nanl.c: Undef __nanl.
72774         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
72775         "math_private.h".
72777 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
72779         * math/s_catan.c: Add branch predictions.
72780         * math/s_catanf.c: Likewise.
72781         * math/s_catanh.c: Likewise.
72782         * math/s_catanhf.c: Likewise.
72783         * math/s_catanhl.c: Likewise.
72784         * math/s_catanl.c: Likewise.
72785         * math/s_cexp.c: Likewise.
72786         * math/s_cexpf.c: Likewise.
72787         * math/s_cexpl.c: Likewise.
72788         * math/s_clog.c: Likewise.
72789         * math/s_clog10.c: Likewise.
72790         * math/s_clog10f.c: Likewise.
72791         * math/s_clog10l.c: Likewise.
72792         * math/s_clogf.c: Likewise.
72793         * math/s_clogl.c: Likewise.
72794         * math/s_csqrt.c: Likewise.
72795         * math/s_csqrtf.c: Likewise.
72796         * math/s_csqrtl.c: Likewise.
72797         * math/s_ctanf.c: Likewise.
72798         * math/s_ctanh.c: Likewise.
72799         * math/s_ctanhf.c: Likewise.
72800         * math/s_ctanhl.c: Likewise.
72801         * math/s_ctanl.c: Likewise.
72803         * math/math_private.h: Define __nan, __nanf, __nanl.
72804         * math/s_cacosh.c: Include <math_private.h>.
72805         * math/s_cacoshl.c: Likewise.
72806         * math/s_casinh.c: Likewise.
72807         * math/s_casinhf.c: Likewise.
72808         * math/s_casinhl.c: Likewise.
72809         * math/s_ccos.c: Rely entire on ccosh.
72810         * math/s_ccosf.c: Rely entire on ccoshf.
72811         * math/s_ccosl.c: Rely entirely on ccoshl.
72812         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
72813         Remove tests for FE_INVALID.
72814         * math/s_ccoshf.c: Likewise.
72815         * math/s_ccoshl.c: Likewise.
72816         * math/s_csin.c: Likewise.
72817         * math/s_csinf.c: Likewise.
72818         * math/s_csinh.c Likewise.
72819         * math/s_csinhf.c: Likewise.
72820         * math/s_csinhl.c: Likewise.
72821         * math/s_csinl.c: Likewise.
72822         * math/s_ctan.c: Likewise.
72823         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
72824         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
72825         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
72827 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
72829         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
72830         compilation problems.
72832         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
72833         __builtin_expect.
72835 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
72837         * sysdeps/i386/configure.in: Test for -mfma4 option.
72838         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
72839         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
72840         COMMON_CPUID_INDEX_80000001.
72841         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
72842         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
72843         use it if FMA3 is not supported.
72844         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
72846         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
72847         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
72849 2011-10-20  Andreas Schwab  <schwab@redhat.com>
72851         [BZ #12892]
72852         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
72853         it would create a cycle with a link time dependency.
72855 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
72857         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
72858         instruction.
72859         * string/Makefile (strop-tests): Add rawmemchr.
72860         * string/test-rawmemchr.c: New file.
72862         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
72863         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
72864         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
72865         when compiling str{,n}casecmp and when AVX is available.  Hook up
72866         new optimized code in initializers.
72868 2011-10-19  Andreas Schwab  <schwab@redhat.com>
72870         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
72871         __feraiseexcept instead of feraiseexcept.
72873 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
72875         * math/math_private.h: Define defaults for libc_fetestexcept and
72876         libc_feupdateenv.
72877         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
72878         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
72879         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
72880         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
72881         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
72882         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
72883         libc_fetestexcept and libc_feupdateenv.
72885         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
72886         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
72887         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
72888         * sysdeps/x86_64/fpu/math_private.h: Define special version of
72889         libc_feholdexcept_setround.
72891         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
72892         Add s_nearbyint-c and s_nearbyintf-c.
72893         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
72894         nearbyintf inlines.
72895         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
72896         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
72897         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
72898         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
72900         * math/math_private.h: Define defaults for libc_fegetround,
72901         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
72902         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
72903         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
72904         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
72905         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
72906         standard functions.
72907         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
72908         Remove comments and hacks for old compiler versions.
72909         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
72910         libc_fegetround, libc_fesetround, libc_feholdexcept, and
72911         libc_feholdexceptl.
72913 2011-10-18  Andreas Schwab  <schwab@redhat.com>
72915         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
72916         (__feraiseexcept_renamed): Add __NTH.
72917         (feraiseexcept): Add __NTH.  Rename local variables to fix
72918         namespace violations.
72920 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
72922         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
72924         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
72926         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
72927         recently added interfaces.
72928         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
72930         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
72931         about macro parameter expansion.
72933         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
72934         __NO_MATH_INLINES is defined.  Cleanups.
72936         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
72937         and __floorf is target has SSE4.1.
72938         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
72939         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
72940         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
72941         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
72943         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
72944         name.
72945         (floorf): Likewise.
72947         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
72949 2011-10-17  Andreas Schwab  <schwab@redhat.com>
72951         * misc/sys/cdefs.h: Fix last change.
72953         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
72954         database lookup.
72956 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
72958         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
72960         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
72961         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
72962         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
72963         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
72964         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
72965         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
72966         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
72967         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
72968         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
72969         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
72970         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
72971         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
72972         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
72973         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
72974         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
72975         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
72976         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
72977         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
72978         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
72979         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
72980         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
72981         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
72983         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
72984         ceil, ceilf, floor, floorf.
72986         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
72987         Perform IRELATIVE relocations last.
72989         * elf/do-rel.h: Add another parameter nrelative, replacing the
72990         local variable with the same name.  Change name of the function
72991         to end in Rel or Rela (uppercase).
72992         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
72993         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
72994         elf_dynamic_do_##reloc function.
72996 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
72998         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
72999         is sufficient, at least on modern CPUs.
73001         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
73003         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
73004         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
73006         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
73007         __expl_finite.
73008         * math/bits/math-finite.h: Add entries for exp.
73009         * math/e_expl.c: Add __*_finite alias.
73010         * sysdeps/i386/fpu/e_exp.S: Likewise.
73011         * sysdeps/i386/fpu/e_expf.S: Likewise.
73012         * sysdeps/i386/fpu/e_expl.c: Likewise.
73013         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
73014         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
73015         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
73016         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
73017         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
73018         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
73019         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
73021         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
73022         is sufficient, at least on modern CPUs.
73024         * ctype/ctype-info.c (__ctype_init): Define.
73025         * include/ctype.h (__ctype_init): Declare.
73026         (__ctype_b_loc): The variable is always initialized.
73027         (__ctype_toupper_loc): Likewise.
73028         (__ctype_tolower_loc): Likewise.
73029         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
73030         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
73032 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
73034         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
73036         * configure.in: Also look in $cxxmachine/include for C++ system
73037         headers.
73039 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
73041         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
73042         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
73043         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
73044         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
73045         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
73046         (USE_AS_WMEMCMP): New macro.
73047         Fixing indents.
73048         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
73049         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
73050         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
73051         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
73052         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
73053         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
73054         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
73055         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
73056         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
73057         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
73058         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
73059         (USE_AS_WMEMCMP): New macro.
73060         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
73061         * sysdeps/string/test-memcmp.c: Update.
73062         Fix simple_wmemcmp.
73063         Add new tests.
73064         * wcsmbs/wmemcmp.c: Update.
73065         (WMEMCMP): New macro.
73066         Fix overflow bug.
73068 2011-10-12  Andreas Jaeger  <aj@suse.de>
73070         [BZ #13268]
73071         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
73073 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
73075         * libio/iofwide.c (do_length): Avoid warning.
73077         * ctype/ctype.h (__isctype_f): Add missing __THROW.
73079 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
73081         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
73083         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
73084         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
73085         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
73086         * sysdeps/i386/i686/fpu/e_log.S: New file.
73087         * sysdeps/i386/i686/fpu/e_logf.S: New file.
73088         * sysdeps/i386/i686/fpu/e_logl.S: New file.
73090         * ctype/ctype.h: Add support for inlined isXXX functions when
73091         compiling C++ code.
73093 2011-10-14  Andreas Schwab  <schwab@redhat.com>
73095         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
73097         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
73099 2011-10-13  Roland McGrath  <roland@hack.frob.com>
73101         [BZ #13291]
73102         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
73104 2011-10-13  Andreas Schwab  <schwab@redhat.com>
73106         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
73107         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
73108         feraiseexcept.
73110         * sysdeps/x86_64/memrchr.S: Check for zero size.
73112         * string/stratcliff.c: Add memrchr tests.
73114 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
73116         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
73117         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
73118         rawmemchr-sse2 rawmemchr-sse2-bsf.
73119         * sysdeps/i386/i686/multiarch/memchr.S: New file.
73120         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
73121         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
73122         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
73123         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
73124         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
73125         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
73126         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
73127         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
73128         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
73129         * string/memrchr.c (MEMRCHR): New macro.
73131 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
73133         Add integration with gcc's -ffinite-math-only and optimize wrapper
73134         functions in libm.
73135         * Versions.def: Define GLIBC_2.15 version for libm.
73136         * math/Makefile (headers): Add bits/math-finite.h.
73137         * math/bits/math-finite.h: New file.
73138         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
73139         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
73140         * math/e_acoshl.c: Add __*_finite alias.
73141         * math/e_acosl.c: Likewise.
73142         * math/e_asinl.c: Likewise.
73143         * math/e_atan2l.c: Likewise.
73144         * math/e_atanhl.c: Likewise.
73145         * math/e_coshl.c: Likewise.
73146         * math/e_exp10.c: Likewise.
73147         * math/e_exp10f.c: Likewise.
73148         * math/e_exp10l.c: Likewise.
73149         * math/e_exp2l.c: Likewise.
73150         * math/e_fmodl.c: Likewise.
73151         * math/e_gammal_r.c: Likewise.
73152         * math/e_hypotl.c: Likewise.
73153         * math/e_j0l.c: Likewise.
73154         * math/e_j1l.c: Likewise.
73155         * math/e_jnl.c: Likewise.
73156         * math/e_lgammal_r.c: Likewise.
73157         * math/e_log10l.c: Likewise.
73158         * math/e_log2l.c: Likewise.
73159         * math/e_logl.c: Likewise.
73160         * math/e_powl.c: Likewise.
73161         * math/e_sinhl.c: Likewise.
73162         * math/e_sqrtl.c: Likewise.
73163         * math/e_scalb.c: Completely rewritten and optimized.
73164         * math/e_scalbf.c: Likewise.
73165         * math/e_scalbl.c: Likewise.
73166         * math/w_acos.c: Likewise.
73167         * math/w_acosf.c: Likewise.
73168         * math/w_acosl.c: Likewise.
73169         * math/w_acosh.c: Likewise.
73170         * math/w_acoshf.c: Likewise.
73171         * math/w_acoshl.c: Likewise.
73172         * math/w_asin.c: Likewise.
73173         * math/w_asinf.c: Likewise.
73174         * math/w_asinl.c: Likewise.
73175         * math/w_atan2.c: Likewise.
73176         * math/w_atan2f.c: Likewise.
73177         * math/w_atan2l.c: Likewise.
73178         * math/w_atanh.c: Likewise.
73179         * math/w_atanhf.c: Likewise.
73180         * math/w_atanhl.c: Likewise.
73181         * math/w_exp10.c: Likewise.
73182         * math/w_exp10f.c: Likewise.
73183         * math/w_exp10l.c: Likewise.
73184         * math/w_fmod.c: Likewise.
73185         * math/w_fmodf.c: Likewise.
73186         * math/w_fmodl.c: Likewise.
73187         * math/w_j0.c: Likewise.
73188         * math/w_j0f.c: Likewise.
73189         * math/w_j0l.c: Likewise.
73190         * math/w_j1.c: Likewise.
73191         * math/w_j1f.c: Likewise.
73192         * math/w_j1l.c: Likewise.
73193         * math/w_jn.c: Likewise.
73194         * math/w_jnf.c: Likewise.
73195         * math/w_log.c: Likewise.
73196         * math/w_logf.c: Likewise.
73197         * math/w_logl.c: Likewise.
73198         * math/w_log10.c: Likewise.
73199         * math/w_log10f.c: Likewise.
73200         * math/w_log10l.c: Likewise.
73201         * math/w_log2.c: Likewise.
73202         * math/w_log2f.c: Likewise.
73203         * math/w_log2l.c: Likewise.
73204         * math/w_pow.c: Likewise.
73205         * math/w_powf.c: Likewise.
73206         * math/w_powl.c: Likewise.
73207         * math/w_remainder.c: Likewise.
73208         * math/w_remainderf.c: Likewise.
73209         * math/w_remainderl.c: Likewise.
73210         * math/w_scalb.c: Likewise.
73211         * math/w_scalbf.c: Likewise.
73212         * math/w_scalbl.c: Likewise.
73213         * math/w_sqrt.c: Likewise.
73214         * math/w_sqrtf.c: Likewise.
73215         * math/w_sqrtl.c: Likewise.
73216         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
73217         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
73218         used.
73219         * math/math_private.h: Declare __kernel_standard_f.
73220         * math/w_cosh.c: Remove cruft and optimize a bit.
73221         * math/w_coshf.c: Likewise.
73222         * math/w_coshl.c: Likewise.
73223         * math/w_exp2.c: Likewise.
73224         * math/w_exp2f.c: Likewise.
73225         * math/w_exp2l.c: Likewise.
73226         * math/w_hypot.c: Likewise.
73227         * math/w_hypotf.c: Likewise.
73228         * math/w_hypotl.c: Likewise.
73229         * math/w_lgamma.c: Likewise.
73230         * math/w_lgamma_r.c: Likewise.
73231         * math/w_lgammaf.c: Likewise.
73232         * math/w_lgammaf_r.c: Likewise.
73233         * math/w_lgammal.c: Likewise.
73234         * math/w_lgammal_r.c: Likewise.
73235         * math/w_sinh.c: Likewise.
73236         * math/w_sinhf.c: Likewise.
73237         * math/w_sinhl.c: Likewise.
73238         * math/w_tgamma.c: Likewise.
73239         * math/w_tgammaf.c: Likewise.
73240         * math/w_tgammal.c: Likewise.
73241         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
73242         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
73243         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
73244         Minor optimizations.  Pretty printing.  Remove cruft.
73245         * sysdeps/i386/fpu/e_acosf.S: Likewise.
73246         * sysdeps/i386/fpu/e_acosh.S: Likewise.
73247         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
73248         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
73249         * sysdeps/i386/fpu/e_acosl.c: Likewise.
73250         * sysdeps/i386/fpu/e_asin.S: Likewise.
73251         * sysdeps/i386/fpu/e_asinf.S: Likewise.
73252         * sysdeps/i386/fpu/e_atan2.S: Likewise.
73253         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
73254         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
73255         * sysdeps/i386/fpu/e_atanh.S: Likewise.
73256         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
73257         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
73258         * sysdeps/i386/fpu/e_exp10.S: Likewise.
73259         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
73260         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
73261         * sysdeps/i386/fpu/e_exp2.S: Likewise.
73262         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
73263         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
73264         * sysdeps/i386/fpu/e_fmod.S: Likewise.
73265         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
73266         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
73267         * sysdeps/i386/fpu/e_hypot.S: Likewise.
73268         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
73269         * sysdeps/i386/fpu/e_log.S: Likewise.
73270         * sysdeps/i386/fpu/e_log10.S: Likewise.
73271         * sysdeps/i386/fpu/e_log10f.S: Likewise.
73272         * sysdeps/i386/fpu/e_log10l.S: Likewise.
73273         * sysdeps/i386/fpu/e_log2.S: Likewise.
73274         * sysdeps/i386/fpu/e_log2f.S: Likewise.
73275         * sysdeps/i386/fpu/e_log2l.S: Likewise.
73276         * sysdeps/i386/fpu/e_logf.S: Likewise.
73277         * sysdeps/i386/fpu/e_logl.S: Likewise.
73278         * sysdeps/i386/fpu/e_pow.S: Likewise.
73279         * sysdeps/i386/fpu/e_powf.S: Likewise.
73280         * sysdeps/i386/fpu/e_powl.S: Likewise.
73281         * sysdeps/i386/fpu/e_remainder.S: Likewise.
73282         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
73283         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
73284         * sysdeps/i386/fpu/e_scalb.S: Likewise.
73285         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
73286         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
73287         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
73288         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
73289         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
73290         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
73291         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
73292         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
73293         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
73294         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
73295         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
73296         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
73297         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
73298         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
73299         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
73300         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
73301         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
73302         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
73303         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
73304         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
73305         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
73306         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
73307         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
73308         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
73309         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
73310         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
73311         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
73312         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
73313         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
73314         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
73315         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
73316         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
73317         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
73318         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
73319         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
73320         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
73321         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
73322         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
73323         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
73324         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
73325         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
73326         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
73327         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
73328         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
73329         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
73330         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
73331         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
73332         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
73333         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
73334         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
73335         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
73336         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
73337         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
73338         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
73339         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
73340         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
73341         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
73342         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
73343         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
73344         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
73345         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
73346         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
73347         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
73348         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
73349         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
73350         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
73351         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
73352         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
73353         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
73354         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
73355         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
73356         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
73357         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
73358         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
73359         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
73360         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
73361         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
73362         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
73363         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
73364         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
73365         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
73366         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
73367         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
73368         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
73369         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
73370         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
73371         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
73372         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
73373         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
73374         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
73375         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
73376         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
73377         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
73378         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
73379         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
73380         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
73381         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
73382         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
73383         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
73384         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
73385         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
73386         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
73387         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
73388         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
73389         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
73390         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
73391         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
73392         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
73393         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
73394         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
73395         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
73396         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
73397         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
73398         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
73399         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
73400         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
73401         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
73402         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
73403         (__isnanf): Likewise.
73404         (__isinf_ns): Likewise.
73405         (__isinf_nsf): Likewise.
73406         (__finite): Likewise.
73407         (__finitef): Likewise.
73408         (__ieee754_sqrt): Define as macro.
73409         (__ieee754_sqrtf): Define as macro.
73410         (__ieee754_sqrtl): Define as macro.
73411         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
73412         inlined copy.
73413         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
73414         __FINITE_MATH_ONLY__ consistent.
73415         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
73417 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
73419         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
73420         of rawmemchr.
73422         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
73424 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
73426         * po/ja.po: Update from translation team.
73428 2011-10-08  Roland McGrath  <roland@hack.frob.com>
73430         * locale/programs/locarchive.c (prepare_address_space): New function.
73431         (create_archive, enlarge_archive, open_archive): Use it.
73433         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
73434         inside [SHARED], where it is used.
73436         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
73438         * nss/getent.c (netgroup_keys): Remove unused variable.
73439         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
73441 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
73443         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
73444         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
73445         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
73446         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
73447         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
73448         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
73449         * math/Makefile (libm-calls): Add s_isinf_ns.
73450         * math/divtc3.c: Use __isinf_nsl instead of isinf.
73451         * math/multc3.c: Likewise.
73452         * math/s_casin.c: Likewise.
73453         * math/s_casinf.c: Likewise.
73454         * math/s_casinl.c: Likewise.
73455         * math/s_ccos.c: Likewise.
73456         * math/s_ccosf.c: Likewise.
73457         * math/s_ccosl.c: Likewise.
73458         * math/s_ctan.c: Likewise.
73459         * math/s_ctanf.c: Likewise.
73460         * math/s_ctanh.c: Likewise.
73461         * math/s_ctanhf.c: Likewise.
73462         * math/s_ctanhl.c: Likewise.
73463         * math/s_ctanl.c: Likewise.
73464         * math/w_fmod.c: Likewise.
73465         * math/w_fmodf.c: Likewise.
73466         * math/w_fmodl.c: Likewise.
73467         * math/w_remainder.c: Likewise.
73468         * math/w_remainderf.c: Likewise.
73469         * math/w_remainderl.c: Likewise.
73470         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
73471         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
73472         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
73473         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
73474         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
73475         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
73476         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
73477         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
73479         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
73480         of the number.
73481         * stdio-common/printf_fphex.c: Likewise.
73482         * stdio-common/printf_size.c: Likewise.
73484         * math/e_exp10.c: Include math_private.h using <...> not "...".
73485         * math/e_exp10f.c: Likewise.
73486         * math/e_exp10l.c: Likewise.
73487         * math/e_exp2l.c: Likewise.
73488         * math/e_j0l.c: Likewise.
73489         * math/e_j1l.c: Likewise.
73490         * math/e_jnl.c: Likewise.
73491         * math/e_lgammal_r.c: Likewise.
73492         * math/e_rem_pio2l.c: Likewise.
73493         * math/e_scalb.c: Likewise.
73494         * math/e_scalbf.c: Likewise.
73495         * math/e_scalbl.c: Likewise.
73496         * math/k_cosl.c: Likewise.
73497         * math/k_sinl.c: Likewise.
73498         * math/k_tanl.c: Likewise.
73499         * math/s_cacoshf.c: Likewise.
73500         * math/s_catan.c: Likewise.
73501         * math/s_catanf.c: Likewise.
73502         * math/s_catanh.c: Likewise.
73503         * math/s_catanhf.c: Likewise.
73504         * math/s_catanhl.c: Likewise.
73505         * math/s_catanl.c: Likewise.
73506         * math/s_ccosh.c: Likewise.
73507         * math/s_ccoshf.c: Likewise.
73508         * math/s_ccoshl.c: Likewise.
73509         * math/s_cexp.c: Likewise.
73510         * math/s_cexpf.c: Likewise.
73511         * math/s_cexpl.c: Likewise.
73512         * math/s_clog.c: Likewise.
73513         * math/s_clog10.c: Likewise.
73514         * math/s_clog10f.c: Likewise.
73515         * math/s_clog10l.c: Likewise.
73516         * math/s_clogf.c: Likewise.
73517         * math/s_clogl.c: Likewise.
73518         * math/s_csin.c: Likewise.
73519         * math/s_csinf.c: Likewise.
73520         * math/s_csinh.c: Likewise.
73521         * math/s_csinhf.c: Likewise.
73522         * math/s_csinhl.c: Likewise.
73523         * math/s_csinl.c: Likewise.
73524         * math/s_csqrt.c: Likewise.
73525         * math/s_csqrtf.c: Likewise.
73526         * math/s_csqrtl.c: Likewise.
73527         * math/s_ctan.c: Likewise.
73528         * math/s_ctanf.c: Likewise.
73529         * math/s_ctanh.c: Likewise.
73530         * math/s_ctanhf.c: Likewise.
73531         * math/s_ctanhl.c: Likewise.
73532         * math/s_ctanl.c: Likewise.
73533         * math/s_ldexp.c: Likewise.
73534         * math/s_ldexpf.c: Likewise.
73535         * math/s_ldexpl.c: Likewise.
73536         * math/s_significand.c: Likewise.
73537         * math/s_significandf.c: Likewise.
73538         * math/s_significandl.c: Likewise.
73539         * math/w_acos.c: Likewise.
73540         * math/w_acosf.c: Likewise.
73541         * math/w_acosh.c: Likewise.
73542         * math/w_acoshf.c: Likewise.
73543         * math/w_acoshl.c: Likewise.
73544         * math/w_acosl.c: Likewise.
73545         * math/w_asin.c: Likewise.
73546         * math/w_asinf.c: Likewise.
73547         * math/w_asinl.c: Likewise.
73548         * math/w_atan2.c: Likewise.
73549         * math/w_atan2f.c: Likewise.
73550         * math/w_atan2l.c: Likewise.
73551         * math/w_atanh.c: Likewise.
73552         * math/w_atanhf.c: Likewise.
73553         * math/w_atanhl.c: Likewise.
73554         * math/w_cosh.c: Likewise.
73555         * math/w_coshf.c: Likewise.
73556         * math/w_coshl.c: Likewise.
73557         * math/w_dremf.c: Likewise.
73558         * math/w_exp10.c: Likewise.
73559         * math/w_exp10f.c: Likewise.
73560         * math/w_exp10l.c: Likewise.
73561         * math/w_exp2.c: Likewise.
73562         * math/w_exp2f.c: Likewise.
73563         * math/w_fmod.c: Likewise.
73564         * math/w_fmodf.c: Likewise.
73565         * math/w_fmodl.c: Likewise.
73566         * math/w_hypot.c: Likewise.
73567         * math/w_hypotf.c: Likewise.
73568         * math/w_hypotl.c: Likewise.
73569         * math/w_j0.c: Likewise.
73570         * math/w_j0f.c: Likewise.
73571         * math/w_j0l.c: Likewise.
73572         * math/w_j1.c: Likewise.
73573         * math/w_j1f.c: Likewise.
73574         * math/w_j1l.c: Likewise.
73575         * math/w_jn.c: Likewise.
73576         * math/w_jnf.c: Likewise.
73577         * math/w_jnl.c: Likewise.
73578         * math/w_lgamma.c: Likewise.
73579         * math/w_lgamma_r.c: Likewise.
73580         * math/w_lgammaf.c: Likewise.
73581         * math/w_lgammaf_r.c: Likewise.
73582         * math/w_lgammal.c: Likewise.
73583         * math/w_lgammal_r.c: Likewise.
73584         * math/w_log.c: Likewise.
73585         * math/w_log10.c: Likewise.
73586         * math/w_log10f.c: Likewise.
73587         * math/w_log10l.c: Likewise.
73588         * math/w_log2.c: Likewise.
73589         * math/w_log2f.c: Likewise.
73590         * math/w_log2l.c: Likewise.
73591         * math/w_logf.c: Likewise.
73592         * math/w_logl.c: Likewise.
73593         * math/w_pow.c: Likewise.
73594         * math/w_powf.c: Likewise.
73595         * math/w_powl.c: Likewise.
73596         * math/w_remainder.c: Likewise.
73597         * math/w_remainderf.c: Likewise.
73598         * math/w_remainderl.c: Likewise.
73599         * math/w_scalb.c: Likewise.
73600         * math/w_scalbf.c: Likewise.
73601         * math/w_scalbl.c: Likewise.
73602         * math/w_sinh.c: Likewise.
73603         * math/w_sinhf.c: Likewise.
73604         * math/w_sinhl.c: Likewise.
73605         * math/w_sqrt.c: Likewise.
73606         * math/w_sqrtf.c: Likewise.
73607         * math/w_sqrtl.c: Likewise.
73608         * math/w_tgamma.c: Likewise.
73609         * math/w_tgammaf.c: Likewise.
73610         * math/w_tgammal.c: Likewise.
73612         * po/ja.po: Update from translation team.
73614 2011-09-29  Andreas Jaeger  <aj@suse.de>
73616         [BZ #13179]
73617         * sunrpc/netname.c (netname2host): Fix logic.
73619         [BZ #6779]
73620         [BZ #6783]
73621         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
73622         correctly.
73623         * math/w_remainder.c (__remainder): Likewise.
73624         * math/w_remainderf.c (__remainderf): Likewise.
73625         * math/libm-test.inc (remainder_test): Add test cases.
73627 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
73629         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
73630         sdiv_qrnnd.
73632 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
73634         * string/test-memcmp.c: Avoid unncessary #defines.
73635         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
73637 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
73639         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
73640         Use new sse2 version for core i3 - i7 as it's faster
73641         than sse42 version.
73642         (bit_Prefer_PMINUB_for_stringop): New.
73643         * sysdeps/x86_64/rawmemchr.S: Update.
73644         Replace with faster SSE2 version.
73645         * sysdeps/x86_64/memrchr.S: New file.
73646         * sysdeps/x86_64/memchr.S: Update.
73647         Replace with faster SSE2 version.
73649 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
73651         * elf/dl-load.c (lose): Add cast to avoid warning.
73653 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
73655         * po/ca.po: Update from translation team.
73657         * inet/getnetgrent_r.c: Hook up nscd.
73658         * nscd/Makefile (routines): Add nscd_netgroup.
73659         (nscd-modules): Add netgroupcache.
73660         (CFLAGS-netgroupcache.c): Define.
73661         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
73662         (cache_search): Add const to second parameter.
73663         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
73664         INNETGR.
73665         (dbs): Add netgrdb entry.
73666         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
73667         (verify_persistent_db): Handle netgrdb.
73668         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
73669         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
73670         GETFDNETGR.
73671         (netgroup_response_header): Define.
73672         (innetgroup_response_header): Define.
73673         (datahead): Add netgroup_response_header and innetgroup_response_header
73674         elements.
73675         * nscd/nscd.conf: Add entries for netgroup cache.
73676         * nscd/nscd.h (dbtype): Add netgrdb.
73677         (_PATH_NSCD_NETGROUP_DB): Define.
73678         (netgroup_iov_disabled): Declare.
73679         (xmalloc, xcalloc, xrealloc): Move declarations here.
73680         (cache_search): Adjust prototype.
73681         Add netgroup-related prototypes.
73682         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
73683         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
73684         (__nscd_innetgr): Declare.
73685         * nscd/selinux.c (perms): Use access_vector_t as element type and
73686         add netgroup-related initializers.
73687         * nscd/netgroupcache.c: New file.
73688         * nscd/nscd_netgroup.c: New file.
73689         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
73690         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
73691         For four parameters use innetgr.
73692         * nss/nss_files/files-init.c: Add definition and callback for netgr.
73693         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
73694         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
73695         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
73697         * nscd/connections.c (register_traced_file): Don't register file
73698         for disabled databases.
73700 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
73702         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
73704         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
73705         from tree and freeing node.
73707 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
73709         * nss/nsswitch.c (__nss_database_lookup): Handle
73710         nss_parse_service_list out of memory case.
73712 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
73714         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
73715         out of memory case.
73717 2011-10-04  Andreas Schwab  <schwab@redhat.com>
73719         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
73720         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
73721         pass it down.
73722         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
73723         elf_machine_rela, elf_machine_lazy_rel.
73724         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
73725         (ELF_DYNAMIC_DO_REL): Likewise.
73726         (ELF_DYNAMIC_DO_RELA): Likewise.
73727         (ELF_DYNAMIC_RELOCATE): Likewise.
73728         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
73729         to ELF_DYNAMIC_DO_REL.
73730         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
73731         (dl_main): In trace mode always set __RTLD_NOIFUNC.
73732         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
73733         elf_machine_rela.
73734         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
73735         skip_ifunc, don't call ifunc function if non-zero.
73736         (elf_machine_rela): Likewise.
73737         (elf_machine_lazy_rel): Likewise.
73738         (elf_machine_lazy_rela): Likewise.
73739         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
73740         (elf_machine_lazy_rel): Likewise.
73741         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
73742         Likewise.
73743         (elf_machine_lazy_rel): Likewise.
73744         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
73745         Likewise.
73746         (elf_machine_lazy_rel): Likewise.
73747         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
73748         (elf_machine_lazy_rel): Likewise.
73749         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
73750         (elf_machine_lazy_rel): Likewise.
73751         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
73752         (elf_machine_lazy_rel): Likewise.
73753         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
73754         (elf_machine_lazy_rel): Likewise.
73755         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
73756         (elf_machine_lazy_rel): Likewise.
73757         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
73758         (elf_machine_lazy_rel): Likewise.
73760 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
73762         * nss/nss_files/files-init.c (_nss_files_init): Use static
73763         initialization for all the *_traced_file variables.
73765 2011-09-28  Andreas Schwab  <schwab@redhat.com>
73767         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
73769 2011-09-27  Roland McGrath  <roland@hack.frob.com>
73771         [BZ #13226]
73772         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
73774 2011-09-27  Andreas Schwab  <schwab@redhat.com>
73776         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
73777         Reread the line before reparsing it.
73779 2011-09-26  Andreas Schwab  <schwab@redhat.com>
73781         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
73783 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
73784             Maxim Kuvyrkov  <maxim@codesourcery.com>
73785             Joseph Myers  <joseph@codesourcery.com>
73787         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
73788         if needed for __stack_chk_guard.
73790 2011-09-19  Roland McGrath  <roland@hack.frob.com>
73792         * sysdeps/posix/spawni.c (script_execute): Always define it.
73793         It will be optimized away if unused.
73794         (maybe_script_execute): New function.
73795         (__spawni): Call it.
73797         * Makerules: Don't include tls.make.
73798         (config-tls): Always set to thread.
73799         * tls.make.c: File removed.
73801 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
73803         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
73804         * config.make.in (CPPFLAGS-config): New substituted variable.
73806 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
73808         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
73810         [BZ #13192]
73811         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
73812         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
73814 2011-09-15  Roland McGrath  <roland@hack.frob.com>
73816         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
73817         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
73818         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
73819         (CALL_FAIL): Likewise.
73820         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
73821         (CALL_FAIL): Macro removed.
73822         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
73824 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
73826         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
73827         for __FINITE_MATH_ONLY__ == 1.
73829 2011-09-15  Andreas Schwab  <schwab@redhat.com>
73831         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
73832         __ieee754_sqrt instead of sqrt.
73833         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
73834         __ieee754_sqrtf instead of sqrtf.
73835         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
73836         __floorf instead of floorf.
73837         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
73838         __floorf, __truncf instead of floorf, truncf.
73840 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
73842         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
73844         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
73845         __extern_always_inline.
73846         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
73847         32-bit.
73849 2011-09-14  Andreas Schwab  <schwab@redhat.com>
73851         * elf/rtld.c (dl_main): Also relocate in dependency order when
73852         doing symbol dependency testing.
73854 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
73856         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
73857         Always define `refsym'.
73859 2011-09-13  Andreas Schwab  <schwab@redhat.com>
73861         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
73862         (__FD_ELT): Renamed from __FDELT.
73863         * misc/bits/select2.h (__FD_ELT): Likewise.
73864         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
73865         __FD_MASK instead of __FDELT, __FDMASK.
73866         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
73867         Likewise.
73868         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
73869         Likewise.
73871         * elf/Makefile (gen-ldd): Fix pattern.
73873         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
73874         (init_tls): Likewise.
73876 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
73878         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
73880 2011-09-12  Andreas Schwab  <schwab@redhat.com>
73882         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
73883         `struct cmsghdr *' instead of `void *'.
73884         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
73885         Likewise.
73887 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
73889         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
73890         if non-absolute.
73891         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
73892         ldd_rewrite_script.
73894 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
73896         * configure.in: Remove --with-tls option.
73897         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
73898         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
73899         out in case it is missing.
73900         * sysdeps/ia64/elf/configure.in: Likewise.
73901         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
73902         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
73903         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
73904         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
73905         * sysdeps/sh/elf/configure.in: Likewise.
73906         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
73907         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
73908         * sysdeps/x86_64/elf/configure.in: Likewise.
73909         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
73910         * sysdeps/mach/hurd/tls.h: Likewise.
73912         [BZ #13067]
73913         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
73915         [BZ #13090]
73916         * configure.in: Fix use of AC_INIT.
73918         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
73920 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
73922         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
73923         __set_errno.
73924         * malloc/hooks.c: Likewise.
73926         [BZ #11929]
73927         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
73928         variables statically.
73929         (narenas): Initialize.
73930         (list_lock): Initialize.
73931         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
73932         initializtion of main_arena and list_lock.  Small cleanups.
73933         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
73934         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
73935         Add initializers to main_arena and mp_.
73936         (malloc_state): Remove pagesize member.  Change all users to use
73937         GLRO(dl_pagesize).
73939         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
73940         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
73941         is always initialized.
73943         * malloc/malloc.c: Removed unused configurations and dead code.
73944         * malloc/arena.c: Likewise.
73945         * malloc/hooks.c: Likewise.
73946         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
73948         * include/tls.h: Removed.  USE___THREAD must always be defined.
73949         * bits/libc-tsd.h: Don't handle !USE___THREAD.
73950         * elf/dl-libc.c: Likewise.
73951         * elf/dl-tsd.c: Likewise.
73952         * include/errno.h: Likewise.
73953         * include/netdb.h: Likewise.
73954         * include/resolv.h: Likewise.
73955         * inet/herrno-loc.c: Likewise.
73956         * inet/herrno.c: Likewise.
73957         * malloc/arena.c: Likewise.
73958         * malloc/hooks.c: Likewise.
73959         * malloc/malloc.c: Likewise.
73960         * resolv/res-state.c: Likewise.
73961         * resolv/res_libc.c: Likewise.
73962         * sysdeps/i386/dl-machine.h: Likewise.
73963         * sysdeps/ia64/dl-machine.h: Likewise.
73964         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
73965         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
73966         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
73967         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
73968         * sysdeps/sh/dl-machine.h: Likewise.
73969         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
73970         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
73971         * sysdeps/unix/i386/sysdep.S: Likewise.
73972         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
73973         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
73974         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
73975         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
73976         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
73977         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
73978         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
73979         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
73980         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
73981         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
73982         * sysdeps/unix/x86_64/sysdep.S: Likewise.
73983         * sysdeps/x86_64/dl-machine.h: Likewise.
73984         * tls.make.c: Likewise.
73986         * configure.in: Remove --with-__thread option.  Make tests for
73987         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
73988         tls_model attribute fail if no support is available.  Remove
73989         USE_IN_LIBIO.
73990         * Makeconfig: Adjust for dropped configure option.  All features are
73991         now mandatory.
73992         * Makerules: Likewise.
73993         * Versions.def: Likewise.
73994         * argp/argp-fmtstream.c: Likewise.
73995         * argp/argp-fmtstream.h: Likewise.
73996         * argp/argp-help.c: Likewise.
73997         * assert/assert.c: Likewise.
73998         * config.h.in: Likewise.
73999         * config.make.in: Likewise.
74000         * configure: Likewise.
74001         * configure.in: Likewise.
74002         * csu/Versions: Likewise.
74003         * csu/init.c: Likewise.
74004         * elf/tst-audit2.c: Likewise.
74005         * elf/tst-tls10.c: Likewise.
74006         * elf/tst-tls10.h: Likewise.
74007         * elf/tst-tls11.c: Likewise.
74008         * elf/tst-tls12.c: Likewise.
74009         * elf/tst-tls14.c: Likewise.
74010         * elf/tst-tlsmod11.c: Likewise.
74011         * elf/tst-tlsmod12.c: Likewise.
74012         * elf/tst-tlsmod13.c: Likewise.
74013         * elf/tst-tlsmod13a.c: Likewise.
74014         * elf/tst-tlsmod14a.c: Likewise.
74015         * elf/tst-tlsmod15b.c: Likewise.
74016         * elf/tst-tlsmod16a.c: Likewise.
74017         * elf/tst-tlsmod16b.c: Likewise.
74018         * elf/tst-tlsmod7.c: Likewise.
74019         * elf/tst-tlsmod8.c: Likewise.
74020         * elf/tst-tlsmod9.c: Likewise.
74021         * gmon/gmon.c: Likewise.
74022         * grp/fgetgrent_r.c: Likewise.
74023         * grp/putgrent.c: Likewise.
74024         * hurd/fopenport.c: Likewise.
74025         * include/libc-symbols.h: Likewise.
74026         * include/tls.h: Likewise.
74027         * intl/gettextP.h: Likewise.
74028         * intl/loadinfo.h: Likewise.
74029         * locale/global-locale.c: Likewise.
74030         * locale/localeinfo.h: Likewise.
74031         * mach/devstream.c: Likewise.
74032         * malloc/arena.c: Likewise.
74033         * malloc/set-freeres.c: Likewise.
74034         * misc/err.c: Likewise.
74035         * misc/getttyent.c: Likewise.
74036         * misc/mntent_r.c: Likewise.
74037         * posix/getopt.c: Likewise.
74038         * posix/wordexp.c: Likewise.
74039         * pwd/fgetpwent_r.c: Likewise.
74040         * resolv/Versions: Likewise.
74041         * resolv/res_hconf.c: Likewise.
74042         * shadow/fgetspent_r.c: Likewise.
74043         * shadow/putspent.c: Likewise.
74044         * stdio-common/printf_fphex.c: Likewise.
74045         * stdio-common/tmpfile.c: Likewise.
74046         * stdlib/abort.c: Likewise.
74047         * stdlib/fmtmsg.c: Likewise.
74048         * sunrpc/auth_unix.c: Likewise.
74049         * sunrpc/clnt_perr.c: Likewise.
74050         * sunrpc/clnt_tcp.c: Likewise.
74051         * sunrpc/clnt_udp.c: Likewise.
74052         * sunrpc/clnt_unix.c: Likewise.
74053         * sunrpc/openchild.c: Likewise.
74054         * sunrpc/svc_simple.c: Likewise.
74055         * sunrpc/svc_tcp.c: Likewise.
74056         * sunrpc/svc_udp.c: Likewise.
74057         * sunrpc/svc_unix.c: Likewise.
74058         * sunrpc/xdr.c: Likewise.
74059         * sunrpc/xdr_array.c: Likewise.
74060         * sunrpc/xdr_rec.c: Likewise.
74061         * sunrpc/xdr_ref.c: Likewise.
74062         * sunrpc/xdr_stdio.c: Likewise.
74064 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
74066         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
74068 2011-07-03  Andreas Jaeger  <aj@suse.de>
74070         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
74071         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
74072         regenerate with gen-libm-tests.pl.
74074 2010-05-12  Petr Baudis  <pasky@suse.cz>
74076         [BZ #11589]
74077         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
74078         around j0() zero points by switching to j1().
74079         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
74080         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
74081         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
74082         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
74084 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
74086         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
74087         instead of 0.
74088         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
74089         instead of 0.
74090         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
74091         Patch in part by Pavel Roskin <proski@gnu.org>.
74093         [BZ #13138]
74094         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
74095         realloc.
74096         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
74097         Free memory block if necessary.
74099         [BZ #12847]
74100         * libio/genops.c (INTDEF): For string streams the _lock pointer can
74101         be NULL.  Don't lock in this case.
74103 2011-09-09  Roland McGrath  <roland@hack.frob.com>
74105         * elf/elf.h (ELFOSABI_GNU): New macro.
74106         (ELFOSABI_LINUX): Define to that.
74108 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
74110         * string/strncat.c (strncat): Undef the symbol in case it has been
74111         defined in bits/string.h.
74113 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
74115         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
74117         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74118         link map.
74120 2011-08-17  Andreas Jaeger  <aj@suse.de>
74122         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
74124 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
74125             Ian Lance Taylor  <iant@google.com>
74127         * math/libm-test.inc (lround_test): New testcase.
74128         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
74130 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
74132         * Makefile: Remove support for automatic cvs check-ins.
74133         * Makerules: Likewise.
74134         * config.make.in: Likewise.
74135         * configure.in: Likewise.
74136         * intl/Makefile: Likewise.
74137         * locale/Makefile: Likewise.
74138         * po/Makefile: Likewise.
74139         * posix/Makefile: Likewise.
74140         * sysdeps/gnu/Makefile: Likewise.
74141         * sysdeps/mach/hurd/Makefile: Likewise.
74142         * sysdeps/sparc/sparc32/Makefile: Likewise.
74144         [BZ #13118]
74145         * posix/Makefile (bug-regex32-ENV): Define.
74146         Patch by John Stanley <jpsinthemix@verizon.net>.
74148         * misc/Makefile (headers): Add bits/select2.h.
74149         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
74150         * misc/bits/select2.h: New file.
74151         * include/bits/select2.h: New file.
74152         * debug/Makefile (routines): Add fdelt_chk.
74153         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
74154         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
74155         FD_ISSET.
74156         * debug/fdelt_chk.c: New file.
74158         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
74159         * wcsmbs/test-wmemcmp.c: Likewise.
74160         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
74161         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
74163 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
74165         * string/Makefile (strop-tests): Add memcmp.
74166         * string/test-wmemcmp.c: New file.
74167         * string/test-memcmp.c: Add wmemcmp support.
74169 2011-09-08  Roland McGrath  <roland@hack.frob.com>
74171         [BZ #13153]
74172         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
74173         2011-07-19 change.
74175         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
74176         garbage value in a __mach_port_mod_refs call in the cases of the
74177         task-self and thread-self ports.
74179 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
74181         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
74183 2011-09-08  Andreas Schwab  <schwab@redhat.com>
74185         * elf/dl-load.c (lose): Check for non-null L.
74187 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
74189         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
74191         * elf/dl-libc.c (dlerror_run): Pass back error code from
74192         dl_catch_error.
74194         [BZ #13123]
74195         * elf/dl-load.c (lose): Free l_origin if it is valid.
74197         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
74198         names.
74199         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
74200         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
74201         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
74202         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
74203         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
74204         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
74206 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
74208         * sysdeps/powerpc/fpu/e_hypot.c: New file.
74209         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
74210         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
74211         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
74212         * sysdeps/powerpc/fpu/k_cosf.c: New file.
74213         * sysdeps/powerpc/fpu/k_sinf.c: New file.
74214         * sysdeps/powerpc/fpu/s_cosf.c: New file.
74215         * sysdeps/powerpc/fpu/s_sinf.c: New file.
74216         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
74217         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
74219 2011-08-15  Alan Modra  <amodra@gmail.com>
74221         [BZ #13092]
74222         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
74223         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
74224         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
74225         ppc_mcount to static-only-routines.
74226         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
74227         __mcount_internal.
74228         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
74229         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
74231 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
74233         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
74234         for finite and infinity parameters.
74236 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
74238         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
74239         and add nop instructions for throughput optimization.
74240         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
74242 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
74244         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
74245         aligned copy for power7 with vector-scalar instructions.
74246         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
74248 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
74250         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
74251         AVX check.
74253 2011-09-07  Andreas Schwab  <schwab@redhat.com>
74255         [BZ #13144]
74256         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
74257         last change.
74259 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
74261         * sysdeps/unix/sysv/linux/x86_64/init-first.c
74262         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
74263         syscall wrapper around clock_gettime in __vdso_clock_gettime.
74264         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
74265         clock_gettime.
74267 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
74269         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
74270         Forgot to demangle the pointer.
74272         * sysdeps/i386/sysdep.h: Define atom_text_section.
74273         * sysdeps/x86_64/sysdep.h: Likewise.
74274         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
74275         section with atom_text_section.
74276         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
74277         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
74278         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
74279         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
74280         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
74282         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
74283         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
74284         already be defined.  Change to take two parameters and don't assign
74285         result to variable.  Adjust all users.
74286         Define INTERNAL_GETTIME if not already defined.
74287         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
74288         call.
74289         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
74290         HAVE_CLOCK_GETTIME_VSYSCALL.
74291         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
74293         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
74294         gettimeofday vsyscall, just use time.
74296 2011-09-06  Andreas Schwab  <schwab@redhat.com>
74298         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
74299         <errno.h>.
74301 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
74303         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
74304         syscall on x86-64.
74305         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
74306         syscall.
74307         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
74308         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
74309         syscall if possible.
74311 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
74313         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
74314         e_ident.  Don't pass to find_mapsXX.
74315         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
74317 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
74319         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
74320         strchr-sse2-no-bsf strrchr-sse2-no-bsf
74321         * sysdeps/x86_64/multiarch/strchr.S: Update.
74322         Check bit_slow_BSF bit.
74323         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
74324         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
74325         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
74327 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
74329         [BZ #13134]
74330         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
74331         before glibc 2.15.
74332         (tryshell): Define.
74333         (__spawni): Change last parameter to be flag.  Test
74334         SPAWN_XFLAGS_USE_PATH flag to use path or not.
74335         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
74336         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
74337         * posix/spawni.c: Likewise.
74338         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
74339         * posix/spawnp.c: Likewise.  Change normal version to use
74340         SPAWN_XFLAGS_USE_PATH.
74341         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
74342         SPAWN_XFLAGS_TRY_SHELL.
74344         [BZ #13150]
74345         * posix/glob.h: Remove gcc 1.x support.
74347         [BZ #13068]
74348         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
74350 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
74352         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
74353         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
74354         strrchr-sse2-bsf
74355         * sysdeps/i386/i686/multiarch/strchr.S: New file.
74356         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
74357         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
74358         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
74359         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
74360         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
74362 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
74364         * sysdeps/x86_64/wcscmp.S: New file.
74366         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
74367         wcscmp-c wcscmp-sse2
74368         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
74369         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
74370         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
74371         * wcsmbs/wcscmp.c: Allow renaming.
74373 2011-09-05  David S. Miller  <davem@davemloft.net>
74375         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
74376         stack slot, rather than the struct return pointer slot.
74377         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
74378         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
74379         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
74380         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
74382 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
74384         * po/ja.po: Update from translation team.
74386         [BZ #13144]
74387         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
74388         kernel in 64-bit binaries.
74390 2011-09-01  David S. Miller  <davem@davemloft.net>
74392         * elf/elf.h (HWCAP_SPARC_*): Move to..
74393         * sysdeps/sparc/sysdep.h: this new file and add new values.
74394         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
74395         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
74396         _DL_HWCAP_COUNT to 24.
74397         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
74398         entries.
74399         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
74400         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
74401         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
74402         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
74403         instead of magic constants.
74404         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
74406 2011-08-31  David S. Miller  <davem@davemloft.net>
74408         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
74409         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
74410         Reimplement to do errno handling inline.
74411         (SYSCALL_ERROR_HANDLER): New macro.
74412         (__SYSCALL_STRING): Do not do errno handling in asm.
74413         (__CLONE_SYSCALL_STRING): Delete.
74414         (__INTERNAL_SYSCALL_STRING): Delete.
74415         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
74416         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
74417         (PSEUDO): Reimplement to do errno handling inline.
74418         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
74419         (SYSCALL_ERROR_HANDLER): New macro.
74420         (__SYSCALL_STRING): Do not do errno handling in asm.
74421         (__CLONE_SYSCALL_STRING): Delete.
74422         (__INTERNAL_SYSCALL_STRING): Delete.
74423         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
74424         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
74425         i386.
74426         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
74427         (inline_syscall*): Add 'err' argument.
74428         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
74429         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
74430         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
74431         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
74433         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
74434         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
74436 2011-08-30  Andreas Schwab  <schwab@redhat.com>
74438         * elf/rtld.c (dl_main): Relocate objects in dependency order.
74440 2011-08-29  Jiri Olsa <jolsa@redhat.com>
74442         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
74443         directive.
74445 2011-08-24  David S. Miller  <davem@davemloft.net>
74447         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
74449 2011-08-24  Andreas Schwab  <schwab@redhat.com>
74451         * elf/Makefile: Add rules to build and run unload8 test.
74452         * elf/unload8.c: New file.
74453         * elf/unload8mod1.c: New file.
74454         * elf/unload8mod1x.c: New file.
74455         * elf/unload8mod2.c: New file.
74456         * elf/unload8mod3.c: New file.
74458         * elf/dl-close.c (_dl_close_worker): Reset private search list if
74459         it wasn't used.
74461 2011-08-23  David S. Miller  <davem@davemloft.net>
74463         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
74464         subtract stack bias.
74465         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
74466         %sp not %fp in calculations.
74467         (_JMPBUF_UNWINDS_ADJ): Likewise.
74469         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
74470         (aio_suspend): Call it to force an exception region around the
74471         AIO_MISC_WAIT() invocation.
74473 2011-08-23  Andreas Schwab  <schwab@redhat.com>
74475         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
74476         backslash.
74478 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
74480         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
74481         protection macro.
74482         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
74483         and <dl-machine.h>.
74484         (Elf64_FuncDesc): Remove.
74486 2011-08-22  David S. Miller  <davem@davemloft.net>
74488         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
74489         sigaltstack check, add missing cfi directives.
74490         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
74491         missing cfi directives, and sigaltstack handling.
74493 2011-08-16  Andreas Schwab  <schwab@redhat.com>
74495         [BZ #11724]
74496         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
74497         object is seen twice.
74498         * elf/dl-fini.c (_dl_sort_fini): Likewise.
74500         * elf/Makefile (distribute): Add tst-initorder2.c.
74501         (tests): Add tst-initorder2.
74502         (modules-names): Add tst-initorder2a tst-initorder2b
74503         tst-initorder2c tst-initorder2d.  Add rules to build them.
74504         ($(objpfx)tst-initorder2.out): New rule.
74505         * elf/tst-initorder2.c: New file.
74506         * elf/tst-initorder2.exp: New file.
74508 2011-08-22  Andreas Schwab  <schwab@redhat.com>
74510         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
74512         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
74513         dependencies back to end of function.
74515         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
74516         $(elfobjdir)/ld.so.
74518 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
74520         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
74521         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
74522         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
74523         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
74524         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
74525         of __vdso_gettimeofday.
74526         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
74527         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
74528         attribute_hidden.
74529         (_libc_vdso_platform_setup): Remove initialization of
74530         __vdso_gettimeofday and __vdso_time.
74532 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
74534         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
74535         and fgetc_unlocked.
74536         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
74537         getc_unlocked.
74539         * elf/dl-open.c (add_to_global): Report additions to the global scope
74540         for LD_DEBUG=scopes.
74541         (dl_open_worker): Also print scope of newly loaded dependencies.
74542         (_dl_show_scope): Indicate if there is no scope.
74544         [BZ #13114]
74545         * stdio-common/Makefile (tests): Add bug24.
74546         * stdio-common/bug24.c: New file.
74548 2011-08-19  Andreas Jaeger  <aj@suse.de>
74550         [BZ #13114]
74551         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
74552         non-existant file when using close-on-exec mode.
74554 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
74556         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
74557         the very first instruction.
74559         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
74560         the CFI state in the end.
74561         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
74562         inclusion of dl-trampoline.h.
74563         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
74565 2011-08-19  Andreas Schwab  <schwab@redhat.com>
74567         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
74568         expectations for long double.
74570         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
74571         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
74573 2011-08-14  David S. Miller  <davem@davemloft.net>
74575         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
74576         artificual limit depends upon the system page size.
74578 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
74580         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
74581         * resolv/Makefile: Define CFLAGS-libresolv.
74583 2011-08-17  Andreas Schwab  <schwab@redhat.com>
74585         * nss/makedb.c (compute_tables): Make variables used in nested
74586         function static.
74588 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
74590         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
74591         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
74592         if buffer was too small.
74594         * elf/pldd.c (main): Attach to all threads in the process.
74595         Rewrite /proc handling to use *at functions.
74597 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
74599         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
74600         specifies first scope to show.
74601         (dl_open_worker): Update callers.  Move printing scope of new
74602         object to before the relocation.
74603         * elf/rtld.c (dl_main): Update _dl_show_scope call.
74604         * sysdeps/generic/ldsodefs.h: Update declaration.
74606         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
74607         string for the scope number.
74609 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
74611         * nscd/servicescache.c (cache_addserv): Make sure written is always
74612         initialized.
74614 2011-08-14  Roland McGrath  <roland@hack.frob.com>
74616         * sysdeps/i386/i486/bits/atomic.h
74617         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
74618         statement expression, so as to suppress "set but not used" warning.
74619         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
74621         * string/strncat.c (STRNCAT): Use prototype definition.
74623         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
74624         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
74625         -Iprograms here.
74626         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
74627         (localedef-modules): Add localedef.
74628         (locale-modules): Add locale.
74630         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
74631         * elf/rtld.c (dl_main): Invert order of assignment in last change,
74632         to avoid a warning.
74634 2011-08-14  David S. Miller  <davem@davemloft.net>
74636         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
74637         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
74639 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
74641         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
74642         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
74643         * elf/rtld.c (dl_main): Set l_name of vDSO.
74644         Call _dl_show_scope when DL_DEBUG_SCOPES.
74645         (process_dl_debug): Recognize scopes flag and also set it for all.
74646         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
74647         Declare _dl_show_scope.
74649         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
74650         (do_dlopen): Pass caller_dlopen to dl_open.
74651         (__libc_dlopen_mode): Initialize caller_dlopen.
74653         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
74654         of libc.  Make tolower call locale-independent.  Optimize a bit by
74655         using isdigit instead of isalnum.
74656         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
74658 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
74660         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
74661         was a dependency or dynamically loaded.
74663 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
74665         * intl/l10nflist.c: Allow architecture-specific pop function.
74666         * sysdeps/x86_64/l10nflist.c: New file.
74668         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
74669         classification.
74671 2011-08-10  Andreas Schwab  <schwab@redhat.com>
74673         * include/dirent.h: Add libc_hidden_proto for scandirat and
74674         scandirat64.  Don't declare __scandirat64.
74675         * dirent/scandirat.c: Add libc_hidden_def.
74676         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
74677         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
74679 2011-08-10  David S. Miller  <davem@davemloft.net>
74681         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
74682         enum.
74683         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
74684         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
74685         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
74687 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
74689         * Versions.def [libc]: Add GLIBC_2.15.
74690         * dirent/Makefile (routines): Add scandirat and scandirat64.
74691         * dirent/Versions [libc]: Export scandirat and scandirat64 for
74692         GLIBC_2.15.
74693         * dirent/dirent.h: Declare scandirat and scandirat64.
74694         * dirent/scandirat.c: New file.
74695         * dirent/scandirat64.c: New file.
74696         * sysdeps/wordsize-64/scandirat.c: New file.
74697         * sysdeps/wordsize-64/scandirat64.c: New file.
74698         * dirent/opendir.c: Define opendirat.
74699         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
74700         using scandirat.
74701         * dirent/scandir64.c: Adjust for scandir.c change.
74702         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
74703         __scandirat64, and __scandir_cancel_handler.
74704         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
74705         additional parameter and use openat instead of open (outside of ld.so).
74706         Add new __opendir as wrapper around __opendirat.
74707         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
74708         here without requiring old scandirat implementation.
74710 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
74712         * dirent/scandir.c (cancel_handler): Renamed to
74713         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
74714         defined.  Adjust users.
74715         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
74716         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
74718 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
74720         * string/test-string.h (IMPL): Use __STRING to expand name and then
74721         stringify it.
74723         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
74724         of cleanups.
74726 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
74728         * string/Makefile: Update.
74729         (strop-tests): Append strncat.
74730         * string/test-wcscmp.c: New file.
74731         New comprehensive test for wcscmp.
74732         * string/test-strcmp.c: Update.
74733         (WIDE): New define.
74735 2011-07-22  Andreas Schwab  <schwab@redhat.com>
74737         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
74738         line.
74740 2011-07-26  Andreas Schwab  <schwab@redhat.com>
74742         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
74743         encoding to ACE if AI_IDN.
74745 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
74747         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
74748         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
74750 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
74752         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
74753         Fix overflow bug in strncat.
74754         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
74756         * string/test-strncat.c: Update.
74757         Add new tests for checking overflow bugs.
74759 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
74761         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
74762         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
74763         * sysdeps/i386/i686/multiarch/strcat.S: New file.
74764         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
74765         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
74766         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
74767         * sysdeps/i386/i686/multiarch/strncat.S: New file.
74768         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
74769         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
74771         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
74772         (USE_AS_STRCAT): Define.
74773         Add strcat and strncat support.
74774         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
74776 2011-07-25  Andreas Schwab  <schwab@redhat.com>
74778         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
74779         __n bigger than INT_MAX+1.
74780         (__strncmp_g): Likewise.
74782 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
74784         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
74785         * libio/stido.h: Likewise.
74787         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
74788         (AF_NFC): Define.
74789         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
74790         (AF_NFC): Define.
74792         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
74793         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
74794         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
74795         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
74796         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
74798         [BZ #13021]
74799         * scripts/test-installation.pl: Don't expect libnss_test1 to be
74800         installed.
74802         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
74803         typo.
74804         (_dl_x86_64_save_sse): Likewise.
74806 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
74808         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
74809         OSXSAVE.
74810         (_dl_x86_64_save_sse): Likewise.
74812         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
74814         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
74816 2011-07-21  Andreas Schwab  <schwab@redhat.com>
74818         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
74819         change.
74820         (_dl_x86_64_save_sse): Use correct AVX check.
74822 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
74824         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
74825         bug in strncpy/strncat.
74826         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
74828 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
74830         * string/tester.c (test_strcat): Add tests for different alignments
74831         of source and destination.
74832         (test_strncat): Likewise.
74834 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
74836         [BZ #12852]
74837         * posix/glob.c (glob): Check passed in values before using them in
74838         expressions to avoid some overflows.
74839         (glob_in_dir): Likewise.
74841         [BZ #13007]
74842         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
74843         check for AVX enablement so that we don't crash with old kernels and
74844         new hardware.
74845         * elf/tst-audit4.c: Add same checks here.
74846         * elf/tst-audit6.c: Likewise.
74848         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
74850 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
74852         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
74854 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
74856         * po/cs.po: Update from translation team.
74857         * po/bg.po: Likewise.
74859 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
74861         * misc/sys/cdefs.h: Add support for const attribute.
74862         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
74863         to gnu_dev_{major,minor,makedev} functions.
74865 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
74867         * intl/dcigettext.c (get_output_charset): Add missing bracket.
74869 2011-07-20  Andreas Schwab  <schwab@redhat.com>
74871         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
74872         strlen results.
74874 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
74876         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
74877         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
74878         register in order to avoid conflicts with the soft frame pointer
74879         being held in r11 when necessary.
74880         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
74881         (INTERNAL_VSYSCALL_NCS): Likewise.
74883 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
74885         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
74886         * elf/dl-fini.c (_dl_fini): Adjust caller.
74887         * elf/dl-close.c (_dl_close_worker): Likewise.
74888         * sysdeps/generic/ldsodefs.h: Adjust declaration.
74890 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
74892         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
74893         "aux_cache->nlibs < 0".
74895         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
74896         in the reload-count case.
74898 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
74900         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
74901         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
74902         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
74903         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
74904         * sysdeps/x86_64/multiarch/strcat.S: New file.
74905         * sysdeps/x86_64/multiarch/strncat.S: New file.
74906         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
74907         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
74908         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
74909         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
74910         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
74911         (USE_AS_STRCAT): Define.
74912         Add strcat and strncat support.
74913         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
74914         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
74915         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
74916         * string/strncat.c: Update.
74917         (USE_AS_STRNCAT): Define.
74918         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
74919         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
74920         and i7.
74921         * sysdeps/x86_64/multiarch/init-arch.h
74922         (bit_Prefer_PMINUB_for_stringop): New.
74923         (index_Prefer_PMINUB_for_stringop): Likewise.
74924         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
74925         bit_Prefer_PMINUB_for_stringop.
74927 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
74929         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
74930         buffer64.
74931         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
74932         of casting of buffer.
74933         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
74934         buffer32 and buffer64.
74935         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
74936         writes instead of casting of buffer.
74937         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
74938         buffer32.
74939         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
74940         casting of buffer.
74942 2011-07-19  Andreas Schwab  <schwab@redhat.com>
74944         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
74946 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
74948         * nscd/nscd.c (termination_handler): Don't do anything for a database
74949         if it has not yet been initialized.
74951 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
74953         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
74955 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
74957         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
74959 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
74961         * po/nl.po: Update from translation team.
74962         * po/sv.po: Likewise.
74964 2011-07-16  Roland McGrath  <roland@hack.frob.com>
74966         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
74967         now disallowed by GCC.
74969         * configure.in (use-default-link): Default to yes if a test -shared
74970         link meets our qualifications.
74971         * configure: Regenerated.
74973         * config.make.in (output-format): New variable.
74974         * configure.in: Check for ld --print-output-format support.
74975         * configure: Regenerated.
74976         * Makerules ($(common-objpfx)format.lds)
74977         [$(output-format) != unknown]: Just use $(output-format),
74978         instead of the linker-script munging.
74980 2011-07-14  Roland McGrath  <roland@hack.frob.com>
74982         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
74983         of $(common-objpfx)shlib.lds.
74984         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
74986         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
74987         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
74989         * configure.in (-z relro check): Adjust test code to add a large
74990         writable data section after it.
74991         * configure: Regenerated.
74993 2011-07-11  Roland McGrath  <roland@hack.frob.com>
74995         * configure.in (-z relro check): Fix test code to make the variable
74996         truly const.
74997         * configure: Regenerated.
74999 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
75001         * nscd/nscd.h (struct traced_file): Define.
75002         (struct database_dyn): Remove inotify_descr, reset_res, and filename
75003         elements.  Add traced_files.
75004         (inotify_fd): Declare.
75005         (register_traced_file): Declare.
75006         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
75007         (inotify_fd): Export.
75008         (resolv_conf_descr): Remove.
75009         (nscd_init): Move inotify descriptor creation to main.
75010         Don't register files for notification here.
75011         (register_traced_file): New function.
75012         (invalidate_cache): Don't use reset_res to determine whether to call
75013         res_init, go through the list of registered files.
75014         (main_loop_poll): The inotify descriptors are now stored in the
75015         structures for the traced files.
75016         (main_loop_epoll): Likewise.
75017         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
75018         to __nss_disable_nscd.
75019         * nscd/cache.c (prune_cache): There is no single inotify descriptor
75020         for a database anymore.  Check the records for all the registered
75021         files instead.
75022         * nss/Makefile (libnss_files-routines): Add files-init.
75023         (libnss_db-routines): Add db-init.
75024         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
75025         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
75026         * nss/nss_db/db-init.c: New file.
75027         * nss/nss_files/files-init.c: New file.
75028         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
75029         __nss_lookup_function.
75030         (__nss_lookup_function): Call nss_load_library.
75031         (nss_load_all_libraries): New function.
75032         (__nss_disable_nscd): Take parameter with callback function for files
75033         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
75034         used for the cached services.
75035         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
75036         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
75037         options for features to all the files in nscd.
75039         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
75041 2011-07-10  Roland McGrath  <roland@hack.frob.com>
75043         * csu/elf-init.c (__libc_csu_init): Comment typo.
75045 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
75047         * po/pl.po: Update from translation team.
75048         * po/ja.po: Likewise.
75049         * po/ru.po: Likewise.
75050         * po/ko.po: Likewise.
75051         * po/fr.po: Likewise.
75053 2011-07-09  Roland McGrath  <roland@hack.frob.com>
75055         * configure.in (.ctors/.dtors header and trailer check):
75056         Use an empirical test on a built program.
75057         * configure: Regenerated.
75059         * configure.in (-z relro check): Use an empirical test on a built DSO.
75060         Detect, but do not require, on ia64.
75061         * configure: Regenerated.
75063         * configure.in (READELF): Find it with AC_CHECK_TOOL.
75064         Update tests that use readelf to use $READELF instead.
75065         * configure: Regenerated.
75067 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
75069         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
75070         if the result is not used.
75072 2011-07-05  Andreas Jaeger  <aj@suse.de>
75074         [BZ#9696]
75075         * stdlib/tst-strtod.c: Add testcase.
75077 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
75079         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
75080         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
75081         The latter has a higher limit.  Take additional parameter to pass to
75082         the new function.
75083         (__pathconf): Pass file to __statfs_link_max.
75084         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
75085         __statfs_link_max.
75086         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
75087         __statfs_link_max.
75089         [BZ #12868]
75090         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
75091         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
75092         Handle Lustre.
75093         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
75094         (__statfs_filesize_max): Likewise.
75095         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
75097 2011-07-05  Andreas Jaeger  <aj@suse.de>
75099         * resolv/res_comp.c (dn_skipname): Remove unused variable.
75101 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
75103         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
75104         `status' variable.
75105         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
75106         Likewise.
75108 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
75110         * Makefile (strop-tests): Add strncat.
75111         * string/test-strncat.c: New file.
75113 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
75115         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
75117 2011-06-21  Andreas Jaeger  <aj@suse.de>
75119         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
75120         Copy rule from iconvdata/Makefile.
75122 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
75124         [BZ #12922]
75125         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
75126         but no long options are defined, just return 'W'.
75128 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
75130         [BZ #9696]
75131         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
75133 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
75135         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
75136         netgroups to read.
75137         (innetgr): Likewise.
75139 2011-07-05  Roland McGrath  <roland@hack.frob.com>
75141         * config.make.in (install_root): Default to $(DESTDIR).
75143 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
75145         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
75147 2011-07-02  Roland McGrath  <roland@hack.frob.com>
75149         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
75151         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
75152         containing directory rather than embedding absolute directory names.
75154         * scripts/check-local-headers.sh: Rewritten using awk.
75155         Match by word, not by line.  Print error messages for matches.
75156         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
75158         * Makerules [shlib-lds-flags empty]:
75159         ($(common-objpfx)libc_pic.opts): New target.
75160         ($(common-objpfx)libc_pic.os.clean): New target.
75161         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
75163         * config.make.in (OBJCOPY): New variable.
75164         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
75165         * configure: Regenerated.
75167         * config.make.in (use-default-link): New variable.
75168         * configure.in (use_default_link): Grok --with-default-link to set it.
75169         * configure: Regenerated.
75170         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
75171         (shlib-lds, shlib-lds-flags): Define to empty.
75173         * Makerules (shlib-lds): New variable.
75174         (shlib-lds-flags): New variable.
75175         (build-shlib, build-moduile, build-module-asneeded): Use it.
75176         ($(common-objpfx)libc.so): Use $(shlib-lds).
75177         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
75178         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
75180         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
75181         DT_FLAGS/DT_FLAGS_1 with zero flags.
75183         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
75184         linker script munging.
75186 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
75188         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
75189         as 128-bit value.
75190         * crypt/sha512.c (sha512_process_block): Perform total addition using
75191         128-bit if possible.
75192         (__sha512_finish_ctx): Likewise.
75193         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
75194         as 64-bit value.
75195         * crypt/sha256.c (SWAP64): Define.
75196         (sha256_process_block): Perform total addition using 64-bit if
75197         possible.
75198         (__sha256_finish_ctx): Likewise.
75200 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
75202         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
75203         * nscd/initgrcache.c (addinitgroupsX): Likewise.
75204         * nscd/hstcache.c (cache_addhst): Likewise.
75205         * nscd/grpcache.c (cache_addgr): Likewise.
75206         * nscd/aicache.c (addhstaiX): Likewise.
75207         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
75209 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
75211         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
75212         * nscd/initgrcache.c (addinitgroupsX): Likewise.
75213         * nscd/hstcache.c (cache_addhst): Likewise.
75214         * nscd/grpcache.c (cache_addgr): Likewise.
75215         * nscd/aicache.c (addhstaiX): Likewise.
75217 2011-07-01  Andreas Schwab  <schwab@redhat.com>
75219         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
75220         domain only when needed.
75222 2011-06-30  Andreas Schwab  <schwab@redhat.com>
75224         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
75225         is always restored.
75227 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
75229         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
75230         are re-adding the entry.
75231         * nscd/servicescache.c (cache_addserv): Likewise.
75233 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
75235         * sysdeps/generic/dl-irel.h: fix protection against multiple
75236         inclusions.
75237         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
75239 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
75241         [BZ #12935]
75242         * malloc/memusage.sh: Fix quoting in message.
75243         * debug/xtrace.sh: Likewise.
75245         * configure.in: Remove support for --experimental-malloc option, make
75246         it the default.
75247         * config.make.in: Likewise.
75248         * malloc/Makefile: Likewise.
75250 2011-06-27  Andreas Schwab  <schwab@redhat.com>
75252         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
75253         two-byte characters.
75255 2011-06-27  Roland McGrath  <roland@hack.frob.com>
75257         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
75258         AC_CACHE_CHECK invocation.
75259         * configure: Regenerated.
75261         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
75263 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
75265         [BZ #12350]
75266         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
75267         bit from old_res_options.
75269         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
75271         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
75272         value type for setfct.
75274 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
75276         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
75277         __gettimeofday instead of gettimeofday.
75279 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
75281         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
75283 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
75285         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
75287         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
75288         info.
75290 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
75292         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
75293         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
75294         strcpy-sse2-unaligned strncpy-sse2-unaligned
75295         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
75296         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
75297         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
75298         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
75299         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
75300         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
75301         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
75302         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
75303         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
75304         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
75305         (STRCPY): Support SSE2 and SSSE3 versions.
75307 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
75309         [BZ #12874]
75310         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
75311         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
75312         kernels which artificially limit size of requests.
75314 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
75316         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
75317         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
75318         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
75319         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
75320         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
75321         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
75322         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
75323         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
75324         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
75325         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
75326         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
75327         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
75328         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
75329         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
75330         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
75331         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
75332         Enable unaligned load optimization for Intel Core i3, i5 and i7
75333         processors.
75334         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
75335         Define.
75336         (index_Fast_Unaligned_Load): Define.
75337         (HAS_FAST_UNALIGNED_LOAD): Define.
75339 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
75341         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
75343 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
75345         [BZ #12907]
75346         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
75347         until it is clear that the information is realy needed.
75348         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
75350 2011-06-22  Andreas Schwab  <schwab@redhat.com>
75352         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
75354 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
75356         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
75357         /sys/devices/system/cpu/online if it is usable.
75359         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
75360         reading the information from the /proc filesystem to once a second.
75362 2011-06-21  Andreas Jaeger  <aj@suse.de>
75364         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
75365         NULL after inclusion of kernel headers.
75367 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
75369         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
75370         calls to internal_setent.
75372         [BZ #12885]
75373         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
75374         addresses using gethostbyname4_r ignore IPv4 addresses.
75376         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
75377         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
75379         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
75381 2011-06-20  David S. Miller  <davem@davemloft.net>
75383         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
75384         inclusions.
75385         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
75387         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
75388         (elf_irel): Use it.
75389         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
75390         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
75391         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
75392         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
75393         * sysdeps/x86_64/dl-irel.h: Likewise.
75395         * elf/dl-runtime.c: Use elf_ifunc_invoke.
75396         * elf/dl-sym.c: Likewise.
75398 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
75400         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
75401         need to dereference resplen2.
75403 2011-06-14  Andreas Schwab  <schwab@redhat.com>
75405         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
75407 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
75409         * Makeconfig: Define vardbdir and inst_vardbdir.
75410         * nss/Makefile: Add rules to install db-Makefile.
75412         * nss/nss_db/db-XXX.c: Cleanup.
75414         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
75415         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
75416         GLIBC_PRIVATE.
75417         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
75418         * nss/makedb.c: Implement -g option to specify that value strings
75419         are generated and should not be added to table iterated over for
75420         get*ent calls.
75421         * nss/nss_db/db-initgroups.c: New file.
75423         * nss/getent.c: Add support for initgroups lookups through getgrouplist
75424         interface.
75426         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
75427         (internal_getgrouplist): Adjust to name change.
75428         Update use_initgroups_entry if this is not the first call.
75429         * nss/databases.def: Add initgroups entry.
75431         * nss/makedb.c (compute_tables): Check result of multiple hash table
75432         sizes to minimize maximum chain length.
75434 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
75436         * Versions.def: Add entry for libnss_db.
75437         * shlib-versions: Likewise.
75438         * nss/Makefile: Add rules to build libnss_db.
75439         * nss/Versions: Add libnss_db information.  Organize libnss_files
75440         entries better.
75441         * nss/db-Makefile: Add gshadow support.  Change rules for the new
75442         makedb progra.  Some minor improvements to generate smaller files.
75443         * nss/nss_db/nss_db.h: Move NSS database header data structures to
75444         here from...
75445         * nss/makedb.c: ...here.
75446         Improve database format to be smaller and require less memory at
75447         runtime.
75448         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
75449         db anymore.
75450         * nss/nss_db/db-netgrp.c: Likewise.
75451         * nss/nss_db/db-open.c: Likewise.
75452         * nss/nss_files/flies-XXX.x: Adjust comments.
75453         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
75454         * nss/nss_files/files-grp.c: Likewise.
75455         * nss/nss_files/files-hosts.c: Likewise.
75456         * nss/nss_files/files-network.c: Likewise.
75457         * nss/nss_files/files-proto.c: Likewise.
75458         * nss/nss_files/files-pwd.c: Likewise.
75459         * nss/nss_files/files-rpc.c: Likewise.
75460         * nss/nss_files/files-service.c: Likewise.
75461         * nss/nss_files/files-sgrp.c: Likewise.
75462         * nss/nss_files/files-spwd.c: Likewise.
75463         * nss/nss_db/db-alias.c: Removed.
75464         * nss/nss_db/dummy-db.h: Removed.
75466 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
75468         * nss/makedb.c: Rewritten to not use database library.
75469         * nss/Makefile: Update to build new makedb program.
75471 2011-06-14  Andreas Jaeger  <aj@suse.de>
75473         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
75474         memset declaration.
75476 2011-06-10  Andreas Schwab  <schwab@redhat.com>
75478         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
75479         tmpbuf.
75481 2011-06-10  Roland McGrath  <roland@hack.frob.com>
75483         * Makerules (shlib.lds): Fail if the linker script comes out empty.
75484         * elf/Makefile ($(objpfx)ld.so): Likewise.
75486         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
75487         Don't list ld.so twice in dependencies.
75489         * posix/bug-regex31.c: Include <stdlib.h>.
75491         * nscd/hstcache.c (cache_addhst): Remove unused variable.
75493         * nis/nss_compat/compat-spwd.c
75494         (getspent_next_nss_netgr): Remove unused variable.
75495         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
75497         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
75498         nonmembers" output to use the right array.
75500         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
75502         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
75504         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
75505         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
75506         * catgets/gencat.c (read_input_file): Likewise.
75507         * locale/programs/locarchive.c (enlarge_archive): Likewise.
75509         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
75510         variable definition inside #if's controlling its use.
75512         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
75514         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
75516         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
75518         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
75519         unreachable code.
75521         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
75523         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
75524         * configure: Regenerated.
75526         * Makerules: Revert last change.
75527         * elf/Makefile: Likewise.
75529 2011-06-09  Roland McGrath  <roland@hack.frob.com>
75531         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
75532         * elf/Makefile ($(objpfx)librtld.os): Likewise.
75533         (reloc-link): Likewise.
75535 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
75537         * elf/Makefile: Add rules to build pldd.
75538         * elf/pldd.c: New file.
75539         * elf/pldd-xx.c: New file.
75541 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
75543         * version.h: Update for 2.15 development version.
75545 2011-06-07  David S. Miller  <davem@davemloft.net>
75547         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
75548         ifuncs.
75549         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
75550         elf_machine_lazy_rel): Likewise.
75551         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
75552         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
75553         elf_machine_lazy_rel): Likewise.
75554         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
75555         dl_hwcap via passed in argument.
75556         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
75557         Likewise.
75559 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
75561         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
75563 2011-06-06  Roland McGrath  <roland@hack.frob.com>
75565         [BZ #12849]
75566         * manual/fdl-1.1.texi: New file, verbatim from:
75567         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
75568         * manual/lgpl-2.1.texi: New file, verbatim from:
75569         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
75570         * manual/Makefile (licenses): New variable, list those new file names.
75571         (texis): Use it.
75572         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
75574         * manual/fdl.texi: File removed.
75575         * manual/lesser.texi: File removed.
75576         * manual/libc.texinfo (Copying, Documentation License):
75577         Use new @include file names, put @appendix directive before @include.
75579 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
75581         [BZ #12841]
75582         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
75583         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
75584         (mq_open): Add __NTH.
75586 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
75588         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
75589         Assume Intel Core i3/i5/i7 processor if AVX is available.
75591 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
75593         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
75594         typo.
75596 2011-05-31  Andreas Schwab  <schwab@redhat.com>
75598         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
75599         memory.  Use alloca_account.  Fix memory leak when retrying.
75601 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
75603         * version.h (RELEASE): Bump for 2.14 release.
75604         * include/features.h (__GLIBC_MINOR__): Bump to 14.
75606         * config.make.in (RANLIB): Remove entry.
75608 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
75610         * po/Makefile (po-sed-cmd): Add ksh to extensions.
75611         (libc.pot): Work around missing support for .ksh extension in xgettext.
75613         [BZ #12684]
75614         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
75615         if both request failed.
75616         (send_dg): In case of server errors clear resplen or *resplen2.
75618         [BZ #12454]
75619         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
75620         when there are multiple maps.
75621         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
75622         (_dl_fini): Remove test here.
75624         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
75626 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
75628         [BZ #12350]
75629         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
75630         bit from old_res_options.
75631         (gaih_inet): Likewise.
75633         [BZ #11099]
75634         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
75635         as signed.
75637         * resolv/res_init.c (res_setoptions): Make the code more compact.
75639         [BZ #11558]
75640         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
75641         set RES_USEVC.
75643         [BZ #11634]
75644         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
75646         * malloc/malloc.h: Mark malloc hook variables as deprecated.
75648         [BZ #11781]
75649         * malloc/malloc.h: Declare malloc hook variables as volatile.
75651         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
75652         in last patch.
75654         [BZ #11799]
75655         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
75656         raise in the comment.
75657         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
75658         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
75659         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
75661 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
75663         [BZ #12811]
75664         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
75665         grow the buffers more if it already has to be sufficient.
75666         (build_wcs_upper_buffer): Likewise.
75667         * posix/regexec.c (check_matching): Likewise.
75668         (clean_state_log_if_needed): Likewise.
75669         (extend_buffers): Don't enlarge buffers beyond size of the input
75670         buffer.
75671         Patches mostly by Emil Wojak <emil@wojak.eu>.
75672         * posix/bug-regex32.c: New file.
75673         * posix/Makefile (tests): Add bug-regex32.
75675         * locale/findlocale.c (_nl_find_locale): Return right away if
75676         _nl_explode_name failed.
75677         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
75679         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
75681         * debug/xtrace.sh: Unify messages.
75682         * malloc/memusage.sh: Likewise.
75684         [BZ #12813]
75685         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
75686         time symbol from vDSO.  Substitute with vsyscall if not available.
75687         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
75688         __vdso_time.
75690         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
75691         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
75692         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
75693         Add sendmmsg and internal_sendmmsg.
75694         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
75695         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
75696         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
75698         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
75699         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
75700         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
75702 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
75704         [BZ #12813]
75705         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
75706         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
75707         available.
75708         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
75709         __vdso_getcpu.
75711         [BZ #12814]
75712         * iconvdata/Makefile (tests): Add bug-iconv9.
75713         * iconvdata/bug-iconv9.c: New file.
75715 2011-05-27  Andreas Schwab  <schwab@redhat.com>
75717         [BZ #12814]
75718         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
75720 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
75722         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
75723         (struct user_regs_struct): Change intcs field back to cs.
75725 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
75727         * po/ja.po: Update from translation team.
75729 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
75731         [BZ #12795]
75732         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
75733         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
75735 2011-05-20  Andreas Schwab  <schwab@redhat.com>
75737         * stdlib/longlong.h: Update from GCC.
75739 2011-05-23  Andreas Schwab  <schwab@redhat.com>
75741         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
75742         parameter name.
75743         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
75744         Add parameter name.
75745         (__sysconf): Pass it down.
75747 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
75749         [BZ #12671]
75750         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
75751         some situations.
75752         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
75753         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
75754         add in in __libc_use_alloca calls.  Adjust callers.
75755         (glob): Use malloc in some situations.
75757         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
75758         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
75759         pltexit.
75761 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
75763         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
75764         and CLOCK_BOOTTIME_ALARM.
75766         [BZ #12782]
75767         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
75768         is returned.
75770         * string/_strerror.c (__strerror_r): Print negative errors as signed
75771         numbers.
75773         [BZ #12777]
75774         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
75775         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
75776         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
75778         * configure.in: Fix typo in redirection and correct removal of test
75779         files in two cases.
75781         [BZ #12788]
75782         * locale/setlocale.c (new_composite_name): Fix test to check for
75783         identical name of all categories.
75785         [BZ #12792]
75786         * libio/filedoalloc.c (local_isatty): New function.
75787         (_IO_file_doallocate): Use local_isatty.
75788         * stdio-common/perror.c (perror): In case a new stream is used
75789         forward the stream error.
75790         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
75791         error flag.
75793 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
75795         [BZ #11884]
75796         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
75797         alloca.
75798         * include/alloca.h (extend_alloca_account): Define.
75800         [BZ #11857]
75801         * posix/regex.h: Fix comments with documentation of user-accessible
75802         fields after compilation and describe correct free'ing of pattern
75803         after re_compile_pattern.
75804         Patch by Reuben Thomas <rrt@sc3d.org>.
75806 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
75808         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
75809         and -mno-altivec to prevent the compiler from using Altivec and/or
75810         VSX instructions when the corresponding registers are not available.
75812 2011-05-19  Andreas Schwab  <schwab@redhat.com>
75814         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
75816 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
75818         * libio/freopen.c (freopen): Use __dup2, not dup2.
75819         * libio/freopen64.c (freopen64): Likewise.
75821 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
75823         [BZ #12775]
75824         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
75825         * math/Makefile (tests): Add test-powl.
75826         (CFLAGS-test-powl.c): Define.
75827         * math/test-powl.c: New file.
75829 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
75831         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
75833 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
75835         [BZ #11837]
75836         * iconvdata/gb18030.c: Update to GB18020-2005.
75838 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
75840         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
75841         RE_SYNTAX_POSIX_AWK): Update to match recent development.
75842         Patch by Aharon Robbins <arnold@skeeve.com>.
75844         [BZ #11892]
75845         * stdlib/putenv.c (putenv): Don't always create copy of the variable
75846         on the stack.
75848         [BZ #11895]
75849         * misc/pselect.c (__pselect): Handle timeout value errors hidden
75850         through underflows.
75852         [BZ #12766]
75853         * misc/error.c (error_at_line): Ensure file_name and old_file_name
75854         point to strings before performing equality test for error_one_per_line
75855         mode.
75857         [BZ #11697]
75858         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
75860         [BZ #11820]
75861         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
75862         (struct user_fpregs_struct): Avoid __uint*_t types.
75864         [BZ #6420]
75865         * malloc/mtrace.c (tr_where): Add additional parameter to point to
75866         symbol info.  Use it instead of calling _dl_addr locally.
75867         (lock_and_info): New function.
75868         (tr_freehook): Call lock_and_info and pass symbol info as additional
75869         parameter to tr_where.
75870         (tr_mallochook): Likewise.
75871         (tr_reallochook): Likewise.
75872         (tr_memalignhook): Likewise.
75874         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
75875         used and couldn't be at all thread-safe.
75877 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
75879         * libio/freopen.c (freopen): Don't close old file descriptor
75880         before the new one is opened.  Instead dup the new file descriptor
75881         to the old one after the new stream is created.
75882         * libio/freopen64.c (freopen64): Likewise.
75883         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
75884         * libio/fileops.c (_IO_new_file_close_it): Handle new
75885         _IO_FLAGS2_NOCLOSE flag.
75886         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
75887         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
75888         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
75889         _IO_FLAGS2_NOCLOSE flag.
75890         * include/unistd.h: Add hidden_proto for dup3.
75891         Define __have_dup3.
75892         * io/dup3.c: Define hidden symbol.
75893         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
75895         [BZ #7101]
75896         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
75897         when an incomplete long option is used.
75898         * posix/tst-getopt_long1.c: New file.
75899         * posix/Makefile (tests): Add tst-getopt_long1.
75901         [BZ #10138]
75902         * scripts/config.guess: Update from autoconf-2.68.
75903         * scripts/config.sub: Likewise.
75905         [BZ #10157]
75906         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
75907         tests into ...
75908         (has_cpuclock): ...this.  New function.
75909         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
75910         macro here based on has_cpuclock code.
75912         [BZ #10149]
75913         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
75914         First byte (not low byte) is now always NUL.
75915         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
75917         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
75918         Use non-cancelable interfaces.
75920         [BZ #9809]
75921         * locale/iso-639.def: Add entry for Sorani.
75923         [BZ #11901]
75924         * include/stdlib.h: Move include protection to the right place.
75925         Define abort_msg_s.  Declare __abort_msg with it.
75926         * stdlib/abort.c (__abort_msg): Adjust type.
75927         * assert/assert.c (__assert_fail_base): New function.  Majority
75928         of code from __assert_fail.  Allocate memory for __abort_msg with
75929         mmap.
75930         (__assert_fail): Now call __assert_fail_base.
75931         * assert/assert-perr.c: Remove bulk of implementation.  Use
75932         __assert_fail_base.
75933         * include/assert.hL Declare __assert_fail_base.
75934         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
75935         mmap.
75936         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
75938 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
75940         [BZ #11952]
75941         [BZ #12453]
75942         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
75943         until all modules are registered in the DTV.
75944         * elf/Makefile: Add rules to build and run tst-tls19.
75945         * elf/tst-tls19.c: New file.
75946         * elf/tst-tls19mod1.c: New file.
75947         * elf/tst-tls19mod2.c: New file.
75948         * elf/tst-tls19mod3.c: New file.
75949         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
75951         [BZ #12083]
75952         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
75953         correctly.
75955         [BZ #12601]
75956         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
75957         two-byte sequence errors.
75958         * iconvdata/Makefile (tests): Add bug-iconv8.
75959         * iconvdata/bug-iconv8.c: New file.
75961         [BZ #12626]
75962         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
75963         buf2 definition.
75965         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
75967         [BZ #12432]
75968         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
75969         (dummy_getcfa): New function.
75970         (init): Get _Unwind_GetCFA address, use dummy if not found.
75971         (backtrace_helper): In recursion check, also check whether CFA changes.
75972         (__backtrace): Completely initialize arg.
75974         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
75975         storing incomplete byte sequence in state object.  Avoid testing for
75976         guaranteed too small input if we know there is enough data available.
75978 2011-05-11  Andreas Schwab  <schwab@redhat.com>
75980         * Makeconfig (+link-pie): Indent.
75981         * Rules (binaries-pie): Define if $(have-fpie) and
75982         $(build-shared).
75983         (binaries-shared): Also filter out $(binaries-pie).
75984         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
75985         * nscd/Makefile (others-pie): Add nscd.
75986         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
75987         ($(objpfx)nscd): Remove command override.
75988         * login/Makefile (others-pie): Add pt_chown.
75989         ($(objpfx)pt_chown): Remove command override.
75990         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
75991         remove command overrides.
75993 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
75995         * libio/tst_putwc.c: Fix error messages.
75997         [BZ #12724]
75998         * libio/fileops.c (_IO_new_file_close_it): Always flush when
75999         currently writing and seek to current position when not.
76000         * libio/Makefile (tests): Add bug-fclose1.
76001         * libio/bug-fclose1.c: New file.
76003 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
76005         [BZ #12511]
76006         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
76007         don't set DF_1_NODELETE here.
76008         (do_lookup_x): When entering new entry test for copy relocation
76009         and if necessary set DF_1_NODELETE flag.
76010         * elf/tst-unique4.cc: New file.
76011         * elf/tst-unique4.h: New file.
76012         * elf/tst-unique4lib.cc: New file.
76013         * elf/Makefile: Add rules to build and run tst-unique4.
76014         Patch by Piotr Bury <pbury@goahead.com>.
76016 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
76018         [BZ #12052]
76019         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
76021         [BZ #12625]
76022         * misc/mntent_r.c (addmntent): Flush the stream after the output
76024         [BZ #12393]
76025         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
76026         (is_trusted_path_normalize): Skip initial colon.  Append slash
76027         to empty buffer.  Duplicate is_trusted_path code but allow
76028         constructed patch to be prefix.
76029         (is_dst): Allow $ORIGIN followed by /.
76030         (_dl_dst_substitute): Correct clearing of check_for_trusted.
76031         Correct testing of result of is_trusted_path_normalize
76032         (decompose_rpath): Fix warning.
76034 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
76036         [BZ #11257]
76037         * grp/initgroups.c (internal_getgrouplist): When we found the service
76038         list through the initgroups entry in nsswitch.conf do not always
76039         continue on a successful lookup.  Don't always use the
76040         __nss_group_database value if it is set.
76041         * nss/nsswitch.conf (initgroups): Change action for successful db
76042         lookup to continue for compatibility.
76044 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
76046         [BZ #11532]
76047         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
76048         and CP774 modules.
76049         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
76050         and CP774 modules.
76051         * iconvdata/tst-tables.sh: Likewise.
76052         * iconvdata/cp770.c: New file.
76053         * iconvdata/cp771.c: New file.
76054         * iconvdata/cp772.c: New file.
76055         * iconvdata/cp773.c: New file.
76056         * iconvdata/cp774.c: New file.
76057         * iconvdata/testdata/CP770: New file.
76058         * iconvdata/testdata/CP770..UTF8: New file.
76059         * iconvdata/testdata/CP771: New file.
76060         * iconvdata/testdata/CP771..UTF8: New file.
76061         * iconvdata/testdata/CP772: New file.
76062         * iconvdata/testdata/CP772..UTF8: New file.
76063         * iconvdata/testdata/CP773: New file.
76064         * iconvdata/testdata/CP773..UTF8: New file.
76065         * iconvdata/testdata/CP774: New file.
76066         * iconvdata/testdata/CP774..UTF8: New file.
76068         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
76069         END CHARMAP line.
76070         * iconvdata/gen-8bit-gap.sh: Likewise.
76071         * iconvdata/gen-8bit.sh: Likewise.
76073         * locale/iso-639.def: Add ary entry.
76075         [BZ #11258]
76076         * locale/C-translit.h.in: Add U20A1 transliteration.
76078         [BZ #12178]
76079         * locale/iso-639.def: Add wae entry.
76080         Patch by Kevin Bortis <bortis@translate-wae.ch>.
76082         [BZ #12545]
76083         * locale/programs/localedef.c (construct_output_path): Use ssize_t
76084         for n.
76086         [BZ #12711]
76087         * locale/C-translit.h.in: Add entry for U20B9.
76088         Patch by pravin.d.s@gmail.com.
76090 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
76092         [BZ #12713]
76093         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
76094         ENAMETOOLONG use generic getcwd.
76095         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
76096         in rtld.  Use *stat64.
76097         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
76098         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
76099         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
76100         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
76101         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
76102         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
76103         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
76104         __fstatat64 macros.
76105         * include/dirent.h: Add libc_hidden_proto for rewinddir.
76106         * dirent/rewinddir.c: Add libc_hidden_def.
76107         * sysdeps/mach/hurd/rewinddir.c: Likewise.
76108         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
76110         * include/dirent.h (__alloc_dir): Add flags parameter.
76111         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
76112         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
76113         __alloc_dir.
76114         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
76115         from fdopendir if O_CLOEXEC is already set.
76117 2011-03-15  Alan Modra  <amodra@gmail.com>
76119         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
76120         l_tls_firstbyte_offset non-zero.  Save padding offset in
76121         l_tls_firstbyte_offset for later use.
76122         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
76123         freeing static tls block.
76125 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
76127         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
76128         where #ifdef was intended.  The intent is to prevent ARG_MAX from
76129         being defined by the kernel headers.
76131 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
76133         [BZ #12734]
76134         * resolv/resolv.h: Define RES_NOTLDQUERY.
76135         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
76136         no-tld-query and set RES_NOTLDQUERY.
76137         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
76138         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
76139         modern BIND to search name as TLD unless forbidden.
76141 2011-05-07  Petr Baudis  <pasky@suse.cz>
76142             Ulrich Drepper  <drepper@gmail.com>
76144         [BZ #12393]
76145         * elf/dl-load.c (fillin_rpath): Move trusted path check...
76146         (is_trusted_path): ...to here.
76147         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
76148         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
76149         using is_trusted_path_normalize() in setuid scripts.
76151 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
76153         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
76154         __BEGIN/__END_DECLS.
76156 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
76158         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
76159         NSS_STATUS_NOTFOUND if no record was found.
76161 2011-05-05  Andreas Schwab  <schwab@redhat.com>
76163         * sunrpc/Makefile (headers): Add rpc/netdb.h.
76164         (headers-not-in-tirpc): Remove rpc/netdb.h
76165         * resolv/netdb.h: Revert last change.
76167 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
76169         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
76170         circular dependency between libgcc.a and libc.a.
76172 2011-05-05  Andreas Schwab  <schwab@redhat.com>
76174         * resolv/netdb.h: Don't include <rpc/netdb.h>.
76175         * nis/Makefile: Don't install rpcsvc/*.
76176         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
76177         instead of <rpc/types.h>.
76178         (MAXHOSTNAMELEN): Define.
76180 2011-05-03  Andreas Schwab  <schwab@redhat.com>
76182         * elf/ldconfig.c (add_dir): Don't crash on empty path.
76184 2011-04-28  Maciej Babinski  <mbabinski@google.com>
76186         [BZ #12714]
76187         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
76188         gethostbyname4_r when IPv6 results are possible.
76190 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
76192         [BZ #12723]
76193         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
76194         _PC_PIPE_BUF handling.
76196 2011-04-30  Bruno Haible  <bruno@clisp.org>
76198         [BZ #12717]
76199         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
76200         * resolv/netdb.h (getnameinfo): Change type of flags parameter
76201         to 'int'.
76202         * inet/getnameinfo.c (getnameinfo): Likewise.
76204 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
76206         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
76207         to groups setting in database lookup.
76208         * nss/nsswitch.conf: Add initgroups entry.
76210 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
76212         [BZ #12685]
76213         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
76214         mode string.
76215         Patch by Eric Blake <eblake@redhat.com>.
76217 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
76219         * sunrpc/Makefile (need-export-routines): Add svc_run.
76220         (routines): Remove svc_run.
76221         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
76222         * sunrpc/clnt_perr.c (clnt_perrno): Export.
76223         * sunrpc/svc_run.c (svc_run): Likewise.
76224         * sunrpc/svc_udp.c (svcudp_create): Likewise.
76226 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
76228         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
76229         problem in reallocation in last patch.
76231 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
76233         * sunrpc/Makefile: Move inclusion of Rules.
76235 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
76237         * nss/nss_files/files-initgroups.c: New file.
76238         * nss/Makefile (libnss_files-routines): Add files-initgroups.
76239         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
76240         _nss_files_initgroups_dyn.
76242 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
76244         * elf/elf.h (R_ARM_IRELATIVE): Define.
76246 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
76248         * po/ru.po: Update from translation team.
76250 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
76252         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
76253         dependencies.
76255 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
76257         [BZ #12653]
76258         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
76259         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
76260         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
76261         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
76262         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
76264 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
76266         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
76267         differing bytes.
76268         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
76269         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
76270         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
76272 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
76274         [BZ #12420]
76275         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
76276         storing it.
76277         * stdlib/bug-getcontext.c: New file.
76278         * stdlib/Makefile: Add rules to build and run bug-getcontext.
76280 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
76282         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
76283         instructions into .machine "z9-109".
76284         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
76285         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
76287 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
76289         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
76290         between environment variables and auxiliary vector.
76292 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
76294         * Makefile: Add rules to build linkobj/libc.so.
76295         * include/libc-symbols.h: Define libc_hidden_nolink.
76296         * include/rpc/auth.h: Mark functions which are to be hidden.
76297         * include/rpc/auth_des.h: Likewise.
76298         * include/rpc/auth_unix.h: Likewise.
76299         * include/rpc/clnt.h: Likewise.
76300         * include/rpc/des_crypt.h: Likewise.
76301         * include/rpc/key_prot.h: Likewise.
76302         * include/rpc/pmap_clnt.h: Likewise.
76303         * include/rpc/pmap_prot.h: Likewise.
76304         * include/rpc/pmap_rmt.h: Likewise.
76305         * include/rpc/rpc_msg.h: Likewise.
76306         * include/rpc/svc.h: Likewise.
76307         * include/rpc/svc_auth.h: Likewise.
76308         * include/rpc/xdr.h: Likewise.
76309         * nis/Makefile: Link all DSOs against linkobj/libc.so.
76310         * nss/Makefile: Likewise.
76311         * sunrpc/Makefile: Don't install headers.  Build library with normal
76312         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
76313         * sunrpc/auth_des.c: Hide exported symbols by default, export some
76314         for the compat linking library.  Remove use of INTDEF/INTUSE.
76315         * sunrpc/auth_none.c: Likewise.
76316         * sunrpc/auth_unix.c: Likewise.
76317         * sunrpc/authdes_prot.c: Likewise.
76318         * sunrpc/authuxprot.c: Likewise.
76319         * sunrpc/clnt_gen.c: Likewise.
76320         * sunrpc/clnt_perr.c: Likewise.
76321         * sunrpc/clnt_raw.c: Likewise.
76322         * sunrpc/clnt_simp.c: Likewise.
76323         * sunrpc/clnt_tcp.c: Likewise.
76324         * sunrpc/clnt_udp.c: Likewise.
76325         * sunrpc/clnt_unix.c: Likewise.
76326         * sunrpc/des_crypt.c: Likewise.
76327         * sunrpc/des_soft.c: Likewise.
76328         * sunrpc/get_myaddr.c: Likewise.
76329         * sunrpc/key_call.c: Likewise.
76330         * sunrpc/key_prot.c: Likewise.
76331         * sunrpc/netname.c: Likewise.
76332         * sunrpc/pm_getmaps.c: Likewise.
76333         * sunrpc/pm_getport.c: Likewise.
76334         * sunrpc/pmap_clnt.c: Likewise.
76335         * sunrpc/pmap_prot.c: Likewise.
76336         * sunrpc/pmap_prot2.c: Likewise.
76337         * sunrpc/pmap_rmt.c: Likewise.
76338         * sunrpc/publickey.c: Likewise.
76339         * sunrpc/rpc_cmsg.c: Likewise.
76340         * sunrpc/rpc_common.c: Likewise.
76341         * sunrpc/rpc_dtable.c: Likewise.
76342         * sunrpc/rpc_prot.c: Likewise.
76343         * sunrpc/rpc_thread.c: Likewise.
76344         * sunrpc/rtime.c: Likewise.
76345         * sunrpc/svc.c: Likewise.
76346         * sunrpc/svc_auth.c: Likewise.
76347         * sunrpc/svc_authux.c: Likewise.
76348         * sunrpc/svc_raw.c: Likewise.
76349         * sunrpc/svc_run.c: Likewise.
76350         * sunrpc/svc_simple.c: Likewise.
76351         * sunrpc/svc_tcp.c: Likewise.
76352         * sunrpc/svc_udp.c: Likewise.
76353         * sunrpc/svc_unix.c: Likewise.
76354         * sunrpc/svcauth_des.c: Likewise.
76355         * sunrpc/xcrypt.c: Likewise.
76356         * sunrpc/xdr.c: Likewise.
76357         * sunrpc/xdr_array.c: Likewise.
76358         * sunrpc/xdr_float.c: Likewise.
76359         * sunrpc/xdr_intXX_t.c: Likewise.
76360         * sunrpc/xdr_mem.c: Likewise.
76361         * sunrpc/xdr_rec.c: Likewise.
76362         * sunrpc/xdr_ref.c: Likewise.
76363         * sunrpc/xdr_sizeof.c: Likewise.
76364         * sunrpc/xdr_stdio.c: Likewise.
76366 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
76368         [BZ #12650]
76369         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
76370         * sysdeps/ia64/dl-tls.h: Likewise.
76371         * sysdeps/powerpc/dl-tls.h: Likewise.
76372         * sysdeps/s390/dl-tls.h: Likewise.
76373         * sysdeps/sh/dl-tls.h: Likewise.
76374         * sysdeps/sparc/dl-tls.h: Likewise.
76375         * sysdeps/x86_64/dl-tls.h: Likewise.
76376         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
76378 2011-03-14  Andreas Schwab  <schwab@redhat.com>
76380         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
76381         rpath element also skip the following colon.
76382         (expand_dynamic_string_token): Add is_path parameter and pass
76383         down to DL_DST_REQUIRED and _dl_dst_substitute.
76384         (decompose_rpath): Call expand_dynamic_string_token with
76385         non-zero is_path.  Ignore empty rpaths.
76386         (_dl_map_object_from_fd): Call expand_dynamic_string_token
76387         with zero is_path.
76389 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
76391         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
76392         Make cancelable.
76394 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
76396         [BZ #12655]
76397         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
76398         Patch by Filipe David Manana <fdmanana@apache.org>.
76400 2011-04-07  Andreas Schwab  <schwab@redhat.com>
76402         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
76403         Maintain aligned stack.
76404         (CHECK_RSP): Remove unused macro.
76406 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
76408         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
76409         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
76411 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
76413         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
76415         * include/features.h: Mention __USE_XOPEN2K8 in comment.
76417 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
76419         [BZ #12518]
76420         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
76421         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
76422         * sysdeps/x86_64/memmove.c: New file.
76423         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
76424         (memcpy): Renamed to ...
76425         (__new_memcpy): This.
76426         (memcpy): Provide GLIBC_2_14 memcpy.
76427         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
76428         (memcpy): Provide GLIBC_2_2_5 memcpy.
76430 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
76432         [BZ #12631]
76433         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
76435 2011-03-30  Andreas Schwab  <schwab@redhat.com>
76437         * misc/syncfs.c: New file.
76438         * misc/Makefile (routines): Add syncfs.
76439         * posix/unistd.h: Declare syncfs.
76440         * sysdeps/unix/syscalls.list: Add syncfs.
76442 2011-04-01  Andreas Schwab  <schwab@redhat.com>
76444         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
76445         open_by_handle_at.
76446         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
76447         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
76448         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
76449         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
76450         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
76451         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
76452         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
76454 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
76456         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
76457         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
76458         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
76459         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
76460         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
76461         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
76462         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
76464         * io/Makefile: Compile fallocate.c, fallocate64.c, and
76465         sync_file_range.c with -fexceptions.
76466         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
76467         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
76468         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
76469         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
76470         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
76471         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
76472         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
76473         sync_file_range as cancellation point
76474         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
76475         now a wrapper around __call_sync_file_range with cancellation handling.
76476         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
76477         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
76478         function name to __call_sync_file_range.
76479         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
76480         Add call_sync_file_range.
76482 2011-04-01  Andreas Schwab  <schwab@redhat.com>
76484         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
76485         bits/timex.h.
76487 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
76489         * iconv/iconv.h: Fix typo in comment.
76490         * io/fcntl.h: Likewise.
76491         * libio/stdio.h: Likewise.
76492         * posix/spawn.h: Likewise.
76493         * posix/unistd.h: Likewise.
76494         * stdlib/stdlib.h: Likewise.
76495         * time/time.h: Likewise.
76496         * wcsmbs/wchar.h: Likewise.
76498         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
76499         open_by_handle): Add.
76500         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
76501         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
76502         Augment a few comments.
76503         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
76504         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
76505         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
76506         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
76507         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
76508         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
76509         open_by_handle.
76511         * io/fcntl.h (AT_EMPTY_PATH): Define.
76513 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
76515         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
76516         * sysdeps/unix/sysv/linux/bits/time.h: New file.
76517         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
76518         to...
76519         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
76520         * Versions.def: Add GLIBC_2.14.
76521         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
76522         Export.
76524 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
76526         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
76527         round counter.
76528         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
76530 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
76532         [BZ #12597]
76533         * string/test-strncmp.c (do_page_test): New function.
76534         (check2): Likewise.
76535         (test_main): Call check2.
76536         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
76538 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
76540         [BZ #12587]
76541         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
76542         Handle cache information in CPU leaf 4.
76543         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
76545 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
76547         [BZ #12583]
76548         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
76549         character representation.
76550         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
76552 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
76554         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
76555         END(__isnan) to END(__isnanf) to match function entry point/label
76556         EALIGN(__isnanf,...).
76558 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
76560         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
76562 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
76564         [BZ #12510]
76565         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
76566         copy from the symbol referenced in the relocation to initialize the
76567         used variable.
76568         Patch by Piotr Bury <pbury@goahead.com>.
76569         * elf/Makefile: Add rules to build and tst-unique3.
76570         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
76571         * elf/tst-unique3.cc: New file.
76572         * elf/tst-unique3.h: New file.
76573         * elf/tst-unique3lib.cc: New file.
76574         * elf/tst-unique3lib2.cc: New file.
76576         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
76578 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
76580         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
76581         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
76582         to _start.
76584 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
76586         * elf/dl-load.c (_dl_map_object): If we are looking for the first
76587         to-be-loaded object along a path to loader is ld.so.
76589 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
76590             Ulrich Drepper  <drepper@gmail.com>
76592         * sysdeps/x86_64/memset.S: After aligning destination, code
76593         branches to different locations depending on the value of
76594         misalignment, when multiarch is enabled. Fix this.
76596 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
76598         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
76599         Set _x86_64_preferred_memory_instruction for AMD processsors.
76600         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
76601         Set bit_Prefer_SSE_for_memop for AMD processors.
76603 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
76605         * libio/fmemopen.c (fmemopen): Optimize a bit.
76607 2011-03-03  Andreas Schwab  <schwab@redhat.com>
76609         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
76611 2011-03-03  Roland McGrath  <roland@redhat.com>
76613         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
76615 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
76617         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
76618         __bzero_ultra1 instead of __memset_ultra1.
76620 2011-02-23  Andreas Schwab  <schwab@redhat.com>
76621             Ulrich Drepper  <drepper@gmail.com>
76623         [BZ #12509]
76624         * include/link.h (struct link_map): Add l_orig_initfini.
76625         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
76626         returning unsuccessfully.
76627         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
76628         close of a file loaded at startup, restore the original l_initfini
76629         list.
76630         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
76631         list, store the pointer.
76632         * elf/Makefile ($(objpfx)noload-mem): New rule.
76633         (noload-ENV): Define.
76634         (tests): Add $(objpfx)noload-mem.
76635         * elf/noload.c: Include <memcheck.h>.
76636         (main): Call mtrace.  Close all opened handles.
76638 2011-02-17  Andreas Schwab  <schwab@redhat.com>
76640         [BZ #12454]
76641         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
76642         dependencies are missing.
76644 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
76646         Fix __if_freereq crash: Unlike the generic version which uses free,
76647         Hurd needs munmap.
76648         * sysdeps/mach/hurd/ifreq.h: New file.
76650 2011-01-27  Petr Baudis  <pasky@suse.cz>
76651             Ulrich Drepper  <drepper@gmail.com>
76653         [BZ 12445]#
76654         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
76655         to extend_alloca().
76656         * stdio-common/bug23.c: New file.
76657         * stdio-common/Makefile (tests): Add bug23.
76659 2010-09-28  Andreas Schwab  <schwab@redhat.com>
76660             Ulrich Drepper  <drepper@gmail.com>
76662         [BZ #12489]
76663         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
76664         before performing relro protection.  At old place add assertion
76665         to make sure nothing changed.
76667 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
76668             Glauber de Oliveira Costa  <glommer@gmail.com>
76670         * elf/elf.h: Add new ARM TLS relocs.
76672 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
76674         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
76675         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
76676         cast from r3.
76677         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
76678         'tests' variable.
76679         * sysdeps/wordsize-64/tst-writev.c: New file.
76681 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
76683         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
76684         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
76685         insns in _dl_start to prevent a TOC reference before relocs are
76686         resolved.
76688 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
76690         [BZ #12469]
76691         * Makeconfig: Remove RANLIB definition.
76692         * Makerules: Don't use RANLIB.
76693         * aclocal.m4: Remove ranlib test.
76694         * configure.in: No need to check for ranlib.
76695         * elf/rtld-Rules: Don't use RANLIB.
76697 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
76699         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
76700         protection macro.
76701         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
76702         inclusion protection macro.
76704         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
76705         SIGRTMIN and SIGRTMAX and print information in that case only when
76706         SIGRTMIN is defined.
76708 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
76710         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
76711         arginfo fn returning -1.
76713         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
76714         and thousands string is zero terminated.
76716 2011-02-03  Andreas Schwab  <schwab@redhat.com>
76718         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
76719         sysdeps/unix/sysv/linux/bits/socket.h.
76721 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
76723         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
76724         (__CPU_COUNT): Remove old macros.
76725         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
76726         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
76727         (__CPU_ALLOC, __CPU_FREE): Add macros.
76728         (__sched_cpualloc, __sched_cpufree): Add declarations.
76730 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
76732         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
76733         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
76734         * nscd/aicache.c (addhstaiX): Return timeout of added value.
76735         (readdhstai): Return value of addhstaiX call.
76736         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
76737         (addgrbyX): Return value returned by cache_addgr.
76738         (readdgrbyname): Return value returned by addgrbyX.
76739         (readdgrbygid): Likewise.
76740         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
76741         (addpwbyX): Return value returned by cache_addpw.
76742         (readdpwbyname): Return value returned by addhstbyX.
76743         (readdpwbyuid): Likewise.
76744         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
76745         (addservbyX): Return value returned by cache_addserv.
76746         (readdservbyname): Return value returned by addservbyX:
76747         (readdservbyport): Likewise.
76748         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
76749         (addhstbyX): Return value returned by cache_addhst.
76750         (readdhstbyname): Return value returned by addhstbyX.
76751         (readdhstbyaddr): Likewise.
76752         (readdhstbynamev6): Likewise.
76753         (readdhstbyaddrv6): Likewise.
76754         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
76755         (readdinitgroups): Return value returned by addinitgroupsX.
76756         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
76757         (prune_cache): Keep track of timeout value of re-added entries.
76758         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
76759         * nscd/nscd.h: Adjust prototypes of readd* functions.
76761 2011-02-04  Roland McGrath  <roland@redhat.com>
76763         * nis/nis_server.c (nis_servstate): Use the right name for 0.
76764         (nis_stats): Likewise.
76765         * nis/nis_modify.c (nis_modify): Likewise.
76766         * nis/nis_remove.c (nis_remove): Likewise.
76767         * nis/nis_add.c (nis_add): Likewise.
76769         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
76771         * posix/fnmatch_loop.c: Add some consts.
76773         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
76775 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
76777         [BZ #12460]
76778         * config.make.in (config-cflags-novzeroupper): Define.
76779         * configure.in: Substitute libc_cv_cc_novzeroupper.
76780         * elf/Makefile (AVX-CFLAGS): Define.
76781         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
76782         (CFLAGS-tst-auditmod4a.c): Likewise.
76783         (CFLAGS-tst-auditmod4b.c): Likewise.
76784         (CFLAGS-tst-auditmod6b.c): Likewise.
76785         (CFLAGS-tst-auditmod6c.c): Likewise.
76786         (CFLAGS-tst-auditmod7b.c): Likewise.
76787         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
76789 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
76791         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
76792         function to the callback.
76793         Patch partly by Jiri Olsa <jolsa@redhat.com>.
76795 2011-02-02  Andreas Schwab  <schwab@redhat.com>
76797         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
76798         of errno.
76800 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
76802         [BZ #11724]
76803         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
76804         of constructors.
76805         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
76806         of destructors.
76807         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
76809         [BZ #11724]
76810         * elf/Makefile: Add rules to build and run new test.
76811         * elf/tst-initorder.c: New file.
76812         * elf/tst-initorder.exp: New file.
76813         * elf/tst-initordera1.c: New file.
76814         * elf/tst-initordera2.c: New file.
76815         * elf/tst-initordera3.c: New file.
76816         * elf/tst-initordera4.c: New file.
76817         * elf/tst-initorderb1.c: New file.
76818         * elf/tst-initorderb2.c: New file.
76819         * elf/tst-order-a1.c: New file.
76820         * elf/tst-order-a2.c: New file.
76821         * elf/tst-order-a3.c: New file.
76822         * elf/tst-order-a4.c: New file.
76823         * elf/tst-order-b1.c: New file.
76824         * elf/tst-order-b2.c: New file.
76825         * elf/tst-order-main.c: New file.
76826         New test case by George Gensure <werkt0@gmail.com>.
76828 2010-10-01  Andreas Schwab  <schwab@redhat.com>
76830         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
76831         decoding ACE if AI_CANONIDN.
76833 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
76835         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
76837 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
76839         * version.h (RELEASE): Bump for 2.13 release.
76840         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
76842         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
76844         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
76845         MADV_NOHUGEPAGE.
76846         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
76847         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
76848         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
76849         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
76850         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
76851         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
76853         * posix/getconf.c: Update copyright year.
76854         * catgets/gencat.c: Likewise.
76855         * csu/version.c: Likewise.
76856         * debug/catchsegv.sh: Likewise.
76857         * debug/xtrace.sh: Likewise.
76858         * elf/ldconfig.c: Likewise.
76859         * elf/ldd.bash.in: Likewise.
76860         * elf/sprof.c (print_version): Likewise.
76861         * iconv/iconv_prog.c: Likewise.
76862         * iconv/iconvconfig.c: Likewise.
76863         * locale/programs/locale.c: Likewise.
76864         * locale/programs/localedef.c: Likewise.
76865         * malloc/memusage.sh: Likewise.
76866         * malloc/mtrace.pl: Likewise.
76867         * nscd/nscd.c (print_version): Likewise.
76868         * nss/getent.c: Likewise.
76870         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
76871         PF_CAIF, and PF_ALG.
76872         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
76874 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
76876         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
76877         (modules-names): Use them.
76878         (ifunc-test-modules, ifunc-pie-tests): Define.
76879         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
76880         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
76881         (test-extras): Likewise.
76882         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
76883         $(compile-command.c).
76884         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
76885         (all-built-dso): Define.
76886         (check-textrel.out, check-execstack.out): Depend on it.
76888         * configure.in: Don't override --enable-multi-arch.
76890 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
76892         [BZ #6812]
76893         * nscd/hstcache.c (tryagain): Define.
76894         (cache_addhst): Return tryagain not notfound for temporary errors.
76895         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
76896         failed.
76898 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
76900         [BZ #10563]
76901         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
76902         to make the syscall.
76903         * sysdeps/unix/sysv/linux/setgroups.c: New file.
76905         [BZ #12378]
76906         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
76907         and fall back to matching as normal character if the string ends before
76908         the matching ']' is found.  This is what POSIX requires.
76909         * posix/testfnm.c: Adjust test result.
76910         * posix/globtest.sh: Adjust test result.  Add new test.
76911         * posix/tst-fnmatch.input: Likewise.
76912         * posix/tst-fnmatch2.c: Add new test.
76914 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
76916         * elf/Makefile (check-execstack): Revert last change.  Depend on
76917         check-execstack.h.
76918         (check-execstack.h): New target.
76919         (generated): Add check-execstack.h.
76920         * elf/check-execstack.c: Include "check-execstack.h".
76921         (main): Revert last change.
76922         (handle_file): Return zero if GNU_STACK is absent and
76923         DEFAULT_STACK_PERMS doesn't include PF_X.
76925 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
76927         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
76928         in child fails because the descriptor is already closed.
76929         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
76930         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
76931         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
76933         [BZ #12397]
76934         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
76935         syscall.
76937         [BZ #10484]
76938         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
76939         temporary buffer used to handle multi lookups locally.
76940         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
76942 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
76944         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
76945         loader is ld.so.
76947 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
76949         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
76950         alignment for SSE2.
76952 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
76954         [BZ #12394]
76955         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
76956         characters.  When rounding increased number of integer digits recompute
76957         number of groups.
76958         * stdio-common/tst-grouping.c: New file.
76959         * stdio-common/Makefile: Add rules to build and run tst-grouping.
76961 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
76963         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
76964         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
76966         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
76967         void.
76968         * bits/select.h: Likewise.
76970 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
76972         * po/ja.po: Update from translation team.
76974 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
76976         [BZ #11155]
76977         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
76978         implementation just like for lxstat, fxstatat, et al.
76980 2010-12-27  Jim Meyering  <meyering@redhat.com>
76982         [BZ #12348]
76983         * posix/regexec.c (build_trtable): Return failure indication upon
76984         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
76986 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
76988         [BZ #12201]
76989         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
76990         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
76991         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
76992         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
76994         [BZ #12207]
76995         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
76997         [BZ #12204]
76998         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
76999         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
77001 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
77003         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
77004         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
77005         script has SORT_BY_INIT_PRIORITY.
77006         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
77007         NO_CTORS_DTORS_SECTIONS is defined.
77008         * elf/soinit.c: Likewise.
77009         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
77010         NO_CTORS_DTORS_SECTIONS is defined.
77011         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
77012         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
77013         * sysdeps/sh/init-first.c: Likewise.
77014         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
77016 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
77018         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
77019         always use the slow path.
77021 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
77023         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
77024         similar rule which adds the sysdep directories to the header search in
77025         order to pick up the correct platform stackinfo.h.
77026         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
77027         perform test if it is, otherwise return successfully without testing.
77028         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
77029         DEFAULT_STACK_PERMS define in stackinfo.h.
77030         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
77031         defined in stackinfo.h.
77032         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
77033         DEFAULT_STACK_PERMS defined in stackinfo.h.
77034         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
77035         * sysdeps/ia64/stackinfo.h: Likewise.
77036         * sysdeps/s390/stackinfo.h: Likewise.
77037         * sysdeps/sh/stackinfo.h: Likewise.
77038         * sysdeps/sparc/stackinfo.h: Likewise.
77039         * sysdeps/x86_64/stackinfo.h: Likewise.
77040         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
77041         PF_X for powerpc64.  Retain PF_X for powerpc32.
77043 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
77045         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
77046         accurately.
77047         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
77048         GETDENTS_64BIT_ALIGNED.
77050 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
77052         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
77054 2010-12-10  Andreas Schwab  <schwab@redhat.com>
77056         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
77057         _GNU_SOURCE.
77059         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
77060         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
77061         Remove __restrict.
77062         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
77063         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
77065 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
77067         [BZ #11655]
77068         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
77069         are initialized.
77071 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
77073         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
77075 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
77077         * po/it.po: Update from translation team.
77079 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
77081         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
77082         unused codes.
77084 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
77086         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
77088 2010-11-24  Andreas Schwab  <schwab@redhat.com>
77090         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
77091         specially.
77092         (gaih_getanswer_slice): Likewise.
77094 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
77096         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
77098 2010-05-31  Petr Baudis  <pasky@suse.cz>
77100         [BZ #11149]
77101         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
77102         silently even in the chroot mode.
77104 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
77106         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
77107         last patch a bit.  Pretty printing
77109 2010-05-31  Petr Baudis <pasky@suse.cz>
77111         [BZ #10085]
77112         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
77113         initialization of skip_initgroups_dyn.
77115 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
77117         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
77118         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
77120 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
77122         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
77124 2010-11-11  Andreas Schwab  <schwab@redhat.com>
77126         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
77127         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
77128         (tst-fnmatch-ENV): Set MALLOC_TRACE.
77129         ($(objpfx)tst-fnmatch-mem): New rule.
77130         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
77131         * posix/tst-fnmatch.c (main): Call mtrace.
77133 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
77135         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
77136         Support Intel processor model 6 and model 0x2c.
77138 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
77140         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
77141           signed comparison.
77143 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
77145         [BZ #12205]
77146         * string/test-strncasecmp.c (check_result): New function.
77147         (do_one_test): Use it.
77148         (check1): New function.
77149         (test_main): Use it.
77150         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
77151         Support strcasecmp and strncasecmp.
77153 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
77155         [BZ #12194]
77156         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
77157         * sysdeps/x86_64/bits/byteswap.h: Likewise.
77159 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
77161         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
77162         IFUNC support.
77163         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
77164         memset-x86-64.
77165         * sysdeps/x86_64/multiarch/bzero.S: New file.
77166         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
77167         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
77168         * sysdeps/x86_64/multiarch/memset.S: New file.
77169         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
77170         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
77171         Set bit_Prefer_SSE_for_memop for Intel processors.
77172         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
77173         Define.
77174         (index_Prefer_SSE_for_memop): Define.
77175         (HAS_PREFER_SSE_FOR_MEMOP): Define.
77177 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
77179         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
77180         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
77182 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
77184         [BZ #12191]
77185         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
77186         (__x86_64_raw_data_cache_size_half): Likewise.
77187         (__x86_64_raw_shared_cache_size): Likewise.
77188         (__x86_64_raw_shared_cache_size_half): Likewise.
77190         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
77191         (__x86_64_raw_data_cache_size_half): Likewise.
77192         (__x86_64_raw_shared_cache_size): Likewise.
77193         (__x86_64_raw_shared_cache_size_half): Likewise.
77194         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
77195         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
77196         and __x86_64_raw_shared_cache_size_half.  Round
77197         __x86_64_data_cache_size_half, __x86_64_data_cache_size
77198         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
77199         to multiple of 256 bytes.
77201 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
77203         [BZ #12167]
77204         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
77205         of inacessible symlinks.  Verify result of symlink before returning it.
77206         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
77207         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
77209 2010-10-28  Erich Ritz  <erichritz@gmail.com>
77211         * math/math.h (isinf): Fix typo in comment.
77213 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
77215         * po/da.po: Update from translation team.
77217 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
77219         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
77220         is added to the list.
77222 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
77223             Ulrich Drepper  <drepper@gmail.com>
77225         * elf/dl-object.c (_dl_new_object): Don't append the new object to
77226         the global list here.  Move code to...
77227         (_dl_add_to_namespace_list): ...here.  New function.
77228         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
77229         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
77230         * elf/dl-load.c (lose): Don't remove the element from the list.
77231         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
77232         (_dl_map_object): Likewise.
77234 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
77236         [BZ #12159]
77237         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
77238         into all bytes of SSE register.
77239         Patch by Richard Li <richardpku@gmail.com>.
77241 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
77243         [BZ #12140]
77244         * malloc/malloc.c (_int_free): Fill correct number of bytes when
77245         perturbing.
77247 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
77249         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
77250         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
77251         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
77252         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
77253         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
77254         submachine.
77255         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
77257 2010-10-22  Andreas Schwab  <schwab@redhat.com>
77259         * include/dlfcn.h (__RTLD_SECURE): Define.
77260         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
77261         mode & __RTLD_SECURE instead.
77262         (open_path): Rename preloaded parameter to secure.
77263         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
77264         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
77265         * elf/dl-deps.c (openaux): Likewise.
77266         * elf/rtld.c (struct map_args): Remove is_preloaded.
77267         (map_doit): Don't use it.
77268         (dl_main): Likewise.
77269         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
77270         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
77272 2010-09-09  Andreas Schwab  <schwab@redhat.com>
77274         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
77275         (sysd-rules-targets): Remove duplicates.
77276         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
77277         rtld-%.$o dependency.
77279 2010-10-18  Andreas Schwab  <schwab@redhat.com>
77281         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
77282         _dl_map_object do it.
77284 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
77286         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
77287         fast fma builtins, define the macros in the C99 standard.
77288         (FP_FAST_FMAF): Likewise.
77289         (FP_FAST_FMAL): Likewise.
77290         * sysdeps/x86_64/bits/mathdef.h: Likewise.
77292         * bits/mathdef.h: Update copyright year.
77293         * sysdeps/powerpc/bits/mathdef.h: Likewise.
77295 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
77297         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
77298         builtins, define the macros in the C99 standard.
77299         (FP_FAST_FMAF): Likewise.
77300         (FP_FAST_FMAL): Likewise.
77301         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
77302         multiply/add.
77303         (FP_FAST_FMAF): Likewise.
77305 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
77307         [BZ #3268]
77308         * math/libm-test.inc (fma_test): Some new testcases.
77309         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
77310         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
77311         y and infinite z.  Do multiplication by C already in long double.
77312         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
77313         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
77314         y and infinite z.  Do bitwise or of inexact bit into u.d.
77315         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
77316         * sysdeps/i386/fpu/s_fmaf.S: Removed.
77317         * sysdeps/i386/fpu/s_fma.S: Removed.
77318         * sysdeps/i386/fpu/s_fmal.S: Removed.
77320 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
77322         [BZ #3268]
77323         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
77324         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
77325         computation is not scheduled after fetestexcept.  Fix value
77326         of minimum denormal long double.
77328 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
77330         [BZ #3268]
77331         * math/libm-test.inc (fma_test): Add some more tests.
77332         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
77333         correctly.
77335 2010-10-15  Andreas Schwab  <schwab@redhat.com>
77337         * scripts/data/localplt-s390-linux-gnu.data: New file.
77338         * scripts/data/localplt-s390x-linux-gnu.data: New file.
77340 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
77342         [BZ #3268]
77343         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
77344         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
77345         instead of dbl-64.
77346         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
77347         inlines.
77348         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
77349         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
77350         if one of x and y is very large and the other is subnormal.
77351         * sysdeps/s390/fpu/s_fmaf.c: New file.
77352         * sysdeps/s390/fpu/s_fma.c: New file.
77353         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
77354         * sysdeps/powerpc/fpu/s_fma.S: New file.
77355         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
77356         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
77357         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
77359 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
77361         [BZ #3268]
77362         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
77363         fma tests.
77364         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
77365         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
77366         * sysdeps/i386/i686/multiarch/s_fma.c: Include
77367         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
77368         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
77369         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
77370         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
77372 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
77374         [BZ #12078]
77375         * posix/regcomp.c (parse_branch): One more memory leak plugged.
77376         * posix/bug-regex31.input: Add test case.
77378 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
77380         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
77381         * posix/bug-regex31.input: New file.
77383         [BZ #12078]
77384         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
77385         (parse_sub_exp): Fix last change, use postorder.
77387         * posix/bug-regex31.c: New file.
77388         * posix/Makefile: Add rules to build and run bug-regex31.
77390         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
77392         [BZ #12078]
77393         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
77395         [BZ #12108]
77396         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
77397         to have entries in sys_siglist.
77399         [BZ #12093]
77400         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
77401         be NULL.
77403 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
77405         [BZ #3268]
77406         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
77407         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
77408         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
77409         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
77410         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
77411         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
77412         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
77413         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
77414         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
77415         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
77416         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
77417         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
77418         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
77419         * math/ftestexcept.c (fetestexcept): Likewise.
77420         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
77421         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
77422         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
77423         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
77424         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
77425         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
77426         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
77428 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
77430         [BZ #12107]
77431         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
77432         newline.
77434 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
77436         * string/bug-strstr1.c: New file.
77437         * string/Makefile: Add rules to build and run bug-strstr1.
77439 2010-10-05  Eric Blake  <eblake@redhat.com>
77441         [BZ #12092]
77442         * string/str-two-way.h (two_way_long_needle): Always clear memory
77443         when skipping input due to the shift table.
77445 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
77447         [BZ #12005]
77448         * malloc/mcheck.c: Handle large requests.
77450         [BZ #12077]
77451         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
77452         for strncmp and strncasecmp.
77453         * string/stratcliff.c: Add tests for strcmp and strncmp.
77454         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
77456 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
77458         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
77459         __set_fpscr.
77461 2010-09-30  Andreas Jaeger  <aj@suse.de>
77463         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
77464         (CGROUP_SUPER_MAGIC): Define.
77465         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
77466         Handle btrfs and cgroup file systems.
77467         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
77468         Likewise.
77470 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
77472         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
77473         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
77475 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
77477         [BZ #12067]
77478         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
77479         trying to locate the ELF header.
77481 2010-09-27  Andreas Schwab  <schwab@redhat.com>
77483         [BZ #11611]
77484         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
77485         Mask out sign-bit copies when constructing f_fsid.
77487 2010-09-24  Petr Baudis <pasky@suse.cz>
77489         * debug/stack_chk_fail_local.c: Add missing licence exception.
77490         * debug/warning-nop.c: Likewise.
77492 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
77494         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
77495         implementing getdents64 using getdents syscall, set d_type if
77496         __ASSUME_GETDENTS32_D_TYPE.
77498 2010-09-16  Andreas Schwab  <schwab@redhat.com>
77500         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
77501         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
77503 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
77505         [BZ #12037]
77506         * posix/unistd.h: Undo change of feature selection for ftruncate from
77507         2010-01-11.
77509 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
77511         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
77512         detection.
77514 2010-09-20  Andreas Schwab  <schwab@redhat.com>
77516         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
77517         fanotify_mark.
77518         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
77520 2010-09-14  Andreas Schwab  <schwab@redhat.com>
77522         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
77523         variables after CHECK_SP call.
77524         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
77526 2010-09-13  Andreas Schwab  <schwab@redhat.com>
77527             Ulrich Drepper  <drepper@redhat.com>
77529         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
77530         re-relocationg ld.so.
77531         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
77532         _dl_init_paths call.
77533         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
77534         here anymore.
77536 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
77538         * resolv/res_init.c (__res_vinit): Count the default server we added.
77540 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
77541             Ulrich Drepper  <drepper@redhat.com>
77543         [BZ #11968]
77544         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
77545         (____longjmp_chk): Use %ebx for saving value across system call.
77546         Add unwind info.
77548 2010-09-06  Andreas Schwab  <schwab@redhat.com>
77550         * manual/Makefile: Don't mix pattern rules with normal rules.
77552 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
77554         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
77555         operation.
77556         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
77557         * libio/iofopncook.c (_IO_cookie_init): Likewise.
77558         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
77559         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
77560         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
77561         Likewise.
77563 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
77565         [BZ #11979]
77566         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
77567         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
77569 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
77571         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
77572         * sysdeps/x86_64/addmul_1.S: Likewise.
77573         * sysdeps/x86_64/lshift.S: Likewise.
77574         * sysdeps/x86_64/mul_1.S: Likewise.
77575         * sysdeps/x86_64/rshift.S: Likewise.
77576         * sysdeps/x86_64/sub_n.S: Likewise.
77577         * sysdeps/x86_64/submul_1.S: Likewise.
77579 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
77581         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
77582         Define __sched_param instead of SCHED_* and sched_param when
77583         <bits/sched.h> is included with __need_schedparam defined.
77584         * bits/sched.h [__need_schedparam]
77585         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
77586         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
77587         (__defined_schedparam): Define to 1.
77588         (__sched_param): New structure, identical to sched_param.
77589         (__need_schedparam): Undefine.
77591 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
77593         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
77594         (epoll_create1): Declare.
77596         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
77598 2010-08-31  Andreas Schwab  <schwab@redhat.com>
77600         [BZ #7066]
77601         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
77602         shifting retval into place.
77604 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
77606         * nis/rpcsvc/nis.h: Update copyright notice.
77607         * nis/rpcsvc/nis.x: Likewise.
77608         * nis/rpcsvc/nis_callback.h: Likewise.
77609         * nis/rpcsvc/nis_callback.x: Likewise.
77610         * nis/rpcsvc/nis_object.x: Likewise.
77611         * nis/rpcsvc/nis_tags.h: Likewise.
77612         * nis/rpcsvc/yp.h: Likewise.
77613         * nis/rpcsvc/yp.x: Likewise.
77614         * nis/rpcsvc/ypupd.h: Likewise.
77615         * nis/yp_xdr.c: Likewise.
77616         * nis/ypupdate_xdr.c: Likewise.
77618         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
77619         mainly the body of pmap_getport.  Add parameters to specify timeouts.
77620         (pmap_getport): Use __libc_rpc_getport.
77621         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
77622         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
77623         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
77625 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
77627         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
77628         fanotify_mark.
77630 2010-08-27  Roland McGrath  <roland@redhat.com>
77632         * sysdeps/i386/i686/multiarch/Makefile
77633         (CFLAGS-varshift.c): New variable.
77635 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
77637         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
77638         * sysdeps/i386/i686/multiarch/varshift.c: New file.
77640         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
77642         * sysdeps/x86_64/strlen.S: Minimal code improvement.
77644 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
77646         * sysdeps/x86_64/strlen.S: Unroll the loop.
77647         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
77648         strlen-sse2 strlen-sse2-bsf.
77649         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
77650         __strlen_no_bsf if bit_Slow_BSF is set.
77651         (__strlen_sse42): Removed.
77652         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
77653         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
77655 2010-08-25  Roland McGrath  <roland@redhat.com>
77657         * sysdeps/x86_64/multiarch/varshift.S: File removed.
77658         * sysdeps/x86_64/multiarch/varshift.c: New file.
77659         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
77660         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
77661         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
77662         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
77664 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
77666         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
77667         strlen-sse2 strlen-sse2-bsf.
77668         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
77669         __strlen_sse2_bsf if bit_Slow_BSF is unset.
77670         (__strlen_sse2): Removed.
77671         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
77672         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
77673         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
77674         bit_Slow_BSF for Atom.
77675         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
77676         (index_Slow_BSF): Define.
77677         (HAS_SLOW_BSF): Define.
77679 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
77681         [BZ #10851]
77682         * resolv/res_init.c (__res_vinit): When no server address at all
77683         is given default to loopback.
77685 2010-08-24  Roland McGrath  <roland@redhat.com>
77687         * configure.in: Remove config-name.h generation.
77688         * configure: Regenerated.
77689         * config-name.in: File removed.
77690         * scripts/config-uname.sh: New file.
77691         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
77692         ($(objdir)config-name.h): New target.
77694         * sunrpc/rpc_parse.h: Avoid nested comment.
77696 2010-08-24  Richard Henderson  <rth@redhat.com>
77697             Ulrich Drepper  <drepper@redhat.com>
77698             H.J. Lu  <hongjiu.lu@intel.com>
77700         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
77701         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
77702         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
77703         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
77704         _mm_alignr_epi8 with _mm_loadu_si128.
77705         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
77706         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
77707         (__m128i_shift_right): Removed.
77708         * sysdeps/i386/i686/multiarch/varshift.h: New file.
77709         * sysdeps/i386/i686/multiarch/varshift.S: New file.
77710         * sysdeps/x86_64/multiarch/varshift.h: New file.
77711         * sysdeps/x86_64/multiarch/varshift.S: New file.
77713 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
77715         * configure.in: Move assembler checks to before sysdep dir checking.
77717 2010-08-20  Petr Baudis  <pasky@suse.cz>
77719         * LICENSES: Sync the sunrpc license.
77721 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
77723         * sunrpc/auth_des.c: Update copyright notice once again.
77724         * sunrpc/auth_none.c: Likewise.
77725         * sunrpc/auth_unix.c: Likewise.
77726         * sunrpc/authdes_prot.c: Likewise.
77727         * sunrpc/authuxprot.c: Likewise.
77728         * sunrpc/bindrsvprt.c: Likewise.
77729         * sunrpc/clnt_gen.c: Likewise.
77730         * sunrpc/clnt_perr.c: Likewise.
77731         * sunrpc/clnt_raw.c: Likewise.
77732         * sunrpc/clnt_simp.c: Likewise.
77733         * sunrpc/clnt_tcp.c: Likewise.
77734         * sunrpc/clnt_udp.c: Likewise.
77735         * sunrpc/clnt_unix.c: Likewise.
77736         * sunrpc/des_crypt.c: Likewise.
77737         * sunrpc/des_soft.c: Likewise.
77738         * sunrpc/get_myaddr.c: Likewise.
77739         * sunrpc/getrpcport.c: Likewise.
77740         * sunrpc/key_call.c: Likewise.
77741         * sunrpc/key_prot.c: Likewise.
77742         * sunrpc/openchild.c: Likewise.
77743         * sunrpc/pm_getmaps.c: Likewise.
77744         * sunrpc/pm_getport.c: Likewise.
77745         * sunrpc/pmap_clnt.c: Likewise.
77746         * sunrpc/pmap_prot.c: Likewise.
77747         * sunrpc/pmap_prot2.c: Likewise.
77748         * sunrpc/pmap_rmt.c: Likewise.
77749         * sunrpc/rpc/auth.h: Likewise.
77750         * sunrpc/rpc/auth_unix.h: Likewise.
77751         * sunrpc/rpc/clnt.h: Likewise.
77752         * sunrpc/rpc/des_crypt.h: Likewise.
77753         * sunrpc/rpc/key_prot.h: Likewise.
77754         * sunrpc/rpc/netdb.h: Likewise.
77755         * sunrpc/rpc/pmap_clnt.h: Likewise.
77756         * sunrpc/rpc/pmap_prot.h: Likewise.
77757         * sunrpc/rpc/pmap_rmt.h: Likewise.
77758         * sunrpc/rpc/rpc.h: Likewise.
77759         * sunrpc/rpc/rpc_des.h: Likewise.
77760         * sunrpc/rpc/rpc_msg.h: Likewise.
77761         * sunrpc/rpc/svc.h: Likewise.
77762         * sunrpc/rpc/svc_auth.h: Likewise.
77763         * sunrpc/rpc/types.h: Likewise.
77764         * sunrpc/rpc/xdr.h: Likewise.
77765         * sunrpc/rpc_clntout.c: Likewise.
77766         * sunrpc/rpc_cmsg.c: Likewise.
77767         * sunrpc/rpc_common.c: Likewise.
77768         * sunrpc/rpc_cout.c: Likewise.
77769         * sunrpc/rpc_dtable.c: Likewise.
77770         * sunrpc/rpc_hout.c: Likewise.
77771         * sunrpc/rpc_main.c: Likewise.
77772         * sunrpc/rpc_parse.c: Likewise.
77773         * sunrpc/rpc_parse.h: Likewise.
77774         * sunrpc/rpc_prot.c: Likewise.
77775         * sunrpc/rpc_sample.c: Likewise.
77776         * sunrpc/rpc_scan.c: Likewise.
77777         * sunrpc/rpc_scan.h: Likewise.
77778         * sunrpc/rpc_svcout.c: Likewise.
77779         * sunrpc/rpc_tblout.c: Likewise.
77780         * sunrpc/rpc_util.c: Likewise.
77781         * sunrpc/rpc_util.h: Likewise.
77782         * sunrpc/rpcinfo.c: Likewise.
77783         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
77784         * sunrpc/rpcsvc/key_prot.x: Likewise.
77785         * sunrpc/rpcsvc/klm_prot.x: Likewise.
77786         * sunrpc/rpcsvc/mount.x: Likewise.
77787         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
77788         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
77789         * sunrpc/rpcsvc/rex.x: Likewise.
77790         * sunrpc/rpcsvc/rstat.x: Likewise.
77791         * sunrpc/rpcsvc/rusers.x: Likewise.
77792         * sunrpc/rpcsvc/sm_inter.x: Likewise.
77793         * sunrpc/rpcsvc/spray.x: Likewise.
77794         * sunrpc/rpcsvc/yppasswd.x: Likewise.
77795         * sunrpc/rtime.c: Likewise.
77796         * sunrpc/svc.c: Likewise.
77797         * sunrpc/svc_auth.c: Likewise.
77798         * sunrpc/svc_authux.c: Likewise.
77799         * sunrpc/svc_raw.c: Likewise.
77800         * sunrpc/svc_run.c: Likewise.
77801         * sunrpc/svc_simple.c: Likewise.
77802         * sunrpc/svc_tcp.c: Likewise.
77803         * sunrpc/svc_udp.c: Likewise.
77804         * sunrpc/svc_unix.c: Likewise.
77805         * sunrpc/svcauth_des.c: Likewise.
77806         * sunrpc/xcrypt.c: Likewise.
77807         * sunrpc/xdr.c: Likewise.
77808         * sunrpc/xdr_array.c: Likewise.
77809         * sunrpc/xdr_float.c: Likewise.
77810         * sunrpc/xdr_mem.c: Likewise.
77811         * sunrpc/xdr_rec.c: Likewise.
77812         * sunrpc/xdr_ref.c: Likewise.
77813         * sunrpc/xdr_sizeof.c: Likewise.
77814         * sunrpc/xdr_stdio.c: Likewise.
77816         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
77817         handling.
77819 2010-08-19  Andreas Schwab  <schwab@redhat.com>
77821         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
77823 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
77825         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
77826         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
77827         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
77828         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
77829         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
77830         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
77831         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
77832         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
77833         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
77834         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
77835         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
77836         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
77837         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
77838         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
77840 2010-07-26  Anton Blanchard  <anton@samba.org>
77842         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
77843         * malloc/arena.c (heap_trim): Likewise.
77845 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
77847         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
77848         here.  Not...
77849         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
77850         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
77852 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
77854         * sysdeps/i386/elf/Makefile: New file.
77856 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
77858         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
77859         from fanotify_init.
77860         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
77861         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
77863 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
77865         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
77866         of strncasecmp_l.
77867         * sysdeps/multiarch/strcmp.S: Likewise.
77869 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
77871         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
77872         strncase_l-nonascii.
77873         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
77874         Add strncase_l-ssse3.
77875         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
77876         * sysdeps/x86_64/strcmp.S: Likewise.
77877         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
77878         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
77879         * sysdeps/x86_64/strncase.S: New file.
77880         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
77881         * sysdeps/x86_64/strncase_l.S: New file.
77882         * string/Makefile (strop-tests): Add strncasecmp.
77883         * string/test-strncasecmp.c: New file.
77885         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
77886         warning.
77888         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
77889         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
77891 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
77893         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
77895 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
77897         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
77898         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
77899         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
77901 2010-05-01  Alan Modra  <amodra@gmail.com>
77903         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
77904         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
77905         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
77906         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
77907         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
77908         tidying.  Don't tail-call __sigjmp_save for static lib.
77909         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
77910         save location.
77911         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
77912         (CALL_MCOUNT): Add eh info, and nop after bl.
77913         (TAIL_CALL_SYSCALL_ERROR): New macro.
77914         (PSEUDO_RET): Use it.
77915         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
77916         Correct save location of integer regs and cr.
77917         (_dl_profile_resolve): Correct cr save location.  Delete nops
77918         after bl when SHARED.  Reduce cfi size a little by better
77919         placement of cfi directives.
77920         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
77921         make a stack frame.  Instead use parm save area as a temp.
77922         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
77923         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
77924         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
77925         Don't make a stack frame for parent, use parm save area.
77926         Increase child stack frame to 112 bytes.  Don't save unused reg,
77927         and adjust reg usage.  Set up cfi on error recovery and
77928         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
77929         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
77930         (__makecontext): Add dummy nop after jump to exit.
77931         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
77932         Use correct parm save area and cr save, reduce stack frame.
77933         Correct cfi for possible PSEUDO_RET frame setup.
77934         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
77935         Branch to local label emitted by PSEUDO_RET rather than
77936         __syscall_error.
77938 2010-08-12  Andreas Schwab  <schwab@redhat.com>
77940         [BZ #11904]
77941         * locale/programs/locale.c (print_assignment): New function.
77942         (show_locale_vars): Use it.
77944 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
77946         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
77947         field.
77948         (struct statfs64): Likewise.
77949         (_STATFS_F_FLAGS): Define.
77950         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
77951         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
77952         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
77953         (ST_VALID): Define locally.
77954         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
77955         __statvfs_getflags, use the provided value.
77956         * sysdeps/unix/sysv/linux/kernel-features.h: Define
77957         __ASSUME_STATFS_F_FLAGS.
77959         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
77961         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
77962         Add sys/fanotify.h.
77963         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
77964         fanotify_mask for GLIBC_2.13.
77965         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
77966         fanotify_init and fanotify_mark.
77967         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
77968         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
77970         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
77971         Add prlimit.
77972         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
77973         prlimit64 for GLIBC_2.13.
77974         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
77975         prlimit64.
77976         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
77977         syscall.
77978         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
77979         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
77980         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
77981         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
77982         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
77983         add prlimit alias.
77984         * sysdeps/unix/sysv/linux/prlimit.c: New file.
77986         [BZ #11903]
77987         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
77988         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
77990         * nss/Makefile: Add rules to build and run tst-nss-test1.
77991         * shlib-versions: Add entry for libnss_test1.
77992         * nss/nss_test1.c: New file.
77993         * nss/tst-nss-test1.c: New file.
77995         * nss/nsswitch.c (__nss_database_custom): Define new variable.
77996         (__nss_configure_lookup): Set appropriate entry in
77997         __nss_configure_lookup to true.
77998         * nss/nsswitch.h: Define enum with indeces of databases in
77999         databases and __nss_database_custom arrays.  Declare
78000         __nss_database_custom.
78001         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
78002         to avoid using nscd when custom rules are installed.
78003         * nss/getXXbyYY_r.c: Likewise.
78004         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
78006         * nss/nss_files/files-parse.c: Whitespace fixes.
78008 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
78010         [BZ #11883]
78011         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
78012         * posix/fnmatch_loop.c: Likewise.
78014 2010-07-17  Andi Kleen  <ak@linux.intel.com>
78016         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
78017         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
78018         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
78019         * Versions.def [GLIBC_2.13]: Add.
78021 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
78023         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
78024         Also fail if tpwd after pwuid call is NULL.
78026 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
78028         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
78029         when converting to ms.
78031 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
78033         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
78034         EOPNOTSUPP errors with ENOTTY.
78035         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
78036         EOPNOTSUPP errors with ENOTTY.
78038 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
78040         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
78041         Add strcasecmp_l-ssse3.
78042         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
78043         strcasecmp.
78044         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
78045         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
78046         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
78048 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
78050         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
78052         * string/Makefile (strop-tests): Add strcasecmp.
78053         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
78054         strcasecmp_l-nonascii.
78055         (gen-as-const-headers): Add locale-defines.sym.
78056         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
78057         * sysdeps/x86_64/strcasecmp.S: New file.
78058         * sysdeps/x86_64/strcasecmp_l.S: New file.
78059         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
78060         * sysdeps/x86_64/locale-defines.sym: New file.
78061         * string/test-strcasecmp.c: New file.
78063         * string/test-strcasestr.c: Test both ends of the range of characters.
78064         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
78066 2010-07-29  Roland McGrath  <roland@redhat.com>
78068         [BZ #11856]
78069         * manual/locale.texi (Yes-or-No Questions): Fix example code.
78071 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
78073         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
78074         for ld.so.
78076 2010-07-27  Andreas Schwab  <schwab@redhat.com>
78078         * manual/memory.texi (Malloc Tunable Parameters): Document
78079         M_PERTURB.
78081 2010-07-26  Roland McGrath  <roland@redhat.com>
78083         [BZ #11840]
78084         * configure.in (-fgnu89-inline check): Set and substitute
78085         gnu89_inline, not libc_cv_gnu89_inline.
78086         * configure: Regenerated.
78087         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
78089 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
78091         * string/test-strnlen.c: New file.
78092         * string/Makefile (strop-tests): Add strnlen.
78093         * string/tester.c (test_strnlen): Add a few more test cases.
78094         * string/tst-strlen.c: Better error reporting.
78096         * sysdeps/x86_64/strnlen.S: New file.
78098 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
78100         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
78101         lower-latency instructions.
78103 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
78105         * string/test-strcasestr.c: New file.
78106         * string/test-strstr.c: New file.
78107         * string/Makefile (strop-tests): Add strstr and strcasestr.
78108         * string/str-two-way.h: Don't undefine MAX.
78109         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
78111 2010-07-21  Andreas Schwab  <schwab@redhat.com>
78113         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
78114         strcasestr-nonascii.
78115         (CFLAGS-strcasestr-nonascii.c): Define.
78116         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
78117         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
78118         Remove unused attribute.
78120 2010-07-20  Roland McGrath  <roland@redhat.com>
78122         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
78123         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
78124         ld.so.cache was broken.  With it, there is no way to disable dsocaps
78125         like LD_HWCAP_MASK can disable hwcaps.
78127 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
78129         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
78131 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
78133         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
78134         call in strcasestr.
78135         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
78136         __strcasestr_sse42_nonascii.
78137         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
78138         strcasestr-nonascii.c.
78139         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
78141 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
78143         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
78144         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
78145         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
78146         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
78148 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
78150         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
78151         fcntl.
78153 2010-07-06  Andreas Schwab  <schwab@redhat.com>
78155         [BZ #11577]
78156         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
78157         dl_signal_cerror.
78159 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
78161         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
78162         _PC_PIPE_BUF using F_GETPIPE_SZ.
78164 2010-07-05  Roland McGrath  <roland@redhat.com>
78166         * manual/arith.texi (Rounding Functions): Fix rint description
78167         implicit in round description.
78169 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
78171         * elf/Makefile: Fix linking for a few tests to make recent linker
78172         happy.
78174 2010-06-30  Andreas Schwab  <schwab@redhat.com>
78176         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
78177         $(common-objpfx)libc_nonshared.a.
78179 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
78181         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
78182         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
78183         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
78184         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
78185         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
78186         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
78187         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
78188         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
78189         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
78190         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
78191         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
78192         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
78193         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
78194         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
78195         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
78196         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
78197         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
78198         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
78199         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
78200         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
78201         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
78202         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
78203         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
78204         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
78205         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
78206         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
78207         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
78208         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
78209         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
78210         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
78211         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
78212         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
78213         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
78214         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
78215         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
78216         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
78217         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
78218         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
78219         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
78220         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
78221         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
78222         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
78223         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
78224         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
78225         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
78226         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
78227         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
78228         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
78230 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
78232         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
78233         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
78234         * string/memmove.c (memmove): Renamed to ...
78235         (MEMMOVE): ...this.  Default to memmove.
78236         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
78237         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
78238         (END_CHK): Define.
78239         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
78240         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
78241         mempcpy-ssse3-back memmove-ssse3-back.
78242         * sysdeps/x86_64/multiarch/bcopy.S: New file .
78243         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
78244         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
78245         * sysdeps/x86_64/multiarch/memcpy.S: New file.
78246         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
78247         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
78248         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
78249         * sysdeps/x86_64/multiarch/memmove.c: New file.
78250         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
78251         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
78252         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
78253         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
78254         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
78255         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
78256         Define.
78257         (index_Fast_Copy_Backward): Define.
78258         (HAS_ARCH_FEATURE): Define.
78259         (HAS_FAST_REP_STRING): Define.
78260         (HAS_FAST_COPY_BACKWARD): Define.
78262 2010-06-21  Andreas Schwab  <schwab@redhat.com>
78264         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
78265         Restore proper fallback handling.
78267 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
78269         [BZ #11701]
78270         * posix/group_member.c (__group_member): Correct checking loop.
78272         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
78273         OOM in getpwuid_r correctly.  Return error number when the caller
78274         should return, otherwise -1.
78275         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
78276         call returning > 0 value.
78277         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
78279 2010-06-07  Andreas Schwab  <schwab@redhat.com>
78281         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
78282         libc_nonshared.a from targets in modules-names.
78284 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
78286         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
78287         requires it.
78289 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
78291         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
78292         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
78293         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
78294         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
78296 2010-06-02  Andreas Schwab  <schwab@redhat.com>
78298         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
78300 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
78302         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
78303         and F_GETPIPE_SZ.
78304         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
78305         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
78306         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
78307         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
78308         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
78309         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
78311 2010-06-14  Roland McGrath  <roland@redhat.com>
78313         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
78315 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
78317         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
78318         __REDIRECT followed by __THROW.
78319         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
78320         * posix/getopt.h (getopt): Likewise.
78322 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
78324         * hurd/lookup-at.c (__file_name_lookup_at): Accept
78325         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
78326         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
78327         in AT_FLAGS.
78328         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
78329         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
78331 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
78333         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
78335 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
78337         [BZ #11640]
78338         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
78339         Properly check family and model.
78341 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
78343         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
78345 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
78347         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
78349 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
78351         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
78352         symbol reference.
78354 2010-05-19  Andreas Schwab  <schwab@redhat.com>
78356         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
78357         symbol reference.
78359 2010-05-21  Andreas Schwab  <schwab@redhat.com>
78361         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
78362         and internal_recvmmsg.
78363         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
78364         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
78365         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
78366         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
78368         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
78369         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
78370         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
78372 2010-05-20  Andreas Schwab  <schwab@redhat.com>
78374         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
78376 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
78378         POWER7 optimizations.
78379         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
78380         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
78382 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
78384         * version.h: Update for 2.13 development version.
78386 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
78388         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
78389         exceptions.  Return 0.
78391 2010-05-07  Roland McGrath  <roland@redhat.com>
78393         * elf/ldconfig.c (main): Add a const.
78395 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
78397         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
78398         (args_options): Add no-idn option.
78399         (ahosts_keys_int): Add idn_flags to ai_flags.
78400         (parse_option): Handle 'i' option to clear idn_flags.
78402         * malloc/malloc.c (_int_free): Possible race in the most recently
78403         added check.  Only act on the data if no current modification
78404         happened.
78406 See ChangeLog.17 for earlier changes.